// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetUpgradeHistory`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).</p><br>
/// - [`max_results(i32)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::set_max_results):<br>required: **false**<br><p>Set this value to limit the number of results returned.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::set_next_token):<br>required: **false**<br><p>Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.</p><br>
/// - On success, responds with [`GetUpgradeHistoryOutput`](crate::operation::get_upgrade_history::GetUpgradeHistoryOutput) with field(s):
/// - [`upgrade_histories(Option<Vec::<UpgradeHistory>>)`](crate::operation::get_upgrade_history::GetUpgradeHistoryOutput::upgrade_histories): <p>A list of <code> <code>UpgradeHistory</code> </code> objects corresponding to each Upgrade or Upgrade Eligibility Check performed on a domain returned as part of <code> <code>GetUpgradeHistoryResponse</code> </code> object.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_upgrade_history::GetUpgradeHistoryOutput::next_token): <p>Pagination token that needs to be supplied to the next call to get the next page of results</p>
/// - On failure, responds with [`SdkError<GetUpgradeHistoryError>`](crate::operation::get_upgrade_history::GetUpgradeHistoryError)
pub fn get_upgrade_history(&self) -> crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder {
crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::new(self.handle.clone())
}
}