get_calculation_execution_code

Athena.Client.get_calculation_execution_code(**kwargs)

Retrieves a pre-signed URL to a copy of the code that was executed for the calculation.

See also: AWS API Documentation

Request Syntax

response = client.get_calculation_execution_code(
    CalculationExecutionId='string'
)
Parameters
CalculationExecutionId (string) --

[REQUIRED]

The calculation execution UUID.

Return type
dict
Returns
Response Syntax
{
    'CodeBlock': 'string'
}

Response Structure

  • (dict) --
    • CodeBlock (string) --

      A pre-signed URL to the code that executed the calculation.

Exceptions

  • Athena.Client.exceptions.InternalServerException
  • Athena.Client.exceptions.InvalidRequestException
  • Athena.Client.exceptions.ResourceNotFoundException