// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RestoreManagedPrefixListVersion`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dry_run(bool)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - [`prefix_list_id(impl Into<String>)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::prefix_list_id) / [`set_prefix_list_id(Option<String>)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::set_prefix_list_id):<br>required: **true**<br><p>The ID of the prefix list.</p><br>
/// - [`previous_version(i64)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::previous_version) / [`set_previous_version(Option<i64>)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::set_previous_version):<br>required: **true**<br><p>The version to restore.</p><br>
/// - [`current_version(i64)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::current_version) / [`set_current_version(Option<i64>)`](crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::set_current_version):<br>required: **true**<br><p>The current version number for the prefix list.</p><br>
/// - On success, responds with [`RestoreManagedPrefixListVersionOutput`](crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionOutput) with field(s):
/// - [`prefix_list(Option<ManagedPrefixList>)`](crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionOutput::prefix_list): <p>Information about the prefix list.</p>
/// - On failure, responds with [`SdkError<RestoreManagedPrefixListVersionError>`](crate::operation::restore_managed_prefix_list_version::RestoreManagedPrefixListVersionError)
pub fn restore_managed_prefix_list_version(
&self,
) -> crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder {
crate::operation::restore_managed_prefix_list_version::builders::RestoreManagedPrefixListVersionFluentBuilder::new(self.handle.clone())
}
}