Class: Aws::SNS::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::TagResourceRequest
- 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
-
#resource_arn ⇒ String
The ARN of the topic to which to add tags.
-
#tags ⇒ Array<Types::Tag>
The tags to be added to the specified topic.
Instance Attribute Details
#resource_arn ⇒ String
The ARN of the topic to which to add tags.
2383 2384 2385 2386 2387 2388 |
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2383 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to be added to the specified topic. A tag consists of a required key and an optional value.
2383 2384 2385 2386 2387 2388 |
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2383 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |