describeInputDevice method

Future<DescribeInputDeviceResponse> describeInputDevice({
  1. required String inputDeviceId,
})

Gets the details for the input device

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

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

Implementation

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