| 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.CertificateManager.RemoveTagsFromCertificate
Description
Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.
To add tags to a certificate, use the AddTagsToCertificate action. To view all of the tags that have been applied to a specific ACM certificate, use the ListTagsForCertificate action.
Synopsis
- data RemoveTagsFromCertificate = RemoveTagsFromCertificate' {
- certificateArn :: Text
- tags :: NonEmpty Tag
- newRemoveTagsFromCertificate :: Text -> NonEmpty Tag -> RemoveTagsFromCertificate
- removeTagsFromCertificate_certificateArn :: Lens' RemoveTagsFromCertificate Text
- removeTagsFromCertificate_tags :: Lens' RemoveTagsFromCertificate (NonEmpty Tag)
- data RemoveTagsFromCertificateResponse = RemoveTagsFromCertificateResponse' {
- newRemoveTagsFromCertificateResponse :: RemoveTagsFromCertificateResponse
Creating a Request
data RemoveTagsFromCertificate Source #
See: newRemoveTagsFromCertificate smart constructor.
Constructors
| RemoveTagsFromCertificate' | |
Fields
| |
Instances
newRemoveTagsFromCertificate Source #
Arguments
| :: Text | |
| -> NonEmpty Tag | |
| -> RemoveTagsFromCertificate |
Create a value of RemoveTagsFromCertificate 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:
RemoveTagsFromCertificate, removeTagsFromCertificate_certificateArn - String that contains the ARN of the ACM Certificate with one or more
tags that you want to remove. This must be of the form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
$sel:tags:RemoveTagsFromCertificate', removeTagsFromCertificate_tags - The key-value pair that defines the tag to remove.
Request Lenses
removeTagsFromCertificate_certificateArn :: Lens' RemoveTagsFromCertificate Text Source #
String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
removeTagsFromCertificate_tags :: Lens' RemoveTagsFromCertificate (NonEmpty Tag) Source #
The key-value pair that defines the tag to remove.
Destructuring the Response
data RemoveTagsFromCertificateResponse Source #
See: newRemoveTagsFromCertificateResponse smart constructor.
Constructors
| RemoveTagsFromCertificateResponse' | |
Instances
newRemoveTagsFromCertificateResponse :: RemoveTagsFromCertificateResponse Source #
Create a value of RemoveTagsFromCertificateResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.