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

Contents

Description

Changes information about a model.

See: AWS API Reference for UpdateModel.

Synopsis

Creating a Request

updateModel Source

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

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

Request Lenses

uPatchOperations :: Lens' UpdateModel [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.

uRestAPIId :: Lens' UpdateModel Text Source

The RestApi identifier under which the model exists.

uModelName :: Lens' UpdateModel Text Source

The name of the model to update.

Destructuring the Response

model :: Model Source

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

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

data Model Source

Represents the structure of a request or response payload for a method.

See: model smart constructor.

Response Lenses

mSchema :: Lens' Model (Maybe Text) Source

The schema for the model. For 'application\/json' models, this should be JSON-schema draft v4 model.

mName :: Lens' Model (Maybe Text) Source

The name of the model.

mId :: Lens' Model (Maybe Text) Source

The identifier for the model resource.

mDescription :: Lens' Model (Maybe Text) Source

The description of the model.

mContentType :: Lens' Model (Maybe Text) Source

The content-type for the model.