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 |
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.
You can use DeactivateKeySigningKey to deactivate the key before you delete it.
Use
GetDNSSEC
to verify that the KSK is in an INACTIVE
status.
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.
DeleteKeySigningKey' | |
|
Instances
newDeleteKeySigningKey Source #
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:
DeleteKeySigningKey
, deleteKeySigningKey_hostedZoneId
- A unique string used to identify a hosted zone.
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.
DeleteKeySigningKeyResponse' | |
|
Instances
newDeleteKeySigningKeyResponse Source #
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.