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 specified token. Must be called in the license home Region.
Synopsis
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:tokenId:DeleteToken'
, deleteToken_tokenId
- Token ID.
Request Lenses
deleteToken_tokenId :: Lens' DeleteToken Text Source #
Token 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:httpStatus:DeleteTokenResponse'
, deleteTokenResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTokenResponse_httpStatus :: Lens' DeleteTokenResponse Int Source #
The response's http status code.