Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Stops the streaming of metrics for one or more of your metric streams.
Synopsis
- data StopMetricStreams = StopMetricStreams' {}
- newStopMetricStreams :: StopMetricStreams
- stopMetricStreams_names :: Lens' StopMetricStreams [Text]
- data StopMetricStreamsResponse = StopMetricStreamsResponse' {
- httpStatus :: Int
- newStopMetricStreamsResponse :: Int -> StopMetricStreamsResponse
- stopMetricStreamsResponse_httpStatus :: Lens' StopMetricStreamsResponse Int
Creating a Request
data StopMetricStreams Source #
See: newStopMetricStreams
smart constructor.
Instances
newStopMetricStreams :: StopMetricStreams Source #
Create a value of StopMetricStreams
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:names:StopMetricStreams'
, stopMetricStreams_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.
Request Lenses
stopMetricStreams_names :: Lens' StopMetricStreams [Text] Source #
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.
Destructuring the Response
data StopMetricStreamsResponse Source #
See: newStopMetricStreamsResponse
smart constructor.
StopMetricStreamsResponse' | |
|
Instances
newStopMetricStreamsResponse Source #
Create a value of StopMetricStreamsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StopMetricStreamsResponse'
, stopMetricStreamsResponse_httpStatus
- The response's http status code.
Response Lenses
stopMetricStreamsResponse_httpStatus :: Lens' StopMetricStreamsResponse Int Source #
The response's http status code.