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 brokers.

Note:

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

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

Syntax

C#
public abstract ListBrokersResponse ListBrokers(
         ListBrokersRequest request
)

Parameters

request
Type: Amazon.MQ.Model.ListBrokersRequest

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

Return Value


The response from the ListBrokers service method, as returned by MQ.

Exceptions

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

Version Information

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

See Also