amazonka-certificatemanager-pca-2.0: Amazon Certificate Manager Private Certificate Authority SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Web Services 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.

To attach tags to a private CA during the creation procedure, a CA administrator must first associate an inline IAM policy with the CreateCertificateAuthority action and explicitly allow tagging. For more information, see Attaching tags to a CA at the time of creation.

Synopsis

Creating a Request

data TagCertificateAuthority Source #

See: newTagCertificateAuthority smart constructor.

Constructors

TagCertificateAuthority' 

Fields

Instances

Instances details
ToJSON TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

ToHeaders TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

ToPath TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

ToQuery TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

AWSRequest TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Generic TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Associated Types

type Rep TagCertificateAuthority :: Type -> Type #

Read TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Show TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

NFData TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Methods

rnf :: TagCertificateAuthority -> () #

Eq TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Hashable TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

type AWSResponse TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

type Rep TagCertificateAuthority Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

type Rep TagCertificateAuthority = D1 ('MetaData "TagCertificateAuthority" "Amazonka.CertificateManagerPCA.TagCertificateAuthority" "amazonka-certificatemanager-pca-2.0-BrCc8DEClV63rMSVXz2XYH" 'False) (C1 ('MetaCons "TagCertificateAuthority'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Tag))))

newTagCertificateAuthority Source #

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:

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.

Instances

Instances details
Generic TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Associated Types

type Rep TagCertificateAuthorityResponse :: Type -> Type #

Read TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Show TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

NFData TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

Eq TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

type Rep TagCertificateAuthorityResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.TagCertificateAuthority

type Rep TagCertificateAuthorityResponse = D1 ('MetaData "TagCertificateAuthorityResponse" "Amazonka.CertificateManagerPCA.TagCertificateAuthority" "amazonka-certificatemanager-pca-2.0-BrCc8DEClV63rMSVXz2XYH" 'False) (C1 ('MetaCons "TagCertificateAuthorityResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newTagCertificateAuthorityResponse :: TagCertificateAuthorityResponse Source #

Create a value of TagCertificateAuthorityResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.