delete_email_channel
(**kwargs)¶Disables the email channel for an application and deletes any existing settings for the channel.
See also: AWS API Documentation
Request Syntax
response = client.delete_email_channel(
ApplicationId='string'
)
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
{
'EmailChannelResponse': {
'ApplicationId': 'string',
'ConfigurationSet': 'string',
'CreationDate': 'string',
'Enabled': True|False,
'FromAddress': 'string',
'HasCredential': True|False,
'Id': 'string',
'Identity': 'string',
'IsArchived': True|False,
'LastModifiedBy': 'string',
'LastModifiedDate': 'string',
'MessagesPerSecond': 123,
'Platform': 'string',
'RoleArn': 'string',
'Version': 123
}
}
Response Structure
The request succeeded.
Provides information about the status and settings of the email channel for an application.
The unique identifier for the application that the email channel applies to.
The Amazon SES configuration set that's applied to messages that are sent through the channel.
The date and time, in ISO 8601 format, when the email channel was enabled.
Specifies whether the email channel is enabled for the application.
The verified email address that email is sent from when you send email through the channel.
(Not used) This property is retained only for backward compatibility.
(Deprecated) An identifier for the email channel. This property is retained only for backward compatibility.
The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that's used when you send email through the channel.
Specifies whether the email channel is archived.
The user who last modified the email channel.
The date and time, in ISO 8601 format, when the email channel was last modified.
The maximum number of emails that can be sent through the channel each second.
The type of messaging or notification platform for the channel. For the email channel, this value is EMAIL.
The ARN of the AWS Identity and Access Management (IAM) role that Amazon Pinpoint uses to submit email-related event data for the channel.
The current version of the email channel.
Exceptions
Pinpoint.Client.exceptions.BadRequestException
Pinpoint.Client.exceptions.InternalServerErrorException
Pinpoint.Client.exceptions.PayloadTooLargeException
Pinpoint.Client.exceptions.ForbiddenException
Pinpoint.Client.exceptions.NotFoundException
Pinpoint.Client.exceptions.MethodNotAllowedException
Pinpoint.Client.exceptions.TooManyRequestsException