Class: Aws::MediaConvert::Types::TagResourceRequest

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

Overview

Note:

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

{
  arn: "__string", # required
  tags: { # required
    "__string" => "__string",
  },
}

To add tags to a queue, preset, or job template, send a request with the Amazon Resource Name (ARN) of the resource and the tags that you want to add.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.

Returns:

  • (String)


13381
13382
13383
13384
13385
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13381

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.

Returns:

  • (Hash<String,String>)


13381
13382
13383
13384
13385
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13381

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  include Aws::Structure
end