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 [`ListDeploymentsForApp`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_name(impl Into<String>)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token returned in a previous response, used to retrieve the next page of results.</p><br>
    /// - On success, responds with [`ListDeploymentsForAppOutput`](crate::operation::list_deployments_for_app::ListDeploymentsForAppOutput) with field(s):
    ///   - [`deployments(Vec::<DeploymentSummary>)`](crate::operation::list_deployments_for_app::ListDeploymentsForAppOutput::deployments): <p>The deployments.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_deployments_for_app::ListDeploymentsForAppOutput::next_token): <p>The pagination token returned in a previous response, used to retrieve the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListDeploymentsForAppError>`](crate::operation::list_deployments_for_app::ListDeploymentsForAppError)
    pub fn list_deployments_for_app(&self) -> crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder {
        crate::operation::list_deployments_for_app::builders::ListDeploymentsForAppFluentBuilder::new(self.handle.clone())
    }
}