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 [`ImportStacksToStackSet`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_set_name(impl Into<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::stack_set_name) / [`set_stack_set_name(Option<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_stack_set_name):<br>required: **true**<br><p>The name of the stack set. The name must be unique in the Region where you create your stack set.</p><br>
    ///   - [`stack_ids(impl Into<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::stack_ids) / [`set_stack_ids(Option<Vec::<String>>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_stack_ids):<br>required: **false**<br><p>The IDs of the stacks you are importing into a stack set. You import up to 10 stacks per stack set at a time.</p> <p>Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.</p><br>
    ///   - [`stack_ids_url(impl Into<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::stack_ids_url) / [`set_stack_ids_url(Option<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_stack_ids_url):<br>required: **false**<br><p>The Amazon S3 URL which contains list of stack ids to be inputted.</p> <p>Specify either <code>StackIds</code> or <code>StackIdsUrl</code>.</p><br>
    ///   - [`organizational_unit_ids(impl Into<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::organizational_unit_ids) / [`set_organizational_unit_ids(Option<Vec::<String>>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_organizational_unit_ids):<br>required: **false**<br><p>The list of OU ID's to which the stacks being imported has to be mapped as deployment target.</p><br>
    ///   - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::operation_preferences) / [`set_operation_preferences(Option<StackSetOperationPreferences>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_operation_preferences):<br>required: **false**<br><p>The user-specified preferences for how CloudFormation performs a stack set operation.</p> <p>For more information about maximum concurrent accounts and failure tolerance, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options">Stack set operation options</a>.</p><br>
    ///   - [`operation_id(impl Into<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::operation_id) / [`set_operation_id(Option<String>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_operation_id):<br>required: **false**<br><p>A unique, user defined, identifier for the stack set operation.</p><br>
    ///   - [`call_as(CallAs)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::call_as) / [`set_call_as(Option<CallAs>)`](crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::set_call_as):<br>required: **false**<br><p>By default, <code>SELF</code> is specified. Use <code>SELF</code> for stack sets with self-managed permissions.</p> <ul>  <li>   <p>If you are signed in to the management account, specify <code>SELF</code>.</p></li>  <li>   <p>For service managed stack sets, specify <code>DELEGATED_ADMIN</code>.</p></li> </ul><br>
    /// - On success, responds with [`ImportStacksToStackSetOutput`](crate::operation::import_stacks_to_stack_set::ImportStacksToStackSetOutput) with field(s):
    ///   - [`operation_id(Option<String>)`](crate::operation::import_stacks_to_stack_set::ImportStacksToStackSetOutput::operation_id): <p>The unique identifier for the stack set operation.</p>
    /// - On failure, responds with [`SdkError<ImportStacksToStackSetError>`](crate::operation::import_stacks_to_stack_set::ImportStacksToStackSetError)
    pub fn import_stacks_to_stack_set(&self) -> crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder {
        crate::operation::import_stacks_to_stack_set::builders::ImportStacksToStackSetFluentBuilder::new(self.handle.clone())
    }
}