Skip to content

KinesisAnalyticsV2 module#

Index > KinesisAnalyticsV2

Auto-generated documentation for KinesisAnalyticsV2 type annotations stubs module mypy-boto3-kinesisanalyticsv2.

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 KinesisAnalyticsV2.

From PyPI with pip#

Install boto3-stubs for KinesisAnalyticsV2 service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[kinesisanalyticsv2]'


# 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[kinesisanalyticsv2]'


# standalone installation
python -m pip install mypy-boto3-kinesisanalyticsv2

How to uninstall#

python -m pip uninstall -y mypy-boto3-kinesisanalyticsv2

Usage#

Code samples can be found in Examples.

KinesisAnalyticsV2Client#

Type annotations and code completion for boto3.client("kinesisanalyticsv2") as KinesisAnalyticsV2Client boto3 documentation

# KinesisAnalyticsV2Client usage example

from boto3.session import Session

from mypy_boto3_kinesisanalyticsv2.client import KinesisAnalyticsV2Client

def get_client() -> KinesisAnalyticsV2Client:
    return Session().client("kinesisanalyticsv2")

Paginators#

Type annotations and code completion for paginators from boto3.client("kinesisanalyticsv2").get_paginator("...").

# ListApplicationOperationsPaginator usage example

from boto3.session import Session

from mypy_boto3_kinesisanalyticsv2.paginator import ListApplicationOperationsPaginator

def get_list_application_operations_paginator() -> ListApplicationOperationsPaginator:
    return Session().client("kinesisanalyticsv2").get_paginator("list_application_operations"))

Literals#

Type annotations for literals used in methods and schema.

# ApplicationModeType usage example

from mypy_boto3_kinesisanalyticsv2.literals import ApplicationModeType

def get_value() -> ApplicationModeType:
    return "INTERACTIVE"

Type definitions#

Type annotations for type definitions used in methods and schema.