ACM / Client / list_tags_for_certificate
list_tags_for_certificate#
- ACM.Client.list_tags_for_certificate(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_certificate( CertificateArn='string' )
- Parameters:
CertificateArn (string) –
[REQUIRED]
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).
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
The key-value pairs that define the applied tags.
(dict) –
A key-value pair that identifies or specifies metadata about an ACM resource.
Key (string) –
The key of the tag.
Value (string) –
The value of the tag.
Exceptions
ACM.Client.exceptions.ResourceNotFoundException
ACM.Client.exceptions.InvalidArnException