| 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.AppSync.DeleteApiKey
Description
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.
Constructors
| DeleteApiKey' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteApiKey |
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:
DeleteApiKey, deleteApiKey_apiId - The API 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.
Constructors
| DeleteApiKeyResponse' | |
Fields
| |
Instances
newDeleteApiKeyResponse Source #
Arguments
| :: Int | |
| -> DeleteApiKeyResponse |
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.