describeClusterOperation method

Future<DescribeClusterOperationResponse> describeClusterOperation({
  1. required String clusterOperationArn,
})

Returns a description of the cluster operation specified by the ARN.

May throw NotFoundException. May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException.

Parameter clusterOperationArn :

The Amazon Resource Name (ARN) that uniquely identifies the MSK cluster operation.

Implementation

Future<DescribeClusterOperationResponse> describeClusterOperation({
  required String clusterOperationArn,
}) async {
  ArgumentError.checkNotNull(clusterOperationArn, 'clusterOperationArn');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/operations/${Uri.encodeComponent(clusterOperationArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeClusterOperationResponse.fromJson(response);
}