CloudWatch / Client / stop_metric_streams

stop_metric_streams#

CloudWatch.Client.stop_metric_streams(**kwargs)#

Stops the streaming of metrics for one or more of your metric streams.

See also: AWS API Documentation

Request Syntax

response = client.stop_metric_streams(
    Names=[
        'string',
    ]
)
Parameters:

Names (list) –

[REQUIRED]

The array of the names of metric streams to stop streaming.

This is an “all or nothing” operation. If you do not have permission to access all of the metric streams that you list here, then none of the streams that you list in the operation will stop streaming.

  • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CloudWatch.Client.exceptions.InternalServiceFault

  • CloudWatch.Client.exceptions.InvalidParameterValueException

  • CloudWatch.Client.exceptions.MissingRequiredParameterException