| 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 |
Amazonka.Route53.DeleteKeySigningKey
Description
Deletes a key-signing key (KSK). Before you can delete a KSK, you must deactivate it. The KSK must be deactivated before you can delete it regardless of whether the hosted zone is enabled for DNSSEC signing.
Synopsis
- data DeleteKeySigningKey = DeleteKeySigningKey' {
- hostedZoneId :: ResourceId
- name :: Text
- newDeleteKeySigningKey :: ResourceId -> Text -> DeleteKeySigningKey
- deleteKeySigningKey_hostedZoneId :: Lens' DeleteKeySigningKey ResourceId
- deleteKeySigningKey_name :: Lens' DeleteKeySigningKey Text
- data DeleteKeySigningKeyResponse = DeleteKeySigningKeyResponse' {}
- newDeleteKeySigningKeyResponse :: Int -> ChangeInfo -> DeleteKeySigningKeyResponse
- deleteKeySigningKeyResponse_httpStatus :: Lens' DeleteKeySigningKeyResponse Int
- deleteKeySigningKeyResponse_changeInfo :: Lens' DeleteKeySigningKeyResponse ChangeInfo
Creating a Request
data DeleteKeySigningKey Source #
See: newDeleteKeySigningKey smart constructor.
Constructors
| DeleteKeySigningKey' | |
Fields
| |
Instances
newDeleteKeySigningKey Source #
Arguments
| :: ResourceId | |
| -> Text | |
| -> DeleteKeySigningKey |
Create a value of DeleteKeySigningKey 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:hostedZoneId:DeleteKeySigningKey', deleteKeySigningKey_hostedZoneId - A unique string used to identify a hosted zone.
$sel:name:DeleteKeySigningKey', deleteKeySigningKey_name - A string used to identify a key-signing key (KSK).
Request Lenses
deleteKeySigningKey_hostedZoneId :: Lens' DeleteKeySigningKey ResourceId Source #
A unique string used to identify a hosted zone.
deleteKeySigningKey_name :: Lens' DeleteKeySigningKey Text Source #
A string used to identify a key-signing key (KSK).
Destructuring the Response
data DeleteKeySigningKeyResponse Source #
See: newDeleteKeySigningKeyResponse smart constructor.
Constructors
| DeleteKeySigningKeyResponse' | |
Fields
| |
Instances
newDeleteKeySigningKeyResponse Source #
Arguments
| :: Int | |
| -> ChangeInfo | |
| -> DeleteKeySigningKeyResponse |
Create a value of DeleteKeySigningKeyResponse 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:DeleteKeySigningKeyResponse', deleteKeySigningKeyResponse_httpStatus - The response's http status code.
$sel:changeInfo:DeleteKeySigningKeyResponse', deleteKeySigningKeyResponse_changeInfo - Undocumented member.
Response Lenses
deleteKeySigningKeyResponse_httpStatus :: Lens' DeleteKeySigningKeyResponse Int Source #
The response's http status code.
deleteKeySigningKeyResponse_changeInfo :: Lens' DeleteKeySigningKeyResponse ChangeInfo Source #
Undocumented member.