mediapackagev2#
Client#
- class mediapackagev2.Client#
A low-level client representing AWS Elemental MediaPackage v2 (mediapackagev2)
Note
This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn’t an automated process to migrate your resources from MediaPackage v1 to MediaPackage v2.
The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information added, like “v2”, to distinguish from the prior version. If you used MediaPackage prior to this release, you can’t use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.
If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren’t looking to migrate to MediaPackage v2 yet, see the MediaPackage v1 Live API Reference.
This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations for live content in detail, and provides sample requests, responses, and errors for the supported web services protocols.
We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage User Guide.
import boto3 client = boto3.client('mediapackagev2')
These are the available methods:
- can_paginate
- cancel_harvest_job
- close
- create_channel
- create_channel_group
- create_harvest_job
- create_origin_endpoint
- delete_channel
- delete_channel_group
- delete_channel_policy
- delete_origin_endpoint
- delete_origin_endpoint_policy
- get_channel
- get_channel_group
- get_channel_policy
- get_harvest_job
- get_origin_endpoint
- get_origin_endpoint_policy
- get_paginator
- get_waiter
- list_channel_groups
- list_channels
- list_harvest_jobs
- list_origin_endpoints
- list_tags_for_resource
- put_channel_policy
- put_origin_endpoint_policy
- tag_resource
- untag_resource
- update_channel
- update_channel_group
- update_origin_endpoint
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: