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

Class: Aws::WorkSpaces::Types::CreateTagsRequest

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

Overview

Note:

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

{
  resource_id: "NonEmptyString", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

The request of the CreateTags operation.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The resource ID of the request.

Returns:

  • (String)


49
50
51
52
53
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 49

class CreateTagsRequest < Struct.new(
  :resource_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags of the request.

Returns:



49
50
51
52
53
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 49

class CreateTagsRequest < Struct.new(
  :resource_id,
  :tags)
  include Aws::Structure
end