| 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.LicenseManager.DeleteToken
Description
Deletes the specified token. Must be called in the license home Region.
Synopsis
Creating a Request
data DeleteToken Source #
See: newDeleteToken smart constructor.
Constructors
| DeleteToken' | |
Instances
Arguments
| :: Text | |
| -> DeleteToken |
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:
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.
Constructors
| DeleteTokenResponse' | |
Fields
| |
Instances
newDeleteTokenResponse Source #
Arguments
| :: Int | |
| -> DeleteTokenResponse |
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.