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 |
Deletes the challenge token based on the given appId and sessionId.
Synopsis
- data DeleteToken = DeleteToken' {}
- newDeleteToken :: Text -> Text -> DeleteToken
- deleteToken_sessionId :: Lens' DeleteToken Text
- deleteToken_appId :: Lens' DeleteToken Text
- data DeleteTokenResponse = DeleteTokenResponse' {
- isSuccess :: Maybe Bool
- httpStatus :: Int
- newDeleteTokenResponse :: Int -> DeleteTokenResponse
- deleteTokenResponse_isSuccess :: Lens' DeleteTokenResponse (Maybe Bool)
- deleteTokenResponse_httpStatus :: Lens' DeleteTokenResponse Int
Creating a Request
data DeleteToken Source #
See: newDeleteToken
smart constructor.
Instances
Create a value of DeleteToken
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:sessionId:DeleteToken'
, deleteToken_sessionId
- The session ID.
$sel:appId:DeleteToken'
, deleteToken_appId
- The app ID.
Request Lenses
deleteToken_sessionId :: Lens' DeleteToken Text Source #
The session ID.
deleteToken_appId :: Lens' DeleteToken Text Source #
The app ID.
Destructuring the Response
data DeleteTokenResponse Source #
See: newDeleteTokenResponse
smart constructor.
DeleteTokenResponse' | |
|
Instances
newDeleteTokenResponse Source #
Create a value of DeleteTokenResponse
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:isSuccess:DeleteTokenResponse'
, deleteTokenResponse_isSuccess
- Indicates whether the request succeeded or failed.
$sel:httpStatus:DeleteTokenResponse'
, deleteTokenResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTokenResponse_isSuccess :: Lens' DeleteTokenResponse (Maybe Bool) Source #
Indicates whether the request succeeded or failed.
deleteTokenResponse_httpStatus :: Lens' DeleteTokenResponse Int Source #
The response's http status code.