aws_sdk_opensearchserverless/client/
delete_vpc_endpoint.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteVpcEndpoint`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::set_id):<br>required: **true**<br><p>The VPC endpoint identifier.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier to ensure idempotency of the request.</p><br>
    /// - On success, responds with [`DeleteVpcEndpointOutput`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointOutput) with field(s):
    ///   - [`delete_vpc_endpoint_detail(Option<DeleteVpcEndpointDetail>)`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointOutput::delete_vpc_endpoint_detail): <p>Details about the deleted endpoint.</p>
    /// - On failure, responds with [`SdkError<DeleteVpcEndpointError>`](crate::operation::delete_vpc_endpoint::DeleteVpcEndpointError)
    pub fn delete_vpc_endpoint(&self) -> crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder {
        crate::operation::delete_vpc_endpoint::builders::DeleteVpcEndpointFluentBuilder::new(self.handle.clone())
    }
}