// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListMapRuns`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`execution_arn(impl Into<String>)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::execution_arn) / [`set_execution_arn(Option<String>)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::set_execution_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the execution for which the Map Runs must be listed.</p><br>
/// - [`max_results(i32)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.</p> <p>This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::set_next_token):<br>required: **false**<br><p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p><br>
/// - On success, responds with [`ListMapRunsOutput`](crate::operation::list_map_runs::ListMapRunsOutput) with field(s):
/// - [`map_runs(Vec::<MapRunListItem>)`](crate::operation::list_map_runs::ListMapRunsOutput::map_runs): <p>An array that lists information related to a Map Run, such as the Amazon Resource Name (ARN) of the Map Run and the ARN of the state machine that started the Map Run.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_map_runs::ListMapRunsOutput::next_token): <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
/// - On failure, responds with [`SdkError<ListMapRunsError>`](crate::operation::list_map_runs::ListMapRunsError)
pub fn list_map_runs(&self) -> crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder {
crate::operation::list_map_runs::builders::ListMapRunsFluentBuilder::new(self.handle.clone())
}
}