aws-sdk-ec2 1.246.0

AWS SDK for Amazon Elastic Compute Cloud
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteIpamRoutingPolicyRegistration`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the operation, 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>
    ///   - [`ipam_internet_registry_association_id(impl Into<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::ipam_internet_registry_association_id) / [`set_ipam_internet_registry_association_id(Option<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::set_ipam_internet_registry_association_id):<br>required: **true**<br><p>The ID of the IPAM internet registry association.</p><br>
    ///   - [`cidr(impl Into<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::cidr) / [`set_cidr(Option<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::set_cidr):<br>required: **true**<br><p>The IP address prefix in CIDR notation identifying the routing policy registration to delete.</p><br>
    ///   - [`force(bool)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::force) / [`set_force(Option<bool>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::set_force):<br>required: **false**<br><p>Forces the deletion even if it conflicts with an announced route. Default: <code>false</code>.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.</p><br>
    /// - On success, responds with [`DeleteIpamRoutingPolicyRegistrationOutput`](crate::operation::delete_ipam_routing_policy_registration::DeleteIpamRoutingPolicyRegistrationOutput) with field(s):
    ///   - [`ipam_routing_policy_registration_delta(Option<IpamRoutingPolicyRegistrationDelta>)`](crate::operation::delete_ipam_routing_policy_registration::DeleteIpamRoutingPolicyRegistrationOutput::ipam_routing_policy_registration_delta): <p>Information about the routing policy registration delta created by this deletion.</p>
    /// - On failure, responds with [`SdkError<DeleteIpamRoutingPolicyRegistrationError>`](crate::operation::delete_ipam_routing_policy_registration::DeleteIpamRoutingPolicyRegistrationError)
    pub fn delete_ipam_routing_policy_registration(
        &self,
    ) -> crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder {
        crate::operation::delete_ipam_routing_policy_registration::builders::DeleteIpamRoutingPolicyRegistrationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}