libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.DeleteFleetMetric

Description

Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.

Requires permission to access the DeleteFleetMetric action.

Synopsis

Creating a Request

data DeleteFleetMetric Source #

See: newDeleteFleetMetric smart constructor.

Constructors

DeleteFleetMetric' 

Fields

Instances

Instances details
Eq DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Read DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Show DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Generic DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Associated Types

type Rep DeleteFleetMetric :: Type -> Type #

NFData DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Methods

rnf :: DeleteFleetMetric -> () #

Hashable DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

AWSRequest DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Associated Types

type AWSResponse DeleteFleetMetric #

ToHeaders DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

ToPath DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

ToQuery DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

type Rep DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

type Rep DeleteFleetMetric = D1 ('MetaData "DeleteFleetMetric" "Amazonka.IoT.DeleteFleetMetric" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteFleetMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expectedVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

newDeleteFleetMetric Source #

Create a value of DeleteFleetMetric 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:expectedVersion:DeleteFleetMetric', deleteFleetMetric_expectedVersion - The expected version of the fleet metric to delete.

$sel:metricName:DeleteFleetMetric', deleteFleetMetric_metricName - The name of the fleet metric to delete.

Request Lenses

deleteFleetMetric_expectedVersion :: Lens' DeleteFleetMetric (Maybe Integer) Source #

The expected version of the fleet metric to delete.

deleteFleetMetric_metricName :: Lens' DeleteFleetMetric Text Source #

The name of the fleet metric to delete.

Destructuring the Response

data DeleteFleetMetricResponse Source #

See: newDeleteFleetMetricResponse smart constructor.

Instances

Instances details
Eq DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Read DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Show DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Generic DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

Associated Types

type Rep DeleteFleetMetricResponse :: Type -> Type #

NFData DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

type Rep DeleteFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DeleteFleetMetric

type Rep DeleteFleetMetricResponse = D1 ('MetaData "DeleteFleetMetricResponse" "Amazonka.IoT.DeleteFleetMetric" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteFleetMetricResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteFleetMetricResponse :: DeleteFleetMetricResponse Source #

Create a value of DeleteFleetMetricResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.