Skip to content

DescribeWorkspacesRequest

Source code in docs_src/capo_workspaces/types/describe_workspaces_request.py
class DescribeWorkspacesRequest(TypedDict, closed=True):
    workspace_ids: NotRequired[
        "capo_workspaces.types.workspace_id_list.WorkspaceIdList"
    ]
    """<p>The identifiers of the WorkSpaces. You cannot combine this parameter with any other filter.</p> <p>Because the <a>CreateWorkspaces</a> operation is asynchronous, the identifier it returns is not immediately available. If you immediately call <a>DescribeWorkspaces</a> with this identifier, no information is returned.</p>"""
    directory_id: NotRequired["capo_workspaces.types.directory_id.DirectoryId"]
    """<p>The identifier of the directory. In addition, you can optionally specify a specific directory user (see <code>UserName</code>). You cannot combine this parameter with any other filter.</p>"""
    user_name: NotRequired["capo_workspaces.types.user_name.UserName"]
    """<p>The name of the directory user. You must specify this parameter with <code>DirectoryId</code>.</p>"""
    bundle_id: NotRequired["capo_workspaces.types.bundle_id.BundleId"]
    """<p>The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.</p>"""
    limit: NotRequired["capo_workspaces.types.limit.Limit"]
    """<p>The maximum number of items to return.</p>"""
    next_token: NotRequired["capo_workspaces.types.pagination_token.PaginationToken"]
    """<p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>"""
    workspace_name: NotRequired["capo_workspaces.types.workspace_name.WorkspaceName"]
    """<p>The name of the user-decoupled WorkSpace.</p>"""

bundle_id instance-attribute

bundle_id: NotRequired[BundleId]

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

directory_id instance-attribute

directory_id: NotRequired[DirectoryId]

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.

limit instance-attribute

limit: NotRequired[Limit]

The maximum number of items to return.

next_token instance-attribute

next_token: NotRequired[PaginationToken]

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

user_name instance-attribute

user_name: NotRequired[UserName]

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

workspace_ids instance-attribute

workspace_ids: NotRequired[WorkspaceIdList]

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.

workspace_name instance-attribute

workspace_name: NotRequired[WorkspaceName]

The name of the user-decoupled WorkSpace.