listComputationModelDataBindingUsages method
Lists all data binding usages for computation models. This allows to identify where specific data bindings are being utilized across the computation models. This track dependencies between data sources and computation models.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ThrottlingException.
Parameter dataBindingValueFilter :
A filter used to limit the returned data binding usages based on specific
data binding values. You can filter by asset, asset model, asset property,
or asset model property to find all computation models using these
specific data sources.
Parameter maxResults :
The maximum number of results returned for each paginated request.
Parameter nextToken :
The token used for the next set of paginated results.
Implementation
Future<ListComputationModelDataBindingUsagesResponse>
listComputationModelDataBindingUsages({
required DataBindingValueFilter dataBindingValueFilter,
int? maxResults,
String? nextToken,
}) async {
_s.validateNumRange(
'maxResults',
maxResults,
1,
250,
);
final $payload = <String, dynamic>{
'dataBindingValueFilter': dataBindingValueFilter,
if (maxResults != null) 'maxResults': maxResults,
if (nextToken != null) 'nextToken': nextToken,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/computation-models/data-binding-usages',
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return ListComputationModelDataBindingUsagesResponse.fromJson(response);
}