| 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.CloudFront.DeletePublicKey
Description
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.
Constructors
| DeletePublicKey' | |
Instances
Arguments
| :: Text | |
| -> DeletePublicKey |
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.
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.
Constructors
| DeletePublicKeyResponse' | |
Instances
newDeletePublicKeyResponse :: DeletePublicKeyResponse Source #
Create a value of DeletePublicKeyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.