aws-sdk-databasemigration 1.119.1

AWS SDK for AWS Database Migration Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTargetSelectionRules`](crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>A JSON string that contains the source selection rules to convert into their target counterparts. For the selection rule format and examples, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/sc-selection-rules.html">Selection rules in DMS Schema Conversion</a>.</p> <p>Usage:</p> <ul>  <li>   <p>Accepts only source selection rules, where <code>server-name</code> in the object locator matches the source data provider.</p></li>  <li>   <p>Supports only <code>explicit</code> rule actions.</p></li>  <li>   <p>Does not support <code>category-name</code> in the object locator.</p></li>  <li>   <p>Up to 10 rules are allowed.</p></li> </ul><br>
    /// - On success, responds with [`GetTargetSelectionRulesOutput`](crate::operation::get_target_selection_rules::GetTargetSelectionRulesOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetTargetSelectionRulesError>`](crate::operation::get_target_selection_rules::GetTargetSelectionRulesError)
    pub fn get_target_selection_rules(&self) -> crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder {
        crate::operation::get_target_selection_rules::builders::GetTargetSelectionRulesFluentBuilder::new(self.handle.clone())
    }
}