stratosphere-0.2.1: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.ApiGatewayRestApi

Description

The AWS::ApiGateway::RestApi resource contains a collection of Amazon API Gateway (API Gateway) resources and methods that can be invoked through HTTPS endpoints.

Synopsis

Documentation

data ApiGatewayRestApi Source #

Full data type definition for ApiGatewayRestApi. See apiGatewayRestApi for a more convenient constructor.

Instances

Show ApiGatewayRestApi Source # 
Generic ApiGatewayRestApi Source # 
ToJSON ApiGatewayRestApi Source # 
FromJSON ApiGatewayRestApi Source # 
type Rep ApiGatewayRestApi Source # 
type Rep ApiGatewayRestApi = D1 (MetaData "ApiGatewayRestApi" "Stratosphere.Resources.ApiGatewayRestApi" "stratosphere-0.2.1-7UjeTxLOKRACY1vyFAxa7V" False) (C1 (MetaCons "ApiGatewayRestApi" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Object))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiBodyS3Location") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ApiGatewayRestApiS3Location))) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiCloneFrom") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiFailOnWarnings") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Bool'))))) ((:*:) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) (S1 (MetaSel (Just Symbol "_apiGatewayRestApiParameters") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Val Text])))))))

apiGatewayRestApi Source #

Constructor for ApiGatewayRestApi containing required fields as arguments.

agraBody :: Lens' ApiGatewayRestApi (Maybe Object) Source #

A Swagger specification that defines a set of RESTful APIs in the JSON format.

agraBodyS3Location :: Lens' ApiGatewayRestApi (Maybe ApiGatewayRestApiS3Location) Source #

The Amazon Simple Storage Service (Amazon S3) location that points to a Swagger file, which defines a set of RESTful APIs in JSON or YAML format.

agraCloneFrom :: Lens' ApiGatewayRestApi (Maybe (Val Text)) Source #

The ID of the API Gateway RestApi resource that you want to clone.

agraDescription :: Lens' ApiGatewayRestApi (Maybe (Val Text)) Source #

A description of the purpose of this API Gateway RestApi resource.

agraFailOnWarnings :: Lens' ApiGatewayRestApi (Maybe (Val Bool')) Source #

If a warning occurs while API Gateway is creating the RestApi resource, indicates whether to roll back the resource.

agraName :: Lens' ApiGatewayRestApi (Val Text) Source #

A name for the API Gateway RestApi resource.

agraParameters :: Lens' ApiGatewayRestApi (Maybe [Val Text]) Source #

Custom header parameters for the request.