aws_sdk_devicefarm/client/list_projects.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListProjects`](crate::operation::list_projects::builders::ListProjectsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_projects::builders::ListProjectsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::list_projects::builders::ListProjectsFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::list_projects::builders::ListProjectsFluentBuilder::set_arn):<br>required: **false**<br><p>Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device Farm returns a list of all projects for the AWS account. You can also specify a project ARN.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_projects::builders::ListProjectsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_projects::builders::ListProjectsFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
/// - On success, responds with [`ListProjectsOutput`](crate::operation::list_projects::ListProjectsOutput) with field(s):
/// - [`projects(Option<Vec::<Project>>)`](crate::operation::list_projects::ListProjectsOutput::projects): <p>Information about the projects.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_projects::ListProjectsOutput::next_token): <p>If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.</p>
/// - On failure, responds with [`SdkError<ListProjectsError>`](crate::operation::list_projects::ListProjectsError)
pub fn list_projects(&self) -> crate::operation::list_projects::builders::ListProjectsFluentBuilder {
crate::operation::list_projects::builders::ListProjectsFluentBuilder::new(self.handle.clone())
}
}