View source: R/apigateway_operations.R
| apigateway_put_integration | R Documentation |
Sets up a method's integration.
See https://www.paws-r-sdk.com/docs/apigateway_put_integration/ for full documentation.
apigateway_put_integration(
restApiId,
resourceId,
httpMethod,
type,
integrationHttpMethod = NULL,
uri = NULL,
connectionType = NULL,
connectionId = NULL,
credentials = NULL,
requestParameters = NULL,
requestTemplates = NULL,
passthroughBehavior = NULL,
cacheNamespace = NULL,
cacheKeyParameters = NULL,
contentHandling = NULL,
timeoutInMillis = NULL,
tlsConfig = NULL,
responseTransferMode = NULL,
integrationTarget = NULL
)
restApiId |
[required] The string identifier of the associated RestApi. |
resourceId |
[required] Specifies a put integration request's resource ID. |
httpMethod |
[required] Specifies the HTTP method for the integration. |
type |
[required] Specifies a put integration input's type. |
integrationHttpMethod |
The HTTP method for the integration. |
uri |
Specifies Uniform Resource Identifier (URI) of the integration endpoint. For HTTP or |
connectionType |
The type of the network connection to the integration endpoint. The valid value is |
connectionId |
The ID of the VpcLink used for the integration. Specify this value only if you specify |
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. You can increase the default value to longer than 29 seconds for Regional or private APIs only. |
tlsConfig |
Specifies the TLS configuration for an integration. |
responseTransferMode |
The response transfer mode of the integration. |
integrationTarget |
The ALB or NLB listener to send the request to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.