Class: Aws::Athena::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "AmazonResourceName", # required
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Requests that one or more tags are added to the resource (such as a workgroup) for the specified ARN.

Returns:

  • (String)


1227
1228
1229
1230
1231
# File 'lib/aws-sdk-athena/types.rb', line 1227

class TagResourceInput < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

One or more tags, separated by commas, to be added to the resource, such as a workgroup.

Returns:



1227
1228
1229
1230
1231
# File 'lib/aws-sdk-athena/types.rb', line 1227

class TagResourceInput < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end