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


Code samples can be found in Examples.


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")


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

# ListApplicationSnapshotsPaginator usage example

from boto3.session import Session

from mypy_boto3_kinesisanalyticsv2.paginator import ListApplicationSnapshotsPaginator

def get_list_application_snapshots_paginator() -> ListApplicationSnapshotsPaginator:
    return Session().client("kinesisanalyticsv2").get_paginator("list_application_snapshots"))


Type annotations for literals used in methods and schemas.

# ApplicationModeType usage example

from mypy_boto3_kinesisanalyticsv2.literals import ApplicationModeType

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

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# CloudWatchLoggingOptionTypeDef usage example

from mypy_boto3_kinesisanalyticsv2.type_defs import CloudWatchLoggingOptionTypeDef

def get_value() -> CloudWatchLoggingOptionTypeDef:
    return {
        "LogStreamARN": ...,