Skip to content

Neptune module

Index > Neptune

Auto-generated documentation for Neptune type annotations stubs module types-aiobotocore-neptune.

How to install

From PyPI with pip

Install types-aioboto3 for Neptune service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[neptune]'


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

NeptuneClient

Type annotations and code completion for session.client("neptune") as NeptuneClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_neptune.client import NeptuneClient


session = Session()
async with session.client("neptune") as client:
    client: NeptuneClient

Paginators

Type annotations and code completion for paginators from session.client("neptune").get_paginator("...").

Usage example
from types_aiobotocore_neptune.paginator import DescribeDBClusterEndpointsPaginator

def get_describe_db_cluster_endpoints_paginator() -> DescribeDBClusterEndpointsPaginator:
    return client.get_paginator("describe_db_cluster_endpoints"))

Waiters

Type annotations and code completion for waiters from session.client("neptune").get_waiter("...").

Usage example
from types_aiobotocore_neptune.waiter import DBInstanceAvailableWaiter

def get_db_instance_available_waiter() -> DBInstanceAvailableWaiter:
    return Session().client("neptune").get_waiter("db_instance_available")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_neptune.literals import ApplyMethodType

def get_value() -> ApplyMethodType:
    return "immediate"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_neptune.type_defs import AddRoleToDBClusterMessageRequestTypeDef

def get_value() -> AddRoleToDBClusterMessageRequestTypeDef:
    return {
        "DBClusterIdentifier": ...,
        "RoleArn": ...,
    }