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 |
Starts the streaming of metrics for one or more of your metric streams.
Synopsis
- data StartMetricStreams = StartMetricStreams' {}
- newStartMetricStreams :: StartMetricStreams
- startMetricStreams_names :: Lens' StartMetricStreams [Text]
- data StartMetricStreamsResponse = StartMetricStreamsResponse' {
- httpStatus :: Int
- newStartMetricStreamsResponse :: Int -> StartMetricStreamsResponse
- startMetricStreamsResponse_httpStatus :: Lens' StartMetricStreamsResponse Int
Creating a Request
data StartMetricStreams Source #
See: newStartMetricStreams
smart constructor.
Instances
newStartMetricStreams :: StartMetricStreams Source #
Create a value of StartMetricStreams
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:StartMetricStreams'
, startMetricStreams_names
- The array of the names of metric streams to start 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 start streaming.
Request Lenses
startMetricStreams_names :: Lens' StartMetricStreams [Text] Source #
The array of the names of metric streams to start 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 start streaming.
Destructuring the Response
data StartMetricStreamsResponse Source #
See: newStartMetricStreamsResponse
smart constructor.
StartMetricStreamsResponse' | |
|
Instances
newStartMetricStreamsResponse Source #
Create a value of StartMetricStreamsResponse
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:StartMetricStreamsResponse'
, startMetricStreamsResponse_httpStatus
- The response's http status code.
Response Lenses
startMetricStreamsResponse_httpStatus :: Lens' StartMetricStreamsResponse Int Source #
The response's http status code.