aws_sdk_comprehend/client/delete_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 [`DeleteEndpoint`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`endpoint_arn(impl Into<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::set_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Number (ARN) of the endpoint being deleted.</p><br>
7 /// - On success, responds with [`DeleteEndpointOutput`](crate::operation::delete_endpoint::DeleteEndpointOutput)
8 /// - On failure, responds with [`SdkError<DeleteEndpointError>`](crate::operation::delete_endpoint::DeleteEndpointError)
9 pub fn delete_endpoint(&self) -> crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder {
10 crate::operation::delete_endpoint::builders::DeleteEndpointFluentBuilder::new(self.handle.clone())
11 }
12}