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.

Returns a list of all the MSK clusters in the current Region.

Note:

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

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

Syntax

C#
public abstract ListClustersV2Response ListClustersV2(
         ListClustersV2Request request
)

Parameters

request
Type: Amazon.Kafka.Model.ListClustersV2Request

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

Return Value


The response from the ListClustersV2 service method, as returned by Kafka.

Exceptions

ExceptionCondition
BadRequestException Returns information about an error.
ForbiddenException Returns information about an error.
InternalServerErrorException Returns information about an error.
UnauthorizedException Returns information about an error.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also