Safe Haskell | None |
---|---|
Language | Haskell2010 |
IntegrationResponse is a property of the Amazon API Gateway Method Integration property that specifies the response that Amazon API Gateway (API Gateway) sends after a method's back end finishes processing a request.
- data ApiGatewayIntegrationResponse = ApiGatewayIntegrationResponse {}
- apiGatewayIntegrationResponse :: ApiGatewayIntegrationResponse
- agirResponseParameters :: Lens' ApiGatewayIntegrationResponse (Maybe Object)
- agirResponseTemplates :: Lens' ApiGatewayIntegrationResponse (Maybe Object)
- agirSelectionPattern :: Lens' ApiGatewayIntegrationResponse (Maybe (Val Text))
- agirStatusCode :: Lens' ApiGatewayIntegrationResponse (Maybe (Val Text))
Documentation
data ApiGatewayIntegrationResponse Source #
Full data type definition for ApiGatewayIntegrationResponse. See
apiGatewayIntegrationResponse
for a more convenient constructor.
apiGatewayIntegrationResponse :: ApiGatewayIntegrationResponse Source #
Constructor for ApiGatewayIntegrationResponse
containing required
fields as arguments.
agirResponseParameters :: Lens' ApiGatewayIntegrationResponse (Maybe Object) Source #
The response parameters from the back-end response that API Gateway sends to the method response. Specify response parameters as key-value pairs (string-to-string maps), with a destination as the key and a source as the value. For more information, see API Gateway API Request and Response Parameter-Mapping Reference in the API Gateway Developer Guide. The destination must be an existing response parameter in the MethodResponse property. The source must be an existing method request parameter or a static value. Static values must be enclosed in single quotation marks and pre-encoded based on their destination in the request.
agirResponseTemplates :: Lens' ApiGatewayIntegrationResponse (Maybe Object) Source #
The templates used to transform the integration response body. Specify templates as key-value pairs (string-to-string maps), with a content type as the key and a template as the value. For more information, see API Gateway API Request and Response Payload-Mapping Template Reference in the API Gateway Developer Guide.
agirSelectionPattern :: Lens' ApiGatewayIntegrationResponse (Maybe (Val Text)) Source #
A regular expression that specifies which error strings or status codes from the back end map to the integration response.
agirStatusCode :: Lens' ApiGatewayIntegrationResponse (Maybe (Val Text)) Source #
The status code that API Gateway uses to map the integration response to a MethodResponse status code.