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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceInput as input to an Aws::Client method, you can use a vanilla 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)

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

#tagsArray<Types::Tag>

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

Returns:

  • (Array<Types::Tag>)

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