Class: Aws::LocationService::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "Arn", # 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 resource whose tags you want to update.

  • Format example: arn:aws:geo:region:account-id:resourcetype/ExampleResource

^

Returns:

  • (String)


4679
4680
4681
4682
4683
4684
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4679

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

#tagsHash<String,String>

Tags that have been applied to the specified resource. Tags are mapped from the tag key to the tag value: "TagKey" : "TagValue".

  • Format example: \{"tag1" : "value1", "tag2" : "value2"\}

^

Returns:

  • (Hash<String,String>)


4679
4680
4681
4682
4683
4684
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4679

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