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

Description

Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).

Requires permission to access the UpdateDimension action.

Synopsis

Creating a Request

data UpdateDimension Source #

See: newUpdateDimension smart constructor.

Constructors

UpdateDimension' 

Fields

  • name :: Text

    A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

  • stringValues :: NonEmpty Text

    Specifies the value or list of values for the dimension. For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").

Instances

Instances details
Eq UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Read UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Show UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Generic UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Associated Types

type Rep UpdateDimension :: Type -> Type #

NFData UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Methods

rnf :: UpdateDimension -> () #

Hashable UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

ToJSON UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

AWSRequest UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Associated Types

type AWSResponse UpdateDimension #

ToHeaders UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

ToPath UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

ToQuery UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

type Rep UpdateDimension Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

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

Defined in Amazonka.IoT.UpdateDimension

newUpdateDimension Source #

Create a value of UpdateDimension 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:name:UpdateDimension', updateDimension_name - A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

$sel:stringValues:UpdateDimension', updateDimension_stringValues - Specifies the value or list of values for the dimension. For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").

Request Lenses

updateDimension_name :: Lens' UpdateDimension Text Source #

A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

updateDimension_stringValues :: Lens' UpdateDimension (NonEmpty Text) Source #

Specifies the value or list of values for the dimension. For TOPIC_FILTER dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").

Destructuring the Response

data UpdateDimensionResponse Source #

See: newUpdateDimensionResponse smart constructor.

Constructors

UpdateDimensionResponse' 

Fields

Instances

Instances details
Eq UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Read UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Show UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Generic UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Associated Types

type Rep UpdateDimensionResponse :: Type -> Type #

NFData UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

Methods

rnf :: UpdateDimensionResponse -> () #

type Rep UpdateDimensionResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateDimension

newUpdateDimensionResponse Source #

Create a value of UpdateDimensionResponse 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:lastModifiedDate:UpdateDimensionResponse', updateDimensionResponse_lastModifiedDate - The date and time, in milliseconds since epoch, when the dimension was most recently updated.

$sel:arn:UpdateDimensionResponse', updateDimensionResponse_arn - The Amazon Resource Name (ARN)of the created dimension.

$sel:stringValues:UpdateDimension', updateDimensionResponse_stringValues - The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.

$sel:name:UpdateDimension', updateDimensionResponse_name - A unique identifier for the dimension.

$sel:creationDate:UpdateDimensionResponse', updateDimensionResponse_creationDate - The date and time, in milliseconds since epoch, when the dimension was initially created.

$sel:type':UpdateDimensionResponse', updateDimensionResponse_type - The type of the dimension.

$sel:httpStatus:UpdateDimensionResponse', updateDimensionResponse_httpStatus - The response's http status code.

Response Lenses

updateDimensionResponse_lastModifiedDate :: Lens' UpdateDimensionResponse (Maybe UTCTime) Source #

The date and time, in milliseconds since epoch, when the dimension was most recently updated.

updateDimensionResponse_arn :: Lens' UpdateDimensionResponse (Maybe Text) Source #

The Amazon Resource Name (ARN)of the created dimension.

updateDimensionResponse_stringValues :: Lens' UpdateDimensionResponse (Maybe (NonEmpty Text)) Source #

The value or list of values used to scope the dimension. For example, for topic filters, this is the pattern used to match the MQTT topic name.

updateDimensionResponse_name :: Lens' UpdateDimensionResponse (Maybe Text) Source #

A unique identifier for the dimension.

updateDimensionResponse_creationDate :: Lens' UpdateDimensionResponse (Maybe UTCTime) Source #

The date and time, in milliseconds since epoch, when the dimension was initially created.