ResponseParameters |
Map
|
Required: No. 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. |
ResponseTemplates |
Map
|
Required: No. 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. |
SelectionPattern |
String
|
Required: No. A regular expression that specifies which error strings or status codes from the back end map to the integration response. |
StatusCode |
String
|
Required: No. The status code that API Gateway uses to map the integration response to a MethodResponse status code. |