aws_sdk_devicefarm/client/list_runs.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListRuns`](crate::operation::list_runs::builders::ListRunsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_runs::builders::ListRunsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::list_runs::builders::ListRunsFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::list_runs::builders::ListRunsFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the project for which you want to list runs.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_runs::builders::ListRunsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_runs::builders::ListRunsFluentBuilder::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 [`ListRunsOutput`](crate::operation::list_runs::ListRunsOutput) with field(s):
/// - [`runs(Option<Vec::<Run>>)`](crate::operation::list_runs::ListRunsOutput::runs): <p>Information about the runs.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_runs::ListRunsOutput::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<ListRunsError>`](crate::operation::list_runs::ListRunsError)
pub fn list_runs(&self) -> crate::operation::list_runs::builders::ListRunsFluentBuilder {
crate::operation::list_runs::builders::ListRunsFluentBuilder::new(self.handle.clone())
}
}