// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListImports`](crate::operation::list_imports::builders::ListImportsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_imports::builders::ListImportsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`bot_id(impl ::std::convert::Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_bot_id): <p>The unique identifier that Amazon Lex assigned to the bot.</p>
/// - [`bot_version(impl ::std::convert::Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_bot_version): <p>The version of the bot to list imports for.</p>
/// - [`sort_by(ImportSortBy)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::sort_by) / [`set_sort_by(Option<ImportSortBy>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_sort_by): <p>Determines the field that the list of imports is sorted by. You can sort by the <code>LastUpdatedDateTime</code> field in ascending or descending order.</p>
/// - [`filters(Vec<ImportFilter>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::filters) / [`set_filters(Option<Vec<ImportFilter>>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_filters): <p>Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.</p>
/// - [`max_results(i32)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_max_results): <p>The maximum number of imports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>
/// - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_next_token): <p>If the response from the <code>ListImports</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response.</p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListImports</code> request to return the next page of results. For a complete set of results, call the <code>ListImports</code> operation until the <code>nextToken</code> returned in the response is null.</p>
/// - [`locale_id(impl ::std::convert::Into<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::list_imports::builders::ListImportsFluentBuilder::set_locale_id): <p>Specifies the locale that should be present in the list. If you don't specify a resource type in the <code>filters</code> parameter, the list contains both bot locales and custom vocabularies.</p>
/// - On success, responds with [`ListImportsOutput`](crate::operation::list_imports::ListImportsOutput) with field(s):
/// - [`bot_id(Option<String>)`](crate::operation::list_imports::ListImportsOutput::bot_id): <p>The unique identifier assigned by Amazon Lex to the bot.</p>
/// - [`bot_version(Option<String>)`](crate::operation::list_imports::ListImportsOutput::bot_version): <p>The version of the bot that was imported. It will always be <code>DRAFT</code>.</p>
/// - [`import_summaries(Option<Vec<ImportSummary>>)`](crate::operation::list_imports::ListImportsOutput::import_summaries): <p>Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter. If there are more imports available, the <code>nextToken</code> field contains a token to get the next page of results.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_imports::ListImportsOutput::next_token): <p>A token that indicates whether there are more results to return in a response to the <code>ListImports</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListImports</code> operation request to get the next page of results.</p>
/// - [`locale_id(Option<String>)`](crate::operation::list_imports::ListImportsOutput::locale_id): <p>The locale specified in the request.</p>
/// - On failure, responds with [`SdkError<ListImportsError>`](crate::operation::list_imports::ListImportsError)
pub fn list_imports(&self) -> crate::operation::list_imports::builders::ListImportsFluentBuilder {
crate::operation::list_imports::builders::ListImportsFluentBuilder::new(self.handle.clone())
}
}