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 an API key.
Synopsis
- data DeleteApiKey = DeleteApiKey' {}
- newDeleteApiKey :: Text -> Text -> DeleteApiKey
- deleteApiKey_apiId :: Lens' DeleteApiKey Text
- deleteApiKey_id :: Lens' DeleteApiKey Text
- data DeleteApiKeyResponse = DeleteApiKeyResponse' {
- httpStatus :: Int
- newDeleteApiKeyResponse :: Int -> DeleteApiKeyResponse
- deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int
Creating a Request
data DeleteApiKey Source #
See: newDeleteApiKey
smart constructor.
Instances
Create a value of DeleteApiKey
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:apiId:DeleteApiKey'
, deleteApiKey_apiId
- The API ID.
$sel:id:DeleteApiKey'
, deleteApiKey_id
- The ID for the API key.
Request Lenses
deleteApiKey_apiId :: Lens' DeleteApiKey Text Source #
The API ID.
deleteApiKey_id :: Lens' DeleteApiKey Text Source #
The ID for the API key.
Destructuring the Response
data DeleteApiKeyResponse Source #
See: newDeleteApiKeyResponse
smart constructor.
DeleteApiKeyResponse' | |
|
Instances
newDeleteApiKeyResponse Source #
Create a value of DeleteApiKeyResponse
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:DeleteApiKeyResponse'
, deleteApiKeyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int Source #
The response's http status code.