Class: Aws::APIGateway::Types::UpdateGatewayResponseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::UpdateGatewayResponseRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass UpdateGatewayResponseRequest data as a hash:
{
rest_api_id: "String", # required
response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED
patch_operations: [
{
op: "add", # accepts add, remove, replace, move, copy, test
path: "String",
value: "String",
from: "String",
},
],
}
Updates a GatewayResponse of a specified response type on the given RestApi.
Instance Attribute Summary collapse
-
#patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
-
#response_type ⇒ String
The response type of the associated GatewayResponse.
-
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
Instance Attribute Details
permalink #patch_operations ⇒ Array<Types::PatchOperation>
A list of update operations to be applied to the specified resource and in the order specified in this list.
6936 6937 6938 6939 6940 6941 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6936 class UpdateGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :patch_operations) include Aws::Structure end |
permalink #response_type ⇒ String
The response type of the associated GatewayResponse. Valid values are * ACCESS_DENIED
-
API_CONFIGURATION_ERROR
-
AUTHORIZER_FAILURE
-
AUTHORIZER_CONFIGURATION_ERROR
-
BAD_REQUEST_PARAMETERS
-
BAD_REQUEST_BODY
-
DEFAULT_4XX
-
DEFAULT_5XX
-
EXPIRED_TOKEN
-
INVALID_SIGNATURE
-
INTEGRATION_FAILURE
-
INTEGRATION_TIMEOUT
-
INVALID_API_KEY
-
MISSING_AUTHENTICATION_TOKEN
-
QUOTA_EXCEEDED
-
REQUEST_TOO_LARGE
-
RESOURCE_NOT_FOUND
-
THROTTLED
-
UNAUTHORIZED
-
UNSUPPORTED_MEDIA_TYPES
6936 6937 6938 6939 6940 6941 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6936 class UpdateGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :patch_operations) include Aws::Structure end |
permalink #rest_api_id ⇒ String
The string identifier of the associated RestApi.
6936 6937 6938 6939 6940 6941 |
# File 'lib/aws-sdk-apigateway/types.rb', line 6936 class UpdateGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :patch_operations) include Aws::Structure end |