aws_sdk_textract/client/
update_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 [`UpdateAdapter`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`adapter_id(impl Into<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::adapter_id) / [`set_adapter_id(Option<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::set_adapter_id):<br>required: **true**<br><p>A string containing a unique ID for the adapter that will be updated.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::set_description):<br>required: **false**<br><p>The new description to be applied to the adapter.</p><br>
8    ///   - [`adapter_name(impl Into<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::adapter_name) / [`set_adapter_name(Option<String>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::set_adapter_name):<br>required: **false**<br><p>The new name to be applied to the adapter.</p><br>
9    ///   - [`auto_update(AutoUpdate)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::auto_update) / [`set_auto_update(Option<AutoUpdate>)`](crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::set_auto_update):<br>required: **false**<br><p>The new auto-update status to be applied to the adapter.</p><br>
10    /// - On success, responds with [`UpdateAdapterOutput`](crate::operation::update_adapter::UpdateAdapterOutput) with field(s):
11    ///   - [`adapter_id(Option<String>)`](crate::operation::update_adapter::UpdateAdapterOutput::adapter_id): <p>A string containing a unique ID for the adapter that has been updated.</p>
12    ///   - [`adapter_name(Option<String>)`](crate::operation::update_adapter::UpdateAdapterOutput::adapter_name): <p>A string containing the name of the adapter that has been updated.</p>
13    ///   - [`creation_time(Option<DateTime>)`](crate::operation::update_adapter::UpdateAdapterOutput::creation_time): <p>An object specifying the creation time of the the adapter that has been updated.</p>
14    ///   - [`description(Option<String>)`](crate::operation::update_adapter::UpdateAdapterOutput::description): <p>A string containing the description of the adapter that has been updated.</p>
15    ///   - [`feature_types(Option<Vec::<FeatureType>>)`](crate::operation::update_adapter::UpdateAdapterOutput::feature_types): <p>List of the targeted feature types for the updated adapter.</p>
16    ///   - [`auto_update(Option<AutoUpdate>)`](crate::operation::update_adapter::UpdateAdapterOutput::auto_update): <p>The auto-update status of the adapter that has been updated.</p>
17    /// - On failure, responds with [`SdkError<UpdateAdapterError>`](crate::operation::update_adapter::UpdateAdapterError)
18    pub fn update_adapter(&self) -> crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder {
19        crate::operation::update_adapter::builders::UpdateAdapterFluentBuilder::new(self.handle.clone())
20    }
21}