getBootstrapBrokers method
A list of brokers that a client application can use to bootstrap.
May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ConflictException. May throw ForbiddenException.
Parameter clusterArn
:
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Implementation
Future<GetBootstrapBrokersResponse> getBootstrapBrokers({
required String clusterArn,
}) async {
ArgumentError.checkNotNull(clusterArn, 'clusterArn');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v1/clusters/${Uri.encodeComponent(clusterArn)}/bootstrap-brokers',
exceptionFnMap: _exceptionFns,
);
return GetBootstrapBrokersResponse.fromJson(response);
}