AuroraDSQL module#
Index > AuroraDSQL
Auto-generated documentation for AuroraDSQL type annotations stubs module types-boto3-dsql.
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
AWS SDK. - Add
AuroraDSQL
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 AuroraDSQL
.
From PyPI with pip#
Install types-boto3
for AuroraDSQL
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[dsql]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-boto3-lite[dsql]'
# standalone installation
python -m pip install types-boto3-dsql
How to uninstall#
python -m pip uninstall -y types-boto3-dsql
Usage#
Code samples can be found in Examples.
AuroraDSQLClient#
Type annotations and code completion for boto3.client("dsql")
as AuroraDSQLClient
boto3 documentation
# AuroraDSQLClient usage example
from boto3.session import Session
from types_boto3_dsql.client import AuroraDSQLClient
def get_client() -> AuroraDSQLClient:
return Session().client("dsql")
Paginators#
Type annotations and code completion for paginators
from boto3.client("dsql").get_paginator("...")
.
# ListClustersPaginator usage example
from boto3.session import Session
from types_boto3_dsql.paginator import ListClustersPaginator
def get_list_clusters_paginator() -> ListClustersPaginator:
return Session().client("dsql").get_paginator("list_clusters"))
Waiters#
Type annotations and code completion for waiters
from boto3.client("dsql").get_waiter("...")
.
# ClusterActiveWaiter usage example
from boto3.session import Session
from types_boto3_dsql.waiter import ClusterActiveWaiter
def get_cluster_active_waiter() -> ClusterActiveWaiter:
return Session().client("dsql").get_waiter("cluster_active")
Literals#
Type annotations for literals used in methods and schema.
# ClusterActiveWaiterName usage example
from types_boto3_dsql.literals import ClusterActiveWaiterName
def get_value() -> ClusterActiveWaiterName:
return "cluster_active"
- ClusterActiveWaiterName
- ClusterNotExistsWaiterName
- ClusterStatusType
- ListClustersPaginatorName
- AuroraDSQLServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ClusterSummaryTypeDef
- CreateClusterInputRequestTypeDef
- ResponseMetadataTypeDef
- LinkedClusterPropertiesTypeDef
- DeleteClusterInputRequestTypeDef
- DeleteMultiRegionClustersInputRequestTypeDef
- GetClusterInputRequestTypeDef
- WaiterConfigTypeDef
- PaginatorConfigTypeDef
- ListClustersInputRequestTypeDef
- ListTagsForResourceInputRequestTypeDef
- TagResourceInputRequestTypeDef
- UntagResourceInputRequestTypeDef
- UpdateClusterInputRequestTypeDef
- CreateClusterOutputTypeDef
- CreateMultiRegionClustersOutputTypeDef
- DeleteClusterOutputTypeDef
- EmptyResponseMetadataTypeDef
- GetClusterOutputTypeDef
- ListClustersOutputTypeDef
- ListTagsForResourceOutputTypeDef
- UpdateClusterOutputTypeDef
- CreateMultiRegionClustersInputRequestTypeDef
- GetClusterInputWaitTypeDef
- ListClustersInputPaginateTypeDef