amazonka-iot-1.6.1: 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 Source #

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 Source #

See: updateThingGroup smart constructor.

Instances
Eq UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Data UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.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 Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Show UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Generic UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Associated Types

type Rep UpdateThingGroup :: Type -> Type #

Hashable UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

ToJSON UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

AWSRequest UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Associated Types

type Rs UpdateThingGroup :: Type #

ToHeaders UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

ToPath UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

ToQuery UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

NFData UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Methods

rnf :: UpdateThingGroup -> () #

type Rep UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

type Rep UpdateThingGroup = D1 (MetaData "UpdateThingGroup" "Network.AWS.IoT.UpdateThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "UpdateThingGroup'" PrefixI True) (S1 (MetaSel (Just "_utgExpectedVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 (MetaSel (Just "_utgThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_utgThingGroupProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ThingGroupProperties))))
type Rs UpdateThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Request Lenses

utgExpectedVersion :: 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.

utgThingGroupName :: Lens' UpdateThingGroup Text Source #

The thing group to update.

Destructuring the Response

updateThingGroupResponse Source #

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 Source #

See: updateThingGroupResponse smart constructor.

Instances
Eq UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Data UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

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 Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Show UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Generic UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

Associated Types

type Rep UpdateThingGroupResponse :: Type -> Type #

NFData UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

type Rep UpdateThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.UpdateThingGroup

type Rep UpdateThingGroupResponse = D1 (MetaData "UpdateThingGroupResponse" "Network.AWS.IoT.UpdateThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "UpdateThingGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_utgrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_utgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

utgrsVersion :: Lens' UpdateThingGroupResponse (Maybe Integer) Source #

The version of the updated thing group.