listRefreshSchedules method
Lists the refresh schedules of a dataset. Each dataset can have up to 5 schedules.
May throw AccessDeniedException.
May throw InternalFailureException.
May throw InvalidParameterValueException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The Amazon Web Services account ID.
Parameter dataSetId :
The ID of the dataset.
Implementation
Future<ListRefreshSchedulesResponse> listRefreshSchedules({
required String awsAccountId,
required String dataSetId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/data-sets/${Uri.encodeComponent(dataSetId)}/refresh-schedules',
exceptionFnMap: _exceptionFns,
);
return ListRefreshSchedulesResponse.fromJson(response);
}