Skip to content

CloudWatchClient.get_metric_stream

rboto-cloudwatch==0.4.0 · Service index · Types

Model summary (excerpt): Returns information about the metric stream that you specify.

Install and imports

python -m pip install "rboto[cloudwatch]==0.4.0"
from rboto import CloudWatchClient
from rboto_cloudwatch.types import (
    GetMetricStreamOutput,
)

Signature

async def get_metric_stream(
    *,
    name: str,
) -> GetMetricStreamOutput: ...

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)
name Yes The name of the metric stream to retrieve information about.

Output

GetMetricStreamOutput.

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
arn str | None Always present —
name str | None Always present —
include_filters list[MetricStreamFilterOutput] | None Always present MetricStreamFilterOutput
exclude_filters list[MetricStreamFilterOutput] | None Always present MetricStreamFilterOutput
firehose_arn str | None Always present —
role_arn str | None Always present —
state str | None Always present —
creation_date str | None Always present —
last_update_date str | None Always present —
output_format MetricStreamOutputFormatOutput | None Always present MetricStreamOutputFormatOutput
statistics_configurations list[MetricStreamStatisticsConfigurationOutput] | None Always present MetricStreamStatisticsConfigurationOutput
include_linked_accounts_metrics bool | 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.

GetMetricStreamOutput

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:

InternalServiceFaultError, InvalidParameterCombinationError, InvalidParameterValueError, MissingRequiredParameterError, ResourceNotFoundExceptionError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model