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

Description

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

Synopsis

Creating a Request

data StopMetricStreams Source #

See: newStopMetricStreams smart constructor.

Constructors

StopMetricStreams' 

Fields

  • names :: [Text]

    The array of the names of metric streams to stop 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 stop streaming.

Instances

Instances details
Eq StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Read StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Show StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Generic StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Associated Types

type Rep StopMetricStreams :: Type -> Type #

NFData StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Methods

rnf :: StopMetricStreams -> () #

Hashable StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

AWSRequest StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Associated Types

type AWSResponse StopMetricStreams #

ToHeaders StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

ToPath StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

ToQuery StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

type Rep StopMetricStreams Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

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

Defined in Amazonka.CloudWatch.StopMetricStreams

newStopMetricStreams :: StopMetricStreams Source #

Create a value of StopMetricStreams 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:StopMetricStreams', stopMetricStreams_names - The array of the names of metric streams to stop 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 stop streaming.

Request Lenses

stopMetricStreams_names :: Lens' StopMetricStreams [Text] Source #

The array of the names of metric streams to stop 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 stop streaming.

Destructuring the Response

data StopMetricStreamsResponse Source #

See: newStopMetricStreamsResponse smart constructor.

Constructors

StopMetricStreamsResponse' 

Fields

Instances

Instances details
Eq StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Read StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Show StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Generic StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

Associated Types

type Rep StopMetricStreamsResponse :: Type -> Type #

NFData StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

type Rep StopMetricStreamsResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.StopMetricStreams

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

newStopMetricStreamsResponse Source #

Create a value of StopMetricStreamsResponse 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:StopMetricStreamsResponse', stopMetricStreamsResponse_httpStatus - The response's http status code.

Response Lenses