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

Contents

Description

Lists the things in the specified group.

Synopsis

Creating a Request

listThingsInThingGroup Source #

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

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

  • ltitgNextToken - The token used to get the next set of results, or null if there are no additional results.
  • ltitgRecursive - When true, list things in this thing group and in all child groups as well.
  • ltitgMaxResults - The maximum number of results to return at one time.
  • ltitgThingGroupName - The thing group name.

data ListThingsInThingGroup Source #

See: listThingsInThingGroup smart constructor.

Instances

Eq ListThingsInThingGroup Source # 
Data ListThingsInThingGroup Source # 

Methods

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

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

toConstr :: ListThingsInThingGroup -> Constr #

dataTypeOf :: ListThingsInThingGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingsInThingGroup Source # 
Show ListThingsInThingGroup Source # 
Generic ListThingsInThingGroup Source # 
Hashable ListThingsInThingGroup Source # 
NFData ListThingsInThingGroup Source # 

Methods

rnf :: ListThingsInThingGroup -> () #

AWSRequest ListThingsInThingGroup Source # 
ToHeaders ListThingsInThingGroup Source # 
ToPath ListThingsInThingGroup Source # 
ToQuery ListThingsInThingGroup Source # 
type Rep ListThingsInThingGroup Source # 
type Rep ListThingsInThingGroup = D1 * (MetaData "ListThingsInThingGroup" "Network.AWS.IoT.ListThingsInThingGroup" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListThingsInThingGroup'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ltitgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltitgRecursive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltitgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_ltitgThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListThingsInThingGroup Source # 

Request Lenses

ltitgNextToken :: Lens' ListThingsInThingGroup (Maybe Text) Source #

The token used to get the next set of results, or null if there are no additional results.

ltitgRecursive :: Lens' ListThingsInThingGroup (Maybe Bool) Source #

When true, list things in this thing group and in all child groups as well.

ltitgMaxResults :: Lens' ListThingsInThingGroup (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

listThingsInThingGroupResponse Source #

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

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

data ListThingsInThingGroupResponse Source #

See: listThingsInThingGroupResponse smart constructor.

Instances

Eq ListThingsInThingGroupResponse Source # 
Data ListThingsInThingGroupResponse Source # 

Methods

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

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

toConstr :: ListThingsInThingGroupResponse -> Constr #

dataTypeOf :: ListThingsInThingGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingsInThingGroupResponse Source # 
Show ListThingsInThingGroupResponse Source # 
Generic ListThingsInThingGroupResponse Source # 
NFData ListThingsInThingGroupResponse Source # 
type Rep ListThingsInThingGroupResponse Source # 
type Rep ListThingsInThingGroupResponse = D1 * (MetaData "ListThingsInThingGroupResponse" "Network.AWS.IoT.ListThingsInThingGroup" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListThingsInThingGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltitgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltitgrsThings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_ltitgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ltitgrsNextToken :: Lens' ListThingsInThingGroupResponse (Maybe Text) Source #

The token used to get the next set of results, or null if there are no additional results.

ltitgrsThings :: Lens' ListThingsInThingGroupResponse [Text] Source #

The things in the specified thing group.