Skip to content

RDS module#

Index > RDS

Auto-generated documentation for RDS type annotations stubs module types-aiobotocore-rds.

How to install#

From PyPI with pip#

Install types-aiobotocore for RDS service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[rds]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[rds]'


# standalone installation
python -m pip install types-aiobotocore-rds

How to uninstall#

python -m pip uninstall -y types-aiobotocore-rds

Usage#

Code samples can be found in Examples.

RDSClient#

Type annotations and code completion for session.create_client("rds") as RDSClient boto3 documentation

# RDSClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_rds.client import RDSClient


session = get_session()
async with session.create_client("rds") as client:
    client: RDSClient

Paginators#

Type annotations and code completion for paginators from session.create_client("rds").get_paginator("...").

# DescribeBlueGreenDeploymentsPaginator usage example

from types_aiobotocore_rds.paginator import DescribeBlueGreenDeploymentsPaginator

def get_describe_blue_green_deployments_paginator() -> DescribeBlueGreenDeploymentsPaginator:
    return client.get_paginator("describe_blue_green_deployments"))

Waiters#

Type annotations and code completion for waiters from session.create_client("rds").get_waiter("...").

# DBClusterAvailableWaiter usage example

from types_aiobotocore_rds.waiter import DBClusterAvailableWaiter

def get_db_cluster_available_waiter() -> DBClusterAvailableWaiter:
    return Session().client("rds").get_waiter("db_cluster_available")

Literals#

Type annotations for literals used in methods and schema.

# ActivityStreamModeType usage example

from types_aiobotocore_rds.literals import ActivityStreamModeType

def get_value() -> ActivityStreamModeType:
    return "async"

Type definitions#

Type annotations for type definitions used in methods and schema.