Method: Aws::APIGateway::Types::PutIntegrationRequest#content_handling

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

#content_handlingString

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

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

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

If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the ‘passthroughBehaviors` is configured to support payload pass-through.

Returns:

  • (String)

5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
# File 'lib/aws-sdk-apigateway/types.rb', line 5350

class PutIntegrationRequest < Struct.new(
  :rest_api_id,
  :resource_id,
  :http_method,
  :type,
  :integration_http_method,
  :uri,
  :connection_type,
  :connection_id,
  :credentials,
  :request_parameters,
  :request_templates,
  :passthrough_behavior,
  :cache_namespace,
  :cache_key_parameters,
  :content_handling,
  :timeout_in_millis)
  include Aws::Structure
end