Class: Aws::APIGateway::Types::PutGatewayResponseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::PutGatewayResponseRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#response_parameters ⇒ Hash<String,String>
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
The response type of the associated GatewayResponse.
-
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
-
#status_code ⇒ String
The HTTP status code of the GatewayResponse.
Instance Attribute Details
#response_parameters ⇒ Hash<String,String>
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4148 class PutGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :status_code, :response_parameters, :response_templates) SENSITIVE = [] include Aws::Structure end |
#response_templates ⇒ Hash<String,String>
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4148 class PutGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :status_code, :response_parameters, :response_templates) SENSITIVE = [] include Aws::Structure end |
#response_type ⇒ String
The response type of the associated GatewayResponse
4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4148 class PutGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :status_code, :response_parameters, :response_templates) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4148 class PutGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :status_code, :response_parameters, :response_templates) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ String
The HTTP status code of the GatewayResponse.
4148 4149 4150 4151 4152 4153 4154 4155 4156 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4148 class PutGatewayResponseRequest < Struct.new( :rest_api_id, :response_type, :status_code, :response_parameters, :response_templates) SENSITIVE = [] include Aws::Structure end |