Type annotations for aiobotocore.ElasticTranscoder 2.1.0 service generated by mypy-boto3-builder 6.4.2
Project description
mypy-boto3-elastictranscoder
Type annotations for boto3.ElasticTranscoder 1.20.47 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 6.4.2.
More information can be found on boto3-stubs page and in types-aiobotocore-elastictranscoder docs
See how it helps to find and fix potential bugs:
How to install
VSCode extension
Add
AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and ElasticTranscoder
.
From PyPI with pip
Install types-aiobotocore
for ElasticTranscoder
service.
python -m pip install types-aiobotocore[elastictranscoder]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
types-aiobotocore[elastictranscoder]
in your environment:python -m pip install 'types-aiobotocore[elastictranscoder]'
Both type checking and auto-complete should work for ElasticTranscoder
service. No explicit type annotations required, write your boto3
code as
usual.
PyCharm
- Install
types-aiobotocore[elastictranscoder]
in your environment:python -m pip install 'types-aiobotocore[elastictranscoder]'
Both type checking and auto-complete should work for ElasticTranscoder
service. No explicit type annotations required, write your aiobotocore
code
as usual. Auto-complete can be slow on big projects or if you have a lot of
installed types-aiobotocore
submodules.
Other IDEs
Not tested, but as long as your IDE supports mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
types-aiobotocore[elastictranscoder]
in your environment:python -m pip install 'types-aiobotocore[elastictranscoder]'
- Run
mypy
as usual
Type checking should work for ElasticTranscoder
service. No explicit type
annotations required, write your aiobotocore
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
types-aiobotocore[elastictranscoder]
in your environment:python -m pip install 'types-aiobotocore[elastictranscoder]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for ElasticTranscoder
service. No explicit type
annotations required, write your aiobotocore
code as usual.
Explicit type annotations
Client annotations
ElasticTranscoderClient
provides annotations for
session.create_client("elastictranscoder")
.
from aiobotocore.session import get_session
from types_aiobotocore_elastictranscoder import ElasticTranscoderClient
session = get_session()
with async session.create_client("elastictranscoder") as client:
client: ElasticTranscoderClient
# now client usage is checked by mypy and IDE should provide code auto-complete
Paginators annotations
types_aiobotocore_elastictranscoder.paginator
module contains type
annotations for all paginators.
from aiobotocore.session import get_session
from types_aiobotocore_elastictranscoder import ElasticTranscoderClient
from types_aiobotocore_elastictranscoder.paginator import (
ListJobsByPipelinePaginator,
ListJobsByStatusPaginator,
ListPipelinesPaginator,
ListPresetsPaginator,
)
session = get_session()
with async session.create_client("elastictranscoder") as client:
client: ElasticTranscoderClient
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_jobs_by_pipeline_paginator: ListJobsByPipelinePaginator = client.get_paginator("list_jobs_by_pipeline")
list_jobs_by_status_paginator: ListJobsByStatusPaginator = client.get_paginator("list_jobs_by_status")
list_pipelines_paginator: ListPipelinesPaginator = client.get_paginator("list_pipelines")
list_presets_paginator: ListPresetsPaginator = client.get_paginator("list_presets")
```
### Waiters annotations
`types_aiobotocore_elastictranscoder.waiter` module contains type annotations for all waiters.
```python
from aiobotocore.session import get_session
from types_aiobotocore_elastictranscoder.client import ElasticTranscoderClient
from types_aiobotocore_elastictranscoder.waiter import (
JobCompleteWaiter,
)
session = get_session()
with async session.create_client("elastictranscoder") as client:
client: ElasticTranscoderClient
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
job_complete_waiter: JobCompleteWaiter = client.get_waiter("job_complete")
```
<a id="literals"></a>
### Literals
`types_aiobotocore_elastictranscoder.literals` module contains literals extracted from shapes
that can be used in user code for type checking.
```python
from types_aiobotocore_elastictranscoder.literals import (
JobCompleteWaiterName,
ListJobsByPipelinePaginatorName,
ListJobsByStatusPaginatorName,
ListPipelinesPaginatorName,
ListPresetsPaginatorName,
ServiceName,
PaginatorName,
WaiterName,
)
def check_value(value: JobCompleteWaiterName) -> bool:
...
Typed dictionaries
types_aiobotocore_elastictranscoder.type_defs
module contains structures and
shapes assembled to typed dictionaries for additional type checking.
from types_aiobotocore_elastictranscoder.type_defs import (
ArtworkTypeDef,
AudioCodecOptionsTypeDef,
AudioParametersTypeDef,
CancelJobRequestRequestTypeDef,
CaptionFormatTypeDef,
CaptionSourceTypeDef,
CaptionsTypeDef,
ClipTypeDef,
CreateJobOutputTypeDef,
CreateJobPlaylistTypeDef,
CreateJobRequestRequestTypeDef,
CreateJobResponseTypeDef,
CreatePipelineRequestRequestTypeDef,
CreatePipelineResponseTypeDef,
CreatePresetRequestRequestTypeDef,
CreatePresetResponseTypeDef,
DeletePipelineRequestRequestTypeDef,
DeletePresetRequestRequestTypeDef,
DetectedPropertiesTypeDef,
EncryptionTypeDef,
HlsContentProtectionTypeDef,
InputCaptionsTypeDef,
JobAlbumArtTypeDef,
JobInputTypeDef,
JobOutputTypeDef,
JobTypeDef,
JobWatermarkTypeDef,
ListJobsByPipelineRequestRequestTypeDef,
ListJobsByPipelineResponseTypeDef,
ListJobsByStatusRequestRequestTypeDef,
ListJobsByStatusResponseTypeDef,
ListPipelinesRequestRequestTypeDef,
ListPipelinesResponseTypeDef,
ListPresetsRequestRequestTypeDef,
ListPresetsResponseTypeDef,
NotificationsTypeDef,
PaginatorConfigTypeDef,
PermissionTypeDef,
PipelineOutputConfigTypeDef,
PipelineTypeDef,
PlayReadyDrmTypeDef,
PlaylistTypeDef,
PresetTypeDef,
PresetWatermarkTypeDef,
ReadJobRequestRequestTypeDef,
ReadJobResponseTypeDef,
ReadPipelineRequestRequestTypeDef,
ReadPipelineResponseTypeDef,
ReadPresetRequestRequestTypeDef,
ReadPresetResponseTypeDef,
ResponseMetadataTypeDef,
TestRoleRequestRequestTypeDef,
TestRoleResponseTypeDef,
ThumbnailsTypeDef,
TimeSpanTypeDef,
TimingTypeDef,
UpdatePipelineNotificationsRequestRequestTypeDef,
UpdatePipelineNotificationsResponseTypeDef,
UpdatePipelineRequestRequestTypeDef,
UpdatePipelineResponseTypeDef,
UpdatePipelineStatusRequestRequestTypeDef,
UpdatePipelineStatusResponseTypeDef,
VideoParametersTypeDef,
WaiterConfigTypeDef,
WarningTypeDef,
)
def get_structure() -> ArtworkTypeDef:
return {
...
}
Versioning
types-aiobotocore-elastictranscoder
version is the same as related boto3
version and follows PEP 440
format.
Documentation
All type annotations can be found in types-aiobotocore-elastictranscoder docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
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 types-aiobotocore-elastictranscoder-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec6ef3d97651aaafd9a92be0822f4b4a3ede0f593465c8e7354f73d813cc0593 |
|
MD5 | 81454f61c9e7221b977978d9f7f39989 |
|
BLAKE2b-256 | 7413446e046eeeb8f47bd90aa9ef43036f1562284e4779317d8344f390357f53 |
Hashes for types_aiobotocore_elastictranscoder-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd128def142cd61702354ff291edb17a93bede062604435ad212929e83281c3 |
|
MD5 | 5f715299d7a8c055ab8654673ee0e9ad |
|
BLAKE2b-256 | 45262ef7f269e3046f1015fa312d50cdd237fd4bb59088f656ac239293598319 |