aws-sdk-amplifygen3 1.0.0

AWS SDK for AWS Amplify Gen 3
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListPlanViolations`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_plan(PlanTier)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::target_plan) / [`set_target_plan(Option<PlanTier>)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::set_target_plan):<br>required: **true**<br><p>The plan to check the account's resources against.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of violations to return in one page.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token returned from a previous request.</p><br>
    /// - On success, responds with [`ListPlanViolationsOutput`](crate::operation::list_plan_violations::ListPlanViolationsOutput) with field(s):
    ///   - [`violations(Vec::<PlanViolation>)`](crate::operation::list_plan_violations::ListPlanViolationsOutput::violations): <p>The reasons the account's resources do not fit the target plan. Empty when the account fits the target plan</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_plan_violations::ListPlanViolationsOutput::next_token): <p>A pagination token to retrieve the next page of results. Absent on the last page.</p>
    /// - On failure, responds with [`SdkError<ListPlanViolationsError>`](crate::operation::list_plan_violations::ListPlanViolationsError)
    pub fn list_plan_violations(&self) -> crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder {
        crate::operation::list_plan_violations::builders::ListPlanViolationsFluentBuilder::new(self.handle.clone())
    }
}