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 |
Remove a public key you previously added to CloudFront.
Synopsis
- data DeletePublicKey = DeletePublicKey' {}
- newDeletePublicKey :: Text -> DeletePublicKey
- deletePublicKey_ifMatch :: Lens' DeletePublicKey (Maybe Text)
- deletePublicKey_id :: Lens' DeletePublicKey Text
- data DeletePublicKeyResponse = DeletePublicKeyResponse' {
- newDeletePublicKeyResponse :: DeletePublicKeyResponse
Creating a Request
data DeletePublicKey Source #
See: newDeletePublicKey
smart constructor.
Instances
Create a value of DeletePublicKey
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:ifMatch:DeletePublicKey'
, deletePublicKey_ifMatch
- The value of the ETag
header that you received when retrieving the
public key identity to delete. For example: E2QWRUHAPOMQZL
.
$sel:id:DeletePublicKey'
, deletePublicKey_id
- The ID of the public key you want to remove from CloudFront.
Request Lenses
deletePublicKey_ifMatch :: Lens' DeletePublicKey (Maybe Text) Source #
The value of the ETag
header that you received when retrieving the
public key identity to delete. For example: E2QWRUHAPOMQZL
.
deletePublicKey_id :: Lens' DeletePublicKey Text Source #
The ID of the public key you want to remove from CloudFront.
Destructuring the Response
data DeletePublicKeyResponse Source #
See: newDeletePublicKeyResponse
smart constructor.
Instances
Eq DeletePublicKeyResponse Source # | |
Defined in Amazonka.CloudFront.DeletePublicKey | |
Read DeletePublicKeyResponse Source # | |
Show DeletePublicKeyResponse Source # | |
Defined in Amazonka.CloudFront.DeletePublicKey showsPrec :: Int -> DeletePublicKeyResponse -> ShowS # show :: DeletePublicKeyResponse -> String # showList :: [DeletePublicKeyResponse] -> ShowS # | |
Generic DeletePublicKeyResponse Source # | |
Defined in Amazonka.CloudFront.DeletePublicKey type Rep DeletePublicKeyResponse :: Type -> Type # | |
NFData DeletePublicKeyResponse Source # | |
Defined in Amazonka.CloudFront.DeletePublicKey rnf :: DeletePublicKeyResponse -> () # | |
type Rep DeletePublicKeyResponse Source # | |
Defined in Amazonka.CloudFront.DeletePublicKey |
newDeletePublicKeyResponse :: DeletePublicKeyResponse Source #
Create a value of DeletePublicKeyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.