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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/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.

Constant Summary collapse

SENSITIVE =
[]

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)


17759
17760
17761
17762
17763
17764
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17759

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  SENSITIVE = []
  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>)


17759
17760
17761
17762
17763
17764
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17759

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