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

Defined in Network.AWS.IoT.ListThingsInThingGroup

Data ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

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

Defined in Network.AWS.IoT.ListThingsInThingGroup

Show ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Generic ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Associated Types

type Rep ListThingsInThingGroup :: Type -> Type #

Hashable ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

AWSRequest ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Associated Types

type Rs ListThingsInThingGroup :: Type #

ToHeaders ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

ToPath ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

ToQuery ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

NFData ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Methods

rnf :: ListThingsInThingGroup -> () #

type Rep ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

type Rep ListThingsInThingGroup = D1 (MetaData "ListThingsInThingGroup" "Network.AWS.IoT.ListThingsInThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListThingsInThingGroup'" PrefixI True) ((S1 (MetaSel (Just "_ltitgNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltitgRecursive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_ltitgMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_ltitgThingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListThingsInThingGroup Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

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

Defined in Network.AWS.IoT.ListThingsInThingGroup

Data ListThingsInThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

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

Defined in Network.AWS.IoT.ListThingsInThingGroup

Show ListThingsInThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Generic ListThingsInThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

Associated Types

type Rep ListThingsInThingGroupResponse :: Type -> Type #

NFData ListThingsInThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

type Rep ListThingsInThingGroupResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingsInThingGroup

type Rep ListThingsInThingGroupResponse = D1 (MetaData "ListThingsInThingGroupResponse" "Network.AWS.IoT.ListThingsInThingGroup" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListThingsInThingGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_ltitgrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltitgrsThings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.