Class: Aws::EMR::Types::AddTagsInput

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

Overview

Note:

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

{
  resource_id: "ResourceId", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

This input identifies an Amazon EMR resource and a list of tags to attach.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or an Amazon EMR Studio ID.

Returns:

  • (String)


325
326
327
328
329
330
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 325

class AddTagsInput < Struct.new(
  :resource_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags to associate with a resource. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.

Returns:



325
326
327
328
329
330
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 325

class AddTagsInput < Struct.new(
  :resource_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end