describeRefreshSchedule method

Future<DescribeRefreshScheduleResponse> describeRefreshSchedule({
  1. required String awsAccountId,
  2. required String dataSetId,
  3. required String scheduleId,
})

Provides a summary of a refresh schedule.

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.

Parameter scheduleId : The ID of the refresh schedule.

Implementation

Future<DescribeRefreshScheduleResponse> describeRefreshSchedule({
  required String awsAccountId,
  required String dataSetId,
  required String scheduleId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/accounts/${Uri.encodeComponent(awsAccountId)}/data-sets/${Uri.encodeComponent(dataSetId)}/refresh-schedules/${Uri.encodeComponent(scheduleId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeRefreshScheduleResponse.fromJson(response);
}