Class: Aws::WorkSpaces::Types::DescribeWorkspacesRequest

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

Overview

Note:

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

{
  workspace_ids: ["WorkspaceId"],
  directory_id: "DirectoryId",
  user_name: "UserName",
  bundle_id: "BundleId",
  limit: 1,
  next_token: "PaginationToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#bundle_idString

The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.

Returns:

  • (String)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end

#directory_idString

The identifier of the directory. In addition, you can optionally specify a specific directory user (see ‘UserName`). You cannot combine this parameter with any other filter.

Returns:

  • (String)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end

#limitInteger

The maximum number of items to return.

Returns:

  • (Integer)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end

#next_tokenString

If you received a ‘NextToken` from a previous call that was paginated, provide this token to receive the next set of results.

Returns:

  • (String)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end

#user_nameString

The name of the directory user. You must specify this parameter with ‘DirectoryId`.

Returns:

  • (String)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end

#workspace_idsArray<String>

The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter.

Because the CreateWorkspaces operation is asynchronous, the identifier it returns is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information is returned.

Returns:

  • (Array<String>)


828
829
830
831
832
833
834
835
836
# File 'lib/aws-sdk-workspaces/types.rb', line 828

class DescribeWorkspacesRequest < Struct.new(
  :workspace_ids,
  :directory_id,
  :user_name,
  :bundle_id,
  :limit,
  :next_token)
  include Aws::Structure
end