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

Class: Aws::Glue::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Note:

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

{
  resource_arn: "GlueResourceArn", # required
  tags_to_add: { # required
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the AWS Glue resource to which to add the tags. For more information about AWS Glue resource ARNs, see the AWS Glue ARN string pattern.

Returns:

  • (String)


10434
10435
10436
10437
10438
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 10434

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags_to_add)
  include Aws::Structure
end

#tags_to_addHash<String,String>

Tags to add to this resource.

Returns:

  • (Hash<String,String>)


10434
10435
10436
10437
10438
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 10434

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags_to_add)
  include Aws::Structure
end