Class: Aws::IoTEvents::Types::TagResourceRequest

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the resource.

Returns:

  • (String)


4012
4013
4014
4015
4016
4017
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 4012

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

#tagsArray<Types::Tag>

The new or modified tags for the resource.

Returns:



4012
4013
4014
4015
4016
4017
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 4012

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