Method: Aws::APIGateway::Types::Integration#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 ‘passthroughBehavior` is configured to support payload pass-through.

Returns:

  • (String)

4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
# File 'lib/aws-sdk-apigateway/types.rb', line 4864

class Integration < Struct.new(
  :type,
  :http_method,
  :uri,
  :connection_type,
  :connection_id,
  :credentials,
  :request_parameters,
  :request_templates,
  :passthrough_behavior,
  :content_handling,
  :timeout_in_millis,
  :cache_namespace,
  :cache_key_parameters,
  :integration_responses,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end