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 |
Cancels the statement.
Synopsis
- data CancelStatement = CancelStatement' {}
- newCancelStatement :: Text -> Int -> CancelStatement
- cancelStatement_requestOrigin :: Lens' CancelStatement (Maybe Text)
- cancelStatement_sessionId :: Lens' CancelStatement Text
- cancelStatement_id :: Lens' CancelStatement Int
- data CancelStatementResponse = CancelStatementResponse' {
- httpStatus :: Int
- newCancelStatementResponse :: Int -> CancelStatementResponse
- cancelStatementResponse_httpStatus :: Lens' CancelStatementResponse Int
Creating a Request
data CancelStatement Source #
See: newCancelStatement
smart constructor.
Instances
Create a value of CancelStatement
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:
$sel:requestOrigin:CancelStatement'
, cancelStatement_requestOrigin
- The origin of the request to cancel the statement.
$sel:sessionId:CancelStatement'
, cancelStatement_sessionId
- The Session ID of the statement to be cancelled.
CancelStatement
, cancelStatement_id
- The ID of the statement to be cancelled.
Request Lenses
cancelStatement_requestOrigin :: Lens' CancelStatement (Maybe Text) Source #
The origin of the request to cancel the statement.
cancelStatement_sessionId :: Lens' CancelStatement Text Source #
The Session ID of the statement to be cancelled.
cancelStatement_id :: Lens' CancelStatement Int Source #
The ID of the statement to be cancelled.
Destructuring the Response
data CancelStatementResponse Source #
See: newCancelStatementResponse
smart constructor.
CancelStatementResponse' | |
|
Instances
Generic CancelStatementResponse Source # | |
Defined in Amazonka.Glue.CancelStatement type Rep CancelStatementResponse :: Type -> Type # | |
Read CancelStatementResponse Source # | |
Show CancelStatementResponse Source # | |
Defined in Amazonka.Glue.CancelStatement showsPrec :: Int -> CancelStatementResponse -> ShowS # show :: CancelStatementResponse -> String # showList :: [CancelStatementResponse] -> ShowS # | |
NFData CancelStatementResponse Source # | |
Defined in Amazonka.Glue.CancelStatement rnf :: CancelStatementResponse -> () # | |
Eq CancelStatementResponse Source # | |
Defined in Amazonka.Glue.CancelStatement | |
type Rep CancelStatementResponse Source # | |
Defined in Amazonka.Glue.CancelStatement type Rep CancelStatementResponse = D1 ('MetaData "CancelStatementResponse" "Amazonka.Glue.CancelStatement" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CancelStatementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCancelStatementResponse Source #
Create a value of CancelStatementResponse
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:
$sel:httpStatus:CancelStatementResponse'
, cancelStatementResponse_httpStatus
- The response's http status code.
Response Lenses
cancelStatementResponse_httpStatus :: Lens' CancelStatementResponse Int Source #
The response's http status code.