2021/12/21 - Amazon WorkMail - 3 new api methods
Changes This release allows customers to change their email monitoring configuration in Amazon WorkMail.
Creates or updates the email monitoring configuration for a specified organization.
See also: AWS API Documentation
Request Syntax
client.put_email_monitoring_configuration( OrganizationId='string', RoleArn='string', LogGroupArn='string' )
string
[REQUIRED]
The ID of the organization for which the email monitoring configuration is set.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.
dict
Response Syntax
{}
Response Structure
(dict) --
Describes the current email monitoring configuration for a specified organization.
See also: AWS API Documentation
Request Syntax
client.describe_email_monitoring_configuration( OrganizationId='string' )
string
[REQUIRED]
The ID of the organization for which the email monitoring configuration is described.
dict
Response Syntax
{ 'RoleArn': 'string', 'LogGroupArn': 'string' }
Response Structure
(dict) --
RoleArn (string) --
The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration.
LogGroupArn (string) --
The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.
Deletes the email monitoring configuration for a specified organization.
See also: AWS API Documentation
Request Syntax
client.delete_email_monitoring_configuration( OrganizationId='string' )
string
[REQUIRED]
The ID of the organization from which the email monitoring configuration is deleted.
dict
Response Syntax
{}
Response Structure
(dict) --