listCollaborationMLInputChannels method
Returns a list of the ML input channels in a collaboration.
May throw AccessDeniedException.
May throw ThrottlingException.
May throw ValidationException.
Parameter collaborationIdentifier :
The collaboration ID of the collaboration that contains the ML input
channels that you want to list.
Parameter maxResults :
The maximum number of results to return.
Parameter nextToken :
The token value retrieved from a previous call to access the next page of
results.
Implementation
Future<ListCollaborationMLInputChannelsResponse>
listCollaborationMLInputChannels({
required String collaborationIdentifier,
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
100,
);
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:
'/collaborations/${Uri.encodeComponent(collaborationIdentifier)}/ml-input-channels',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListCollaborationMLInputChannelsResponse.fromJson(response);
}