listInputRoutings method
Lists one or more input routings.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
Parameter inputIdentifier :
The identifer of the routed input.
Parameter maxResults :
The maximum number of results to be returned per request.
Parameter nextToken :
The token that you can use to return the next set of results.
Implementation
Future<ListInputRoutingsResponse> listInputRoutings({
required InputIdentifier inputIdentifier,
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
250,
);
final $payload = <String, dynamic>{
'inputIdentifier': inputIdentifier,
if (maxResults != null) 'maxResults': maxResults,
if (nextToken != null) 'nextToken': nextToken,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/input-routings',
exceptionFnMap: _exceptionFns,
);
return ListInputRoutingsResponse.fromJson(response);
}