aws_sdk_elasticsearch/client/get_upgrade_history.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetUpgradeHistory`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`GetUpgradeHistoryOutput`](crate::operation::get_upgrade_history::GetUpgradeHistoryOutput) with field(s):
11 /// - [`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>
12 /// - [`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>
13 /// - On failure, responds with [`SdkError<GetUpgradeHistoryError>`](crate::operation::get_upgrade_history::GetUpgradeHistoryError)
14 pub fn get_upgrade_history(&self) -> crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder {
15 crate::operation::get_upgrade_history::builders::GetUpgradeHistoryFluentBuilder::new(self.handle.clone())
16 }
17}