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

Implementation

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