get_channel_policy

get_channel_policy(**kwargs)

Returns the channel's IAM policy. IAM policies are used to control access to your channel.

See also: AWS API Documentation

Request Syntax

response = client.get_channel_policy(
    ChannelName='string'
)
Parameters
ChannelName (string) --

[REQUIRED]

The name of the channel associated with this Channel Policy.

Return type
dict
Returns
Response Syntax
{
    'Policy': 'string'
}

Response Structure

  • (dict) --
    • Policy (string) --

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