putDataSetRefreshProperties method

Future<PutDataSetRefreshPropertiesResponse> putDataSetRefreshProperties({
  1. required String awsAccountId,
  2. required String dataSetId,
  3. required DataSetRefreshProperties dataSetRefreshProperties,
})

Creates or updates the dataset refresh properties for the dataset.

May throw AccessDeniedException. May throw ConflictException. May throw InternalFailureException. May throw InvalidParameterValueException. May throw LimitExceededException. May throw PreconditionNotMetException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter awsAccountId : The Amazon Web Services account ID.

Parameter dataSetId : The ID of the dataset.

Parameter dataSetRefreshProperties : The dataset refresh properties.

Implementation

Future<PutDataSetRefreshPropertiesResponse> putDataSetRefreshProperties({
  required String awsAccountId,
  required String dataSetId,
  required DataSetRefreshProperties dataSetRefreshProperties,
}) async {
  final $payload = <String, dynamic>{
    'DataSetRefreshProperties': dataSetRefreshProperties,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri:
        '/accounts/${Uri.encodeComponent(awsAccountId)}/data-sets/${Uri.encodeComponent(dataSetId)}/refresh-properties',
    exceptionFnMap: _exceptionFns,
  );
  return PutDataSetRefreshPropertiesResponse.fromJson(response);
}