aws_sdk_cloudformation/client/
detect_stack_set_drift.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 [`DetectStackSetDrift`](crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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/what-is-cfnstacksets.html#stackset-ops-options">Stack set operation options</a>.</p><br>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On success, responds with [`DetectStackSetDriftOutput`](crate::operation::detect_stack_set_drift::DetectStackSetDriftOutput) with field(s):
11    ///   - [`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>
12    /// - On failure, responds with [`SdkError<DetectStackSetDriftError>`](crate::operation::detect_stack_set_drift::DetectStackSetDriftError)
13    pub fn detect_stack_set_drift(&self) -> crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder {
14        crate::operation::detect_stack_set_drift::builders::DetectStackSetDriftFluentBuilder::new(self.handle.clone())
15    }
16}