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 |
Returns information about the metric stream that you specify.
Synopsis
- data GetMetricStream = GetMetricStream' {}
- newGetMetricStream :: Text -> GetMetricStream
- getMetricStream_name :: Lens' GetMetricStream Text
- data GetMetricStreamResponse = GetMetricStreamResponse' {
- includeFilters :: Maybe [MetricStreamFilter]
- state :: Maybe Text
- excludeFilters :: Maybe [MetricStreamFilter]
- arn :: Maybe Text
- firehoseArn :: Maybe Text
- outputFormat :: Maybe MetricStreamOutputFormat
- lastUpdateDate :: Maybe ISO8601
- name :: Maybe Text
- creationDate :: Maybe ISO8601
- roleArn :: Maybe Text
- httpStatus :: Int
- newGetMetricStreamResponse :: Int -> GetMetricStreamResponse
- getMetricStreamResponse_includeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter])
- getMetricStreamResponse_state :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_excludeFilters :: Lens' GetMetricStreamResponse (Maybe [MetricStreamFilter])
- getMetricStreamResponse_arn :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_firehoseArn :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_outputFormat :: Lens' GetMetricStreamResponse (Maybe MetricStreamOutputFormat)
- getMetricStreamResponse_lastUpdateDate :: Lens' GetMetricStreamResponse (Maybe UTCTime)
- getMetricStreamResponse_name :: Lens' GetMetricStreamResponse (Maybe Text)
- getMetricStreamResponse_creationDate :: Lens' GetMetricStreamResponse (Maybe UTCTime)
- getMetricStreamResponse_roleArn :: Lens' GetMetricStreamResponse (Maybe Text)
- 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:
$sel:name: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:
$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.
$sel:state:GetMetricStreamResponse'
, getMetricStreamResponse_state
- The state of the metric stream. The possible values are running
and
stopped
.
$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.
$sel:arn:GetMetricStreamResponse'
, getMetricStreamResponse_arn
- The ARN of the metric stream.
$sel:firehoseArn:GetMetricStreamResponse'
, getMetricStreamResponse_firehoseArn
- The ARN of the Amazon Kinesis Firehose delivery stream that is used by
this metric stream.
$sel:outputFormat:GetMetricStreamResponse'
, getMetricStreamResponse_outputFormat
-
$sel:lastUpdateDate:GetMetricStreamResponse'
, getMetricStreamResponse_lastUpdateDate
- The date of the most recent update to the metric stream's
configuration.
$sel:name:GetMetricStream'
, getMetricStreamResponse_name
- The name of the metric stream.
$sel:creationDate:GetMetricStreamResponse'
, getMetricStreamResponse_creationDate
- The date that the metric stream was created.
$sel:roleArn:GetMetricStreamResponse'
, getMetricStreamResponse_roleArn
- The ARN of the IAM role that is used by this metric stream.
$sel:httpStatus:GetMetricStreamResponse'
, getMetricStreamResponse_httpStatus
- The response's http status code.
Response Lenses
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_state :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The state of the metric stream. The possible values are running
and
stopped
.
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_arn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the metric stream.
getMetricStreamResponse_firehoseArn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.
getMetricStreamResponse_outputFormat :: Lens' GetMetricStreamResponse (Maybe MetricStreamOutputFormat) Source #
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_creationDate :: Lens' GetMetricStreamResponse (Maybe UTCTime) Source #
The date that the metric stream was created.
getMetricStreamResponse_roleArn :: Lens' GetMetricStreamResponse (Maybe Text) Source #
The ARN of the IAM role that is used by this metric stream.
getMetricStreamResponse_httpStatus :: Lens' GetMetricStreamResponse Int Source #
The response's http status code.