Class: Aws::Transfer::Types::TagResourceRequest

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

An Amazon Resource Name (ARN) for a specific AWS resource, such as a server, user, or role.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1617

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

#tagsArray<Types::Tag>

Key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to user accounts for any purpose.

Returns:



1617
1618
1619
1620
1621
1622
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1617

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