listInputDevices method
List input devices
May throw BadGatewayException.
May throw BadRequestException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw TooManyRequestsException.
Implementation
Future<ListInputDevicesResponse> listInputDevices({
int? maxResults,
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/prod/inputDevices',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListInputDevicesResponse.fromJson(response);
}