aws_sdk_datazone/client/
accept_predictions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptPredictions`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the asset.</p><br>
    ///   - [`revision(impl Into<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::revision) / [`set_revision(Option<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_revision):<br>required: **false**<br><p>The revision that is to be made to the asset.</p><br>
    ///   - [`accept_rule(AcceptRule)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::accept_rule) / [`set_accept_rule(Option<AcceptRule>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_accept_rule):<br>required: **false**<br><p>Specifies the rule (or the conditions) under which a prediction can be accepted.</p><br>
    ///   - [`accept_choices(AcceptChoice)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::accept_choices) / [`set_accept_choices(Option<Vec::<AcceptChoice>>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_accept_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 accepted.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p><br>
    /// - On success, responds with [`AcceptPredictionsOutput`](crate::operation::accept_predictions::AcceptPredictionsOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::accept_predictions::AcceptPredictionsOutput::domain_id): <p>The identifier of the Amazon DataZone domain.</p>
    ///   - [`asset_id(String)`](crate::operation::accept_predictions::AcceptPredictionsOutput::asset_id): <p>The ID of the asset.</p>
    ///   - [`revision(String)`](crate::operation::accept_predictions::AcceptPredictionsOutput::revision): <p>The revision that is to be made to the asset.</p>
    /// - On failure, responds with [`SdkError<AcceptPredictionsError>`](crate::operation::accept_predictions::AcceptPredictionsError)
    pub fn accept_predictions(&self) -> crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder {
        crate::operation::accept_predictions::builders::AcceptPredictionsFluentBuilder::new(self.handle.clone())
    }
}