amazonka-apigateway-1.3.6: 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.GetRestAPI

Contents

Description

Lists the RestApi resource in the collection.

See: AWS API Reference for GetRestAPI.

Synopsis

Creating a Request

getRestAPI Source

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

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

Request Lenses

graRestAPIId :: Lens' GetRestAPI Text Source

The identifier of the RestApi resource.

Destructuring the Response

restAPI :: RestAPI Source

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

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

Response Lenses

raCreatedDate :: Lens' RestAPI (Maybe UTCTime) Source

The date when the API was created, in ISO 8601 format.

raName :: Lens' RestAPI (Maybe Text) Source

The API's name.

raId :: Lens' RestAPI (Maybe Text) Source

The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.

raDescription :: Lens' RestAPI (Maybe Text) Source

The API's description.