get_channels
(**kwargs)¶Retrieves information about the history and status of each channel for an application.
See also: AWS API Documentation
Request Syntax
response = client.get_channels(
ApplicationId='string'
)
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
{
'ChannelsResponse': {
'Channels': {
'string': {
'ApplicationId': 'string',
'CreationDate': 'string',
'Enabled': True|False,
'HasCredential': True|False,
'Id': 'string',
'IsArchived': True|False,
'LastModifiedBy': 'string',
'LastModifiedDate': 'string',
'Version': 123
}
}
}
}
Response Structure
The request succeeded.
Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application.
A map that contains a multipart response for each channel. For each item in this object, the ChannelType is the key and the Channel is the value.
Provides information about the general settings and status of a channel for an application.
The unique identifier for the application.
The date and time, in ISO 8601 format, when the channel was enabled.
Specifies whether the channel is enabled for the application.
(Not used) This property is retained only for backward compatibility.
(Deprecated) An identifier for the channel. This property is retained only for backward compatibility.
Specifies whether the channel is archived.
The user who last modified the channel.
The date and time, in ISO 8601 format, when the channel was last modified.
The current version of the 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