| 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.DeleteSession
Description
Deletes the session.
Synopsis
- data DeleteSession = DeleteSession' {
- requestOrigin :: Maybe Text
- id :: Text
- newDeleteSession :: Text -> DeleteSession
- deleteSession_requestOrigin :: Lens' DeleteSession (Maybe Text)
- deleteSession_id :: Lens' DeleteSession Text
- data DeleteSessionResponse = DeleteSessionResponse' {
- id :: Maybe Text
- httpStatus :: Int
- newDeleteSessionResponse :: Int -> DeleteSessionResponse
- deleteSessionResponse_id :: Lens' DeleteSessionResponse (Maybe Text)
- deleteSessionResponse_httpStatus :: Lens' DeleteSessionResponse Int
Creating a Request
data DeleteSession Source #
See: newDeleteSession smart constructor.
Constructors
| DeleteSession' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteSession |
Create a value of DeleteSession 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:DeleteSession', deleteSession_requestOrigin - The name of the origin of the delete session request.
DeleteSession, deleteSession_id - The ID of the session to be deleted.
Request Lenses
deleteSession_requestOrigin :: Lens' DeleteSession (Maybe Text) Source #
The name of the origin of the delete session request.
deleteSession_id :: Lens' DeleteSession Text Source #
The ID of the session to be deleted.
Destructuring the Response
data DeleteSessionResponse Source #
See: newDeleteSessionResponse smart constructor.
Constructors
| DeleteSessionResponse' | |
Fields
| |
Instances
newDeleteSessionResponse Source #
Create a value of DeleteSessionResponse 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:
DeleteSession, deleteSessionResponse_id - Returns the ID of the deleted session.
$sel:httpStatus:DeleteSessionResponse', deleteSessionResponse_httpStatus - The response's http status code.
Response Lenses
deleteSessionResponse_id :: Lens' DeleteSessionResponse (Maybe Text) Source #
Returns the ID of the deleted session.
deleteSessionResponse_httpStatus :: Lens' DeleteSessionResponse Int Source #
The response's http status code.