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

Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.

Returns:

  • (String)

    Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.

#tagsArray<Types::Tag>

A collection of one or more tags, separated by commas, to be added to an Athena workgroup or data catalog resource.

Returns:

  • (Array<Types::Tag>)

    A collection of one or more tags, separated by commas, to be added to an Athena workgroup or data catalog resource.