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

Description

Starts the streaming of metrics for one or more of your metric streams.

Synopsis

Creating a Request

data StartMetricStreams Source #

See: newStartMetricStreams smart constructor.

Constructors

StartMetricStreams' 

Fields

  • names :: [Text]

    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.

Instances

Instances details
Eq StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Read StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Show StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Generic StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Associated Types

type Rep StartMetricStreams :: Type -> Type #

NFData StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Methods

rnf :: StartMetricStreams -> () #

Hashable StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

AWSRequest StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Associated Types

type AWSResponse StartMetricStreams #

ToHeaders StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

ToPath StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

ToQuery StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

type Rep StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

type Rep StartMetricStreams = D1 ('MetaData "StartMetricStreams" "Amazonka.CloudWatch.StartMetricStreams" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "StartMetricStreams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse StartMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

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.

Constructors

StartMetricStreamsResponse' 

Fields

Instances

Instances details
Eq StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Read StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Show StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Generic StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

Associated Types

type Rep StartMetricStreamsResponse :: Type -> Type #

NFData StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

type Rep StartMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StartMetricStreams

type Rep StartMetricStreamsResponse = D1 ('MetaData "StartMetricStreamsResponse" "Amazonka.CloudWatch.StartMetricStreams" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "StartMetricStreamsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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