Class: Aws::MediaConvert::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::TagResourceRequest
- 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
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the resource that you want to tag.
-
#tags ⇒ Hash<String,String>
The tags that you want to add to the resource.
Instance Attribute Details
#arn ⇒ String
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.
13381 13382 13383 13384 13385 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13381 class TagResourceRequest < Struct.new( :arn, :tags) include Aws::Structure end |
#tags ⇒ Hash<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.
13381 13382 13383 13384 13385 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 13381 class TagResourceRequest < Struct.new( :arn, :tags) include Aws::Structure end |