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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.IntegrationResponse
IntegrationResponse.Builder, IntegrationResponse.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(IntegrationResponse.Builder builder) Constructor that initializes the object based on literal property values passed by theIntegrationResponse.Builder.protectedJsii$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.JsonNodefinal booleanfinal ContentHandlingSpecifies 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 StringSpecifies the regular expression (regex) pattern used to choose an integration response based on the response from the back end.final StringThe status code that API Gateway uses to map the integration response to a MethodResponse status code.final inthashCode()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:IntegrationResponseThe status code that API Gateway uses to map the integration response to a MethodResponse status code.- Specified by:
getStatusCodein interfaceIntegrationResponse
-
getContentHandling
Description copied from interface:IntegrationResponseSpecifies 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:
getContentHandlingin interfaceIntegrationResponse
-
getResponseParameters
Description copied from interface:IntegrationResponseThe 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:
getResponseParametersin interfaceIntegrationResponse- See Also:
-
getResponseTemplates
Description copied from interface:IntegrationResponseThe 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:
getResponseTemplatesin interfaceIntegrationResponse- See Also:
-
getSelectionPattern
Description copied from interface:IntegrationResponseSpecifies 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:
getSelectionPatternin interfaceIntegrationResponse- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-