Skip to content

CloudWatchEvidently module

Index > CloudWatchEvidently

Auto-generated documentation for CloudWatchEvidently type annotations stubs module mypy-boto3-evidently.

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

From PyPI with pip

Install boto3-stubs for CloudWatchEvidently service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

CloudWatchEvidentlyClient

Type annotations and code completion for boto3.client("evidently") as CloudWatchEvidentlyClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_evidently.client import CloudWatchEvidentlyClient

def get_client() -> CloudWatchEvidentlyClient:
    return Session().client("evidently")

Paginators

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

Usage example
from boto3.session import Session

from mypy_boto3_evidently.paginator import ListExperimentsPaginator

def get_list_experiments_paginator() -> ListExperimentsPaginator:
    return Session().client("evidently").get_paginator("list_experiments"))

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_evidently.literals import ChangeDirectionEnumType

def get_value() -> ChangeDirectionEnumType:
    return "DECREASE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_evidently.type_defs import EvaluationRequestTypeDef

def get_value() -> EvaluationRequestTypeDef:
    return {
        "entityId": ...,
        "feature": ...,
    }