amazonka-iot-1.6.0: Amazon IoT SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.UpdateThingGroup

Contents

Description

Update a thing group.

Synopsis

Creating a Request

updateThingGroup #

Creates a value of UpdateThingGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateThingGroup #

See: updateThingGroup smart constructor.

Instances

Eq UpdateThingGroup # 
Data UpdateThingGroup # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateThingGroup -> c UpdateThingGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateThingGroup #

toConstr :: UpdateThingGroup -> Constr #

dataTypeOf :: UpdateThingGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateThingGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateThingGroup) #

gmapT :: (forall b. Data b => b -> b) -> UpdateThingGroup -> UpdateThingGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateThingGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateThingGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateThingGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateThingGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateThingGroup -> m UpdateThingGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateThingGroup -> m UpdateThingGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateThingGroup -> m UpdateThingGroup #

Read UpdateThingGroup # 
Show UpdateThingGroup # 
Generic UpdateThingGroup # 
Hashable UpdateThingGroup # 
ToJSON UpdateThingGroup # 
NFData UpdateThingGroup # 

Methods

rnf :: UpdateThingGroup -> () #

AWSRequest UpdateThingGroup # 
ToHeaders UpdateThingGroup # 
ToPath UpdateThingGroup # 
ToQuery UpdateThingGroup # 
type Rep UpdateThingGroup # 
type Rep UpdateThingGroup = D1 * (MetaData "UpdateThingGroup" "Network.AWS.IoT.UpdateThingGroup" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "UpdateThingGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_utgExpectedVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utgThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_utgThingGroupProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ThingGroupProperties)))))
type Rs UpdateThingGroup # 

Request Lenses

utgExpectedVersion :: Lens' UpdateThingGroup (Maybe Integer) #

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

utgThingGroupName :: Lens' UpdateThingGroup Text #

The thing group to update.

Destructuring the Response

updateThingGroupResponse #

Creates a value of UpdateThingGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateThingGroupResponse #

See: updateThingGroupResponse smart constructor.

Instances

Eq UpdateThingGroupResponse # 
Data UpdateThingGroupResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateThingGroupResponse -> c UpdateThingGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateThingGroupResponse #

toConstr :: UpdateThingGroupResponse -> Constr #

dataTypeOf :: UpdateThingGroupResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateThingGroupResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateThingGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateThingGroupResponse -> UpdateThingGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateThingGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateThingGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateThingGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateThingGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateThingGroupResponse -> m UpdateThingGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateThingGroupResponse -> m UpdateThingGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateThingGroupResponse -> m UpdateThingGroupResponse #

Read UpdateThingGroupResponse # 
Show UpdateThingGroupResponse # 
Generic UpdateThingGroupResponse # 
NFData UpdateThingGroupResponse # 
type Rep UpdateThingGroupResponse # 
type Rep UpdateThingGroupResponse = D1 * (MetaData "UpdateThingGroupResponse" "Network.AWS.IoT.UpdateThingGroup" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" False) (C1 * (MetaCons "UpdateThingGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_utgrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Integer))) (S1 * (MetaSel (Just Symbol "_utgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

utgrsVersion :: Lens' UpdateThingGroupResponse (Maybe Integer) #

The version of the updated thing group.

utgrsResponseStatus :: Lens' UpdateThingGroupResponse Int #

  • - | The response status code.