Class: Aws::ApiGatewayV2::Types::CreateIntegrationResult

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_gateway_managedBoolean

Returns:

  • (Boolean)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#connection_idString

A string with a length between [1-1024].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#connection_typeString

Represents a connection type.

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#content_handling_strategyString

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

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#credentials_arnString

Represents an Amazon Resource Name (ARN).

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A string with a length between [0-1024].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_idString

The identifier.

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_methodString

A string with a length between [1-64].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_response_selection_expressionString

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_subtypeString

A string with a length between [1-128].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_typeString

Represents an API method integration type.

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#integration_uriString

A string representation of a URI with a length between [1-2048].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#passthrough_behaviorString

Represents passthrough behavior for an integration response. Supported only for WebSocket APIs.

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#payload_format_versionString

A string with a length between [1-64].

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#request_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 &lt;action&gt;:&lt;header|querystring|path&gt;.&lt;location&gt; 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].

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html [2]: docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html

Returns:

  • (Hash<String,String>)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#request_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>)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#response_parametersHash<String,Hash<String,String>>

Supported only for HTTP APIs. You use response parameters to transform the HTTP response from a backend integration before returning the response to clients.

Returns:

  • (Hash<String,Hash<String,String>>)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#template_selection_expressionString

Returns:

  • (String)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_in_millisInteger

An integer with a value between [50-30000].

Returns:

  • (Integer)


1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end

#tls_configTypes::TlsConfig

The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.

Returns:



1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 1731

class CreateIntegrationResult < Struct.new(
  :api_gateway_managed,
  :connection_id,
  :connection_type,
  :content_handling_strategy,
  :credentials_arn,
  :description,
  :integration_id,
  :integration_method,
  :integration_response_selection_expression,
  :integration_subtype,
  :integration_type,
  :integration_uri,
  :passthrough_behavior,
  :payload_format_version,
  :request_parameters,
  :response_parameters,
  :request_templates,
  :template_selection_expression,
  :timeout_in_millis,
  :tls_config)
  SENSITIVE = []
  include Aws::Structure
end