amazonka-certificatemanager-2.0: Amazon Certificate Manager 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.CertificateManager.ListTagsForCertificate

Description

Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the AddTagsToCertificate action. To delete a tag, use the RemoveTagsFromCertificate action.

Synopsis

Creating a Request

data ListTagsForCertificate Source #

See: newListTagsForCertificate smart constructor.

Constructors

ListTagsForCertificate' 

Fields

  • certificateArn :: Text

    String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

    arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

    For more information about ARNs, see Amazon Resource Names (ARNs).

Instances

Instances details
ToJSON ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

ToHeaders ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

ToPath ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

ToQuery ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

AWSRequest ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Associated Types

type AWSResponse ListTagsForCertificate #

Generic ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Associated Types

type Rep ListTagsForCertificate :: Type -> Type #

Read ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Show ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

NFData ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Methods

rnf :: ListTagsForCertificate -> () #

Eq ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Hashable ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

type AWSResponse ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

type Rep ListTagsForCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

type Rep ListTagsForCertificate = D1 ('MetaData "ListTagsForCertificate" "Amazonka.CertificateManager.ListTagsForCertificate" "amazonka-certificatemanager-2.0-CRaDh4gXGsJGb4mnkgvuBR" 'False) (C1 ('MetaCons "ListTagsForCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListTagsForCertificate Source #

Create a value of ListTagsForCertificate 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:

ListTagsForCertificate, listTagsForCertificate_certificateArn - String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

Request Lenses

listTagsForCertificate_certificateArn :: Lens' ListTagsForCertificate Text Source #

String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:

arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

For more information about ARNs, see Amazon Resource Names (ARNs).

Destructuring the Response

data ListTagsForCertificateResponse Source #

See: newListTagsForCertificateResponse smart constructor.

Constructors

ListTagsForCertificateResponse' 

Fields

Instances

Instances details
Generic ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Associated Types

type Rep ListTagsForCertificateResponse :: Type -> Type #

Read ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Show ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

NFData ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

Eq ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

type Rep ListTagsForCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListTagsForCertificate

type Rep ListTagsForCertificateResponse = D1 ('MetaData "ListTagsForCertificateResponse" "Amazonka.CertificateManager.ListTagsForCertificate" "amazonka-certificatemanager-2.0-CRaDh4gXGsJGb4mnkgvuBR" 'False) (C1 ('MetaCons "ListTagsForCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsForCertificateResponse Source #

Create a value of ListTagsForCertificateResponse 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:tags:ListTagsForCertificateResponse', listTagsForCertificateResponse_tags - The key-value pairs that define the applied tags.

$sel:httpStatus:ListTagsForCertificateResponse', listTagsForCertificateResponse_httpStatus - The response's http status code.

Response Lenses

listTagsForCertificateResponse_tags :: Lens' ListTagsForCertificateResponse (Maybe (NonEmpty Tag)) Source #

The key-value pairs that define the applied tags.