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.Glue.CancelStatement
Description
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.
Constructors
CancelStatement' | |
Instances
Arguments
:: Text | |
-> Int | |
-> CancelStatement |
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.
Constructors
CancelStatementResponse' | |
Fields
|
Instances
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.