amazonka-apigateway-1.4.1: Amazon API Gateway SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.GetResources

Contents

Description

Lists information about a collection of Resource resources.

This operation returns paginated results.

Synopsis

Creating a Request

getResources Source #

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

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

data GetResources Source #

Request to list information about a collection of resources.

See: getResources smart constructor.

Instances

Eq GetResources Source # 
Data GetResources Source # 

Methods

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

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

toConstr :: GetResources -> Constr #

dataTypeOf :: GetResources -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetResources Source # 
Show GetResources Source # 
Generic GetResources Source # 

Associated Types

type Rep GetResources :: * -> * #

Hashable GetResources Source # 
NFData GetResources Source # 

Methods

rnf :: GetResources -> () #

AWSPager GetResources Source # 
AWSRequest GetResources Source # 
ToQuery GetResources Source # 
ToPath GetResources Source # 
ToHeaders GetResources Source # 
type Rep GetResources Source # 
type Rep GetResources = D1 (MetaData "GetResources" "Network.AWS.APIGateway.GetResources" "amazonka-apigateway-1.4.1-9LwN6bvDRGjBL5d3wQjvoh" False) (C1 (MetaCons "GetResources'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_grsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_grsRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetResources Source # 

Request Lenses

grsLimit :: Lens' GetResources (Maybe Int) Source #

The maximum number of Resource resources in the collection to get information about. The default limit is 25. It should be an integer between 1 - 500.

grsPosition :: Lens' GetResources (Maybe Text) Source #

The position of the next set of results in the current Resources resource to get information about.

grsRestAPIId :: Lens' GetResources Text Source #

The RestApi identifier for the Resource.

Destructuring the Response

getResourcesResponse Source #

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

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

data GetResourcesResponse Source #

Represents a collection of Resource resources.

See: getResourcesResponse smart constructor.

Instances

Eq GetResourcesResponse Source # 
Data GetResourcesResponse Source # 

Methods

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

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

toConstr :: GetResourcesResponse -> Constr #

dataTypeOf :: GetResourcesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetResourcesResponse Source # 
Show GetResourcesResponse Source # 
Generic GetResourcesResponse Source # 
NFData GetResourcesResponse Source # 

Methods

rnf :: GetResourcesResponse -> () #

type Rep GetResourcesResponse Source # 
type Rep GetResourcesResponse = D1 (MetaData "GetResourcesResponse" "Network.AWS.APIGateway.GetResources" "amazonka-apigateway-1.4.1-9LwN6bvDRGjBL5d3wQjvoh" False) (C1 (MetaCons "GetResourcesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Resource]))) ((:*:) (S1 (MetaSel (Just Symbol "_grrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_grrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

grrsItems :: Lens' GetResourcesResponse [Resource] Source #

Gets the current Resource resource in the collection.