aws_sdk_ec2/client/
delete_vpc_endpoints.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 [`DeleteVpcEndpoints`](crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder::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>
7    ///   - [`vpc_endpoint_ids(impl Into<String>)`](crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder::vpc_endpoint_ids) / [`set_vpc_endpoint_ids(Option<Vec::<String>>)`](crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder::set_vpc_endpoint_ids):<br>required: **true**<br><p>The IDs of the VPC endpoints.</p><br>
8    /// - On success, responds with [`DeleteVpcEndpointsOutput`](crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsOutput) with field(s):
9    ///   - [`unsuccessful(Option<Vec::<UnsuccessfulItem>>)`](crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsOutput::unsuccessful): <p>Information about the VPC endpoints that were not successfully deleted.</p>
10    /// - On failure, responds with [`SdkError<DeleteVpcEndpointsError>`](crate::operation::delete_vpc_endpoints::DeleteVpcEndpointsError)
11    pub fn delete_vpc_endpoints(&self) -> crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder {
12        crate::operation::delete_vpc_endpoints::builders::DeleteVpcEndpointsFluentBuilder::new(self.handle.clone())
13    }
14}