Class: Aws::APIGateway::Types::UpdateDeploymentRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass UpdateDeploymentRequest data as a hash:

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

Requests API Gateway to change information about a Deployment resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The replacement identifier for the Deployment resource to change information about.

Returns:

  • (String)


7426
7427
7428
7429
7430
7431
7432
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7426

class UpdateDeploymentRequest < Struct.new(
  :rest_api_id,
  :deployment_id,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#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:



7426
7427
7428
7429
7430
7431
7432
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7426

class UpdateDeploymentRequest < Struct.new(
  :rest_api_id,
  :deployment_id,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


7426
7427
7428
7429
7430
7431
7432
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 7426

class UpdateDeploymentRequest < Struct.new(
  :rest_api_id,
  :deployment_id,
  :patch_operations)
  SENSITIVE = []
  include Aws::Structure
end