CloudWatchLogs / Client / list_tags_log_group
list_tags_log_group#
- CloudWatchLogs.Client.list_tags_log_group(**kwargs)#
Warning
The ListTagsLogGroup operation is on the path to deprecation. We recommend that you use ListTagsForResource instead.
Lists the tags for the specified log group.
Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_log_group( logGroupName='string' )
- Parameters:
logGroupName (string) –
[REQUIRED]
The name of the log group.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
The tags for the log group.
(string) –
(string) –
Exceptions
CloudWatchLogs.Client.exceptions.ResourceNotFoundException
CloudWatchLogs.Client.exceptions.ServiceUnavailableException