MediaPackageVodClient
Index > MediaPackageVod > MediaPackageVodClient
Auto-generated documentation for MediaPackageVod type annotations stubs module mypy-boto3-mediapackage-vod.
MediaPackageVodClient
Type annotations and code completion for boto3.client("mediapackage-vod")
.
boto3 documentation
from boto3.session import Session
from mypy_boto3_mediapackage_vod.client import MediaPackageVodClient
def get_mediapackage-vod_client() -> MediaPackageVodClient:
return Session().client("mediapackage-vod")
Exceptions
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("mediapackage-vod").exceptions
structure.
client = boto3.client("mediapackage-vod")
try:
do_something(client)
except (
client.ClientError,
client.ForbiddenException,
client.InternalServerErrorException,
client.NotFoundException,
client.ServiceUnavailableException,
client.TooManyRequestsException,
client.UnprocessableEntityException,
) as e:
print(e)
from mypy_boto3_mediapackage_vod.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("mediapackage-vod").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("mediapackage-vod").close
method.
boto3 documentation
configure_logs
Changes the packaging group's properities to configure log subscription See also: AWS API Documentation.
Type annotations and code completion for boto3.client("mediapackage-vod").configure_logs
method.
boto3 documentation
def configure_logs(
self,
*,
Id: str,
EgressAccessLogs: EgressAccessLogsTypeDef = ..., # (1)
) -> ConfigureLogsResponseTypeDef: # (2)
...
kwargs: ConfigureLogsRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.configure_logs(**kwargs)
create_asset
Creates a new MediaPackage VOD Asset resource.
Type annotations and code completion for boto3.client("mediapackage-vod").create_asset
method.
boto3 documentation
def create_asset(
self,
*,
Id: str,
PackagingGroupId: str,
SourceArn: str,
SourceRoleArn: str,
ResourceId: str = ...,
Tags: Mapping[str, str] = ...,
) -> CreateAssetResponseTypeDef: # (1)
...
kwargs: CreateAssetRequestRequestTypeDef = { # (1)
"Id": ...,
"PackagingGroupId": ...,
"SourceArn": ...,
"SourceRoleArn": ...,
}
parent.create_asset(**kwargs)
create_packaging_configuration
Creates a new MediaPackage VOD PackagingConfiguration resource.
Type annotations and code completion for boto3.client("mediapackage-vod").create_packaging_configuration
method.
boto3 documentation
def create_packaging_configuration(
self,
*,
Id: str,
PackagingGroupId: str,
CmafPackage: CmafPackageTypeDef = ..., # (1)
DashPackage: DashPackageTypeDef = ..., # (2)
HlsPackage: HlsPackageTypeDef = ..., # (3)
MssPackage: MssPackageTypeDef = ..., # (4)
Tags: Mapping[str, str] = ...,
) -> CreatePackagingConfigurationResponseTypeDef: # (5)
...
- See CmafPackageTypeDef
- See DashPackageTypeDef
- See HlsPackageTypeDef
- See MssPackageTypeDef
- See CreatePackagingConfigurationResponseTypeDef
kwargs: CreatePackagingConfigurationRequestRequestTypeDef = { # (1)
"Id": ...,
"PackagingGroupId": ...,
}
parent.create_packaging_configuration(**kwargs)
create_packaging_group
Creates a new MediaPackage VOD PackagingGroup resource.
Type annotations and code completion for boto3.client("mediapackage-vod").create_packaging_group
method.
boto3 documentation
def create_packaging_group(
self,
*,
Id: str,
Authorization: AuthorizationTypeDef = ..., # (1)
EgressAccessLogs: EgressAccessLogsTypeDef = ..., # (2)
Tags: Mapping[str, str] = ...,
) -> CreatePackagingGroupResponseTypeDef: # (3)
...
kwargs: CreatePackagingGroupRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.create_packaging_group(**kwargs)
delete_asset
Deletes an existing MediaPackage VOD Asset resource.
Type annotations and code completion for boto3.client("mediapackage-vod").delete_asset
method.
boto3 documentation
kwargs: DeleteAssetRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_asset(**kwargs)
delete_packaging_configuration
Deletes a MediaPackage VOD PackagingConfiguration resource.
Type annotations and code completion for boto3.client("mediapackage-vod").delete_packaging_configuration
method.
boto3 documentation
kwargs: DeletePackagingConfigurationRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_packaging_configuration(**kwargs)
delete_packaging_group
Deletes a MediaPackage VOD PackagingGroup resource.
Type annotations and code completion for boto3.client("mediapackage-vod").delete_packaging_group
method.
boto3 documentation
kwargs: DeletePackagingGroupRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.delete_packaging_group(**kwargs)
describe_asset
Returns a description of a MediaPackage VOD Asset resource.
Type annotations and code completion for boto3.client("mediapackage-vod").describe_asset
method.
boto3 documentation
kwargs: DescribeAssetRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.describe_asset(**kwargs)
describe_packaging_configuration
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
Type annotations and code completion for boto3.client("mediapackage-vod").describe_packaging_configuration
method.
boto3 documentation
def describe_packaging_configuration(
self,
*,
Id: str,
) -> DescribePackagingConfigurationResponseTypeDef: # (1)
...
kwargs: DescribePackagingConfigurationRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.describe_packaging_configuration(**kwargs)
describe_packaging_group
Returns a description of a MediaPackage VOD PackagingGroup resource.
Type annotations and code completion for boto3.client("mediapackage-vod").describe_packaging_group
method.
boto3 documentation
def describe_packaging_group(
self,
*,
Id: str,
) -> DescribePackagingGroupResponseTypeDef: # (1)
...
kwargs: DescribePackagingGroupRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.describe_packaging_group(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("mediapackage-vod").generate_presigned_url
method.
boto3 documentation
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
list_assets
Returns a collection of MediaPackage VOD Asset resources.
Type annotations and code completion for boto3.client("mediapackage-vod").list_assets
method.
boto3 documentation
def list_assets(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
PackagingGroupId: str = ...,
) -> ListAssetsResponseTypeDef: # (1)
...
kwargs: ListAssetsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_assets(**kwargs)
list_packaging_configurations
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
Type annotations and code completion for boto3.client("mediapackage-vod").list_packaging_configurations
method.
boto3 documentation
def list_packaging_configurations(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
PackagingGroupId: str = ...,
) -> ListPackagingConfigurationsResponseTypeDef: # (1)
...
kwargs: ListPackagingConfigurationsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_packaging_configurations(**kwargs)
list_packaging_groups
Returns a collection of MediaPackage VOD PackagingGroup resources.
Type annotations and code completion for boto3.client("mediapackage-vod").list_packaging_groups
method.
boto3 documentation
def list_packaging_groups(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListPackagingGroupsResponseTypeDef: # (1)
...
kwargs: ListPackagingGroupsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_packaging_groups(**kwargs)
list_tags_for_resource
Returns a list of the tags assigned to the specified resource.
Type annotations and code completion for boto3.client("mediapackage-vod").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
tag_resource
Adds tags to the specified resource.
Type annotations and code completion for boto3.client("mediapackage-vod").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Removes tags from the specified resource.
Type annotations and code completion for boto3.client("mediapackage-vod").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_packaging_group
Updates a specific packaging group.
Type annotations and code completion for boto3.client("mediapackage-vod").update_packaging_group
method.
boto3 documentation
def update_packaging_group(
self,
*,
Id: str,
Authorization: AuthorizationTypeDef = ..., # (1)
) -> UpdatePackagingGroupResponseTypeDef: # (2)
...
kwargs: UpdatePackagingGroupRequestRequestTypeDef = { # (1)
"Id": ...,
}
parent.update_packaging_group(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("mediapackage-vod").get_paginator
method with overloads.
client.get_paginator("list_assets")
-> ListAssetsPaginatorclient.get_paginator("list_packaging_configurations")
-> ListPackagingConfigurationsPaginatorclient.get_paginator("list_packaging_groups")
-> ListPackagingGroupsPaginator