deleteVpcLink method

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

Deletes an existing VpcLink of a specified identifier.

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

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

Implementation

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