1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDeployments`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::set_next_token): <p>A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.</p>
    ///   - [`max_results(i32)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::set_max_results): <p>The maximum number of objects to return.</p>
    ///   - [`application_id(impl Into<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::set_application_id): <p>The application identifier.</p>
    /// - On success, responds with [`ListDeploymentsOutput`](crate::operation::list_deployments::ListDeploymentsOutput) with field(s):
    ///   - [`deployments(Option<Vec<DeploymentSummary>>)`](crate::operation::list_deployments::ListDeploymentsOutput::deployments): <p>The list of deployments that is returned.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_deployments::ListDeploymentsOutput::next_token): <p>If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.</p>
    /// - On failure, responds with [`SdkError<ListDeploymentsError>`](crate::operation::list_deployments::ListDeploymentsError)
    pub fn list_deployments(
        &self,
    ) -> crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder {
        crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}