cancelInputDeviceTransfer method
Cancel an input device transfer that you have requested.
May throw BadRequestException. May throw UnprocessableEntityException. May throw InternalServerErrorException. May throw ForbiddenException. May throw BadGatewayException. May throw NotFoundException. May throw GatewayTimeoutException. May throw TooManyRequestsException. May throw ConflictException.
Parameter inputDeviceId
:
The unique ID of the input device to cancel. For example,
hd-123456789abcdef.
Implementation
Future<void> cancelInputDeviceTransfer({
required String inputDeviceId,
}) async {
ArgumentError.checkNotNull(inputDeviceId, 'inputDeviceId');
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/prod/inputDevices/${Uri.encodeComponent(inputDeviceId)}/cancel',
exceptionFnMap: _exceptionFns,
);
}