AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::DocDB::Types::AddTagsToResourceMessage

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

Overview

Note:

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

{
  resource_name: "String", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

Represents the input to AddTagsToResource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name .

Returns:

  • (String)


91
92
93
94
95
96
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 91

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

#tagsArray<Types::Tag>

The tags to be assigned to the Amazon DocumentDB resource.

Returns:



91
92
93
94
95
96
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 91

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