AWS SDK Version 4 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.

Returns information about a list of specified workgroups.

Note:

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

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

Syntax

C#
public virtual ListWorkgroupsResponse ListWorkgroups(
         ListWorkgroupsRequest request
)

Parameters

request
Type: Amazon.RedshiftServerless.Model.ListWorkgroupsRequest

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

Return Value


The response from the ListWorkgroups service method, as returned by RedshiftServerless.

Exceptions

ExceptionCondition
InternalServerException The request processing has failed because of an unknown error, exception or failure.
ValidationException The input failed to satisfy the constraints specified by an Amazon Web Services service.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also