mediapackagev2 / Client / get_origin_endpoint_policy

get_origin_endpoint_policy#

mediapackagev2.Client.get_origin_endpoint_policy(**kwargs)#

Retrieves the specified origin endpoint policy that’s configured in AWS Elemental MediaPackage.

See also: AWS API Documentation

Request Syntax

response = client.get_origin_endpoint_policy(
    ChannelGroupName='string',
    ChannelName='string',
    OriginEndpointName='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.

  • OriginEndpointName (string) –

    [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.

Return type:

dict

Returns:

Response Syntax

{
    'ChannelGroupName': 'string',
    'ChannelName': 'string',
    'OriginEndpointName': '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.

    • OriginEndpointName (string) –

      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.

    • Policy (string) –

      The policy assigned to the origin endpoint.

Exceptions