ImportExport module
Index > ImportExport
Auto-generated documentation for ImportExport type annotations stubs module mypy-boto3-importexport.
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 ImportExport
.
From PyPI with pip
Install boto3-stubs
for ImportExport
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[importexport]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[importexport]'
# standalone installation
python -m pip install mypy-boto3-importexport
How to uninstall
Usage
Code samples can be found in Examples.
ImportExportClient
Type annotations and code completion for boto3.client("importexport")
as ImportExportClient
boto3 documentation
Usage example
from boto3.session import Session
from mypy_boto3_importexport.client import ImportExportClient
def get_client() -> ImportExportClient:
return Session().client("importexport")
Paginators
Type annotations and code completion for paginators
from boto3.client("importexport").get_paginator("...")
.
Usage example
from boto3.session import Session
from mypy_boto3_importexport.paginator import ListJobsPaginator
def get_list_jobs_paginator() -> ListJobsPaginator:
return Session().client("importexport").get_paginator("list_jobs"))
Literals
Type annotations for literals used in methods and schemas.
Usage example
from mypy_boto3_importexport.literals import JobTypeType
def get_value() -> JobTypeType:
return "Export"
- JobTypeType
- ListJobsPaginatorName
- ImportExportServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Typed dictionaries
Type annotations for typed dictionaries used in methods and schema.
Usage example
from mypy_boto3_importexport.type_defs import ArtifactTypeDef
def get_value() -> ArtifactTypeDef:
return {
"Description": ...,
}
- ArtifactTypeDef
- CancelJobInputRequestTypeDef
- ResponseMetadataTypeDef
- CreateJobInputRequestTypeDef
- GetShippingLabelInputRequestTypeDef
- GetStatusInputRequestTypeDef
- JobTypeDef
- PaginatorConfigTypeDef
- ListJobsInputRequestTypeDef
- UpdateJobInputRequestTypeDef
- CancelJobOutputTypeDef
- CreateJobOutputTypeDef
- GetShippingLabelOutputTypeDef
- GetStatusOutputTypeDef
- UpdateJobOutputTypeDef
- ListJobsOutputTypeDef
- ListJobsInputListJobsPaginateTypeDef