aws_sdk_databasemigration/client/
get_target_selection_rules.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetTargetSelectionRules`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`migration_project_identifier(impl Into<String>)`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::migration_project_identifier) / [`set_migration_project_identifier(Option<String>)`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::set_migration_project_identifier):<br>required: **true**<br><p>The migration project name or Amazon Resource Name (ARN).</p><br>
7    ///   - [`selection_rules(impl Into<String>)`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::selection_rules) / [`set_selection_rules(Option<String>)`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::set_selection_rules):<br>required: **true**<br><p>The JSON string representing the source selection rules for conversion. Selection rules must contain only supported metadata model types. For more information, see Selection Rules in the DMS User Guide.</p><br>
8    /// - On success, responds with [`GetTargetSelectionRulesOutput`](crate::operation::get_target_selection_rules::GetTargetSelectionRulesOutput) with field(s):
9    ///   - [`target_selection_rules(Option<String>)`](crate::operation::get_target_selection_rules::GetTargetSelectionRulesOutput::target_selection_rules): <p>The JSON string representing the counterpart selection rules in the target.</p>
10    /// - On failure, responds with [`SdkError<GetTargetSelectionRulesError>`](crate::operation::get_target_selection_rules::GetTargetSelectionRulesError)
11    pub fn get_target_selection_rules(&self) -> crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder {
12        crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::new(self.handle.clone())
13    }
14}