You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

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)


15092
15093
15094
15095
15096
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 15092

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>)


15092
15093
15094
15095
15096
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 15092

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