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

Class: Aws::TimestreamWrite::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn: "AmazonResourceName", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Identifies the Timestream resource to which tags should be added. This value is an Amazon Resource Name (ARN).

Returns:

  • (String)

    Identifies the Timestream resource to which tags should be added.

#tagsArray<Types::Tag>

The tags to be assigned to the Timestream resource.

Returns:

  • (Array<Types::Tag>)

    The tags to be assigned to the Timestream resource.