deleteVpcLink method

Future<void> deleteVpcLink({
  1. required String vpcLinkId,
})

Deletes a VPC link.

May throw NotFoundException. May throw TooManyRequestsException.

Parameter vpcLinkId : The ID of the VPC link.

Implementation

Future<void> deleteVpcLink({
  required String vpcLinkId,
}) async {
  ArgumentError.checkNotNull(vpcLinkId, 'vpcLinkId');
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v2/vpclinks/${Uri.encodeComponent(vpcLinkId)}',
    exceptionFnMap: _exceptionFns,
  );
}