选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Channels - Amazon Pinpoint
此页面尚未翻译为您的语言。 请求翻译

Channels

A channel is a type of platform that you can deliver messages to. For example, use the email channel to send email to newsletter subscribers, use the SMS channel to send SMS text messages to your customers, or use a push notification channel to send push notifications to users of your iOS or Android app.

You can use the Channels resource to retrieve information about the history and status of each channel for a specific application. To retrieve more detailed information about a specific type of channel or to perform other channel-specific operations, use the resource for that type of channel.

URI

/v1/apps/application-id/channels

HTTP methods

GET

Operation ID: GetChannels

Retrieves information about the history and status of each channel for an application.

Path parameters
NameTypeRequiredDescription
application-idStringTrue

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Header parameters
NameTypeRequiredDescription
acceptStringFalse

Indicates which content types, expressed as MIME types, the client understands.

Responses
Status codeResponse modelDescription
200ChannelsResponse

The request succeeded.

400MessageBody

The request contains a syntax error (BadRequestException).

403MessageBody

The request was denied because access to the specified resource is forbidden (ForbiddenException).

404MessageBody

The request failed because the specified resource was not found (NotFoundException).

405MessageBody

The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).

413MessageBody

The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).

429MessageBody

The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).

500MessageBody

The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).

OPTIONS

Retrieves information about the communication requirements and options that are available for the Channels resource.

Path parameters
NameTypeRequiredDescription
application-idStringTrue

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Responses
Status codeResponse modelDescription
200None

The request succeeded.

Schemas

Response bodies

{ "Channels": { } }

ChannelsResponse schema

{ "Channels": { } }
{ "RequestID": "string", "Message": "string" }

MessageBody schema

{ "RequestID": "string", "Message": "string" }

Properties

ChannelResponse

Provides information about the general settings and status of a channel for an application.

PropertyTypeRequiredDescription
ApplicationId

string

False

The unique identifier for the application.

CreationDate

string

False

The date and time, in ISO 8601 format, when the channel was enabled.

Enabled

boolean

False

Specifies whether the channel is enabled for the application.

HasCredential

boolean

False

(Not used) This property is retained only for backward compatibility.

Id

string

False

(Deprecated) An identifier for the channel. This property is retained only for backward compatibility.

IsArchived

boolean

False

Specifies whether the channel is archived.

LastModifiedBy

string

False

The user who last modified the channel.

LastModifiedDate

string

False

The date and time, in ISO 8601 format, when the channel was last modified.

Version

integer

False

The current version of the channel.

ChannelsResponse

Provides information about the general settings and status of all channels for an application, including channels that aren't enabled for the application.

PropertyTypeRequiredDescription
Channels

object

True

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.

MessageBody

Provides information about an API request or response.

PropertyTypeRequiredDescription
Message

string

False

The message that's returned from the API.

RequestID

string

False

The unique identifier for the request or response.

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

GetChannels

下一主题:

Email Channel

上一主题:

Campaigns
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。