Safe Haskell | None |
---|---|
Language | Haskell2010 |
The AWS::ApiGateway::Model resource defines the structure of a request or response payload for an Amazon API Gateway (API Gateway) method.
- data ApiGatewayModel = ApiGatewayModel {}
- apiGatewayModel :: Val Text -> ApiGatewayModel
- agmContentType :: Lens' ApiGatewayModel (Maybe (Val Text))
- agmDescription :: Lens' ApiGatewayModel (Maybe (Val Text))
- agmName :: Lens' ApiGatewayModel (Maybe (Val Text))
- agmRestApiId :: Lens' ApiGatewayModel (Val Text)
- agmSchema :: Lens' ApiGatewayModel (Maybe Object)
Documentation
data ApiGatewayModel Source #
Full data type definition for ApiGatewayModel. See apiGatewayModel
for
a more convenient constructor.
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.