// 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.
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.
// 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 .
func (c *Client) DescribeWorkspaces(ctx context.Context, params *DescribeWorkspacesInput, optFns ...func(*Options)) (*DescribeWorkspacesOutput, error) {
	if params == nil {
		params = &DescribeWorkspacesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeWorkspaces", params, optFns, addOperationDescribeWorkspacesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeWorkspacesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeWorkspaces ( ctx context . Context , params * DescribeWorkspacesInput , optFns ... func ( * Options ) ) ( * DescribeWorkspacesOutput , error ) { if params == nil { params = & DescribeWorkspacesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeWorkspacesMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeWorkspacesOutput ) out . ResultMetadata = metadata return out , nil }
Describes the specified WorkSpaces.
Describes the specified WorkSpaces .