Skip to content

Get Method Response

apigateway_get_method_response R Documentation

Describes a MethodResponse resource

Description

Describes a MethodResponse resource.

Usage

apigateway_get_method_response(restApiId, resourceId, httpMethod,
  statusCode)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

resourceId

[required] The Resource identifier for the MethodResponse resource.

httpMethod

[required] The HTTP verb of the Method resource.

statusCode

[required] The status code for the MethodResponse resource.

Value

A list with the following syntax:

list(
  statusCode = "string",
  responseParameters = list(
    TRUE|FALSE
  ),
  responseModels = list(
    "string"
  )
)

Request syntax

svc$get_method_response(
  restApiId = "string",
  resourceId = "string",
  httpMethod = "string",
  statusCode = "string"
)