Class: Aws::WorkLink::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "FleetArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the fleet.

Returns:

  • (String)


1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb', line 1234

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

#tagsHash<String,String>

The tags to add to the resource. A tag is a key-value pair.

Returns:

  • (Hash<String,String>)


1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb', line 1234

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