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

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

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


1291
1292
1293
1294
1295
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1291

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:



1291
1292
1293
1294
1295
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 1291

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