| 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 |
Amazonka.CertificateManagerPCA.TagCertificateAuthority
Description
Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the UntagCertificateAuthority action. Call the ListTags action to see what tags are associated with your CA.
Synopsis
- data TagCertificateAuthority = TagCertificateAuthority' {}
- newTagCertificateAuthority :: Text -> NonEmpty Tag -> TagCertificateAuthority
- tagCertificateAuthority_certificateAuthorityArn :: Lens' TagCertificateAuthority Text
- tagCertificateAuthority_tags :: Lens' TagCertificateAuthority (NonEmpty Tag)
- data TagCertificateAuthorityResponse = TagCertificateAuthorityResponse' {
- newTagCertificateAuthorityResponse :: TagCertificateAuthorityResponse
Creating a Request
data TagCertificateAuthority Source #
See: newTagCertificateAuthority smart constructor.
Constructors
| TagCertificateAuthority' | |
Fields
| |
Instances
newTagCertificateAuthority Source #
Arguments
| :: Text | |
| -> NonEmpty Tag | |
| -> TagCertificateAuthority |
Create a value of TagCertificateAuthority 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:certificateAuthorityArn:TagCertificateAuthority', tagCertificateAuthority_certificateAuthorityArn - The Amazon Resource Name (ARN) that was returned when you called
CreateCertificateAuthority.
This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
$sel:tags:TagCertificateAuthority', tagCertificateAuthority_tags - List of tags to be associated with the CA.
Request Lenses
tagCertificateAuthority_certificateAuthorityArn :: Lens' TagCertificateAuthority Text Source #
The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
tagCertificateAuthority_tags :: Lens' TagCertificateAuthority (NonEmpty Tag) Source #
List of tags to be associated with the CA.
Destructuring the Response
data TagCertificateAuthorityResponse Source #
See: newTagCertificateAuthorityResponse smart constructor.
Constructors
| TagCertificateAuthorityResponse' | |
Instances
newTagCertificateAuthorityResponse :: TagCertificateAuthorityResponse Source #
Create a value of TagCertificateAuthorityResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.