Skip to content

MediaTailorClient

Index > MediaTailor > MediaTailorClient

Auto-generated documentation for MediaTailor type annotations stubs module types-aiobotocore-mediatailor.

MediaTailorClient

Type annotations and code completion for session.client("mediatailor") boto3 documentation

Usage example
from aioboto3.session import Session
from types_aiobotocore_mediatailor.client import MediaTailorClient

session = Session()
async with session.client("mediatailor") as client:
    client: MediaTailorClient

Exceptions

aioboto3 client exceptions are generated in runtime. This class provides code completion for session.client("mediatailor").exceptions structure.

Usage example
async with session.client("mediatailor") as client:
    try:
        do_something(client)
    except (
            client.BadRequestException,
        client.ClientError,
    ) as e:
        print(e)
Type checking example
from types_aiobotocore_mediatailor.client import Exceptions

def handle_error(exc: Exceptions.BadRequestException) -> None:
    ...

Methods

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for session.client("mediatailor").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for session.client("mediatailor").close method. boto3 documentation

Method definition
await def close(
    self,
) -> None:
    ...

configure_logs_for_playback_configuration

Configures Amazon CloudWatch log settings for a playback configuration.

Type annotations and code completion for session.client("mediatailor").configure_logs_for_playback_configuration method. boto3 documentation

Method definition
await def configure_logs_for_playback_configuration(
    self,
    *,
    PercentEnabled: int,
    PlaybackConfigurationName: str,
) -> ConfigureLogsForPlaybackConfigurationResponseTypeDef:  # (1)
    ...
  1. See ConfigureLogsForPlaybackConfigurationResponseTypeDef
Usage example with kwargs
kwargs: ConfigureLogsForPlaybackConfigurationRequestRequestTypeDef = {  # (1)
    "PercentEnabled": ...,
    "PlaybackConfigurationName": ...,
}

parent.configure_logs_for_playback_configuration(**kwargs)
  1. See ConfigureLogsForPlaybackConfigurationRequestRequestTypeDef

create_channel

Creates a channel.

Type annotations and code completion for session.client("mediatailor").create_channel method. boto3 documentation

Method definition
await def create_channel(
    self,
    *,
    ChannelName: str,
    Outputs: Sequence[RequestOutputItemTypeDef],  # (1)
    PlaybackMode: PlaybackModeType,  # (2)
    FillerSlate: SlateSourceTypeDef = ...,  # (3)
    Tags: Mapping[str, str] = ...,
    Tier: TierType = ...,  # (4)
) -> CreateChannelResponseTypeDef:  # (5)
    ...
  1. See RequestOutputItemTypeDef
  2. See PlaybackModeType
  3. See SlateSourceTypeDef
  4. See TierType
  5. See CreateChannelResponseTypeDef
Usage example with kwargs
kwargs: CreateChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "Outputs": ...,
    "PlaybackMode": ...,
}

parent.create_channel(**kwargs)
  1. See CreateChannelRequestRequestTypeDef

create_live_source

Creates name for a specific live source in a source location.

Type annotations and code completion for session.client("mediatailor").create_live_source method. boto3 documentation

Method definition
await def create_live_source(
    self,
    *,
    HttpPackageConfigurations: Sequence[HttpPackageConfigurationTypeDef],  # (1)
    LiveSourceName: str,
    SourceLocationName: str,
    Tags: Mapping[str, str] = ...,
) -> CreateLiveSourceResponseTypeDef:  # (2)
    ...
  1. See HttpPackageConfigurationTypeDef
  2. See CreateLiveSourceResponseTypeDef
Usage example with kwargs
kwargs: CreateLiveSourceRequestRequestTypeDef = {  # (1)
    "HttpPackageConfigurations": ...,
    "LiveSourceName": ...,
    "SourceLocationName": ...,
}

parent.create_live_source(**kwargs)
  1. See CreateLiveSourceRequestRequestTypeDef

create_prefetch_schedule

Creates a new prefetch schedule for the specified playback configuration.

Type annotations and code completion for session.client("mediatailor").create_prefetch_schedule method. boto3 documentation

Method definition
await def create_prefetch_schedule(
    self,
    *,
    Consumption: PrefetchConsumptionTypeDef,  # (1)
    Name: str,
    PlaybackConfigurationName: str,
    Retrieval: PrefetchRetrievalTypeDef,  # (2)
    StreamId: str = ...,
) -> CreatePrefetchScheduleResponseTypeDef:  # (3)
    ...
  1. See PrefetchConsumptionTypeDef
  2. See PrefetchRetrievalTypeDef
  3. See CreatePrefetchScheduleResponseTypeDef
Usage example with kwargs
kwargs: CreatePrefetchScheduleRequestRequestTypeDef = {  # (1)
    "Consumption": ...,
    "Name": ...,
    "PlaybackConfigurationName": ...,
    "Retrieval": ...,
}

parent.create_prefetch_schedule(**kwargs)
  1. See CreatePrefetchScheduleRequestRequestTypeDef

create_program

Creates a program.

Type annotations and code completion for session.client("mediatailor").create_program method. boto3 documentation

Method definition
await def create_program(
    self,
    *,
    ChannelName: str,
    ProgramName: str,
    ScheduleConfiguration: ScheduleConfigurationTypeDef,  # (1)
    SourceLocationName: str,
    AdBreaks: Sequence[AdBreakTypeDef] = ...,  # (2)
    LiveSourceName: str = ...,
    VodSourceName: str = ...,
) -> CreateProgramResponseTypeDef:  # (3)
    ...
  1. See ScheduleConfigurationTypeDef
  2. See AdBreakTypeDef
  3. See CreateProgramResponseTypeDef
Usage example with kwargs
kwargs: CreateProgramRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "ProgramName": ...,
    "ScheduleConfiguration": ...,
    "SourceLocationName": ...,
}

parent.create_program(**kwargs)
  1. See CreateProgramRequestRequestTypeDef

create_source_location

Creates a source location on a specific channel.

Type annotations and code completion for session.client("mediatailor").create_source_location method. boto3 documentation

Method definition
await def create_source_location(
    self,
    *,
    HttpConfiguration: HttpConfigurationTypeDef,  # (1)
    SourceLocationName: str,
    AccessConfiguration: AccessConfigurationTypeDef = ...,  # (2)
    DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfigurationTypeDef = ...,  # (3)
    SegmentDeliveryConfigurations: Sequence[SegmentDeliveryConfigurationTypeDef] = ...,  # (4)
    Tags: Mapping[str, str] = ...,
) -> CreateSourceLocationResponseTypeDef:  # (5)
    ...
  1. See HttpConfigurationTypeDef
  2. See AccessConfigurationTypeDef
  3. See DefaultSegmentDeliveryConfigurationTypeDef
  4. See SegmentDeliveryConfigurationTypeDef
  5. See CreateSourceLocationResponseTypeDef
Usage example with kwargs
kwargs: CreateSourceLocationRequestRequestTypeDef = {  # (1)
    "HttpConfiguration": ...,
    "SourceLocationName": ...,
}

parent.create_source_location(**kwargs)
  1. See CreateSourceLocationRequestRequestTypeDef

create_vod_source

Creates name for a specific VOD source in a source location.

Type annotations and code completion for session.client("mediatailor").create_vod_source method. boto3 documentation

Method definition
await def create_vod_source(
    self,
    *,
    HttpPackageConfigurations: Sequence[HttpPackageConfigurationTypeDef],  # (1)
    SourceLocationName: str,
    VodSourceName: str,
    Tags: Mapping[str, str] = ...,
) -> CreateVodSourceResponseTypeDef:  # (2)
    ...
  1. See HttpPackageConfigurationTypeDef
  2. See CreateVodSourceResponseTypeDef
Usage example with kwargs
kwargs: CreateVodSourceRequestRequestTypeDef = {  # (1)
    "HttpPackageConfigurations": ...,
    "SourceLocationName": ...,
    "VodSourceName": ...,
}

parent.create_vod_source(**kwargs)
  1. See CreateVodSourceRequestRequestTypeDef

delete_channel

Deletes a channel.

Type annotations and code completion for session.client("mediatailor").delete_channel method. boto3 documentation

Method definition
await def delete_channel(
    self,
    *,
    ChannelName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.delete_channel(**kwargs)
  1. See DeleteChannelRequestRequestTypeDef

delete_channel_policy

Deletes a channel's IAM policy.

Type annotations and code completion for session.client("mediatailor").delete_channel_policy method. boto3 documentation

Method definition
await def delete_channel_policy(
    self,
    *,
    ChannelName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteChannelPolicyRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.delete_channel_policy(**kwargs)
  1. See DeleteChannelPolicyRequestRequestTypeDef

delete_live_source

Deletes a specific live source in a specific source location.

Type annotations and code completion for session.client("mediatailor").delete_live_source method. boto3 documentation

Method definition
await def delete_live_source(
    self,
    *,
    LiveSourceName: str,
    SourceLocationName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteLiveSourceRequestRequestTypeDef = {  # (1)
    "LiveSourceName": ...,
    "SourceLocationName": ...,
}

parent.delete_live_source(**kwargs)
  1. See DeleteLiveSourceRequestRequestTypeDef

delete_playback_configuration

Deletes the playback configuration for the specified name.

Type annotations and code completion for session.client("mediatailor").delete_playback_configuration method. boto3 documentation

Method definition
await def delete_playback_configuration(
    self,
    *,
    Name: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeletePlaybackConfigurationRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.delete_playback_configuration(**kwargs)
  1. See DeletePlaybackConfigurationRequestRequestTypeDef

delete_prefetch_schedule

Deletes a prefetch schedule for a specific playback configuration.

Type annotations and code completion for session.client("mediatailor").delete_prefetch_schedule method. boto3 documentation

Method definition
await def delete_prefetch_schedule(
    self,
    *,
    Name: str,
    PlaybackConfigurationName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeletePrefetchScheduleRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "PlaybackConfigurationName": ...,
}

parent.delete_prefetch_schedule(**kwargs)
  1. See DeletePrefetchScheduleRequestRequestTypeDef

delete_program

Deletes a specific program on a specific channel.

Type annotations and code completion for session.client("mediatailor").delete_program method. boto3 documentation

Method definition
await def delete_program(
    self,
    *,
    ChannelName: str,
    ProgramName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteProgramRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "ProgramName": ...,
}

parent.delete_program(**kwargs)
  1. See DeleteProgramRequestRequestTypeDef

delete_source_location

Deletes a source location on a specific channel.

Type annotations and code completion for session.client("mediatailor").delete_source_location method. boto3 documentation

Method definition
await def delete_source_location(
    self,
    *,
    SourceLocationName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteSourceLocationRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
}

parent.delete_source_location(**kwargs)
  1. See DeleteSourceLocationRequestRequestTypeDef

delete_vod_source

Deletes a specific VOD source in a specific source location.

Type annotations and code completion for session.client("mediatailor").delete_vod_source method. boto3 documentation

Method definition
await def delete_vod_source(
    self,
    *,
    SourceLocationName: str,
    VodSourceName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteVodSourceRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
    "VodSourceName": ...,
}

parent.delete_vod_source(**kwargs)
  1. See DeleteVodSourceRequestRequestTypeDef

describe_channel

Describes the properties of a specific channel.

Type annotations and code completion for session.client("mediatailor").describe_channel method. boto3 documentation

Method definition
await def describe_channel(
    self,
    *,
    ChannelName: str,
) -> DescribeChannelResponseTypeDef:  # (1)
    ...
  1. See DescribeChannelResponseTypeDef
Usage example with kwargs
kwargs: DescribeChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.describe_channel(**kwargs)
  1. See DescribeChannelRequestRequestTypeDef

describe_live_source

Provides details about a specific live source in a specific source location.

Type annotations and code completion for session.client("mediatailor").describe_live_source method. boto3 documentation

Method definition
await def describe_live_source(
    self,
    *,
    LiveSourceName: str,
    SourceLocationName: str,
) -> DescribeLiveSourceResponseTypeDef:  # (1)
    ...
  1. See DescribeLiveSourceResponseTypeDef
Usage example with kwargs
kwargs: DescribeLiveSourceRequestRequestTypeDef = {  # (1)
    "LiveSourceName": ...,
    "SourceLocationName": ...,
}

parent.describe_live_source(**kwargs)
  1. See DescribeLiveSourceRequestRequestTypeDef

describe_program

Retrieves the properties of the requested program.

Type annotations and code completion for session.client("mediatailor").describe_program method. boto3 documentation

Method definition
await def describe_program(
    self,
    *,
    ChannelName: str,
    ProgramName: str,
) -> DescribeProgramResponseTypeDef:  # (1)
    ...
  1. See DescribeProgramResponseTypeDef
Usage example with kwargs
kwargs: DescribeProgramRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "ProgramName": ...,
}

parent.describe_program(**kwargs)
  1. See DescribeProgramRequestRequestTypeDef

describe_source_location

Retrieves the properties of the requested source location.

Type annotations and code completion for session.client("mediatailor").describe_source_location method. boto3 documentation

Method definition
await def describe_source_location(
    self,
    *,
    SourceLocationName: str,
) -> DescribeSourceLocationResponseTypeDef:  # (1)
    ...
  1. See DescribeSourceLocationResponseTypeDef
Usage example with kwargs
kwargs: DescribeSourceLocationRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
}

parent.describe_source_location(**kwargs)
  1. See DescribeSourceLocationRequestRequestTypeDef

describe_vod_source

Provides details about a specific VOD source in a specific source location.

Type annotations and code completion for session.client("mediatailor").describe_vod_source method. boto3 documentation

Method definition
await def describe_vod_source(
    self,
    *,
    SourceLocationName: str,
    VodSourceName: str,
) -> DescribeVodSourceResponseTypeDef:  # (1)
    ...
  1. See DescribeVodSourceResponseTypeDef
Usage example with kwargs
kwargs: DescribeVodSourceRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
    "VodSourceName": ...,
}

parent.describe_vod_source(**kwargs)
  1. See DescribeVodSourceRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.client("mediatailor").generate_presigned_url method. boto3 documentation

Method definition
await def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_channel_policy

Retrieves information about a channel's IAM policy.

Type annotations and code completion for session.client("mediatailor").get_channel_policy method. boto3 documentation

Method definition
await def get_channel_policy(
    self,
    *,
    ChannelName: str,
) -> GetChannelPolicyResponseTypeDef:  # (1)
    ...
  1. See GetChannelPolicyResponseTypeDef
Usage example with kwargs
kwargs: GetChannelPolicyRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.get_channel_policy(**kwargs)
  1. See GetChannelPolicyRequestRequestTypeDef

get_channel_schedule

Retrieves information about your channel's schedule.

Type annotations and code completion for session.client("mediatailor").get_channel_schedule method. boto3 documentation

Method definition
await def get_channel_schedule(
    self,
    *,
    ChannelName: str,
    DurationMinutes: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> GetChannelScheduleResponseTypeDef:  # (1)
    ...
  1. See GetChannelScheduleResponseTypeDef
Usage example with kwargs
kwargs: GetChannelScheduleRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.get_channel_schedule(**kwargs)
  1. See GetChannelScheduleRequestRequestTypeDef

get_playback_configuration

Returns the playback configuration for the specified name.

Type annotations and code completion for session.client("mediatailor").get_playback_configuration method. boto3 documentation

Method definition
await def get_playback_configuration(
    self,
    *,
    Name: str,
) -> GetPlaybackConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetPlaybackConfigurationResponseTypeDef
Usage example with kwargs
kwargs: GetPlaybackConfigurationRequestRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.get_playback_configuration(**kwargs)
  1. See GetPlaybackConfigurationRequestRequestTypeDef

get_prefetch_schedule

Returns information about the prefetch schedule for a specific playback configuration.

Type annotations and code completion for session.client("mediatailor").get_prefetch_schedule method. boto3 documentation

Method definition
await def get_prefetch_schedule(
    self,
    *,
    Name: str,
    PlaybackConfigurationName: str,
) -> GetPrefetchScheduleResponseTypeDef:  # (1)
    ...
  1. See GetPrefetchScheduleResponseTypeDef
Usage example with kwargs
kwargs: GetPrefetchScheduleRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "PlaybackConfigurationName": ...,
}

parent.get_prefetch_schedule(**kwargs)
  1. See GetPrefetchScheduleRequestRequestTypeDef

list_alerts

Returns a list of alerts for the given resource.

Type annotations and code completion for session.client("mediatailor").list_alerts method. boto3 documentation

Method definition
await def list_alerts(
    self,
    *,
    ResourceArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListAlertsResponseTypeDef:  # (1)
    ...
  1. See ListAlertsResponseTypeDef
Usage example with kwargs
kwargs: ListAlertsRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_alerts(**kwargs)
  1. See ListAlertsRequestRequestTypeDef

list_channels

Retrieves a list of channels that are associated with this account.

Type annotations and code completion for session.client("mediatailor").list_channels method. boto3 documentation

Method definition
await def list_channels(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListChannelsResponseTypeDef:  # (1)
    ...
  1. See ListChannelsResponseTypeDef
Usage example with kwargs
kwargs: ListChannelsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_channels(**kwargs)
  1. See ListChannelsRequestRequestTypeDef

list_live_sources

lists all the live sources in a source location.

Type annotations and code completion for session.client("mediatailor").list_live_sources method. boto3 documentation

Method definition
await def list_live_sources(
    self,
    *,
    SourceLocationName: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListLiveSourcesResponseTypeDef:  # (1)
    ...
  1. See ListLiveSourcesResponseTypeDef
Usage example with kwargs
kwargs: ListLiveSourcesRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
}

parent.list_live_sources(**kwargs)
  1. See ListLiveSourcesRequestRequestTypeDef

list_playback_configurations

Returns a list of the playback configurations defined in AWS Elemental MediaTailor.

Type annotations and code completion for session.client("mediatailor").list_playback_configurations method. boto3 documentation

Method definition
await def list_playback_configurations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPlaybackConfigurationsResponseTypeDef:  # (1)
    ...
  1. See ListPlaybackConfigurationsResponseTypeDef
Usage example with kwargs
kwargs: ListPlaybackConfigurationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_playback_configurations(**kwargs)
  1. See ListPlaybackConfigurationsRequestRequestTypeDef

list_prefetch_schedules

Creates a new prefetch schedule.

Type annotations and code completion for session.client("mediatailor").list_prefetch_schedules method. boto3 documentation

Method definition
await def list_prefetch_schedules(
    self,
    *,
    PlaybackConfigurationName: str,
    MaxResults: int = ...,
    NextToken: str = ...,
    StreamId: str = ...,
) -> ListPrefetchSchedulesResponseTypeDef:  # (1)
    ...
  1. See ListPrefetchSchedulesResponseTypeDef
Usage example with kwargs
kwargs: ListPrefetchSchedulesRequestRequestTypeDef = {  # (1)
    "PlaybackConfigurationName": ...,
}

parent.list_prefetch_schedules(**kwargs)
  1. See ListPrefetchSchedulesRequestRequestTypeDef

list_source_locations

Retrieves a list of source locations.

Type annotations and code completion for session.client("mediatailor").list_source_locations method. boto3 documentation

Method definition
await def list_source_locations(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListSourceLocationsResponseTypeDef:  # (1)
    ...
  1. See ListSourceLocationsResponseTypeDef
Usage example with kwargs
kwargs: ListSourceLocationsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_source_locations(**kwargs)
  1. See ListSourceLocationsRequestRequestTypeDef

list_tags_for_resource

Returns a list of the tags assigned to the specified playback configuration resource.

Type annotations and code completion for session.client("mediatailor").list_tags_for_resource method. boto3 documentation

Method definition
await def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_vod_sources

Lists all the VOD sources in a source location.

Type annotations and code completion for session.client("mediatailor").list_vod_sources method. boto3 documentation

Method definition
await def list_vod_sources(
    self,
    *,
    SourceLocationName: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListVodSourcesResponseTypeDef:  # (1)
    ...
  1. See ListVodSourcesResponseTypeDef
Usage example with kwargs
kwargs: ListVodSourcesRequestRequestTypeDef = {  # (1)
    "SourceLocationName": ...,
}

parent.list_vod_sources(**kwargs)
  1. See ListVodSourcesRequestRequestTypeDef

put_channel_policy

Creates an IAM policy for the channel.

Type annotations and code completion for session.client("mediatailor").put_channel_policy method. boto3 documentation

Method definition
await def put_channel_policy(
    self,
    *,
    ChannelName: str,
    Policy: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: PutChannelPolicyRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "Policy": ...,
}

parent.put_channel_policy(**kwargs)
  1. See PutChannelPolicyRequestRequestTypeDef

put_playback_configuration

Adds a new playback configuration to AWS Elemental MediaTailor.

Type annotations and code completion for session.client("mediatailor").put_playback_configuration method. boto3 documentation

Method definition
await def put_playback_configuration(
    self,
    *,
    AdDecisionServerUrl: str = ...,
    AvailSuppression: AvailSuppressionTypeDef = ...,  # (1)
    Bumper: BumperTypeDef = ...,  # (2)
    CdnConfiguration: CdnConfigurationTypeDef = ...,  # (3)
    ConfigurationAliases: Mapping[str, Mapping[str, str]] = ...,
    DashConfiguration: DashConfigurationForPutTypeDef = ...,  # (4)
    LivePreRollConfiguration: LivePreRollConfigurationTypeDef = ...,  # (5)
    ManifestProcessingRules: ManifestProcessingRulesTypeDef = ...,  # (6)
    Name: str = ...,
    PersonalizationThresholdSeconds: int = ...,
    SlateAdUrl: str = ...,
    Tags: Mapping[str, str] = ...,
    TranscodeProfileName: str = ...,
    VideoContentSourceUrl: str = ...,
) -> PutPlaybackConfigurationResponseTypeDef:  # (7)
    ...
  1. See AvailSuppressionTypeDef
  2. See BumperTypeDef
  3. See CdnConfigurationTypeDef
  4. See DashConfigurationForPutTypeDef
  5. See LivePreRollConfigurationTypeDef
  6. See ManifestProcessingRulesTypeDef
  7. See PutPlaybackConfigurationResponseTypeDef
Usage example with kwargs
kwargs: PutPlaybackConfigurationRequestRequestTypeDef = {  # (1)
    "AdDecisionServerUrl": ...,
}

parent.put_playback_configuration(**kwargs)
  1. See PutPlaybackConfigurationRequestRequestTypeDef

start_channel

Starts a specific channel.

Type annotations and code completion for session.client("mediatailor").start_channel method. boto3 documentation

Method definition
await def start_channel(
    self,
    *,
    ChannelName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: StartChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.start_channel(**kwargs)
  1. See StartChannelRequestRequestTypeDef

stop_channel

Stops a specific channel.

Type annotations and code completion for session.client("mediatailor").stop_channel method. boto3 documentation

Method definition
await def stop_channel(
    self,
    *,
    ChannelName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: StopChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
}

parent.stop_channel(**kwargs)
  1. See StopChannelRequestRequestTypeDef

tag_resource

Adds tags to the specified playback configuration resource.

Type annotations and code completion for session.client("mediatailor").tag_resource method. boto3 documentation

Method definition
await def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Removes tags from the specified playback configuration resource.

Type annotations and code completion for session.client("mediatailor").untag_resource method. boto3 documentation

Method definition
await def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_channel

Updates an existing channel.

Type annotations and code completion for session.client("mediatailor").update_channel method. boto3 documentation

Method definition
await def update_channel(
    self,
    *,
    ChannelName: str,
    Outputs: Sequence[RequestOutputItemTypeDef],  # (1)
    FillerSlate: SlateSourceTypeDef = ...,  # (2)
) -> UpdateChannelResponseTypeDef:  # (3)
    ...
  1. See RequestOutputItemTypeDef
  2. See SlateSourceTypeDef
  3. See UpdateChannelResponseTypeDef
Usage example with kwargs
kwargs: UpdateChannelRequestRequestTypeDef = {  # (1)
    "ChannelName": ...,
    "Outputs": ...,
}

parent.update_channel(**kwargs)
  1. See UpdateChannelRequestRequestTypeDef

update_live_source

Updates a specific live source in a specific source location.

Type annotations and code completion for session.client("mediatailor").update_live_source method. boto3 documentation

Method definition
await def update_live_source(
    self,
    *,
    HttpPackageConfigurations: Sequence[HttpPackageConfigurationTypeDef],  # (1)
    LiveSourceName: str,
    SourceLocationName: str,
) -> UpdateLiveSourceResponseTypeDef:  # (2)
    ...
  1. See HttpPackageConfigurationTypeDef
  2. See UpdateLiveSourceResponseTypeDef
Usage example with kwargs
kwargs: UpdateLiveSourceRequestRequestTypeDef = {  # (1)
    "HttpPackageConfigurations": ...,
    "LiveSourceName": ...,
    "SourceLocationName": ...,
}

parent.update_live_source(**kwargs)
  1. See UpdateLiveSourceRequestRequestTypeDef

update_source_location

Updates a source location on a specific channel.

Type annotations and code completion for session.client("mediatailor").update_source_location method. boto3 documentation

Method definition
await def update_source_location(
    self,
    *,
    HttpConfiguration: HttpConfigurationTypeDef,  # (1)
    SourceLocationName: str,
    AccessConfiguration: AccessConfigurationTypeDef = ...,  # (2)
    DefaultSegmentDeliveryConfiguration: DefaultSegmentDeliveryConfigurationTypeDef = ...,  # (3)
    SegmentDeliveryConfigurations: Sequence[SegmentDeliveryConfigurationTypeDef] = ...,  # (4)
) -> UpdateSourceLocationResponseTypeDef:  # (5)
    ...
  1. See HttpConfigurationTypeDef
  2. See AccessConfigurationTypeDef
  3. See DefaultSegmentDeliveryConfigurationTypeDef
  4. See SegmentDeliveryConfigurationTypeDef
  5. See UpdateSourceLocationResponseTypeDef
Usage example with kwargs
kwargs: UpdateSourceLocationRequestRequestTypeDef = {  # (1)
    "HttpConfiguration": ...,
    "SourceLocationName": ...,
}

parent.update_source_location(**kwargs)
  1. See UpdateSourceLocationRequestRequestTypeDef

update_vod_source

Updates a specific VOD source in a specific source location.

Type annotations and code completion for session.client("mediatailor").update_vod_source method. boto3 documentation

Method definition
await def update_vod_source(
    self,
    *,
    HttpPackageConfigurations: Sequence[HttpPackageConfigurationTypeDef],  # (1)
    SourceLocationName: str,
    VodSourceName: str,
) -> UpdateVodSourceResponseTypeDef:  # (2)
    ...
  1. See HttpPackageConfigurationTypeDef
  2. See UpdateVodSourceResponseTypeDef
Usage example with kwargs
kwargs: UpdateVodSourceRequestRequestTypeDef = {  # (1)
    "HttpPackageConfigurations": ...,
    "SourceLocationName": ...,
    "VodSourceName": ...,
}

parent.update_vod_source(**kwargs)
  1. See UpdateVodSourceRequestRequestTypeDef

__aenter__

Type annotations and code completion for session.client("mediatailor").__aenter__ method. boto3 documentation

Method definition
await def __aenter__(
    self,
) -> MediaTailorClient:
    ...

__aexit__

Type annotations and code completion for session.client("mediatailor").__aexit__ method. boto3 documentation

Method definition
await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator

Type annotations and code completion for session.client("mediatailor").get_paginator method with overloads.