Class: Aws::APIGateway::Types::GatewayResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::GatewayResponse
- Defined in:
- gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb
Overview
A gateway response of a given response type and status code, with optional response parameters and mapping templates.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#default_response ⇒ Boolean
A Boolean flag to indicate whether this GatewayResponse is the default gateway response (
true
) or not (false
). -
#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.
-
#status_code ⇒ String
The HTTP status code for this GatewayResponse.
Instance Attribute Details
#default_response ⇒ Boolean
A Boolean flag to indicate whether this GatewayResponse is the
default gateway response (true
) or not (false
). A default
gateway response is one generated by API Gateway without any
customization by an API developer.
2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2079 class GatewayResponse < Struct.new( :response_type, :status_code, :response_parameters, :response_templates, :default_response) SENSITIVE = [] include Aws::Structure end |
#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.
2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2079 class GatewayResponse < Struct.new( :response_type, :status_code, :response_parameters, :response_templates, :default_response) 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.
2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2079 class GatewayResponse < Struct.new( :response_type, :status_code, :response_parameters, :response_templates, :default_response) SENSITIVE = [] include Aws::Structure end |
#response_type ⇒ String
The response type of the associated GatewayResponse.
2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2079 class GatewayResponse < Struct.new( :response_type, :status_code, :response_parameters, :response_templates, :default_response) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ String
The HTTP status code for this GatewayResponse.
2079 2080 2081 2082 2083 2084 2085 2086 2087 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2079 class GatewayResponse < Struct.new( :response_type, :status_code, :response_parameters, :response_templates, :default_response) SENSITIVE = [] include Aws::Structure end |