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

Description

Updates the data for a fleet metric.

Requires permission to access the UpdateFleetMetric action.

Synopsis

Creating a Request

data UpdateFleetMetric Source #

See: newUpdateFleetMetric smart constructor.

Constructors

UpdateFleetMetric' 

Fields

Instances

Instances details
Eq UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Read UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Show UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Generic UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Associated Types

type Rep UpdateFleetMetric :: Type -> Type #

NFData UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Methods

rnf :: UpdateFleetMetric -> () #

Hashable UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

ToJSON UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

AWSRequest UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Associated Types

type AWSResponse UpdateFleetMetric #

ToHeaders UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

ToPath UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

ToQuery UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

type Rep UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

type AWSResponse UpdateFleetMetric Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

newUpdateFleetMetric Source #

Create a value of UpdateFleetMetric 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:aggregationType:UpdateFleetMetric', updateFleetMetric_aggregationType - The type of the aggregation query.

$sel:period:UpdateFleetMetric', updateFleetMetric_period - The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

$sel:queryVersion:UpdateFleetMetric', updateFleetMetric_queryVersion - The version of the query.

$sel:aggregationField:UpdateFleetMetric', updateFleetMetric_aggregationField - The field to aggregate.

$sel:expectedVersion:UpdateFleetMetric', updateFleetMetric_expectedVersion - The expected version of the fleet metric record in the registry.

$sel:queryString:UpdateFleetMetric', updateFleetMetric_queryString - The search query string.

$sel:description:UpdateFleetMetric', updateFleetMetric_description - The description of the fleet metric.

$sel:unit:UpdateFleetMetric', updateFleetMetric_unit - Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.

$sel:metricName:UpdateFleetMetric', updateFleetMetric_metricName - The name of the fleet metric to update.

$sel:indexName:UpdateFleetMetric', updateFleetMetric_indexName - The name of the index to search.

Request Lenses

updateFleetMetric_period :: Lens' UpdateFleetMetric (Maybe Natural) Source #

The time in seconds between fleet metric emissions. Range [60(1 min), 86400(1 day)] and must be multiple of 60.

updateFleetMetric_expectedVersion :: Lens' UpdateFleetMetric (Maybe Integer) Source #

The expected version of the fleet metric record in the registry.

updateFleetMetric_description :: Lens' UpdateFleetMetric (Maybe Text) Source #

The description of the fleet metric.

updateFleetMetric_unit :: Lens' UpdateFleetMetric (Maybe FleetMetricUnit) Source #

Used to support unit transformation such as milliseconds to seconds. The unit must be supported by CW metric.

updateFleetMetric_metricName :: Lens' UpdateFleetMetric Text Source #

The name of the fleet metric to update.

updateFleetMetric_indexName :: Lens' UpdateFleetMetric Text Source #

The name of the index to search.

Destructuring the Response

data UpdateFleetMetricResponse Source #

See: newUpdateFleetMetricResponse smart constructor.

Instances

Instances details
Eq UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Read UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Show UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Generic UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

Associated Types

type Rep UpdateFleetMetricResponse :: Type -> Type #

NFData UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

type Rep UpdateFleetMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateFleetMetric

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

newUpdateFleetMetricResponse :: UpdateFleetMetricResponse Source #

Create a value of UpdateFleetMetricResponse with all optional fields omitted.

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