Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
function. Call the ListTags
function to see what tags are associated with your CA.
Synopsis
- tagCertificateAuthority :: Text -> NonEmpty Tag -> TagCertificateAuthority
- data TagCertificateAuthority
- tcaCertificateAuthorityARN :: Lens' TagCertificateAuthority Text
- tcaTags :: Lens' TagCertificateAuthority (NonEmpty Tag)
- tagCertificateAuthorityResponse :: TagCertificateAuthorityResponse
- data TagCertificateAuthorityResponse
Creating a Request
tagCertificateAuthority Source #
Creates a value of TagCertificateAuthority
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tcaCertificateAuthorityARN
- The Amazon Resource Name (ARN) that was returned when you calledCreateCertificateAuthority
. This must be of the form:arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
tcaTags
- List of tags to be associated with the CA.
data TagCertificateAuthority Source #
See: tagCertificateAuthority
smart constructor.
Instances
Request Lenses
tcaCertificateAuthorityARN :: 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:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
tcaTags :: Lens' TagCertificateAuthority (NonEmpty Tag) Source #
List of tags to be associated with the CA.
Destructuring the Response
tagCertificateAuthorityResponse :: TagCertificateAuthorityResponse Source #
Creates a value of TagCertificateAuthorityResponse
with the minimum fields required to make a request.
data TagCertificateAuthorityResponse Source #
See: tagCertificateAuthorityResponse
smart constructor.