pub struct DataReviewServiceAsyncClient<T>(/* private fields */);Expand description
The data review service manages the evaluation, disposition, and historical record of checks alerts.
Implementations§
Source§impl<T> DataReviewServiceAsyncClient<T>where
T: AsyncClient,
impl<T> DataReviewServiceAsyncClient<T>where
T: AsyncClient,
Sourcepub async fn batch_initiate(
&self,
auth_: &BearerToken,
request: &BatchInitiateDataReviewRequest,
) -> Result<BatchInitiateDataReviewResponse, Error>
pub async fn batch_initiate( &self, auth_: &BearerToken, request: &BatchInitiateDataReviewRequest, ) -> Result<BatchInitiateDataReviewResponse, Error>
For each request, initiates data review for the requested run and checklist and executes the automatic checks against the run.
Sourcepub async fn rerun_failed_automatic_checks(
&self,
auth_: &BearerToken,
request: &RerunFailedAutomaticChecksRequest,
) -> Result<(), Error>
pub async fn rerun_failed_automatic_checks( &self, auth_: &BearerToken, request: &RerunFailedAutomaticChecksRequest, ) -> Result<(), Error>
Re-executes the most recent failed automatic checks for the data review.
Sourcepub async fn find_data_reviews(
&self,
auth_: &BearerToken,
request: &FindDataReviewsRequest,
) -> Result<DataReviewPage, Error>
pub async fn find_data_reviews( &self, auth_: &BearerToken, request: &FindDataReviewsRequest, ) -> Result<DataReviewPage, Error>
Returns the data reviews under the provided search parameters.
Sourcepub async fn get(
&self,
auth_: &BearerToken,
data_review_rid: &DataReviewRid,
) -> Result<DataReview, Error>
pub async fn get( &self, auth_: &BearerToken, data_review_rid: &DataReviewRid, ) -> Result<DataReview, Error>
Throws if not found.
Sourcepub async fn get_check_alert(
&self,
auth_: &BearerToken,
check_alert_rid: &CheckAlertRid,
) -> Result<CheckAlert, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alert( &self, auth_: &BearerToken, check_alert_rid: &CheckAlertRid, ) -> Result<CheckAlert, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Throws if not found.
Sourcepub async fn get_check_alerts_for_data_review(
&self,
auth_: &BearerToken,
data_review_rid: &DataReviewRid,
) -> Result<BTreeSet<CheckAlert>, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alerts_for_data_review( &self, auth_: &BearerToken, data_review_rid: &DataReviewRid, ) -> Result<BTreeSet<CheckAlert>, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Gets all check alerts from the provided data review.
Sourcepub async fn get_check_alerts_histogram(
&self,
auth_: &BearerToken,
request: &CheckAlertsHistogramRequest,
) -> Result<CheckAlertsHistogramResponse, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alerts_histogram( &self, auth_: &BearerToken, request: &CheckAlertsHistogramRequest, ) -> Result<CheckAlertsHistogramResponse, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Returns a histogram of alerts that occur across the provided runs or assets. At least one run or asset must be specified.
Sourcepub async fn search_check_alerts(
&self,
auth_: &BearerToken,
request: &SearchCheckAlertsRequest,
) -> Result<SearchCheckAlertsResponse, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn search_check_alerts( &self, auth_: &BearerToken, request: &SearchCheckAlertsRequest, ) -> Result<SearchCheckAlertsResponse, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Returns the check alerts under the provided search parameters. At least one run or asset must be specified.
Sourcepub async fn get_check_alert_action_log(
&self,
auth_: &BearerToken,
check_alert_rid: &CheckAlertRid,
) -> Result<CheckAlertActionLog, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alert_action_log( &self, auth_: &BearerToken, check_alert_rid: &CheckAlertRid, ) -> Result<CheckAlertActionLog, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Returns a record of the historical actions taken on the provided check alert.
Sourcepub async fn get_check_alert_counts_for_notebooks(
&self,
auth_: &BearerToken,
rids: &BTreeSet<NotebookRid>,
) -> Result<BTreeMap<NotebookRid, i32>, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alert_counts_for_notebooks( &self, auth_: &BearerToken, rids: &BTreeSet<NotebookRid>, ) -> Result<BTreeMap<NotebookRid, i32>, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Returns the number of alerts attached to each provided notebook.
Sourcepub async fn get_check_alert_status_for_notebooks(
&self,
auth_: &BearerToken,
rids: &BTreeSet<NotebookRid>,
) -> Result<BTreeMap<NotebookRid, Option<CheckAlertStatus>>, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn get_check_alert_status_for_notebooks( &self, auth_: &BearerToken, rids: &BTreeSet<NotebookRid>, ) -> Result<BTreeMap<NotebookRid, Option<CheckAlertStatus>>, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Returns the check alert status of any linked violations for the provided notebooks. If none exist, an empty optional is returned.
Sourcepub async fn perform_check_alert_action(
&self,
auth_: &BearerToken,
check_alert_rid: &CheckAlertRid,
request: &CheckAlertAction,
) -> Result<CheckAlert, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn perform_check_alert_action( &self, auth_: &BearerToken, check_alert_rid: &CheckAlertRid, request: &CheckAlertAction, ) -> Result<CheckAlert, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Applies a check alert action to the specified check alert RID.
Sourcepub async fn batch_perform_check_alert_action(
&self,
auth_: &BearerToken,
request: &BatchCheckAlertActionRequest,
) -> Result<BatchCheckAlertActionResponse, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn batch_perform_check_alert_action( &self, auth_: &BearerToken, request: &BatchCheckAlertActionRequest, ) -> Result<BatchCheckAlertActionResponse, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Applies a check alert action to the specified check alert RIDs. If any of the check actions fail, then none of the check actions will be applied.
Sourcepub async fn batch_perform_automatic_check_evaluation_review_action(
&self,
auth_: &BearerToken,
request: &BatchAutomaticCheckEvaluationActionRequest,
) -> Result<BatchAutomaticCheckEvaluationActionResponse, Error>
👎Deprecated: CheckAlerts have been replaced by Events.
Please use the EventService instead.
pub async fn batch_perform_automatic_check_evaluation_review_action( &self, auth_: &BearerToken, request: &BatchAutomaticCheckEvaluationActionRequest, ) -> Result<BatchAutomaticCheckEvaluationActionResponse, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Applies an action to the specified check evaluation RIDs. If any of the check actions fail, then none of the actions will be applied.
pub async fn get_automatic_check_evaluation_action_log( &self, auth_: &BearerToken, rid: &AutomaticCheckEvaluationRid, ) -> Result<AutomaticCheckEvaluationActionLog, Error>
CheckAlerts have been replaced by Events. Please use the EventService instead.
Sourcepub async fn batch_perform_manual_check_alert_action(
&self,
auth_: &BearerToken,
request: &BatchManualCheckEvaluationActionRequest,
) -> Result<(), Error>
👎Deprecated: No longer in use
pub async fn batch_perform_manual_check_alert_action( &self, auth_: &BearerToken, request: &BatchManualCheckEvaluationActionRequest, ) -> Result<(), Error>
No longer in use
Applies an action to the specified check evaluation RIDs. If any of the check actions fail, then none of the actions will be applied.
Sourcepub async fn get_manual_check_evaluation_action_log(
&self,
auth_: &BearerToken,
rid: &ManualCheckEvaluationRid,
) -> Result<ManualCheckEvaluationActionLog, Error>
👎Deprecated: No longer in use
pub async fn get_manual_check_evaluation_action_log( &self, auth_: &BearerToken, rid: &ManualCheckEvaluationRid, ) -> Result<ManualCheckEvaluationActionLog, Error>
No longer in use
Returns a record of the historical manual actions taken on the provided check evaluation.
Sourcepub async fn archive_data_review(
&self,
auth_: &BearerToken,
data_review_rid: &DataReviewRid,
) -> Result<bool, Error>
pub async fn archive_data_review( &self, auth_: &BearerToken, data_review_rid: &DataReviewRid, ) -> Result<bool, Error>
Archives the data review with the given rid.
Sourcepub async fn batch_archive_data_review(
&self,
auth_: &BearerToken,
rids: &BTreeSet<DataReviewRid>,
) -> Result<(), Error>
pub async fn batch_archive_data_review( &self, auth_: &BearerToken, rids: &BTreeSet<DataReviewRid>, ) -> Result<(), Error>
Batch archives the data reviews with the given rids.
Sourcepub async fn unarchive_data_review(
&self,
auth_: &BearerToken,
data_review_rid: &DataReviewRid,
) -> Result<(), Error>
pub async fn unarchive_data_review( &self, auth_: &BearerToken, data_review_rid: &DataReviewRid, ) -> Result<(), Error>
Unarchives the data review with the given rid.
pub async fn get_data_review_check_metrics( &self, auth_: &BearerToken, request: &GetDataReviewCheckMetricsRequest, ) -> Result<GetDataReviewCheckMetricsResponse, Error>
Trait Implementations§
Source§impl<T> AsyncService<T> for DataReviewServiceAsyncClient<T>where
T: AsyncClient,
impl<T> AsyncService<T> for DataReviewServiceAsyncClient<T>where
T: AsyncClient,
Source§impl<T: Clone> Clone for DataReviewServiceAsyncClient<T>
impl<T: Clone> Clone for DataReviewServiceAsyncClient<T>
Source§fn clone(&self) -> DataReviewServiceAsyncClient<T>
fn clone(&self) -> DataReviewServiceAsyncClient<T>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<T> Freeze for DataReviewServiceAsyncClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for DataReviewServiceAsyncClient<T>where
T: RefUnwindSafe,
impl<T> Send for DataReviewServiceAsyncClient<T>where
T: Send,
impl<T> Sync for DataReviewServiceAsyncClient<T>where
T: Sync,
impl<T> Unpin for DataReviewServiceAsyncClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for DataReviewServiceAsyncClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DataReviewServiceAsyncClient<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request