Class: Aws::ECS::Types::DeleteAttributesRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

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

{
  cluster: "String",
  attributes: [ # required
    {
      name: "String", # required
      value: "String",
      target_type: "container-instance", # accepts container-instance
      target_id: "String",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::Attribute>

The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.

Returns:


3466
3467
3468
3469
3470
3471
# File 'lib/aws-sdk-ecs/types.rb', line 3466

class DeleteAttributesRequest < Struct.new(
  :cluster,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)

3466
3467
3468
3469
3470
3471
# File 'lib/aws-sdk-ecs/types.rb', line 3466

class DeleteAttributesRequest < Struct.new(
  :cluster,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end