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 |
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.
GetCalculationExecutionCode' | |
|
Instances
newGetCalculationExecutionCode Source #
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.
GetCalculationExecutionCodeResponse' | |
|
Instances
Generic GetCalculationExecutionCodeResponse Source # | |
Read GetCalculationExecutionCodeResponse Source # | |
Show GetCalculationExecutionCodeResponse Source # | |
NFData GetCalculationExecutionCodeResponse Source # | |
Defined in Amazonka.Athena.GetCalculationExecutionCode rnf :: GetCalculationExecutionCodeResponse -> () # | |
Eq GetCalculationExecutionCodeResponse Source # | |
type Rep GetCalculationExecutionCodeResponse Source # | |
Defined in Amazonka.Athena.GetCalculationExecutionCode type Rep GetCalculationExecutionCodeResponse = D1 ('MetaData "GetCalculationExecutionCodeResponse" "Amazonka.Athena.GetCalculationExecutionCode" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "GetCalculationExecutionCodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetCalculationExecutionCodeResponse Source #
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.