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 [`DetectStackDrift`](crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_name(impl Into<String>)`](crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder::set_stack_name):<br>required: **true**<br><p>The name of the stack for which you want to detect drift.</p><br>
    ///   - [`logical_resource_ids(impl Into<String>)`](crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder::logical_resource_ids) / [`set_logical_resource_ids(Option<Vec::<String>>)`](crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder::set_logical_resource_ids):<br>required: **false**<br><p>The logical names of any resources you want to use as filters.</p><br>
    /// - On success, responds with [`DetectStackDriftOutput`](crate::operation::detect_stack_drift::DetectStackDriftOutput) with field(s):
    ///   - [`stack_drift_detection_id(Option<String>)`](crate::operation::detect_stack_drift::DetectStackDriftOutput::stack_drift_detection_id): <p>The ID of the drift detection results of this operation.</p>  <p>CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number of drift results CloudFormation retains for any given stack, and for how long, may vary.</p>
    /// - On failure, responds with [`SdkError<DetectStackDriftError>`](crate::operation::detect_stack_drift::DetectStackDriftError)
    pub fn detect_stack_drift(&self) -> crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder {
        crate::operation::detect_stack_drift::builders::DetectStackDriftFluentBuilder::new(self.handle.clone())
    }
}