describe_email_monitoring_configuration
(**kwargs)¶Describes the current email monitoring configuration for a specified organization.
See also: AWS API Documentation
Request Syntax
response = client.describe_email_monitoring_configuration(
OrganizationId='string'
)
[REQUIRED]
The ID of the organization for which the email monitoring configuration is described.
{
'RoleArn': 'string',
'LogGroupArn': 'string'
}
Response Structure
The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.
The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.
Exceptions
WorkMail.Client.exceptions.ResourceNotFoundException
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException