amazonka-apigateway-1.3.7: Amazon API Gateway SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for GetResources.

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:

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:

Response Lenses

grrsItems :: Lens' GetResourcesResponse [Resource] Source

Gets the current Resource resource in the collection.