v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1430234217.2 KB

Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.

post/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy

Path parameters

ChannelGroupNamestring required

The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

ChannelNamestring required

The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

OriginEndpointNamestring required

The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.

Request body

Policystring required

The policy to attach to the specified origin endpoint.

Response

Success

PutOriginEndpointPolicyResponse required