Class: Aws::SNS::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::TagResourceRequest
- Includes:
- Aws::Structure
- Defined in:
- 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.
2207 2208 2209 2210 2211 2212 |
# File 'lib/aws-sdk-sns/types.rb', line 2207 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.
2207 2208 2209 2210 2211 2212 |
# File 'lib/aws-sdk-sns/types.rb', line 2207 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |