// 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.
///
/// - The fluent builder is configurable:
/// - [`group_id(impl Into<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::set_group_id): The ID of the Greengrass group.
/// - [`max_results(impl Into<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::max_results) / [`set_max_results(Option<String>)`](crate::operation::list_deployments::builders::ListDeploymentsFluentBuilder::set_max_results): The maximum number of results to be returned per request.
/// - [`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): The token for the next set of results, or ''null'' if there are no additional results.
/// - On success, responds with [`ListDeploymentsOutput`](crate::operation::list_deployments::ListDeploymentsOutput) with field(s):
/// - [`deployments(Option<Vec<Deployment>>)`](crate::operation::list_deployments::ListDeploymentsOutput::deployments): A list of deployments for the requested groups.
/// - [`next_token(Option<String>)`](crate::operation::list_deployments::ListDeploymentsOutput::next_token): The token for the next set of results, or ''null'' if there are no additional results.
/// - 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(),
)
}
}