| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Athena.GetCalculationExecution
Description
Describes a previously submitted calculation execution.
Synopsis
- data GetCalculationExecution = GetCalculationExecution' {}
- newGetCalculationExecution :: Text -> GetCalculationExecution
- getCalculationExecution_calculationExecutionId :: Lens' GetCalculationExecution Text
- data GetCalculationExecutionResponse = GetCalculationExecutionResponse' {}
- newGetCalculationExecutionResponse :: Int -> GetCalculationExecutionResponse
- getCalculationExecutionResponse_calculationExecutionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
- getCalculationExecutionResponse_description :: Lens' GetCalculationExecutionResponse (Maybe Text)
- getCalculationExecutionResponse_result :: Lens' GetCalculationExecutionResponse (Maybe CalculationResult)
- getCalculationExecutionResponse_sessionId :: Lens' GetCalculationExecutionResponse (Maybe Text)
- getCalculationExecutionResponse_statistics :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatistics)
- getCalculationExecutionResponse_status :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatus)
- getCalculationExecutionResponse_workingDirectory :: Lens' GetCalculationExecutionResponse (Maybe Text)
- getCalculationExecutionResponse_httpStatus :: Lens' GetCalculationExecutionResponse Int
Creating a Request
data GetCalculationExecution Source #
See: newGetCalculationExecution smart constructor.
Constructors
| GetCalculationExecution' | |
Fields
| |
Instances
newGetCalculationExecution Source #
Arguments
| :: Text | |
| -> GetCalculationExecution |
Create a value of GetCalculationExecution with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetCalculationExecution, getCalculationExecution_calculationExecutionId - The calculation execution UUID.
Request Lenses
getCalculationExecution_calculationExecutionId :: Lens' GetCalculationExecution Text Source #
The calculation execution UUID.
Destructuring the Response
data GetCalculationExecutionResponse Source #
See: newGetCalculationExecutionResponse smart constructor.
Constructors
| GetCalculationExecutionResponse' | |
Fields
| |
Instances
newGetCalculationExecutionResponse Source #
Create a value of GetCalculationExecutionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetCalculationExecution, getCalculationExecutionResponse_calculationExecutionId - The calculation execution UUID.
GetCalculationExecutionResponse, getCalculationExecutionResponse_description - The description of the calculation execution.
$sel:result:GetCalculationExecutionResponse', getCalculationExecutionResponse_result - Contains result information. This field is populated only if the
calculation is completed.
GetCalculationExecutionResponse, getCalculationExecutionResponse_sessionId - The session ID that the calculation ran in.
GetCalculationExecutionResponse, getCalculationExecutionResponse_statistics - Contains information about the data processing unit (DPU) execution time
and progress. This field is populated only when statistics are
available.
GetCalculationExecutionResponse, getCalculationExecutionResponse_status - Contains information about the status of the calculation.
GetCalculationExecutionResponse, getCalculationExecutionResponse_workingDirectory - The Amazon S3 location in which calculation results are stored.
$sel:httpStatus:GetCalculationExecutionResponse', getCalculationExecutionResponse_httpStatus - The response's http status code.
Response Lenses
getCalculationExecutionResponse_calculationExecutionId :: Lens' GetCalculationExecutionResponse (Maybe Text) Source #
The calculation execution UUID.
getCalculationExecutionResponse_description :: Lens' GetCalculationExecutionResponse (Maybe Text) Source #
The description of the calculation execution.
getCalculationExecutionResponse_result :: Lens' GetCalculationExecutionResponse (Maybe CalculationResult) Source #
Contains result information. This field is populated only if the calculation is completed.
getCalculationExecutionResponse_sessionId :: Lens' GetCalculationExecutionResponse (Maybe Text) Source #
The session ID that the calculation ran in.
getCalculationExecutionResponse_statistics :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatistics) Source #
Contains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.
getCalculationExecutionResponse_status :: Lens' GetCalculationExecutionResponse (Maybe CalculationStatus) Source #
Contains information about the status of the calculation.
getCalculationExecutionResponse_workingDirectory :: Lens' GetCalculationExecutionResponse (Maybe Text) Source #
The Amazon S3 location in which calculation results are stored.
getCalculationExecutionResponse_httpStatus :: Lens' GetCalculationExecutionResponse Int Source #
The response's http status code.