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.UpdateRestAPI

Contents

Description

Changes information about the specified API.

Synopsis

Creating a Request

updateRestAPI Source

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

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

Request Lenses

uraPatchOperations :: Lens' UpdateRestAPI [PatchOperation] Source

A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

uraRestAPIId :: Lens' UpdateRestAPI Text Source

The ID of the RestApi you want to update.

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.