DataExchange module#
Index > DataExchange
Auto-generated documentation for DataExchange type annotations stubs module mypy-boto3-dataexchange.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
DataExchange
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and DataExchange
.
From PyPI with pip#
Install boto3-stubs
for DataExchange
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[dataexchange]'
# 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[dataexchange]'
# standalone installation
python -m pip install mypy-boto3-dataexchange
How to uninstall#
python -m pip uninstall -y mypy-boto3-dataexchange
Usage#
Code samples can be found in Examples.
DataExchangeClient#
Type annotations and code completion for boto3.client("dataexchange")
as DataExchangeClient
boto3 documentation
# DataExchangeClient usage example
from boto3.session import Session
from mypy_boto3_dataexchange.client import DataExchangeClient
def get_client() -> DataExchangeClient:
return Session().client("dataexchange")
Paginators#
Type annotations and code completion for paginators
from boto3.client("dataexchange").get_paginator("...")
.
# ListDataGrantsPaginator usage example
from boto3.session import Session
from mypy_boto3_dataexchange.paginator import ListDataGrantsPaginator
def get_list_data_grants_paginator() -> ListDataGrantsPaginator:
return Session().client("dataexchange").get_paginator("list_data_grants"))
- ListDataGrantsPaginator
- ListDataSetRevisionsPaginator
- ListDataSetsPaginator
- ListEventActionsPaginator
- ListJobsPaginator
- ListReceivedDataGrantsPaginator
- ListRevisionAssetsPaginator
Literals#
Type annotations for literals used in methods and schema.
# AcceptanceStateFilterValueType usage example
from mypy_boto3_dataexchange.literals import AcceptanceStateFilterValueType
def get_value() -> AcceptanceStateFilterValueType:
return "ACCEPTED"
- AcceptanceStateFilterValueType
- AssetTypeType
- CodeType
- DataGrantAcceptanceStateType
- DatabaseLFTagPolicyPermissionType
- GrantDistributionScopeType
- JobErrorLimitNameType
- JobErrorResourceTypesType
- LFPermissionType
- LFResourceTypeType
- LakeFormationDataPermissionTypeType
- ListDataGrantsPaginatorName
- ListDataSetRevisionsPaginatorName
- ListDataSetsPaginatorName
- ListEventActionsPaginatorName
- ListJobsPaginatorName
- ListReceivedDataGrantsPaginatorName
- ListRevisionAssetsPaginatorName
- NotificationTypeType
- OriginType
- ProtocolTypeType
- SchemaChangeTypeType
- ServerSideEncryptionTypesType
- StateType
- TableTagPolicyLFPermissionType
- TypeType
- DataExchangeServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AcceptDataGrantRequestRequestTypeDef
- ResponseMetadataTypeDef
- ApiGatewayApiAssetTypeDef
- AssetDestinationEntryTypeDef
- RedshiftDataShareAssetTypeDef
- S3SnapshotAssetTypeDef
- AssetSourceEntryTypeDef
- AutoExportRevisionDestinationEntryTypeDef
- ExportServerSideEncryptionTypeDef
- CancelJobRequestRequestTypeDef
- TimestampTypeDef
- CreateDataSetRequestRequestTypeDef
- OriginDetailsTypeDef
- CreateRevisionRequestRequestTypeDef
- DataGrantSummaryEntryTypeDef
- LFTagOutputTypeDef
- LFTagTypeDef
- DeleteAssetRequestRequestTypeDef
- DeleteDataGrantRequestRequestTypeDef
- DeleteDataSetRequestRequestTypeDef
- DeleteEventActionRequestRequestTypeDef
- DeleteRevisionRequestRequestTypeDef
- ImportAssetFromSignedUrlJobErrorDetailsTypeDef
- RevisionPublishedTypeDef
- ExportAssetToSignedUrlRequestDetailsTypeDef
- ExportAssetToSignedUrlResponseDetailsTypeDef
- RevisionDestinationEntryTypeDef
- GetAssetRequestRequestTypeDef
- GetDataGrantRequestRequestTypeDef
- GetDataSetRequestRequestTypeDef
- GetEventActionRequestRequestTypeDef
- GetJobRequestRequestTypeDef
- GetReceivedDataGrantRequestRequestTypeDef
- GetRevisionRequestRequestTypeDef
- ImportAssetFromApiGatewayApiRequestDetailsTypeDef
- ImportAssetFromApiGatewayApiResponseDetailsTypeDef
- ImportAssetFromSignedUrlRequestDetailsTypeDef
- ImportAssetFromSignedUrlResponseDetailsTypeDef
- RedshiftDataShareAssetSourceEntryTypeDef
- KmsKeyToGrantTypeDef
- LakeFormationTagPolicyDetailsTypeDef
- PaginatorConfigTypeDef
- ListDataGrantsRequestRequestTypeDef
- ListDataSetRevisionsRequestRequestTypeDef
- RevisionEntryTypeDef
- ListDataSetsRequestRequestTypeDef
- ListEventActionsRequestRequestTypeDef
- ListJobsRequestRequestTypeDef
- ListReceivedDataGrantsRequestRequestTypeDef
- ReceivedDataGrantSummariesEntryTypeDef
- ListRevisionAssetsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- RedshiftDataShareDetailsTypeDef
- RevokeRevisionRequestRequestTypeDef
- S3DataAccessDetailsTypeDef
- SchemaChangeDetailsTypeDef
- SendApiAssetRequestRequestTypeDef
- StartJobRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateAssetRequestRequestTypeDef
- UpdateDataSetRequestRequestTypeDef
- UpdateRevisionRequestRequestTypeDef
- AcceptDataGrantResponseTypeDef
- CreateDataGrantResponseTypeDef
- CreateRevisionResponseTypeDef
- EmptyResponseMetadataTypeDef
- GetDataGrantResponseTypeDef
- GetReceivedDataGrantResponseTypeDef
- GetRevisionResponseTypeDef
- ListTagsForResourceResponseTypeDef
- RevokeRevisionResponseTypeDef
- SendApiAssetResponseTypeDef
- UpdateRevisionResponseTypeDef
- ImportAssetsFromS3RequestDetailsTypeDef
- ImportAssetsFromS3ResponseDetailsTypeDef
- AutoExportRevisionToS3RequestDetailsTypeDef
- ExportAssetsToS3RequestDetailsTypeDef
- ExportAssetsToS3ResponseDetailsTypeDef
- CreateDataGrantRequestRequestTypeDef
- DataUpdateRequestDetailsTypeDef
- DeprecationRequestDetailsTypeDef
- CreateDataSetResponseTypeDef
- DataSetEntryTypeDef
- GetDataSetResponseTypeDef
- UpdateDataSetResponseTypeDef
- ListDataGrantsResponseTypeDef
- DatabaseLFTagPolicyAndPermissionsOutputTypeDef
- DatabaseLFTagPolicyTypeDef
- TableLFTagPolicyAndPermissionsOutputTypeDef
- TableLFTagPolicyTypeDef
- DatabaseLFTagPolicyAndPermissionsTypeDef
- LFTagUnionTypeDef
- DetailsTypeDef
- EventTypeDef
- ExportRevisionsToS3RequestDetailsTypeDef
- ExportRevisionsToS3ResponseDetailsTypeDef
- ImportAssetsFromRedshiftDataSharesRequestDetailsTypeDef
- ImportAssetsFromRedshiftDataSharesResponseDetailsTypeDef
- S3DataAccessAssetSourceEntryOutputTypeDef
- S3DataAccessAssetSourceEntryTypeDef
- S3DataAccessAssetTypeDef
- ListDataGrantsRequestPaginateTypeDef
- ListDataSetRevisionsRequestPaginateTypeDef
- ListDataSetsRequestPaginateTypeDef
- ListEventActionsRequestPaginateTypeDef
- ListJobsRequestPaginateTypeDef
- ListReceivedDataGrantsRequestPaginateTypeDef
- ListRevisionAssetsRequestPaginateTypeDef
- ListDataSetRevisionsResponseTypeDef
- ListReceivedDataGrantsResponseTypeDef
- ScopeDetailsTypeDef
- SchemaChangeRequestDetailsTypeDef
- ActionTypeDef
- ListDataSetsResponseTypeDef
- ImportAssetsFromLakeFormationTagPolicyResponseDetailsTypeDef
- LFResourceDetailsTypeDef
- DatabaseLFTagPolicyAndPermissionsUnionTypeDef
- TableLFTagPolicyAndPermissionsTypeDef
- JobErrorTypeDef
- CreateS3DataAccessFromS3BucketResponseDetailsTypeDef
- S3DataAccessAssetSourceEntryUnionTypeDef
- NotificationDetailsTypeDef
- CreateEventActionRequestRequestTypeDef
- CreateEventActionResponseTypeDef
- EventActionEntryTypeDef
- GetEventActionResponseTypeDef
- UpdateEventActionRequestRequestTypeDef
- UpdateEventActionResponseTypeDef
- LFTagPolicyDetailsTypeDef
- TableLFTagPolicyAndPermissionsUnionTypeDef
- ResponseDetailsTypeDef
- CreateS3DataAccessFromS3BucketRequestDetailsTypeDef
- SendDataSetNotificationRequestRequestTypeDef
- ListEventActionsResponseTypeDef
- LakeFormationDataPermissionDetailsTypeDef
- ImportAssetsFromLakeFormationTagPolicyRequestDetailsTypeDef
- CreateJobResponseTypeDef
- GetJobResponseTypeDef
- JobEntryTypeDef
- LakeFormationDataPermissionAssetTypeDef
- RequestDetailsTypeDef
- ListJobsResponseTypeDef
- AssetDetailsTypeDef
- CreateJobRequestRequestTypeDef
- AssetEntryTypeDef
- GetAssetResponseTypeDef
- UpdateAssetResponseTypeDef
- ListRevisionAssetsResponseTypeDef