AWS SDK Version 3 for .NET
API Reference

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.

Describes the specified WorkSpaces.

You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeWorkspacesAsync.

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeWorkspacesResponse DescribeWorkspaces(
         DescribeWorkspacesRequest request
)

Parameters

request
Type: Amazon.WorkSpaces.Model.DescribeWorkspacesRequest

Container for the necessary parameters to execute the DescribeWorkspaces service method.

Return Value


The response from the DescribeWorkspaces service method, as returned by WorkSpaces.

Exceptions

ExceptionCondition
InvalidParameterValuesException One or more parameter values are not valid.
ResourceUnavailableException The specified resource is not available.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also