You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::APIGateway::Types::UpdateMethodResponseRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateMethodResponseRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  rest_api_id: "String", # required
  resource_id: "String", # required
  http_method: "String", # required
  status_code: "StatusCode", # required
  patch_operations: [
    {
      op: "add", # accepts add, remove, replace, move, copy, test
      path: "String",
      value: "String",
      from: "String",
    },
  ],
}

A request to update an existing MethodResponse resource.

Instance Attribute Summary collapse

Instance Attribute Details

#http_methodString

[Required] The HTTP verb of the Method resource.

Returns:

  • (String)

    [Required] The HTTP verb of the Method resource.

#patch_operationsArray<Types::PatchOperation>

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

Returns:

  • (Array<Types::PatchOperation>)

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

#resource_idString

[Required] The Resource identifier for the MethodResponse resource.

Returns:

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)

    [Required] The string identifier of the associated RestApi.

#status_codeString

[Required] The status code for the MethodResponse resource.

Returns:

  • (String)

    [Required] The status code for the MethodResponse resource.