You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AlexaForBusiness::Types::TagResourceRequest

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

Overview

Note:

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

{
  arn: "Arn", # required
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the resource to which to add metadata tags. Required.

Returns:

  • (String)


1845
1846
1847
1848
1849
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 1845

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be added to the specified resource. Do not provide system tags. Required.

Returns:



1845
1846
1847
1848
1849
# File 'gems/aws-sdk-alexaforbusiness/lib/aws-sdk-alexaforbusiness/types.rb', line 1845

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  include Aws::Structure
end