aws_sdk_cloudformation/client/
detect_stack_resource_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 [`DetectStackResourceDrift`](crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`stack_name(impl Into<String>)`](crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder::set_stack_name):<br>required: **true**<br><p>The name of the stack to which the resource belongs.</p><br>
7    ///   - [`logical_resource_id(impl Into<String>)`](crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder::logical_resource_id) / [`set_logical_resource_id(Option<String>)`](crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder::set_logical_resource_id):<br>required: **true**<br><p>The logical name of the resource for which to return drift information.</p><br>
8    /// - On success, responds with [`DetectStackResourceDriftOutput`](crate::operation::detect_stack_resource_drift::DetectStackResourceDriftOutput) with field(s):
9    ///   - [`stack_resource_drift(Option<StackResourceDrift>)`](crate::operation::detect_stack_resource_drift::DetectStackResourceDriftOutput::stack_resource_drift): <p>Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.</p>
10    /// - On failure, responds with [`SdkError<DetectStackResourceDriftError>`](crate::operation::detect_stack_resource_drift::DetectStackResourceDriftError)
11    pub fn detect_stack_resource_drift(&self) -> crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder {
12        crate::operation::detect_stack_resource_drift::builders::DetectStackResourceDriftFluentBuilder::new(self.handle.clone())
13    }
14}