amazonka-greengrass-1.6.1: Amazon Greengrass 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.Greengrass.ListResourceDefinitions

Contents

Description

Retrieves a list of resource definitions.

Synopsis

Creating a Request

listResourceDefinitions :: ListResourceDefinitions Source #

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

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

  • lrdNextToken - The token for the next set of results, or 'null' if there are no additional results.
  • lrdMaxResults - The maximum number of results to be returned per request.

data ListResourceDefinitions Source #

See: listResourceDefinitions smart constructor.

Instances
Eq ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Data ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Methods

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

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

toConstr :: ListResourceDefinitions -> Constr #

dataTypeOf :: ListResourceDefinitions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Show ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Generic ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Associated Types

type Rep ListResourceDefinitions :: Type -> Type #

Hashable ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

AWSRequest ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Associated Types

type Rs ListResourceDefinitions :: Type #

ToHeaders ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

ToPath ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

ToQuery ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

NFData ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Methods

rnf :: ListResourceDefinitions -> () #

type Rep ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitions = D1 (MetaData "ListResourceDefinitions" "Network.AWS.Greengrass.ListResourceDefinitions" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "ListResourceDefinitions'" PrefixI True) (S1 (MetaSel (Just "_lrdNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lrdMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs ListResourceDefinitions Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Request Lenses

lrdNextToken :: Lens' ListResourceDefinitions (Maybe Text) Source #

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

lrdMaxResults :: Lens' ListResourceDefinitions (Maybe Text) Source #

The maximum number of results to be returned per request.

Destructuring the Response

listResourceDefinitionsResponse Source #

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

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

data ListResourceDefinitionsResponse Source #

See: listResourceDefinitionsResponse smart constructor.

Instances
Eq ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Data ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Methods

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

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

toConstr :: ListResourceDefinitionsResponse -> Constr #

dataTypeOf :: ListResourceDefinitionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Show ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Generic ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

Associated Types

type Rep ListResourceDefinitionsResponse :: Type -> Type #

NFData ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitionsResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.ListResourceDefinitions

type Rep ListResourceDefinitionsResponse = D1 (MetaData "ListResourceDefinitionsResponse" "Network.AWS.Greengrass.ListResourceDefinitions" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "ListResourceDefinitionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrdrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrdrsDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DefinitionInformation])) :*: S1 (MetaSel (Just "_lrdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lrdrsNextToken :: Lens' ListResourceDefinitionsResponse (Maybe Text) Source #

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