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.GetCalculationExecutionCode
Description
Retrieves a pre-signed URL to a copy of the code that was executed for the calculation.
Synopsis
- data GetCalculationExecutionCode = GetCalculationExecutionCode' {}
- newGetCalculationExecutionCode :: Text -> GetCalculationExecutionCode
- getCalculationExecutionCode_calculationExecutionId :: Lens' GetCalculationExecutionCode Text
- data GetCalculationExecutionCodeResponse = GetCalculationExecutionCodeResponse' {
- codeBlock :: Maybe Text
- httpStatus :: Int
- newGetCalculationExecutionCodeResponse :: Int -> GetCalculationExecutionCodeResponse
- getCalculationExecutionCodeResponse_codeBlock :: Lens' GetCalculationExecutionCodeResponse (Maybe Text)
- getCalculationExecutionCodeResponse_httpStatus :: Lens' GetCalculationExecutionCodeResponse Int
Creating a Request
data GetCalculationExecutionCode Source #
See: newGetCalculationExecutionCode
smart constructor.
Constructors
GetCalculationExecutionCode' | |
Fields
|
Instances
newGetCalculationExecutionCode Source #
Arguments
:: Text | |
-> GetCalculationExecutionCode |
Create a value of GetCalculationExecutionCode
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:
GetCalculationExecutionCode
, getCalculationExecutionCode_calculationExecutionId
- The calculation execution UUID.
Request Lenses
getCalculationExecutionCode_calculationExecutionId :: Lens' GetCalculationExecutionCode Text Source #
The calculation execution UUID.
Destructuring the Response
data GetCalculationExecutionCodeResponse Source #
See: newGetCalculationExecutionCodeResponse
smart constructor.
Constructors
GetCalculationExecutionCodeResponse' | |
Fields
|
Instances
newGetCalculationExecutionCodeResponse Source #
Arguments
:: Int | |
-> GetCalculationExecutionCodeResponse |
Create a value of GetCalculationExecutionCodeResponse
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:
GetCalculationExecutionCodeResponse
, getCalculationExecutionCodeResponse_codeBlock
- A pre-signed URL to the code that executed the calculation.
$sel:httpStatus:GetCalculationExecutionCodeResponse'
, getCalculationExecutionCodeResponse_httpStatus
- The response's http status code.
Response Lenses
getCalculationExecutionCodeResponse_codeBlock :: Lens' GetCalculationExecutionCodeResponse (Maybe Text) Source #
A pre-signed URL to the code that executed the calculation.
getCalculationExecutionCodeResponse_httpStatus :: Lens' GetCalculationExecutionCodeResponse Int Source #
The response's http status code.