// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ModifyManagedPrefixList`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`dry_run(bool)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::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::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::prefix_list_id) / [`set_prefix_list_id(Option<String>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_prefix_list_id):<br>required: **true**<br><p>The ID of the prefix list.</p><br>
/// - [`current_version(i64)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::current_version) / [`set_current_version(Option<i64>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_current_version):<br>required: **false**<br><p>The current version of the prefix list.</p><br>
/// - [`prefix_list_name(impl Into<String>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::prefix_list_name) / [`set_prefix_list_name(Option<String>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_prefix_list_name):<br>required: **false**<br><p>A name for the prefix list.</p><br>
/// - [`add_entries(AddPrefixListEntry)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::add_entries) / [`set_add_entries(Option<Vec::<AddPrefixListEntry>>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_add_entries):<br>required: **false**<br><p>One or more entries to add to the prefix list.</p><br>
/// - [`remove_entries(RemovePrefixListEntry)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::remove_entries) / [`set_remove_entries(Option<Vec::<RemovePrefixListEntry>>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_remove_entries):<br>required: **false**<br><p>One or more entries to remove from the prefix list.</p><br>
/// - [`max_entries(i32)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::max_entries) / [`set_max_entries(Option<i32>)`](crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::set_max_entries):<br>required: **false**<br><p>The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.</p> <p>If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.</p><br>
/// - On success, responds with [`ModifyManagedPrefixListOutput`](crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListOutput) with field(s):
/// - [`prefix_list(Option<ManagedPrefixList>)`](crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListOutput::prefix_list): <p>Information about the prefix list.</p>
/// - On failure, responds with [`SdkError<ModifyManagedPrefixListError>`](crate::operation::modify_managed_prefix_list::ModifyManagedPrefixListError)
pub fn modify_managed_prefix_list(&self) -> crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder {
crate::operation::modify_managed_prefix_list::builders::ModifyManagedPrefixListFluentBuilder::new(self.handle.clone())
}
}