CognitoIdentityProvider / Client / get_log_delivery_configuration
get_log_delivery_configuration#
- CognitoIdentityProvider.Client.get_log_delivery_configuration(**kwargs)#
Gets the detailed activity logging configuration for a user pool.
See also: AWS API Documentation
Request Syntax
response = client.get_log_delivery_configuration( UserPoolId='string' )
- Parameters:
UserPoolId (string) –
[REQUIRED]
The ID of the user pool where you want to view detailed activity logging configuration.
- Return type:
dict
- Returns:
Response Syntax
{ 'LogDeliveryConfiguration': { 'UserPoolId': 'string', 'LogConfigurations': [ { 'LogLevel': 'ERROR', 'EventSource': 'userNotification', 'CloudWatchLogsConfiguration': { 'LogGroupArn': 'string' } }, ] } }
Response Structure
(dict) –
LogDeliveryConfiguration (dict) –
The detailed activity logging configuration of the requested user pool.
UserPoolId (string) –
The ID of the user pool where you configured detailed activity logging.
LogConfigurations (list) –
The detailed activity logging destination of a user pool.
(dict) –
The logging parameters of a user pool.
LogLevel (string) –
The
errorlevel
selection of logs that a user pool sends for detailed activity logging.EventSource (string) –
The source of events that your user pool sends for detailed activity logging.
CloudWatchLogsConfiguration (dict) –
The CloudWatch logging destination of a user pool.
LogGroupArn (string) –
The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
Exceptions
CognitoIdentityProvider.Client.exceptions.InvalidParameterException
CognitoIdentityProvider.Client.exceptions.InternalErrorException
CognitoIdentityProvider.Client.exceptions.TooManyRequestsException
CognitoIdentityProvider.Client.exceptions.NotAuthorizedException
CognitoIdentityProvider.Client.exceptions.ResourceNotFoundException