getCompatibleKafkaVersions method
Gets the Apache Kafka versions to which you can update the MSK cluster.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter clusterArn :
The Amazon Resource Name (ARN) of the cluster check.
Implementation
Future<GetCompatibleKafkaVersionsResponse> getCompatibleKafkaVersions({
String? clusterArn,
}) async {
final $query = <String, List<String>>{
if (clusterArn != null) 'clusterArn': [clusterArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/compatible-kafka-versions',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetCompatibleKafkaVersionsResponse.fromJson(response);
}