Class: Aws::Schemas::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "__string", # required
  tags: { # required
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Returns:

  • (String)


1958
1959
1960
1961
1962
1963
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1958

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

#tagsHash<String,String>

Key-value pairs associated with a resource.

Returns:

  • (Hash<String,String>)


1958
1959
1960
1961
1962
1963
# File 'gems/aws-sdk-schemas/lib/aws-sdk-schemas/types.rb', line 1958

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