Sets up a method's integration
Sets up a method's integration.
apigateway_put_integration(restApiId, resourceId, httpMethod, type, integrationHttpMethod, uri, connectionType, connectionId, credentials, requestParameters, requestTemplates, passthroughBehavior, cacheNamespace, cacheKeyParameters, contentHandling, timeoutInMillis, tlsConfig)
restApiId |
[required] [Required] The string identifier of the associated RestApi. |
resourceId |
[required] [Required] Specifies a put integration request's resource ID. |
httpMethod |
[required] [Required] Specifies a put integration request's HTTP method. |
type |
[required] [Required] Specifies a put integration input's type. |
integrationHttpMethod |
Specifies a put integration HTTP method. When the integration type is HTTP or AWS, this field is required. |
uri |
Specifies Uniform Resource Identifier (URI) of the integration endpoint.
|
connectionType |
The type of the network connection to the integration endpoint. The
valid value is |
connectionId |
The
( |
credentials |
Specifies whether credentials are required for a put integration. |
requestParameters |
A key-value map specifying request parameters that are passed from the
method request to the back end. 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 back end. The method request parameter
value must match the pattern of |
requestTemplates |
Represents a map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client. The content type value is the key in this map, and the template (as a String) is the value. |
passthroughBehavior |
Specifies the pass-through behavior for incoming requests based on the
Content-Type header in the request, and the available mapping templates
specified as the
|
cacheNamespace |
Specifies a group of related cached parameters. By default, API Gateway
uses the resource ID as the |
cacheKeyParameters |
A list of request parameters whose values API Gateway caches. To be
valid values for |
contentHandling |
Specifies how to handle request payload content type conversions.
Supported values are
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 |
timeoutInMillis |
Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. |
tlsConfig |
A list with the following syntax:
list( type = "HTTP"|"AWS"|"MOCK"|"HTTP_PROXY"|"AWS_PROXY", httpMethod = "string", uri = "string", connectionType = "INTERNET"|"VPC_LINK", connectionId = "string", credentials = "string", requestParameters = list( "string" ), requestTemplates = list( "string" ), passthroughBehavior = "string", contentHandling = "CONVERT_TO_BINARY"|"CONVERT_TO_TEXT", timeoutInMillis = 123, cacheNamespace = "string", cacheKeyParameters = list( "string" ), integrationResponses = list( list( statusCode = "string", selectionPattern = "string", responseParameters = list( "string" ), responseTemplates = list( "string" ), contentHandling = "CONVERT_TO_BINARY"|"CONVERT_TO_TEXT" ) ), tlsConfig = list( insecureSkipVerification = TRUE|FALSE ) )
svc$put_integration( restApiId = "string", resourceId = "string", httpMethod = "string", type = "HTTP"|"AWS"|"MOCK"|"HTTP_PROXY"|"AWS_PROXY", integrationHttpMethod = "string", uri = "string", connectionType = "INTERNET"|"VPC_LINK", connectionId = "string", credentials = "string", requestParameters = list( "string" ), requestTemplates = list( "string" ), passthroughBehavior = "string", cacheNamespace = "string", cacheKeyParameters = list( "string" ), contentHandling = "CONVERT_TO_BINARY"|"CONVERT_TO_TEXT", timeoutInMillis = 123, tlsConfig = list( insecureSkipVerification = TRUE|FALSE ) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.