Athena / Client / get_calculation_execution_code

get_calculation_execution_code#

Athena.Client.get_calculation_execution_code(**kwargs)#

Retrieves the unencrypted 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) –

      The unencrypted code that was executed for the calculation.

Exceptions

  • Athena.Client.exceptions.InternalServerException

  • Athena.Client.exceptions.InvalidRequestException

  • Athena.Client.exceptions.ResourceNotFoundException