You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::PutGatewayResponseRequestWhen passing PutGatewayResponseRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rest_api_id: "String", response_type: "DEFAULT_4XX", status_code: "StatusCode",
response_parameters: {
"String" => "String",
},
response_templates: {
"String" => "String",
},
}
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
Instance Attribute Summary collapseResponse parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
[Required] The response type of the associated GatewayResponse.
[Required] The string identifier of the associated RestApi.
The HTTP status code of the GatewayResponse.
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
#response_templates ⇒ Hash<String,String>Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
#response_type ⇒ String[Required] 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_TYPE
Possible values:
[Required] The string identifier of the associated RestApi.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4