paws.networking (version 0.1.6)

apigateway_update_method_response: Updates an existing MethodResponse resource

Description

Updates an existing MethodResponse resource.

Usage

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

Arguments

restApiId

[required] [Required] The string identifier of the associated RestApi.

resourceId

[required] [Required] The Resource identifier for the MethodResponse resource.

httpMethod

[required] [Required] The HTTP verb of the Method resource.

statusCode

[required] [Required] The status code for the MethodResponse resource.

patchOperations

A list of update operations to be applied to the specified resource and in the order specified in this list.

Request syntax

svc$update_method_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"
    )
  )
)