mediapackagev2 / Client / update_channel

update_channel#

mediapackagev2.Client.update_channel(**kwargs)#

Update the specified channel. You can edit if MediaPackage sends ingest or egress access logs to the CloudWatch log group, if content will be encrypted, the description on a channel, and your channel’s policy settings. You can’t edit the name of the channel or CloudFront distribution details.

Any edits you make that impact the video output may not be reflected for a few minutes.

See also: AWS API Documentation

Request Syntax

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

  • Description (string) – Any descriptive information that you want to add to the channel for future identification purposes.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'ChannelName': 'string',
    'ChannelGroupName': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'ModifiedAt': datetime(2015, 1, 1),
    'Description': 'string',
    'IngestEndpoints': [
        {
            'Id': 'string',
            'Url': 'string'
        },
    ],
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) associated with the resource.

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

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

    • CreatedAt (datetime) –

      The date and time the channel was created.

    • ModifiedAt (datetime) –

      The date and time the channel was modified.

    • Description (string) –

      The description for your channel.

    • IngestEndpoints (list) –

      The list of ingest endpoints.

      • (dict) –

        The ingest domain URL where the source stream should be sent.

        • Id (string) –

          The system-generated unique identifier for the IngestEndpoint.

        • Url (string) –

          The ingest domain URL where the source stream should be sent.

    • Tags (dict) –

      The comma-separated list of tag key:value pairs assigned to the channel.

      • (string) –

        • (string) –

Exceptions

  • mediapackagev2.Client.exceptions.ThrottlingException

  • mediapackagev2.Client.exceptions.ConflictException

  • mediapackagev2.Client.exceptions.InternalServerException

  • mediapackagev2.Client.exceptions.AccessDeniedException

  • mediapackagev2.Client.exceptions.ValidationException

  • mediapackagev2.Client.exceptions.ResourceNotFoundException