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 [`GetDeployments`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`rest_api_id(impl Into<String>)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
    ///   - [`position(impl Into<String>)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::position) / [`set_position(Option<String>)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::set_position):<br>required: **false**<br><p>The current pagination position in the paged result set.</p><br>
    ///   - [`limit(i32)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of returned results per page. The default value is 25 and the maximum value is 500.</p><br>
    /// - On success, responds with [`GetDeploymentsOutput`](crate::operation::get_deployments::GetDeploymentsOutput) with field(s):
    ///   - [`items(Option<Vec::<Deployment>>)`](crate::operation::get_deployments::GetDeploymentsOutput::items): <p>The current page of elements from this collection.</p>
    ///   - [`position(Option<String>)`](crate::operation::get_deployments::GetDeploymentsOutput::position): <p>The current pagination position in the paged result set.</p>
    /// - On failure, responds with [`SdkError<GetDeploymentsError>`](crate::operation::get_deployments::GetDeploymentsError)
    pub fn get_deployments(&self) -> crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder {
        crate::operation::get_deployments::builders::GetDeploymentsFluentBuilder::new(self.handle.clone())
    }
}