Class: Aws::APIGateway::Types::PutGatewayResponseRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/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

Instance Attribute Details

#response_parametersHash<String,String>

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

Returns:

  • (Hash<String,String>)


3981
3982
3983
3984
3985
3986
3987
3988
3989
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3981

class PutGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type,
  :status_code,
  :response_parameters,
  :response_templates)
  SENSITIVE = []
  include Aws::Structure
end

#response_templatesHash<String,String>

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

Returns:

  • (Hash<String,String>)


3981
3982
3983
3984
3985
3986
3987
3988
3989
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3981

class PutGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type,
  :status_code,
  :response_parameters,
  :response_templates)
  SENSITIVE = []
  include Aws::Structure
end

#response_typeString

The response type of the associated GatewayResponse

Returns:

  • (String)


3981
3982
3983
3984
3985
3986
3987
3988
3989
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3981

class PutGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type,
  :status_code,
  :response_parameters,
  :response_templates)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


3981
3982
3983
3984
3985
3986
3987
3988
3989
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3981

class PutGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type,
  :status_code,
  :response_parameters,
  :response_templates)
  SENSITIVE = []
  include Aws::Structure
end

#status_codeString

The HTTP status code of the GatewayResponse.

Returns:

  • (String)


3981
3982
3983
3984
3985
3986
3987
3988
3989
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 3981

class PutGatewayResponseRequest < Struct.new(
  :rest_api_id,
  :response_type,
  :status_code,
  :response_parameters,
  :response_templates)
  SENSITIVE = []
  include Aws::Structure
end