1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DetectStackSetDrift`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_set_name(impl Into<String>)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::stack_set_name) / [`set_stack_set_name(Option<String>)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_stack_set_name):<br>required: **true**<br><p>The name of the stack set on which to perform the drift detection operation.</p><br>
    ///   - [`operation_preferences(StackSetOperationPreferences)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::operation_preferences) / [`set_operation_preferences(Option<StackSetOperationPreferences>)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::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::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::operation_id) / [`set_operation_id(Option<String>)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_operation_id):<br>required: **false**<br><p><i>The ID of the stack set operation.</i></p><br>
    ///   - [`call_as(CallAs)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::call_as) / [`set_call_as(Option<CallAs>)`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::set_call_as):<br>required: **false**<br><p>[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.</p> <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>If you are signed in to a delegated administrator account, specify <code>DELEGATED_ADMIN</code>.</p>   <p>Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html">Register a delegated administrator</a> in the <i>CloudFormation User Guide</i>.</p></li> </ul><br>
    /// - On success, responds with [`DetectStackSetDriftOutput`](crate::operation::detect_stack_set_drift::DetectStackSetDriftOutput) with field(s):
    ///   - [`operation_id(Option<String>)`](crate::operation::detect_stack_set_drift::DetectStackSetDriftOutput::operation_id): <p>The ID of the drift detection stack set operation.</p> <p>You can use this operation ID with <code>DescribeStackSetOperation</code> to monitor the progress of the drift detection operation.</p>
    /// - On failure, responds with [`SdkError<DetectStackSetDriftError>`](crate::operation::detect_stack_set_drift::DetectStackSetDriftError)
    pub fn detect_stack_set_drift(&self) -> crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder {
        crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::new(self.handle.clone())
    }
}