mediapackagev2 / Client / get_channel_policy
get_channel_policy#
- mediapackagev2.Client.get_channel_policy(**kwargs)#
Retrieves the specified channel policy that’s configured in AWS Elemental MediaPackage. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources.
See also: AWS API Documentation
Request Syntax
response = client.get_channel_policy( ChannelGroupName='string', ChannelName='string' )
- Parameters:
ChannelGroupName (string) –
[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.
ChannelName (string) –
[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.
- Return type:
dict
- Returns:
Response Syntax
{ 'ChannelGroupName': 'string', 'ChannelName': 'string', 'Policy': 'string' }
Response Structure
(dict) –
ChannelGroupName (string) –
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.
ChannelName (string) –
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.
Policy (string) –
The policy assigned to the channel.
Exceptions