GetCalculationExecution - Amazon Athena

GetCalculationExecution

Describes a previously submitted calculation execution.

Request Syntax

{ "CalculationExecutionId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

CalculationExecutionId

The calculation execution UUID.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 36.

Required: Yes

Response Syntax

{ "CalculationExecutionId": "string", "Description": "string", "Result": { "ResultS3Uri": "string", "ResultType": "string", "StdErrorS3Uri": "string", "StdOutS3Uri": "string" }, "SessionId": "string", "Statistics": { "DpuExecutionInMillis": number, "Progress": "string" }, "Status": { "CompletionDateTime": number, "State": "string", "StateChangeReason": "string", "SubmissionDateTime": number }, "WorkingDirectory": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

CalculationExecutionId

The calculation execution UUID.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 36.

Description

The description of the calculation execution.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Result

Contains result information. This field is populated only if the calculation is completed.

Type: CalculationResult object

SessionId

The session ID that the calculation ran in.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Statistics

Contains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.

Type: CalculationStatistics object

Status

Contains information about the status of the calculation.

Type: CalculationStatus object

WorkingDirectory

The Amazon S3 location in which calculation results are stored.

Type: String

Length Constraints: Maximum length of 1024.

Pattern: ^(https|s3|S3)://([^/]+)/?(.*)$

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

Indicates a platform issue, which may be due to a transient condition or outage.

HTTP Status Code: 500

InvalidRequestException

Indicates that something is wrong with the input to the request. For example, a required parameter may be missing or out of range.

HTTP Status Code: 400

ResourceNotFoundException

A resource, such as a workgroup, was not found.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: