aws_sdk_opensearch/client/delete_vpc_endpoint.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 [`DeleteVpcEndpoint`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`vpc_endpoint_id(impl Into<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::vpc_endpoint_id) / [`set_vpc_endpoint_id(Option<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::set_vpc_endpoint_id):<br>required: **true**<br><p>The unique identifier of the endpoint.</p><br>
7 /// - On success, responds with [`DeleteVpcEndpointOutput`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointOutput) with field(s):
8 /// - [`vpc_endpoint_summary(Option<VpcEndpointSummary>)`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointOutput::vpc_endpoint_summary): <p>Information about the deleted endpoint, including its current status (<code>DELETING</code> or <code>DELETE_FAILED</code>).</p>
9 /// - On failure, responds with [`SdkError<DeleteVpcEndpointError>`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointError)
10 pub fn delete_vpc_endpoint(&self) -> crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder {
11 crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::new(self.handle.clone())
12 }
13}