aws_sdk_datazone/client/reject_predictions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RejectPredictions`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the prediction.</p><br>
/// - [`revision(impl Into<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::revision) / [`set_revision(Option<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_revision):<br>required: **false**<br><p>The revision that is to be made to the asset.</p><br>
/// - [`reject_rule(RejectRule)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::reject_rule) / [`set_reject_rule(Option<RejectRule>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_reject_rule):<br>required: **false**<br><p>Specifies the rule (or the conditions) under which a prediction can be rejected.</p><br>
/// - [`reject_choices(RejectChoice)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::reject_choices) / [`set_reject_choices(Option<Vec::<RejectChoice>>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_reject_choices):<br>required: **false**<br><p>Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
/// - On success, responds with [`RejectPredictionsOutput`](crate::operation::reject_predictions::RejectPredictionsOutput) with field(s):
/// - [`domain_id(String)`](crate::operation::reject_predictions::RejectPredictionsOutput::domain_id): <p>The ID of the Amazon DataZone domain.</p>
/// - [`asset_id(String)`](crate::operation::reject_predictions::RejectPredictionsOutput::asset_id): <p>The ID of the asset.</p>
/// - [`asset_revision(String)`](crate::operation::reject_predictions::RejectPredictionsOutput::asset_revision): <p>The revision that is to be made to the asset.</p>
/// - On failure, responds with [`SdkError<RejectPredictionsError>`](crate::operation::reject_predictions::RejectPredictionsError)
pub fn reject_predictions(&self) -> crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder {
crate::operation::reject_predictions::builders::RejectPredictionsFluentBuilder::new(self.handle.clone())
}
}