aws_sdk_textract/client/delete_adapter.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 [`DeleteAdapter`](crate::operation::delete_adapter::builders::DeleteAdapterFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`adapter_id(impl Into<String>)`](crate::operation::delete_adapter::builders::DeleteAdapterFluentBuilder::adapter_id) / [`set_adapter_id(Option<String>)`](crate::operation::delete_adapter::builders::DeleteAdapterFluentBuilder::set_adapter_id):<br>required: **true**<br><p>A string containing a unique ID for the adapter to be deleted.</p><br>
7 /// - On success, responds with [`DeleteAdapterOutput`](crate::operation::delete_adapter::DeleteAdapterOutput)
8 /// - On failure, responds with [`SdkError<DeleteAdapterError>`](crate::operation::delete_adapter::DeleteAdapterError)
9 pub fn delete_adapter(&self) -> crate::operation::delete_adapter::builders::DeleteAdapterFluentBuilder {
10 crate::operation::delete_adapter::builders::DeleteAdapterFluentBuilder::new(self.handle.clone())
11 }
12}