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 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.
RemoveTagsFromCertificate' | |
|
Instances
newRemoveTagsFromCertificate Source #
:: 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:
$sel:certificateArn: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.
Instances
Eq RemoveTagsFromCertificateResponse Source # | |
Read RemoveTagsFromCertificateResponse Source # | |
Show RemoveTagsFromCertificateResponse Source # | |
Generic RemoveTagsFromCertificateResponse Source # | |
NFData RemoveTagsFromCertificateResponse Source # | |
Defined in Amazonka.CertificateManager.RemoveTagsFromCertificate rnf :: RemoveTagsFromCertificateResponse -> () # | |
type Rep RemoveTagsFromCertificateResponse Source # | |
Defined in Amazonka.CertificateManager.RemoveTagsFromCertificate type Rep RemoveTagsFromCertificateResponse = D1 ('MetaData "RemoveTagsFromCertificateResponse" "Amazonka.CertificateManager.RemoveTagsFromCertificate" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "RemoveTagsFromCertificateResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newRemoveTagsFromCertificateResponse :: RemoveTagsFromCertificateResponse Source #
Create a value of RemoveTagsFromCertificateResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.