amazonka-apigateway-1.4.0: 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.GetModels

Contents

Description

Describes existing Models defined for a RestApi resource.

This operation returns paginated results.

Synopsis

Creating a Request

getModels Source

Arguments

:: Text

gmsRestAPIId

-> GetModels 

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

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

Request Lenses

gmsLimit :: Lens' GetModels (Maybe Int) Source

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

gmsPosition :: Lens' GetModels (Maybe Text) Source

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

Destructuring the Response

getModelsResponse Source

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

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

Response Lenses

gmrsItems :: Lens' GetModelsResponse [Model] Source

Gets the current Model resource in the collection.