amazonka-greengrass-1.5.0: Amazon Greengrass SDK.

Copyright(c) 2013-2017 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.Greengrass.ListDeviceDefinitions

Contents

Description

Retrieves a list of device definitions.

Synopsis

Creating a Request

listDeviceDefinitions :: ListDeviceDefinitions Source #

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

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

  • lddNextToken - Specifies the pagination token used when iterating through a paginated request
  • lddMaxResults - Specifies the maximum number of list results to be returned in this page

data ListDeviceDefinitions Source #

See: listDeviceDefinitions smart constructor.

Instances

Eq ListDeviceDefinitions Source # 
Data ListDeviceDefinitions Source # 

Methods

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

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

toConstr :: ListDeviceDefinitions -> Constr #

dataTypeOf :: ListDeviceDefinitions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeviceDefinitions Source # 
Show ListDeviceDefinitions Source # 
Generic ListDeviceDefinitions Source # 
Hashable ListDeviceDefinitions Source # 
NFData ListDeviceDefinitions Source # 

Methods

rnf :: ListDeviceDefinitions -> () #

AWSRequest ListDeviceDefinitions Source # 
ToQuery ListDeviceDefinitions Source # 
ToPath ListDeviceDefinitions Source # 
ToHeaders ListDeviceDefinitions Source # 
type Rep ListDeviceDefinitions Source # 
type Rep ListDeviceDefinitions = D1 (MetaData "ListDeviceDefinitions" "Network.AWS.Greengrass.ListDeviceDefinitions" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "ListDeviceDefinitions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lddNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lddMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs ListDeviceDefinitions Source # 

Request Lenses

lddNextToken :: Lens' ListDeviceDefinitions (Maybe Text) Source #

Specifies the pagination token used when iterating through a paginated request

lddMaxResults :: Lens' ListDeviceDefinitions (Maybe Text) Source #

Specifies the maximum number of list results to be returned in this page

Destructuring the Response

listDeviceDefinitionsResponse Source #

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

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

data ListDeviceDefinitionsResponse Source #

See: listDeviceDefinitionsResponse smart constructor.

Instances

Eq ListDeviceDefinitionsResponse Source # 
Data ListDeviceDefinitionsResponse Source # 

Methods

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

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

toConstr :: ListDeviceDefinitionsResponse -> Constr #

dataTypeOf :: ListDeviceDefinitionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListDeviceDefinitionsResponse Source # 
Show ListDeviceDefinitionsResponse Source # 
Generic ListDeviceDefinitionsResponse Source # 
NFData ListDeviceDefinitionsResponse Source # 
type Rep ListDeviceDefinitionsResponse Source # 
type Rep ListDeviceDefinitionsResponse = D1 (MetaData "ListDeviceDefinitionsResponse" "Network.AWS.Greengrass.ListDeviceDefinitions" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "ListDeviceDefinitionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lddrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lddrsDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DefinitionInformation]))) (S1 (MetaSel (Just Symbol "_lddrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lddrsNextToken :: Lens' ListDeviceDefinitionsResponse (Maybe Text) Source #

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