Class: Aws::SNS::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/lib/aws-sdk-sns/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 topic to which to add tags.

Returns:

  • (String)


2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2205

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

#tagsArray<Types::Tag>

The tags to be added to the specified topic. A tag consists of a required key and an optional value.

Returns:



2205
2206
2207
2208
2209
2210
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2205

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