amazonka-cloudwatch-2.0: Amazon CloudWatch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudWatch.GetMetricStream

Description

Returns information about the metric stream that you specify.

Synopsis

Creating a Request

data GetMetricStream Source #

See: newGetMetricStream smart constructor.

Constructors

GetMetricStream' 

Fields

  • name :: Text

    The name of the metric stream to retrieve information about.

Instances

Instances details
ToHeaders GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

ToPath GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

ToQuery GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

AWSRequest GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Associated Types

type AWSResponse GetMetricStream #

Generic GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Associated Types

type Rep GetMetricStream :: Type -> Type #

Read GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Show GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

NFData GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Methods

rnf :: GetMetricStream -> () #

Eq GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Hashable GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

type AWSResponse GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

type Rep GetMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

type Rep GetMetricStream = D1 ('MetaData "GetMetricStream" "Amazonka.CloudWatch.GetMetricStream" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "GetMetricStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetMetricStream Source #

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.

Constructors

GetMetricStreamResponse' 

Fields

Instances

Instances details
Generic GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Associated Types

type Rep GetMetricStreamResponse :: Type -> Type #

Read GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Show GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

NFData GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

Methods

rnf :: GetMetricStreamResponse -> () #

Eq GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

type Rep GetMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.GetMetricStream

type Rep GetMetricStreamResponse = D1 ('MetaData "GetMetricStreamResponse" "Amazonka.CloudWatch.GetMetricStream" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "GetMetricStreamResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "excludeFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricStreamFilter])))) :*: (S1 ('MetaSel ('Just "firehoseArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "includeFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricStreamFilter])) :*: S1 ('MetaSel ('Just "lastUpdateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "outputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricStreamOutputFormat)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statisticsConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricStreamStatisticsConfiguration])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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_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.