stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.ApiGatewayModel

Description

The AWS::ApiGateway::Model resource defines the structure of a request or response payload for an Amazon API Gateway (API Gateway) method.

Synopsis

Documentation

data ApiGatewayModel Source #

Full data type definition for ApiGatewayModel. See apiGatewayModel for a more convenient constructor.

Instances

Show ApiGatewayModel Source # 
Generic ApiGatewayModel Source # 
ToJSON ApiGatewayModel Source # 
FromJSON ApiGatewayModel Source # 
type Rep ApiGatewayModel Source # 
type Rep ApiGatewayModel = D1 (MetaData "ApiGatewayModel" "Stratosphere.Resources.ApiGatewayModel" "stratosphere-0.2.0-B1WeL9cnxuQ3qer3csMa6f" False) (C1 (MetaCons "ApiGatewayModel" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayModelContentType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_apiGatewayModelDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayModelName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayModelRestApiId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_apiGatewayModelSchema") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Object)))))))

apiGatewayModel Source #

Constructor for ApiGatewayModel containing required fields as arguments.

agmContentType :: Lens' ApiGatewayModel (Maybe (Val Text)) Source #

The content type for the model.

agmDescription :: Lens' ApiGatewayModel (Maybe (Val Text)) Source #

A description that identifies this model.

agmName :: Lens' ApiGatewayModel (Maybe (Val Text)) Source #

A name for the mode. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the model name. For more information, see Name Type. Important If you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.

agmRestApiId :: Lens' ApiGatewayModel (Val Text) Source #

The ID of a REST API with which to associate this model.

agmSchema :: Lens' ApiGatewayModel (Maybe Object) Source #

The schema to use to transform data to one or more output formats.