aws_sdk_ec2/client/
delete_ipam_prefix_list_resolver.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 [`DeleteIpamPrefixListResolver`](crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for 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>
7    ///   - [`ipam_prefix_list_resolver_id(impl Into<String>)`](crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder::ipam_prefix_list_resolver_id) / [`set_ipam_prefix_list_resolver_id(Option<String>)`](crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder::set_ipam_prefix_list_resolver_id):<br>required: **true**<br><p>The ID of the IPAM prefix list resolver to delete.</p><br>
8    /// - On success, responds with [`DeleteIpamPrefixListResolverOutput`](crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverOutput) with field(s):
9    ///   - [`ipam_prefix_list_resolver(Option<IpamPrefixListResolver>)`](crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverOutput::ipam_prefix_list_resolver): <p>Information about the IPAM prefix list resolver that was deleted.</p>
10    /// - On failure, responds with [`SdkError<DeleteIpamPrefixListResolverError>`](crate::operation::delete_ipam_prefix_list_resolver::DeleteIpamPrefixListResolverError)
11    pub fn delete_ipam_prefix_list_resolver(
12        &self,
13    ) -> crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder {
14        crate::operation::delete_ipam_prefix_list_resolver::builders::DeleteIpamPrefixListResolverFluentBuilder::new(self.handle.clone())
15    }
16}