describe_logging_configuration
(**kwargs)¶Describes logging configuration.
See also: AWS API Documentation
Request Syntax
response = client.describe_logging_configuration(
workspaceId='string'
)
[REQUIRED]
The ID of the workspace to vend logs to.
{
'loggingConfiguration': {
'createdAt': datetime(2015, 1, 1),
'logGroupArn': 'string',
'modifiedAt': datetime(2015, 1, 1),
'status': {
'statusCode': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'CREATION_FAILED'|'UPDATE_FAILED',
'statusReason': 'string'
},
'workspace': 'string'
}
}
Response Structure
Represents the output of a DescribeLoggingConfiguration operation.
Metadata object containing information about the logging configuration of a workspace.
The time when the logging configuration was created.
The ARN of the CW log group to which the vended log data will be published.
The time when the logging configuration was modified.
The status of the logging configuration.
Status code of the logging configuration.
The reason for failure if any.
The workspace where the logging configuration exists.
Exceptions
PrometheusService.Client.exceptions.ValidationException
PrometheusService.Client.exceptions.ResourceNotFoundException
PrometheusService.Client.exceptions.AccessDeniedException
PrometheusService.Client.exceptions.InternalServerException