StopMetricStreams
Stops the streaming of metrics for one or more of your metric streams.
Request Syntax
{
"Names": [ "string" ]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- Names
-
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.
Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: Yes
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- InternalServiceError
-
Request processing has failed due to some unknown error, exception, or failure.
- Message
HTTP Status Code: 500
- InvalidParameterValue
-
The value of an input parameter is bad or out-of-range.
- message
HTTP Status Code: 400
- MissingParameter
-
An input parameter that is required is missing.
- message
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: