cancelInputDeviceTransfer method

Future<void> cancelInputDeviceTransfer({
  1. required String inputDeviceId,
})

Cancel an input device transfer that you have requested.

May throw BadGatewayException. May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException. May throw UnprocessableEntityException.

Parameter inputDeviceId : The unique ID of the input device to cancel. For example, hd-123456789abcdef.

Implementation

Future<void> cancelInputDeviceTransfer({
  required String inputDeviceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/prod/inputDevices/${Uri.encodeComponent(inputDeviceId)}/cancel',
    exceptionFnMap: _exceptionFns,
  );
}