Class: Aws::WorkSpaces::Types::CreateTagsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkSpaces::Types::CreateTagsRequest
- Includes:
- Structure
- Defined in:
- 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",
},
],
}
Instance Attribute Summary collapse
-
#resource_id ⇒ String
The identifier of the WorkSpace.
-
#tags ⇒ Array<Types::Tag>
The tags.
Instance Attribute Details
#resource_id ⇒ String
The identifier of the WorkSpace. To find this ID, use DescribeWorkspaces.
238 239 240 241 242 |
# File 'lib/aws-sdk-workspaces/types.rb', line 238 class CreateTagsRequest < Struct.new( :resource_id, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags. Each WorkSpace can have a maximum of 50 tags.
238 239 240 241 242 |
# File 'lib/aws-sdk-workspaces/types.rb', line 238 class CreateTagsRequest < Struct.new( :resource_id, :tags) include Aws::Structure end |