aws_sdk_ec2/client/
delete_coip_cidr.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 [`DeleteCoipCidr`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cidr(impl Into<String>)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::cidr) / [`set_cidr(Option<String>)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::set_cidr):<br>required: **true**<br><p>A customer-owned IP address range that you want to delete.</p><br>
7    ///   - [`coip_pool_id(impl Into<String>)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::coip_pool_id) / [`set_coip_pool_id(Option<String>)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::set_coip_pool_id):<br>required: **true**<br><p>The ID of the customer-owned address pool.</p><br>
8    ///   - [`dry_run(bool)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::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>
9    /// - On success, responds with [`DeleteCoipCidrOutput`](crate::operation::delete_coip_cidr::DeleteCoipCidrOutput) with field(s):
10    ///   - [`coip_cidr(Option<CoipCidr>)`](crate::operation::delete_coip_cidr::DeleteCoipCidrOutput::coip_cidr): <p>Information about a range of customer-owned IP addresses.</p>
11    /// - On failure, responds with [`SdkError<DeleteCoipCidrError>`](crate::operation::delete_coip_cidr::DeleteCoipCidrError)
12    pub fn delete_coip_cidr(&self) -> crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder {
13        crate::operation::delete_coip_cidr::builders::DeleteCoipCidrFluentBuilder::new(self.handle.clone())
14    }
15}