DataExchange module#
Index > DataExchange
Auto-generated documentation for DataExchange type annotations stubs module mypy-boto3-dataexchange.
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 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
- DeleteAssetRequestRequestTypeDef
- DeleteDataGrantRequestRequestTypeDef
- DeleteDataSetRequestRequestTypeDef
- DeleteEventActionRequestRequestTypeDef
- DeleteRevisionRequestRequestTypeDef
- ImportAssetFromSignedUrlJobErrorDetailsTypeDef
- RevisionPublishedTypeDef
- ExportAssetToSignedUrlRequestDetailsTypeDef
- ExportAssetToSignedUrlResponseDetailsTypeDef
- RevisionDestinationEntryTypeDef
- GetAssetRequestRequestTypeDef
- GetDataGrantRequestRequestTypeDef
- GetDataSetRequestRequestTypeDef
- GetEventActionRequestRequestTypeDef
- GetJobRequestRequestTypeDef
- GetReceivedDataGrantRequestRequestTypeDef
- GetRevisionRequestRequestTypeDef
- ImportAssetFromApiGatewayApiRequestDetailsTypeDef
- ImportAssetFromApiGatewayApiResponseDetailsTypeDef
- ImportAssetFromSignedUrlRequestDetailsTypeDef
- ImportAssetFromSignedUrlResponseDetailsTypeDef
- RedshiftDataShareAssetSourceEntryTypeDef
- KmsKeyToGrantTypeDef
- LFTagTypeDef
- 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
- DetailsTypeDef
- EventTypeDef
- ExportRevisionsToS3RequestDetailsTypeDef
- ExportRevisionsToS3ResponseDetailsTypeDef
- ImportAssetsFromRedshiftDataSharesRequestDetailsTypeDef
- ImportAssetsFromRedshiftDataSharesResponseDetailsTypeDef
- S3DataAccessAssetSourceEntryOutputTypeDef
- S3DataAccessAssetSourceEntryTypeDef
- S3DataAccessAssetTypeDef
- LFTagUnionTypeDef
- TableLFTagPolicyAndPermissionsTypeDef
- ListDataGrantsRequestListDataGrantsPaginateTypeDef
- ListDataSetRevisionsRequestListDataSetRevisionsPaginateTypeDef
- ListDataSetsRequestListDataSetsPaginateTypeDef
- ListEventActionsRequestListEventActionsPaginateTypeDef
- ListJobsRequestListJobsPaginateTypeDef
- ListReceivedDataGrantsRequestListReceivedDataGrantsPaginateTypeDef
- ListRevisionAssetsRequestListRevisionAssetsPaginateTypeDef
- ListDataSetRevisionsResponseTypeDef
- ListReceivedDataGrantsResponseTypeDef
- ScopeDetailsTypeDef
- SchemaChangeRequestDetailsTypeDef
- ActionTypeDef
- ListDataSetsResponseTypeDef
- ImportAssetsFromLakeFormationTagPolicyResponseDetailsTypeDef
- LFResourceDetailsTypeDef
- JobErrorTypeDef
- CreateS3DataAccessFromS3BucketResponseDetailsTypeDef
- S3DataAccessAssetSourceEntryUnionTypeDef
- DatabaseLFTagPolicyAndPermissionsTypeDef
- TableLFTagPolicyAndPermissionsUnionTypeDef
- NotificationDetailsTypeDef
- CreateEventActionRequestRequestTypeDef
- CreateEventActionResponseTypeDef
- EventActionEntryTypeDef
- GetEventActionResponseTypeDef
- UpdateEventActionRequestRequestTypeDef
- UpdateEventActionResponseTypeDef
- LFTagPolicyDetailsTypeDef
- ResponseDetailsTypeDef
- CreateS3DataAccessFromS3BucketRequestDetailsTypeDef
- DatabaseLFTagPolicyAndPermissionsUnionTypeDef
- SendDataSetNotificationRequestRequestTypeDef
- ListEventActionsResponseTypeDef
- LakeFormationDataPermissionDetailsTypeDef
- CreateJobResponseTypeDef
- GetJobResponseTypeDef
- JobEntryTypeDef
- ImportAssetsFromLakeFormationTagPolicyRequestDetailsTypeDef
- LakeFormationDataPermissionAssetTypeDef
- ListJobsResponseTypeDef
- RequestDetailsTypeDef
- AssetDetailsTypeDef
- CreateJobRequestRequestTypeDef
- AssetEntryTypeDef
- GetAssetResponseTypeDef
- UpdateAssetResponseTypeDef
- ListRevisionAssetsResponseTypeDef