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

Description

Permanently deletes the metric stream that you specify.

Synopsis

Creating a Request

data DeleteMetricStream Source #

See: newDeleteMetricStream smart constructor.

Constructors

DeleteMetricStream' 

Fields

  • name :: Text

    The name of the metric stream to delete.

Instances

Instances details
ToHeaders DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

ToPath DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

ToQuery DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

AWSRequest DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Associated Types

type AWSResponse DeleteMetricStream #

Generic DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Associated Types

type Rep DeleteMetricStream :: Type -> Type #

Read DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Show DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

NFData DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Methods

rnf :: DeleteMetricStream -> () #

Eq DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Hashable DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

type AWSResponse DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

type Rep DeleteMetricStream Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

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

newDeleteMetricStream Source #

Create a value of DeleteMetricStream 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:

DeleteMetricStream, deleteMetricStream_name - The name of the metric stream to delete.

Request Lenses

deleteMetricStream_name :: Lens' DeleteMetricStream Text Source #

The name of the metric stream to delete.

Destructuring the Response

data DeleteMetricStreamResponse Source #

See: newDeleteMetricStreamResponse smart constructor.

Constructors

DeleteMetricStreamResponse' 

Fields

Instances

Instances details
Generic DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Associated Types

type Rep DeleteMetricStreamResponse :: Type -> Type #

Read DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Show DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

NFData DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

Eq DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

type Rep DeleteMetricStreamResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteMetricStream

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

newDeleteMetricStreamResponse Source #

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

Response Lenses