apigateway_update_method_response: Updates an existing MethodResponse resource

Description Usage Arguments Value Request syntax

View source: R/apigateway_operations.R

Description

Updates an existing MethodResponse resource.

Usage

1
2
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.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
9
list(
  statusCode = "string",
  responseParameters = list(
    TRUE|FALSE
  ),
  responseModels = list(
    "string"
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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"
    )
  )
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.