aws_sdk_s3outposts/client/delete_endpoint.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteEndpoint`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`endpoint_id(impl Into<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::endpoint_id) / [`set_endpoint_id(Option<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::set_endpoint_id):<br>required: **true**<br><p>The ID of the endpoint.</p><br>
/// - [`outpost_id(impl Into<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::outpost_id) / [`set_outpost_id(Option<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::set_outpost_id):<br>required: **true**<br><p>The ID of the Outposts.</p><br>
/// - On success, responds with [`DeleteEndpointOutput`](crate::operation::delete_endpoint::DeleteEndpointOutput)
/// - On failure, responds with [`SdkError<DeleteEndpointError>`](crate::operation::delete_endpoint::DeleteEndpointError)
pub fn delete_endpoint(&self) -> crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder {
crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::new(self.handle.clone())
}
}