Method: Aws::APIGateway::Types::IntegrationResponse#content_handling

Defined in:
lib/aws-sdk-apigateway/types.rb

#content_handlingString

Specifies how to handle response payload content type conversions. Supported values are ‘CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`, with the following behaviors:

  • ‘CONVERT_TO_BINARY`: Converts a response payload from a Base64-encoded string to the corresponding binary blob.

  • ‘CONVERT_TO_TEXT`: Converts a response payload from a binary blob to a Base64-encoded string.

If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.

Returns:

  • (String)
[View source]

4563
4564
4565
4566
4567
4568
4569
4570
# File 'lib/aws-sdk-apigateway/types.rb', line 4563

class IntegrationResponse < Struct.new(
  :status_code,
  :selection_pattern,
  :response_parameters,
  :response_templates,
  :content_handling)
  include Aws::Structure
end