deleteClusterPolicy method

Future<void> deleteClusterPolicy({
  1. required String clusterArn,
})

Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.

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

Parameter clusterArn : The Amazon Resource Name (ARN) of the cluster.

Implementation

Future<void> deleteClusterPolicy({
  required String clusterArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/clusters/${Uri.encodeComponent(clusterArn)}/policy',
    exceptionFnMap: _exceptionFns,
  );
}