aws_sdk_customerprofiles/client/
get_auto_merging_preview.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAutoMergingPreview`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`consolidation(Consolidation)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::consolidation) / [`set_consolidation(Option<Consolidation>)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::set_consolidation):<br>required: **true**<br><p>A list of matching attributes that represent matching criteria.</p><br>
    ///   - [`conflict_resolution(ConflictResolution)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::conflict_resolution) / [`set_conflict_resolution(Option<ConflictResolution>)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::set_conflict_resolution):<br>required: **true**<br><p>How the auto-merging process should resolve conflicts between different profiles.</p><br>
    ///   - [`min_allowed_confidence_score_for_merging(f64)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::min_allowed_confidence_score_for_merging) / [`set_min_allowed_confidence_score_for_merging(Option<f64>)`](crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::set_min_allowed_confidence_score_for_merging):<br>required: **false**<br><p>Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.</p><br>
    /// - On success, responds with [`GetAutoMergingPreviewOutput`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewOutput) with field(s):
    ///   - [`domain_name(String)`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewOutput::domain_name): <p>The unique name of the domain.</p>
    ///   - [`number_of_matches_in_sample(i64)`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewOutput::number_of_matches_in_sample): <p>The number of match groups in the domain that have been reviewed in this preview dry run.</p>
    ///   - [`number_of_profiles_in_sample(i64)`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewOutput::number_of_profiles_in_sample): <p>The number of profiles found in this preview dry run.</p>
    ///   - [`number_of_profiles_will_be_merged(i64)`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewOutput::number_of_profiles_will_be_merged): <p>The number of profiles that would be merged if this wasn't a preview dry run.</p>
    /// - On failure, responds with [`SdkError<GetAutoMergingPreviewError>`](crate::operation::get_auto_merging_preview::GetAutoMergingPreviewError)
    pub fn get_auto_merging_preview(&self) -> crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder {
        crate::operation::get_auto_merging_preview::builders::GetAutoMergingPreviewFluentBuilder::new(self.handle.clone())
    }
}