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#
python -m pip uninstall -y mypy-boto3-importexport
Usage#
Code samples can be found in Examples.
ImportExportClient#
Type annotations and code completion for boto3.client("importexport")
as ImportExportClient
boto3 documentation
# ImportExportClient 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("...")
.
# ListJobsPaginator 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 schema.
# JobTypeType usage example
from mypy_boto3_importexport.literals import JobTypeType
def get_value() -> JobTypeType:
return "Export"
- JobTypeType
- ListJobsPaginatorName
- ImportExportServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ArtifactTypeDef
- CancelJobInputRequestTypeDef
- ResponseMetadataTypeDef
- CreateJobInputRequestTypeDef
- GetShippingLabelInputRequestTypeDef
- GetStatusInputRequestTypeDef
- JobTypeDef
- PaginatorConfigTypeDef
- ListJobsInputRequestTypeDef
- UpdateJobInputRequestTypeDef
- CancelJobOutputTypeDef
- CreateJobOutputTypeDef
- GetShippingLabelOutputTypeDef
- GetStatusOutputTypeDef
- UpdateJobOutputTypeDef
- ListJobsOutputTypeDef
- ListJobsInputListJobsPaginateTypeDef