Skip to content

CloudWatchRUM module

Index > CloudWatchRUM

Auto-generated documentation for CloudWatchRUM type annotations stubs module types-aiobotocore-rum.

How to install

From PyPI with pip

Install types-aioboto3 for CloudWatchRUM service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

CloudWatchRUMClient

Type annotations and code completion for session.client("rum") as CloudWatchRUMClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_rum.client import CloudWatchRUMClient


session = Session()
async with session.client("rum") as client:
    client: CloudWatchRUMClient

Paginators

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

Usage example
from types_aiobotocore_rum.paginator import GetAppMonitorDataPaginator

def get_get_app_monitor_data_paginator() -> GetAppMonitorDataPaginator:
    return client.get_paginator("get_app_monitor_data"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_rum.literals import GetAppMonitorDataPaginatorName

def get_value() -> GetAppMonitorDataPaginatorName:
    return "get_app_monitor_data"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_rum.type_defs import AppMonitorConfigurationTypeDef

def get_value() -> AppMonitorConfigurationTypeDef:
    return {
        "AllowCookies": ...,
    }