describe_logging_status
(**kwargs)¶Describes whether information, such as queries and connection attempts, is being logged for the specified Amazon Redshift cluster.
See also: AWS API Documentation
Request Syntax
response = client.describe_logging_status(
ClusterIdentifier='string'
)
[REQUIRED]
The identifier of the cluster from which to get the logging status.
Example: examplecluster
{
'LoggingEnabled': True|False,
'BucketName': 'string',
'S3KeyPrefix': 'string',
'LastSuccessfulDeliveryTime': datetime(2015, 1, 1),
'LastFailureTime': datetime(2015, 1, 1),
'LastFailureMessage': 'string',
'LogDestinationType': 's3'|'cloudwatch',
'LogExports': [
'string',
]
}
Response Structure
Describes the status of logging for a cluster.
true
if logging is on,false
if logging is off.
The name of the S3 bucket where the log files are stored.
The prefix applied to the log file names.
The last time that logs were delivered.
The last time when logs failed to be delivered.
The message indicating that logs failed to be delivered.
The log destination type. An enum with possible values of s3
and cloudwatch
.
The collection of exported log types. Possible values are connectionlog
, useractivitylog
, and userlog
.
Exceptions
Redshift.Client.exceptions.ClusterNotFoundFault