libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatch.ListMetricStreams

Description

Returns a list of metric streams in this account.

Synopsis

Creating a Request

data ListMetricStreams Source #

See: newListMetricStreams smart constructor.

Constructors

ListMetricStreams' 

Fields

  • nextToken :: Maybe Text

    Include this value, if it was returned by the previous call, to get the next set of metric streams.

  • maxResults :: Maybe Natural

    The maximum number of results to return in one operation.

Instances

Instances details
Eq ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Read ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Show ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Generic ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Associated Types

type Rep ListMetricStreams :: Type -> Type #

NFData ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Methods

rnf :: ListMetricStreams -> () #

Hashable ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

AWSRequest ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Associated Types

type AWSResponse ListMetricStreams #

ToHeaders ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

ToPath ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

ToQuery ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

type Rep ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

type Rep ListMetricStreams = D1 ('MetaData "ListMetricStreams" "Amazonka.CloudWatch.ListMetricStreams" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "ListMetricStreams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

newListMetricStreams :: ListMetricStreams Source #

Create a value of ListMetricStreams 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:nextToken:ListMetricStreams', listMetricStreams_nextToken - Include this value, if it was returned by the previous call, to get the next set of metric streams.

$sel:maxResults:ListMetricStreams', listMetricStreams_maxResults - The maximum number of results to return in one operation.

Request Lenses

listMetricStreams_nextToken :: Lens' ListMetricStreams (Maybe Text) Source #

Include this value, if it was returned by the previous call, to get the next set of metric streams.

listMetricStreams_maxResults :: Lens' ListMetricStreams (Maybe Natural) Source #

The maximum number of results to return in one operation.

Destructuring the Response

data ListMetricStreamsResponse Source #

See: newListMetricStreamsResponse smart constructor.

Constructors

ListMetricStreamsResponse' 

Fields

Instances

Instances details
Eq ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Read ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Show ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Generic ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

Associated Types

type Rep ListMetricStreamsResponse :: Type -> Type #

NFData ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

type Rep ListMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.ListMetricStreams

type Rep ListMetricStreamsResponse = D1 ('MetaData "ListMetricStreamsResponse" "Amazonka.CloudWatch.ListMetricStreams" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "ListMetricStreamsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricStreamEntry])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListMetricStreamsResponse Source #

Create a value of ListMetricStreamsResponse 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:entries:ListMetricStreamsResponse', listMetricStreamsResponse_entries - The array of metric stream information.

$sel:nextToken:ListMetricStreams', listMetricStreamsResponse_nextToken - The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.

$sel:httpStatus:ListMetricStreamsResponse', listMetricStreamsResponse_httpStatus - The response's http status code.

Response Lenses

listMetricStreamsResponse_nextToken :: Lens' ListMetricStreamsResponse (Maybe Text) Source #

The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.