CloudWatchClient.start_o_tel_enrichment
rboto-cloudwatch==0.4.0 · Service index · Types
Model summary (excerpt): Enables enrichment and PromQL access for CloudWatch vended metrics for supported Amazon Web Services resources in the account. Once enabled, metrics that contain a resource identifier dimension (for example, EC2 CPUUtilization with an InstanceId dimension) are enriched with resource ARN and resource tag labels and become queryable using PromQL. Before calling this operation, you must enable...
Install and imports
from rboto import CloudWatchClient
from collections.abc import Sequence
from rboto_cloudwatch.types import (
OTelEnrichmentMetricSelector,
StartOTelEnrichmentOutput,
)
Signature
async def start_o_tel_enrichment(
*,
include_filters: Sequence[OTelEnrichmentMetricSelector] | None = None,
exclude_filters: Sequence[OTelEnrichmentMetricSelector] | None = None,
) -> StartOTelEnrichmentOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
include_filters |
No | The metric namespaces, and the metric names, to enrich. If this parameter is omitted, every namespace that Amazon CloudWatch supports for enrichment is in scope. A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined. |
exclude_filters |
No | The metric namespaces, and the metric names, to leave unenriched. If this parameter is omitted, nothing is excluded. Amazon CloudWatch applies ExcludeFilters after IncludeFilters , so a metric that both parameters match is not enriched. A maximum of 100 filters is allowed across IncludeFilters and ExcludeFilters combined. |
Output
StartOTelEnrichmentOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
include_filters |
list[OTelEnrichmentMetricSelectorOutput] | None |
Always present | OTelEnrichmentMetricSelectorOutput |
exclude_filters |
list[OTelEnrichmentMetricSelectorOutput] | None |
Always present | OTelEnrichmentMetricSelectorOutput |
created_at |
str | None |
Always present | — |
updated_at |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
OTelEnrichmentMetricSelector, StartOTelEnrichmentOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudwatch.exceptions:
Other service failures use the service base error; credential, transport and timeout failures use shared errors.