put_channel_policy

MediaTailor.Client.put_channel_policy(**kwargs)

Creates an IAM policy for the channel. IAM policies are used to control access to your channel.

See also: AWS API Documentation

Request Syntax

response = client.put_channel_policy(
    ChannelName='string',
    Policy='string'
)
Parameters
  • ChannelName (string) --

    [REQUIRED]

    The channel name associated with this Channel Policy.

  • Policy (string) --

    [REQUIRED]

    Adds an IAM role that determines the permissions of your channel.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --