aws_sdk_ssm/client/
get_parameter_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 [`GetParameterHistory`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`name(impl Into<String>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::set_name):<br>required: **true**<br><p>The name or Amazon Resource Name (ARN) of the parameter for which you want to review history. For parameters shared with you from another account, you must use the full ARN.</p><br>
8    ///   - [`with_decryption(bool)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::with_decryption) / [`set_with_decryption(Option<bool>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::set_with_decryption):<br>required: **false**<br><p>Return decrypted values for secure string parameters. This flag is ignored for <code>String</code> and <code>StringList</code> parameter types.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
11    /// - On success, responds with [`GetParameterHistoryOutput`](crate::operation::get_parameter_history::GetParameterHistoryOutput) with field(s):
12    ///   - [`parameters(Option<Vec::<ParameterHistory>>)`](crate::operation::get_parameter_history::GetParameterHistoryOutput::parameters): <p>A list of parameters returned by the request.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::get_parameter_history::GetParameterHistoryOutput::next_token): <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
14    /// - On failure, responds with [`SdkError<GetParameterHistoryError>`](crate::operation::get_parameter_history::GetParameterHistoryError)
15    pub fn get_parameter_history(&self) -> crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder {
16        crate::operation::get_parameter_history::builders::GetParameterHistoryFluentBuilder::new(self.handle.clone())
17    }
18}