Class: Aws::IoT::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "ResourceArn", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the resource.

Returns:

  • (String)


16911
16912
16913
16914
16915
16916
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16911

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

#tagsArray<Types::Tag>

The new or modified tags for the resource.

Returns:



16911
16912
16913
16914
16915
16916
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16911

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