Skip to content

Update Integration Response

apigateway_update_integration_response R Documentation

Represents an update integration response

Description

Represents an update integration response.

Usage

apigateway_update_integration_response(restApiId, resourceId,
  httpMethod, statusCode, patchOperations)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

resourceId

[required] Specifies an update integration response request's resource identifier.

httpMethod

[required] Specifies an update integration response request's HTTP method.

statusCode

[required] Specifies an update integration response request's status code.

patchOperations

For more information about supported patch operations, see Patch Operations.

Value

A list with the following syntax:

list(
  statusCode = "string",
  selectionPattern = "string",
  responseParameters = list(
    "string"
  ),
  responseTemplates = list(
    "string"
  ),
  contentHandling = "CONVERT_TO_BINARY"|"CONVERT_TO_TEXT"
)

Request syntax

svc$update_integration_response(
  restApiId = "string",
  resourceId = "string",
  httpMethod = "string",
  statusCode = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)