WorkMail / Client / put_email_monitoring_configuration
put_email_monitoring_configuration¶
- WorkMail.Client.put_email_monitoring_configuration(**kwargs)¶
- Creates or updates the email monitoring configuration for a specified organization. - See also: AWS API Documentation - Request Syntax- response = client.put_email_monitoring_configuration( OrganizationId='string', RoleArn='string', LogGroupArn='string' ) - Parameters:
- OrganizationId (string) – - [REQUIRED] - The ID of the organization for which the email monitoring configuration is set. 
- RoleArn (string) – The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration. If absent, the IAM Role Arn of AWSServiceRoleForAmazonWorkMailEvents will be used. 
- LogGroupArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions