CloudWatchRUM module#
Index > CloudWatchRUM
Auto-generated documentation for CloudWatchRUM type annotations stubs module types-boto3-rum.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
CloudWatchRUM
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and CloudWatchRUM
.
From PyPI with pip#
Install types-boto3
for CloudWatchRUM
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[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-boto3-lite[rum]'
# standalone installation
python -m pip install types-boto3-rum
How to uninstall#
python -m pip uninstall -y types-boto3-rum
Usage#
Code samples can be found in Examples.
CloudWatchRUMClient#
Type annotations and code completion for boto3.client("rum")
as CloudWatchRUMClient
boto3 documentation
# CloudWatchRUMClient usage example
from boto3.session import Session
from types_boto3_rum.client import CloudWatchRUMClient
def get_client() -> CloudWatchRUMClient:
return Session().client("rum")
Paginators#
Type annotations and code completion for paginators
from boto3.client("rum").get_paginator("...")
.
# BatchGetRumMetricDefinitionsPaginator usage example
from boto3.session import Session
from types_boto3_rum.paginator import BatchGetRumMetricDefinitionsPaginator
def get_batch_get_rum_metric_definitions_paginator() -> BatchGetRumMetricDefinitionsPaginator:
return Session().client("rum").get_paginator("batch_get_rum_metric_definitions"))
- BatchGetRumMetricDefinitionsPaginator
- GetAppMonitorDataPaginator
- ListAppMonitorsPaginator
- ListRumMetricsDestinationsPaginator
Literals#
Type annotations for literals used in methods and schema.
# BatchGetRumMetricDefinitionsPaginatorName usage example
from types_boto3_rum.literals import BatchGetRumMetricDefinitionsPaginatorName
def get_value() -> BatchGetRumMetricDefinitionsPaginatorName:
return "batch_get_rum_metric_definitions"
- BatchGetRumMetricDefinitionsPaginatorName
- CustomEventsStatusType
- GetAppMonitorDataPaginatorName
- ListAppMonitorsPaginatorName
- ListRumMetricsDestinationsPaginatorName
- MetricDestinationType
- StateEnumType
- TelemetryType
- CloudWatchRUMServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AppMonitorConfigurationOutputTypeDef
- AppMonitorConfigurationTypeDef
- AppMonitorDetailsTypeDef
- AppMonitorSummaryTypeDef
- CustomEventsTypeDef
- MetricDefinitionRequestOutputTypeDef
- MetricDefinitionTypeDef
- ResponseMetadataTypeDef
- BatchDeleteRumMetricDefinitionsErrorTypeDef
- BatchDeleteRumMetricDefinitionsRequestRequestTypeDef
- PaginatorConfigTypeDef
- BatchGetRumMetricDefinitionsRequestRequestTypeDef
- CwLogTypeDef
- DeleteAppMonitorRequestRequestTypeDef
- DeleteRumMetricsDestinationRequestRequestTypeDef
- QueryFilterTypeDef
- TimeRangeTypeDef
- GetAppMonitorRequestRequestTypeDef
- ListAppMonitorsRequestRequestTypeDef
- ListRumMetricsDestinationsRequestRequestTypeDef
- MetricDestinationSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- MetricDefinitionRequestTypeDef
- UserDetailsTypeDef
- PutRumMetricsDestinationRequestRequestTypeDef
- TimestampTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- CreateAppMonitorRequestRequestTypeDef
- UpdateAppMonitorRequestRequestTypeDef
- BatchCreateRumMetricDefinitionsErrorTypeDef
- BatchGetRumMetricDefinitionsResponseTypeDef
- CreateAppMonitorResponseTypeDef
- GetAppMonitorDataResponseTypeDef
- ListAppMonitorsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- BatchDeleteRumMetricDefinitionsResponseTypeDef
- BatchGetRumMetricDefinitionsRequestPaginateTypeDef
- ListAppMonitorsRequestPaginateTypeDef
- ListRumMetricsDestinationsRequestPaginateTypeDef
- DataStorageTypeDef
- GetAppMonitorDataRequestPaginateTypeDef
- GetAppMonitorDataRequestRequestTypeDef
- ListRumMetricsDestinationsResponseTypeDef
- MetricDefinitionRequestUnionTypeDef
- UpdateRumMetricDefinitionRequestRequestTypeDef
- RumEventTypeDef
- BatchCreateRumMetricDefinitionsResponseTypeDef
- AppMonitorTypeDef
- BatchCreateRumMetricDefinitionsRequestRequestTypeDef
- PutRumEventsRequestRequestTypeDef
- GetAppMonitorResponseTypeDef