acceptInputDeviceTransfer method

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

Accept an incoming input device transfer. The ownership of the device will transfer to your AWS account.

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 accept. For example, hd-123456789abcdef.

Implementation

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