Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns information about the metric stream that you specify.
Synopsis
- data GetMetricStream = GetMetricStream' {}
- newGetMetricStream :: Text -> GetMetricStream
- getMetricStream_name :: Lens' GetMetricStream Text
- data GetMetricStreamResponse = GetMetricStreamResponse' {
- arn :: Maybe Text
- creationDate :: Maybe ISO8601
- excludeFilters :: Maybe [MetricStreamFilter]
- firehoseArn :: Maybe Text
- includeFilters :: Maybe [MetricStreamFilter]
- lastUpdateDate :: Maybe ISO8601
- name :: Maybe Text
- outputFormat :: Maybe MetricStreamOutputFormat
- roleArn :: Maybe Text
- state :: Maybe Text
- statisticsConfigurations :: Maybe [MetricStreamStatisticsConfiguration]
- httpStatus :: Int
- newGetMetricStreamResponse :: Int -> GetMetricStreamResponse
- getMetricStreamResponse_arn :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_creationDate :: Lens' GetMetricStreamResponse (Maybe UTCTime)
- getMetricStreamResponse_excludeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter])
- getMetricStreamResponse_firehoseArn :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_includeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter])
- getMetricStreamResponse_lastUpdateDate :: Lens' GetMetricStreamResponse (Maybe UTCTime)
- getMetricStreamResponse_name :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_outputFormat :: Lens' GetMetricStreamResponse (Maybe MetricStreamOutputFormat)
- getMetricStreamResponse_roleArn :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_state :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_statisticsConfigurations :: Lens' GetMetricStreamResponse (Maybe [MetricStreamStatisticsConfiguration])
- getMetricStreamResponse_httpStatus :: Lens' GetMetricStreamResponse Int
Creating a Request
data GetMetricStream Source #
See: newGetMetricStream
smart constructor.
Instances
Create a value of GetMetricStream
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:
GetMetricStream
, getMetricStream_name
- The name of the metric stream to retrieve information about.
Request Lenses
getMetricStream_name :: Lens' GetMetricStream Text Source #
The name of the metric stream to retrieve information about.
Destructuring the Response
data GetMetricStreamResponse Source #
See: newGetMetricStreamResponse
smart constructor.
GetMetricStreamResponse' | |
|
Instances
newGetMetricStreamResponse Source #
Create a value of GetMetricStreamResponse
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:
GetMetricStreamResponse
, getMetricStreamResponse_arn
- The ARN of the metric stream.
GetMetricStreamResponse
, getMetricStreamResponse_creationDate
- The date that the metric stream was created.
$sel:excludeFilters:GetMetricStreamResponse'
, getMetricStreamResponse_excludeFilters
- If this array of metric namespaces is present, then these namespaces are
the only metric namespaces that are not streamed by this metric stream.
In this case, all other metric namespaces in the account are streamed by
this metric stream.
GetMetricStreamResponse
, getMetricStreamResponse_firehoseArn
- The ARN of the Amazon Kinesis Data Firehose delivery stream that is used
by this metric stream.
$sel:includeFilters:GetMetricStreamResponse'
, getMetricStreamResponse_includeFilters
- If this array of metric namespaces is present, then these namespaces are
the only metric namespaces that are streamed by this metric stream.
GetMetricStreamResponse
, getMetricStreamResponse_lastUpdateDate
- The date of the most recent update to the metric stream's
configuration.
GetMetricStream
, getMetricStreamResponse_name
- The name of the metric stream.
GetMetricStreamResponse
, getMetricStreamResponse_outputFormat
- The output format for the stream. Valid values are json
and
opentelemetry0.7
. For more information about metric stream output
formats, see
Metric streams output formats.
$sel:roleArn:GetMetricStreamResponse'
, getMetricStreamResponse_roleArn
- The ARN of the IAM role that is used by this metric stream.
GetMetricStreamResponse
, getMetricStreamResponse_state
- The state of the metric stream. The possible values are running
and
stopped
.
$sel:statisticsConfigurations:GetMetricStreamResponse'
, getMetricStreamResponse_statisticsConfigurations
- Each entry in this array displays information about one or more metrics
that include additional statistics in the metric stream. For more
information about the additional statistics, see
CloudWatch statistics definitions.
$sel:httpStatus:GetMetricStreamResponse'
, getMetricStreamResponse_httpStatus
- The response's http status code.
Response Lenses
getMetricStreamResponse_arn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the metric stream.
getMetricStreamResponse_creationDate :: Lens' GetMetricStreamResponse (Maybe UTCTime) Source #
The date that the metric stream was created.
getMetricStreamResponse_excludeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter]) Source #
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
getMetricStreamResponse_firehoseArn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.
getMetricStreamResponse_includeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter]) Source #
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
getMetricStreamResponse_lastUpdateDate :: Lens' GetMetricStreamResponse (Maybe UTCTime) Source #
The date of the most recent update to the metric stream's configuration.
getMetricStreamResponse_name :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The name of the metric stream.
getMetricStreamResponse_outputFormat :: Lens' GetMetricStreamResponse (Maybe MetricStreamOutputFormat) Source #
The output format for the stream. Valid values are json
and
opentelemetry0.7
. For more information about metric stream output
formats, see
Metric streams output formats.
getMetricStreamResponse_roleArn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the IAM role that is used by this metric stream.
getMetricStreamResponse_state :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The state of the metric stream. The possible values are running
and
stopped
.
getMetricStreamResponse_statisticsConfigurations :: Lens' GetMetricStreamResponse (Maybe [MetricStreamStatisticsConfiguration]) Source #
Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.
getMetricStreamResponse_httpStatus :: Lens' GetMetricStreamResponse Int Source #
The response's http status code.