| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
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.
- data ApiGatewayRestApi = ApiGatewayRestApi {
- _apiGatewayRestApiBody :: Maybe Object
 - _apiGatewayRestApiBodyS3Location :: Maybe ApiGatewayRestApiS3Location
 - _apiGatewayRestApiCloneFrom :: Maybe (Val Text)
 - _apiGatewayRestApiDescription :: Maybe (Val Text)
 - _apiGatewayRestApiFailOnWarnings :: Maybe (Val Bool')
 - _apiGatewayRestApiName :: Val Text
 - _apiGatewayRestApiParameters :: Maybe [Val Text]
 
 - apiGatewayRestApi :: Val Text -> ApiGatewayRestApi
 - agraBody :: Lens' ApiGatewayRestApi (Maybe Object)
 - agraBodyS3Location :: Lens' ApiGatewayRestApi (Maybe ApiGatewayRestApiS3Location)
 - agraCloneFrom :: Lens' ApiGatewayRestApi (Maybe (Val Text))
 - agraDescription :: Lens' ApiGatewayRestApi (Maybe (Val Text))
 - agraFailOnWarnings :: Lens' ApiGatewayRestApi (Maybe (Val Bool'))
 - agraName :: Lens' ApiGatewayRestApi (Val Text)
 - agraParameters :: Lens' ApiGatewayRestApi (Maybe [Val Text])
 
Documentation
data ApiGatewayRestApi Source #
Full data type definition for ApiGatewayRestApi. See apiGatewayRestApi
 for a more convenient constructor.
Constructors
Arguments
| :: Val Text | |
| -> ApiGatewayRestApi | 
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.
agraParameters :: Lens' ApiGatewayRestApi (Maybe [Val Text]) Source #
Custom header parameters for the request.