@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:54:56.883Z") @Stability(value=Experimental) public class ResponseType extends software.amazon.jsii.JsiiObject
https://docs.aws.amazon.com/apigateway/latest/developerguide/supported-gateway-response-types.html| Modifier and Type | Field and Description |
|---|---|
static ResponseType |
ACCESS_DENIED
(experimental) The gateway response for authorization failure.
|
static ResponseType |
API_CONFIGURATION_ERROR
(experimental) The gateway response for an invalid API configuration.
|
static ResponseType |
AUTHORIZER_CONFIGURATION_ERROR
(experimental) The gateway response for failing to connect to a custom or Amazon Cognito authorizer.
|
static ResponseType |
AUTHORIZER_FAILURE
(experimental) The gateway response when a custom or Amazon Cognito authorizer failed to authenticate the caller.
|
static ResponseType |
BAD_REQUEST_BODY
(experimental) The gateway response when the request body cannot be validated according to an enabled request validator.
|
static ResponseType |
BAD_REQUEST_PARAMETERS
(experimental) The gateway response when the request parameter cannot be validated according to an enabled request validator.
|
static ResponseType |
DEFAULT_4_XX
(experimental) The default gateway response for an unspecified response type with the status code of 4XX.
|
static ResponseType |
DEFAULT_5_XX
(experimental) The default gateway response for an unspecified response type with a status code of 5XX.
|
static ResponseType |
EXPIRED_TOKEN
(experimental) The gateway response for an AWS authentication token expired error.
|
static ResponseType |
INTEGRATION_FAILURE
(experimental) The gateway response for an integration failed error.
|
static ResponseType |
INTEGRATION_TIMEOUT
(experimental) The gateway response for an integration timed out error.
|
static ResponseType |
INVALID_API_KEY
(experimental) The gateway response for an invalid API key submitted for a method requiring an API key.
|
static ResponseType |
INVALID_SIGNATURE
(experimental) The gateway response for an invalid AWS signature error.
|
static ResponseType |
MISSING_AUTHENTICATION_TOKEN
(experimental) The gateway response for a missing authentication token error, including the cases when the client attempts to invoke an unsupported API method or resource.
|
static ResponseType |
QUOTA_EXCEEDED
(experimental) The gateway response for the usage plan quota exceeded error.
|
static ResponseType |
REQUEST_TOO_LARGE
(experimental) The gateway response for the request too large error.
|
static ResponseType |
RESOURCE_NOT_FOUND
(experimental) The gateway response when API Gateway cannot find the specified resource after an API request passes authentication and authorization.
|
static ResponseType |
THROTTLED
(experimental) The gateway response when usage plan, method, stage, or account level throttling limits exceeded.
|
static ResponseType |
UNAUTHORIZED
(experimental) The gateway response when the custom or Amazon Cognito authorizer failed to authenticate the caller.
|
static ResponseType |
UNSUPPORTED_MEDIA_TYPE
(experimental) The gateway response when a payload is of an unsupported media type, if strict passthrough behavior is enabled.
|
static ResponseType |
WAF_FILTERED
(experimental) The gateway response when a request is blocked by AWS WAF.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ResponseType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ResponseType(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResponseType()
(experimental) Valid value of response type.
|
static ResponseType |
of(String type)
(experimental) A custom response type to support future cases.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final ResponseType ACCESS_DENIED
@Stability(value=Experimental) public static final ResponseType API_CONFIGURATION_ERROR
@Stability(value=Experimental) public static final ResponseType AUTHORIZER_CONFIGURATION_ERROR
@Stability(value=Experimental) public static final ResponseType AUTHORIZER_FAILURE
@Stability(value=Experimental) public static final ResponseType BAD_REQUEST_BODY
@Stability(value=Experimental) public static final ResponseType BAD_REQUEST_PARAMETERS
@Stability(value=Experimental) public static final ResponseType DEFAULT_4_XX
@Stability(value=Experimental) public static final ResponseType DEFAULT_5_XX
@Stability(value=Experimental) public static final ResponseType EXPIRED_TOKEN
@Stability(value=Experimental) public static final ResponseType INTEGRATION_FAILURE
@Stability(value=Experimental) public static final ResponseType INTEGRATION_TIMEOUT
@Stability(value=Experimental) public static final ResponseType INVALID_API_KEY
@Stability(value=Experimental) public static final ResponseType INVALID_SIGNATURE
@Stability(value=Experimental) public static final ResponseType MISSING_AUTHENTICATION_TOKEN
@Stability(value=Experimental) public static final ResponseType QUOTA_EXCEEDED
@Stability(value=Experimental) public static final ResponseType REQUEST_TOO_LARGE
@Stability(value=Experimental) public static final ResponseType RESOURCE_NOT_FOUND
@Stability(value=Experimental) public static final ResponseType THROTTLED
@Stability(value=Experimental) public static final ResponseType UNAUTHORIZED
@Stability(value=Experimental) public static final ResponseType UNSUPPORTED_MEDIA_TYPE
@Stability(value=Experimental) public static final ResponseType WAF_FILTERED
protected ResponseType(software.amazon.jsii.JsiiObjectRef objRef)
protected ResponseType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static ResponseType of(@NotNull String type)
type - This parameter is required.@Stability(value=Experimental) @NotNull public String getResponseType()
Copyright © 2021. All rights reserved.