deleteVpcConnection method

Future<DeleteVpcConnectionResponse> deleteVpcConnection({
  1. required String arn,
})

Deletes a MSK VPC connection.

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

Parameter arn : The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.

Implementation

Future<DeleteVpcConnectionResponse> deleteVpcConnection({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/vpc-connection/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteVpcConnectionResponse.fromJson(response);
}