Class: Aws::ApiGatewayV2::Types::CreateIntegrationResponseResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_handling_strategyString

Specifies how to handle response payload content type conversions. Supported only for WebSocket APIs.

Returns:

  • (String)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end

#integration_response_idString

The identifier.

Returns:

  • (String)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end

#integration_response_keyString

After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See Selection Expressions for a list of expressions and each expression's associated selection key type.

Returns:

  • (String)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end

#response_parametersHash<String,String>

For WebSocket APIs, a key-value map specifying request parameters that are passed from the method request to the backend. The key is an integration request parameter name and the associated value is a method request parameter value or static value that must be enclosed within single quotes and pre-encoded as required by the backend. The method request parameter value must match the pattern of method.request.{location\}.{name\} , where {location\} is querystring, path, or header; and {name\} must be a valid and unique method request parameter name.

For HTTP API integrations with a specified integrationSubtype, request parameters are a key-value map specifying parameters that are passed to AWS_PROXY integrations. You can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Working with AWS service integrations for HTTP APIs.

For HTTP API integrations without a specified integrationSubtype request parameters are a key-value map specifying how to transform HTTP requests before sending them to the backend. The key should follow the pattern <action>:<header|querystring|path>.<location> where action can be append, overwrite or remove. For values, you can provide static values, or map request data, stage variables, or context variables that are evaluated at runtime. To learn more, see Transforming API requests and responses.

Returns:

  • (Hash<String,String>)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end

#response_templatesHash<String,String>

A mapping of identifier keys to templates. The value is an actual template script. The key is typically a SelectionKey which is chosen based on evaluating a selection expression.

Returns:

  • (Hash<String,String>)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end

#template_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)


1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1969

class CreateIntegrationResponseResponse < Struct.new(
  :content_handling_strategy,
  :integration_response_id,
  :integration_response_key,
  :response_parameters,
  :response_templates,
  :template_selection_expression)
  SENSITIVE = []
  include Aws::Structure
end