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

Description

Update a thing group.

Requires permission to access the UpdateThingGroup action.

Synopsis

Creating a Request

data UpdateThingGroup Source #

See: newUpdateThingGroup smart constructor.

Constructors

UpdateThingGroup' 

Fields

Instances

Instances details
Eq UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Read UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Show UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Generic UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Associated Types

type Rep UpdateThingGroup :: Type -> Type #

NFData UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Methods

rnf :: UpdateThingGroup -> () #

Hashable UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

ToJSON UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

AWSRequest UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Associated Types

type AWSResponse UpdateThingGroup #

ToHeaders UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

ToPath UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

ToQuery UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

type Rep UpdateThingGroup Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

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

Defined in Amazonka.IoT.UpdateThingGroup

newUpdateThingGroup Source #

Create a value of UpdateThingGroup 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:UpdateThingGroup', updateThingGroup_expectedVersion - The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.

$sel:thingGroupName:UpdateThingGroup', updateThingGroup_thingGroupName - The thing group to update.

$sel:thingGroupProperties:UpdateThingGroup', updateThingGroup_thingGroupProperties - The thing group properties.

Request Lenses

updateThingGroup_expectedVersion :: Lens' UpdateThingGroup (Maybe Integer) Source #

The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.

Destructuring the Response

data UpdateThingGroupResponse Source #

See: newUpdateThingGroupResponse smart constructor.

Constructors

UpdateThingGroupResponse' 

Fields

Instances

Instances details
Eq UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Read UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Show UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Generic UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

Associated Types

type Rep UpdateThingGroupResponse :: Type -> Type #

NFData UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

type Rep UpdateThingGroupResponse Source # 
Instance details

Defined in Amazonka.IoT.UpdateThingGroup

type Rep UpdateThingGroupResponse = D1 ('MetaData "UpdateThingGroupResponse" "Amazonka.IoT.UpdateThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateThingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateThingGroupResponse Source #

Create a value of UpdateThingGroupResponse 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:version:UpdateThingGroupResponse', updateThingGroupResponse_version - The version of the updated thing group.

$sel:httpStatus:UpdateThingGroupResponse', updateThingGroupResponse_httpStatus - The response's http status code.

Response Lenses