Class: Aws::Personalize::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "Arn", # required
  tags: [ # required
    {
      tag_key: "TagKey", # required
      tag_value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The resource's Amazon Resource Name (ARN).

Returns:

  • (String)


5673
5674
5675
5676
5677
5678
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 5673

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

#tagsArray<Types::Tag>

Tags to apply to the resource. For more information see Tagging Personalize resources.

Returns:



5673
5674
5675
5676
5677
5678
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 5673

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