// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeStackResourceDrifts`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`stack_name(impl Into<String>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_stack_name):<br>required: **true**<br><p>The name of the stack for which you want drift information.</p><br>
/// - [`stack_resource_drift_status_filters(StackResourceDriftStatus)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::stack_resource_drift_status_filters) / [`set_stack_resource_drift_status_filters(Option<Vec::<StackResourceDriftStatus>>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_stack_resource_drift_status_filters):<br>required: **false**<br><p>The resource drift status values to use as filters for the resource drift results returned.</p> <ul> <li> <p><code>DELETED</code>: The resource differs from its expected template configuration in that the resource has been deleted.</p></li> <li> <p><code>MODIFIED</code>: One or more resource properties differ from their expected template values.</p></li> <li> <p><code>IN_SYNC</code>: The resource's actual configuration matches its expected template configuration.</p></li> <li> <p><code>NOT_CHECKED</code>: CloudFormation doesn't currently return this value.</p></li> </ul><br>
/// - [`next_token(impl Into<String>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_next_token):<br>required: **false**<br><p>A string that identifies the next page of stack resource drift results.</p><br>
/// - [`max_results(i32)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a <code>NextToken</code> value that you can assign to the <code>NextToken</code> request parameter to get the next set of results.</p><br>
/// - On success, responds with [`DescribeStackResourceDriftsOutput`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput) with field(s):
/// - [`stack_resource_drifts(Option<Vec::<StackResourceDrift>>)`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput::stack_resource_drifts): <p>Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.</p> <p>For a given stack, there will be one <code>StackResourceDrift</code> for each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift-resource-list.html">Resources that Support Drift Detection</a>.</p>
/// - [`next_token(Option<String>)`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsOutput::next_token): <p>If the request doesn't return all the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>DescribeStackResourceDrifts</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to <code>null</code>.</p>
/// - On failure, responds with [`SdkError<DescribeStackResourceDriftsError>`](crate::operation::describe_stack_resource_drifts::DescribeStackResourceDriftsError)
pub fn describe_stack_resource_drifts(
&self,
) -> crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder {
crate::operation::describe_stack_resource_drifts::builders::DescribeStackResourceDriftsFluentBuilder::new(self.handle.clone())
}
}