Skip to content

MediaLive module

Index > MediaLive

Auto-generated documentation for MediaLive type annotations stubs module types-aiobotocore-medialive.

How to install

From PyPI with pip

Install types-aioboto3 for MediaLive service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[medialive]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[medialive]'


# standalone installation
python -m pip install types-aiobotocore-medialive

How to uninstall

python -m pip uninstall -y types-aiobotocore-medialive

Usage

Code samples can be found in Examples.

MediaLiveClient

Type annotations and code completion for session.client("medialive") as MediaLiveClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_medialive.client import MediaLiveClient


session = Session()
async with session.client("medialive") as client:
    client: MediaLiveClient

Paginators

Type annotations and code completion for paginators from session.client("medialive").get_paginator("...").

Usage example
from types_aiobotocore_medialive.paginator import DescribeSchedulePaginator

def get_describe_schedule_paginator() -> DescribeSchedulePaginator:
    return client.get_paginator("describe_schedule"))

Waiters

Type annotations and code completion for waiters from session.client("medialive").get_waiter("...").

Usage example
from types_aiobotocore_medialive.waiter import ChannelCreatedWaiter

def get_channel_created_waiter() -> ChannelCreatedWaiter:
    return Session().client("medialive").get_waiter("channel_created")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_medialive.literals import AacCodingModeType

def get_value() -> AacCodingModeType:
    return "AD_RECEIVER_MIX"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_medialive.type_defs import AacSettingsTypeDef

def get_value() -> AacSettingsTypeDef:
    return {
        "Bitrate": ...,
    }