Class: Aws::FSx::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fsx/types.rb

Overview

Note:

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

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

The request object for the ‘TagResource` operation.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.

Returns:

  • (String)


1128
1129
1130
1131
1132
# File 'lib/aws-sdk-fsx/types.rb', line 1128

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

#tagsArray<Types::Tag>

A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.

Returns:



1128
1129
1130
1131
1132
# File 'lib/aws-sdk-fsx/types.rb', line 1128

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