1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListStackInstanceResourceDrifts`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_set_name(impl Into<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::stack_set_name) / [`set_stack_set_name(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_stack_set_name):<br>required: **true**<br><p>The name or unique ID of the stack set that you want to list drifted resources for.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::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>
    ///   - [`stack_instance_resource_drift_statuses(StackResourceDriftStatus)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::stack_instance_resource_drift_statuses) / [`set_stack_instance_resource_drift_statuses(Option<Vec::<StackResourceDriftStatus>>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_stack_instance_resource_drift_statuses):<br>required: **false**<br><p>The resource drift status of the stack instance.</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>
    ///   - [`stack_instance_account(impl Into<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::stack_instance_account) / [`set_stack_instance_account(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_stack_instance_account):<br>required: **true**<br><p>The name of the Amazon Web Services account that you want to list resource drifts for.</p><br>
    ///   - [`stack_instance_region(impl Into<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::stack_instance_region) / [`set_stack_instance_region(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_stack_instance_region):<br>required: **true**<br><p>The name of the Region where you want to list resource drifts.</p><br>
    ///   - [`operation_id(impl Into<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::operation_id) / [`set_operation_id(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::set_operation_id):<br>required: **true**<br><p>The unique ID of the drift operation.</p><br>
    ///   - [`call_as(CallAs)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::call_as) / [`set_call_as(Option<CallAs>)`](crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::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 [`ListStackInstanceResourceDriftsOutput`](crate::operation::list_stack_instance_resource_drifts::ListStackInstanceResourceDriftsOutput) with field(s):
    ///   - [`summaries(Option<Vec::<StackInstanceResourceDriftsSummary>>)`](crate::operation::list_stack_instance_resource_drifts::ListStackInstanceResourceDriftsOutput::summaries): <p>A list of <code>StackInstanceResourceDriftsSummary</code> structures that contain information about the specified stack instances.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_stack_instance_resource_drifts::ListStackInstanceResourceDriftsOutput::next_token): <p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p>
    /// - On failure, responds with [`SdkError<ListStackInstanceResourceDriftsError>`](crate::operation::list_stack_instance_resource_drifts::ListStackInstanceResourceDriftsError)
    pub fn list_stack_instance_resource_drifts(
        &self,
    ) -> crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder {
        crate::operation::list_stack_instance_resource_drifts::builders::ListStackInstanceResourceDriftsFluentBuilder::new(self.handle.clone())
    }
}