1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteManagedPrefixList`](crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder::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::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder::prefix_list_id) / [`set_prefix_list_id(Option<String>)`](crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder::set_prefix_list_id):<br>required: **true**<br><p>The ID of the prefix list.</p><br>
    /// - On success, responds with [`DeleteManagedPrefixListOutput`](crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListOutput) with field(s):
    ///   - [`prefix_list(Option<ManagedPrefixList>)`](crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListOutput::prefix_list): <p>Information about the prefix list.</p>
    /// - On failure, responds with [`SdkError<DeleteManagedPrefixListError>`](crate::operation::delete_managed_prefix_list::DeleteManagedPrefixListError)
    pub fn delete_managed_prefix_list(&self) -> crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder {
        crate::operation::delete_managed_prefix_list::builders::DeleteManagedPrefixListFluentBuilder::new(self.handle.clone())
    }
}