Class IntegrationResponse.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.IntegrationResponse.Jsii$Proxy
- All Implemented Interfaces:
IntegrationResponse
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
IntegrationResponse
@Stability(Stable)
@Internal
public static final class IntegrationResponse.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IntegrationResponse
An implementation for
IntegrationResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.IntegrationResponse
IntegrationResponse.Builder, IntegrationResponse.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(IntegrationResponse.Builder builder) Constructor that initializes the object based on literal property values passed by theIntegrationResponse.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final ContentHandling
Specifies how to handle request payload content type conversions.The response parameters from the backend response that API Gateway sends to the method response.The templates that are used to transform the integration response body.final String
Specifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end.final String
The status code that API Gateway uses to map the integration response to a MethodResponse status code.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theIntegrationResponse.Builder
.
-
-
Method Details
-
getStatusCode
Description copied from interface:IntegrationResponse
The status code that API Gateway uses to map the integration response to a MethodResponse status code.- Specified by:
getStatusCode
in interfaceIntegrationResponse
-
getContentHandling
Description copied from interface:IntegrationResponse
Specifies how to handle request payload content type conversions.Default: none the request payload is passed through from the method request to the integration request without modification.
- Specified by:
getContentHandling
in interfaceIntegrationResponse
-
getResponseParameters
Description copied from interface:IntegrationResponse
The response parameters from the backend response that API Gateway sends to the method response.Use the destination as the key and the source as the value:
- 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. You must enclose static values in single quotation marks and pre-encode these values based on the destination specified in the request.
- Specified by:
getResponseParameters
in interfaceIntegrationResponse
- See Also:
-
getResponseTemplates
Description copied from interface:IntegrationResponse
The templates that are used to transform the integration response body.Specify templates as key-value pairs, with a content type as the key and a template as the value.
- Specified by:
getResponseTemplates
in interfaceIntegrationResponse
- See Also:
-
getSelectionPattern
Description copied from interface:IntegrationResponse
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
.+
regex to match error response. However, make sure that the error response does not contain any newline (\n
) character in such cases. If the back end is an AWS Lambda function, the AWS Lambda function error header is matched. For all other HTTP and AWS back ends, the HTTP status code is matched.- Specified by:
getSelectionPattern
in interfaceIntegrationResponse
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-