Type annotations for boto3.MediaLive 1.13.24 service, generated by mypy-boto3-buider 2.0.2
Project description
mypy-boto3-medialive
Type annotations for boto3.MediaLive 1.13.24 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.2.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for MediaLive
service.
python -m pip install boto3-stubs[medialive]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_medialive
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_medialive import MediaLiveClient
# Now mypy can check if your code is valid.
client: MediaLiveClient = boto3.client("medialive")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: MediaLiveClient = session.client("medialive")
# Waiters are also supported
import mypy_boto3_medialive.waiter as medialive_waiters
channel_created_waiter: medialive_waiters.ChannelCreatedWaiter = client.get_waiter("channel_created")
channel_deleted_waiter: medialive_waiters.ChannelDeletedWaiter = client.get_waiter("channel_deleted")
channel_running_waiter: medialive_waiters.ChannelRunningWaiter = client.get_waiter("channel_running")
channel_stopped_waiter: medialive_waiters.ChannelStoppedWaiter = client.get_waiter("channel_stopped")
input_attached_waiter: medialive_waiters.InputAttachedWaiter = client.get_waiter("input_attached")
input_deleted_waiter: medialive_waiters.InputDeletedWaiter = client.get_waiter("input_deleted")
input_detached_waiter: medialive_waiters.InputDetachedWaiter = client.get_waiter("input_detached")
multiplex_created_waiter: medialive_waiters.MultiplexCreatedWaiter = client.get_waiter("multiplex_created")
multiplex_deleted_waiter: medialive_waiters.MultiplexDeletedWaiter = client.get_waiter("multiplex_deleted")
multiplex_running_waiter: medialive_waiters.MultiplexRunningWaiter = client.get_waiter("multiplex_running")
multiplex_stopped_waiter: medialive_waiters.MultiplexStoppedWaiter = client.get_waiter("multiplex_stopped")
# Annotated paginators are included as well
import mypy_boto3_medialive.paginator as medialive_paginators
describe_schedule_paginator: medialive_paginators.DescribeSchedulePaginator = client.get_paginator("describe_schedule")
list_channels_paginator: medialive_paginators.ListChannelsPaginator = client.get_paginator("list_channels")
list_input_devices_paginator: medialive_paginators.ListInputDevicesPaginator = client.get_paginator("list_input_devices")
list_input_security_groups_paginator: medialive_paginators.ListInputSecurityGroupsPaginator = client.get_paginator("list_input_security_groups")
list_inputs_paginator: medialive_paginators.ListInputsPaginator = client.get_paginator("list_inputs")
list_multiplex_programs_paginator: medialive_paginators.ListMultiplexProgramsPaginator = client.get_paginator("list_multiplex_programs")
list_multiplexes_paginator: medialive_paginators.ListMultiplexesPaginator = client.get_paginator("list_multiplexes")
list_offerings_paginator: medialive_paginators.ListOfferingsPaginator = client.get_paginator("list_offerings")
list_reservations_paginator: medialive_paginators.ListReservationsPaginator = client.get_paginator("list_reservations")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_medialive
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_medialive as medialive
from mypy_boto3_medialive import MediaLiveClient
# with these
from mypy_boto3 import medialive
from mypy_boto3.medialive import MediaLiveClient
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-medialive-1.13.24.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 143870c5a73b5606490cfd69b8e10363b02bbb6e4146b541642106ccf65faff2 |
|
MD5 | e8210a126ccc1e883be5db55bb7919c8 |
|
BLAKE2b-256 | 42ab8b5b4ae88dfee2610722f5e73378c9672389b8c53d9c1ade7ecca3f07283 |
Hashes for mypy_boto3_medialive-1.13.24.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4866b1988df2e16de6021e1480f499ad13b9f84ac05831455e6a6ed60662ae |
|
MD5 | 2cdfc37aefcf3db13fbbf28da008e090 |
|
BLAKE2b-256 | 7451b833474fc36cd9411e3f933658c11c7388eadb9d37a9388b8070ba0c2283 |