AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents an integration response. The status code must map to an existing MethodResponse, and parameters and templates can be used to transform the back-end response.
public class IntegrationResponse
The IntegrationResponse type exposes the following members
Gets and sets the property ContentHandling.
Specifies how to handle response payload content type conversions. Supported values
If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.
Gets and sets the property ResponseParameters.
A key-value map specifying response parameters that are passed to the method response
from the back end. The key is a method response header parameter name and the mapped
value is an integration response header value, a static value enclosed within a pair
of single quotes, or a JSON expression from the integration response body. The mapping
key must match the pattern of
Gets and sets the property ResponseTemplates.
Specifies the templates used to transform the integration response body. Response templates are represented as a key/value map, with a content-type as the key and a template as the value.
Gets and sets the property SelectionPattern.
Specifies the regular expression (regex) pattern used to choose an integration response
based on the response from the back end. For example, if the success response returns
nothing and the error response returns some string, you could use the
Gets and sets the property StatusCode.
Specifies the status code that is used to map the integration response to an existing MethodResponse.
Supported in: 2.0, 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms