class
Amazonite::ApiGateway::PutGatewayResponseRequest
- Amazonite::ApiGateway::PutGatewayResponseRequest
- Reference
- Object
Overview
Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/put_gateway_response_request.crConstructors
- .new(rest_api_id : String, response_type : GatewayResponseType, status_code : String | Nil = nil, response_parameters : Hash(String, String) | Nil = nil, response_templates : Hash(String, String) | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#response_parameters : Hash(String, String) | Nil
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
-
#response_parameters=(response_parameters : Hash(String, String) | Nil)
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) | Nil
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
-
#response_templates=(response_templates : Hash(String, String) | Nil)
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
-
#response_type : GatewayResponseType
The response type of the associated GatewayResponse
-
#response_type=(response_type : GatewayResponseType)
The response type of the associated GatewayResponse
-
#rest_api_id : String
The string identifier of the associated RestApi.
-
#rest_api_id=(rest_api_id : String)
The string identifier of the associated RestApi.
-
#status_code : String | Nil
The HTTP status code of the GatewayResponse.
-
#status_code=(status_code : String | Nil)
The HTTP status code of the GatewayResponse.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
Response 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.
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
The response type of the associated GatewayResponse