aws_sdk_customerprofiles/client/merge_profiles.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`MergeProfiles`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
/// - [`main_profile_id(impl Into<String>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::main_profile_id) / [`set_main_profile_id(Option<String>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::set_main_profile_id):<br>required: **true**<br><p>The identifier of the profile to be taken.</p><br>
/// - [`profile_ids_to_be_merged(impl Into<String>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::profile_ids_to_be_merged) / [`set_profile_ids_to_be_merged(Option<Vec::<String>>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::set_profile_ids_to_be_merged):<br>required: **true**<br><p>The identifier of the profile to be merged into MainProfileId.</p><br>
/// - [`field_source_profile_ids(FieldSourceProfileIds)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::field_source_profile_ids) / [`set_field_source_profile_ids(Option<FieldSourceProfileIds>)`](crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::set_field_source_profile_ids):<br>required: **false**<br><p>The identifiers of the fields in the profile that has the information you want to apply to the merge. For example, say you want to merge EmailAddress from Profile1 into MainProfile. This would be the identifier of the EmailAddress field in Profile1.</p><br>
/// - On success, responds with [`MergeProfilesOutput`](crate::operation::merge_profiles::MergeProfilesOutput) with field(s):
/// - [`message(Option<String>)`](crate::operation::merge_profiles::MergeProfilesOutput::message): <p>A message that indicates the merge request is complete.</p>
/// - On failure, responds with [`SdkError<MergeProfilesError>`](crate::operation::merge_profiles::MergeProfilesError)
pub fn merge_profiles(&self) -> crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder {
crate::operation::merge_profiles::builders::MergeProfilesFluentBuilder::new(self.handle.clone())
}
}