listMediaInsightsPipelineConfigurations method
Lists the available media insights pipeline configurations.
May throw BadRequestException.
May throw ForbiddenException.
May throw ResourceLimitExceededException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter maxResults :
The maximum number of results to return in a single call.
Parameter nextToken :
The token used to return the next page of results.
Implementation
Future<ListMediaInsightsPipelineConfigurationsResponse>
listMediaInsightsPipelineConfigurations({
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
100,
);
final $query = <String, List<String>>{
if (maxResults != null) 'max-results': [maxResults.toString()],
if (nextToken != null) 'next-token': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/media-insights-pipeline-configurations',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListMediaInsightsPipelineConfigurationsResponse.fromJson(response);
}