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 |
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
- data ListTagsForCertificate = ListTagsForCertificate' {}
- newListTagsForCertificate :: Text -> ListTagsForCertificate
- listTagsForCertificate_certificateArn :: Lens' ListTagsForCertificate Text
- data ListTagsForCertificateResponse = ListTagsForCertificateResponse' {}
- newListTagsForCertificateResponse :: Int -> ListTagsForCertificateResponse
- listTagsForCertificateResponse_tags :: Lens' ListTagsForCertificateResponse (Maybe (NonEmpty Tag))
- listTagsForCertificateResponse_httpStatus :: Lens' ListTagsForCertificateResponse Int
Creating a Request
data ListTagsForCertificate Source #
See: newListTagsForCertificate
smart constructor.
ListTagsForCertificate' | |
|
Instances
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:
$sel:certificateArn: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.
Instances
Eq ListTagsForCertificateResponse Source # | |
Read ListTagsForCertificateResponse Source # | |
Show ListTagsForCertificateResponse Source # | |
Generic ListTagsForCertificateResponse Source # | |
NFData ListTagsForCertificateResponse Source # | |
Defined in Amazonka.CertificateManager.ListTagsForCertificate rnf :: ListTagsForCertificateResponse -> () # | |
type Rep ListTagsForCertificateResponse Source # | |
Defined in Amazonka.CertificateManager.ListTagsForCertificate type Rep ListTagsForCertificateResponse = D1 ('MetaData "ListTagsForCertificateResponse" "Amazonka.CertificateManager.ListTagsForCertificate" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" '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.
listTagsForCertificateResponse_httpStatus :: Lens' ListTagsForCertificateResponse Int Source #
The response's http status code.