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

Defined in Network.AWS.IoT.ListThingTypes

Data ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

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

Defined in Network.AWS.IoT.ListThingTypes

Show ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Generic ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Associated Types

type Rep ListThingTypes :: Type -> Type #

Hashable ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

AWSPager ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

AWSRequest ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Associated Types

type Rs ListThingTypes :: Type #

ToHeaders ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

ToPath ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

ToQuery ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

NFData ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Methods

rnf :: ListThingTypes -> () #

type Rep ListThingTypes Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

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

Defined in Network.AWS.IoT.ListThingTypes

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

Defined in Network.AWS.IoT.ListThingTypes

Data ListThingTypesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

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

Defined in Network.AWS.IoT.ListThingTypes

Show ListThingTypesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Generic ListThingTypesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Associated Types

type Rep ListThingTypesResponse :: Type -> Type #

NFData ListThingTypesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

Methods

rnf :: ListThingTypesResponse -> () #

type Rep ListThingTypesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListThingTypes

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