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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

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)


2323
2324
2325
2326
2327
2328
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2323

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

#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:



2323
2324
2325
2326
2327
2328
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 2323

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