deleteConfiguration method

Future<DeleteConfigurationResponse> deleteConfiguration({
  1. required String arn,
})

Deletes an MSK Configuration.

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

Parameter arn :

The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration.

Implementation

Future<DeleteConfigurationResponse> deleteConfiguration({
  required String arn,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/configurations/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteConfigurationResponse.fromJson(response);
}