Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Removes session information for a specified bot, alias, and user ID.
Synopsis
- data DeleteSession = DeleteSession' {}
- newDeleteSession :: Text -> Text -> Text -> DeleteSession
- deleteSession_botName :: Lens' DeleteSession Text
- deleteSession_botAlias :: Lens' DeleteSession Text
- deleteSession_userId :: Lens' DeleteSession Text
- data DeleteSessionResponse = DeleteSessionResponse' {}
- newDeleteSessionResponse :: Int -> DeleteSessionResponse
- deleteSessionResponse_botAlias :: Lens' DeleteSessionResponse (Maybe Text)
- deleteSessionResponse_botName :: Lens' DeleteSessionResponse (Maybe Text)
- deleteSessionResponse_userId :: Lens' DeleteSessionResponse (Maybe Text)
- deleteSessionResponse_sessionId :: Lens' DeleteSessionResponse (Maybe Text)
- deleteSessionResponse_httpStatus :: Lens' DeleteSessionResponse Int
Creating a Request
data DeleteSession Source #
See: newDeleteSession
smart constructor.
Instances
:: Text | |
-> Text | |
-> 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:botName:DeleteSession'
, deleteSession_botName
- The name of the bot that contains the session data.
$sel:botAlias:DeleteSession'
, deleteSession_botAlias
- The alias in use for the bot that contains the session data.
$sel:userId:DeleteSession'
, deleteSession_userId
- The identifier of the user associated with the session data.
Request Lenses
deleteSession_botName :: Lens' DeleteSession Text Source #
The name of the bot that contains the session data.
deleteSession_botAlias :: Lens' DeleteSession Text Source #
The alias in use for the bot that contains the session data.
deleteSession_userId :: Lens' DeleteSession Text Source #
The identifier of the user associated with the session data.
Destructuring the Response
data DeleteSessionResponse Source #
See: newDeleteSessionResponse
smart constructor.
DeleteSessionResponse' | |
|
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:
$sel:botAlias:DeleteSession'
, deleteSessionResponse_botAlias
- The alias in use for the bot associated with the session data.
$sel:botName:DeleteSession'
, deleteSessionResponse_botName
- The name of the bot associated with the session data.
$sel:userId:DeleteSession'
, deleteSessionResponse_userId
- The ID of the client application user.
$sel:sessionId:DeleteSessionResponse'
, deleteSessionResponse_sessionId
- The unique identifier for the session.
$sel:httpStatus:DeleteSessionResponse'
, deleteSessionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSessionResponse_botAlias :: Lens' DeleteSessionResponse (Maybe Text) Source #
The alias in use for the bot associated with the session data.
deleteSessionResponse_botName :: Lens' DeleteSessionResponse (Maybe Text) Source #
The name of the bot associated with the session data.
deleteSessionResponse_userId :: Lens' DeleteSessionResponse (Maybe Text) Source #
The ID of the client application user.
deleteSessionResponse_sessionId :: Lens' DeleteSessionResponse (Maybe Text) Source #
The unique identifier for the session.
deleteSessionResponse_httpStatus :: Lens' DeleteSessionResponse Int Source #
The response's http status code.