deleteVpcLink method

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

Deletes an existing VpcLink of a specified identifier.

May throw UnauthorizedException. May throw NotFoundException. May throw TooManyRequestsException. May throw BadRequestException.

Parameter vpcLinkId : Required The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

Implementation

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