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

Contents

Description

Lists the existing thing types.

This operation returns paginated results.

Synopsis

Creating a Request

listThingTypes :: ListThingTypes Source #

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

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

  • lttThingTypeName - The name of the thing type.
  • lttNextToken - The token for the next set of results, or null if there are no additional results.
  • lttMaxResults - The maximum number of results to return in this operation.

data ListThingTypes Source #

The input for the ListThingTypes operation.

See: listThingTypes smart constructor.

Instances

Eq ListThingTypes Source # 
Data ListThingTypes Source # 

Methods

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

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

toConstr :: ListThingTypes -> Constr #

dataTypeOf :: ListThingTypes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingTypes Source # 
Show ListThingTypes Source # 
Generic ListThingTypes Source # 

Associated Types

type Rep ListThingTypes :: * -> * #

Hashable ListThingTypes Source # 
NFData ListThingTypes Source # 

Methods

rnf :: ListThingTypes -> () #

AWSPager ListThingTypes Source # 
AWSRequest ListThingTypes Source # 
ToHeaders ListThingTypes Source # 
ToPath ListThingTypes Source # 
ToQuery ListThingTypes Source # 
type Rep ListThingTypes Source # 
type Rep ListThingTypes = D1 * (MetaData "ListThingTypes" "Network.AWS.IoT.ListThingTypes" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListThingTypes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lttThingTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lttNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lttMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListThingTypes Source # 

Request Lenses

lttThingTypeName :: Lens' ListThingTypes (Maybe Text) Source #

The name of the thing type.

lttNextToken :: Lens' ListThingTypes (Maybe Text) Source #

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

lttMaxResults :: Lens' ListThingTypes (Maybe Natural) Source #

The maximum number of results to return in this operation.

Destructuring the Response

listThingTypesResponse Source #

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

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

data ListThingTypesResponse Source #

The output for the ListThingTypes operation.

See: listThingTypesResponse smart constructor.

Instances

Eq ListThingTypesResponse Source # 
Data ListThingTypesResponse Source # 

Methods

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

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

toConstr :: ListThingTypesResponse -> Constr #

dataTypeOf :: ListThingTypesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListThingTypesResponse Source # 
Show ListThingTypesResponse Source # 
Generic ListThingTypesResponse Source # 
NFData ListThingTypesResponse Source # 

Methods

rnf :: ListThingTypesResponse -> () #

type Rep ListThingTypesResponse Source # 
type Rep ListThingTypesResponse = D1 * (MetaData "ListThingTypesResponse" "Network.AWS.IoT.ListThingTypes" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListThingTypesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lttrsThingTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ThingTypeDefinition]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lttrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lttrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lttrsNextToken :: Lens' ListThingTypesResponse (Maybe Text) Source #

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