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)


3015
3016
3017
3018
3019
3020
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 3015

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:



3015
3016
3017
3018
3019
3020
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 3015

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