aws_sdk_textract/client/get_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 [`GetAdapter`](crate::operation::get_adapter::builders::GetAdapterFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`adapter_id(impl Into<String>)`](crate::operation::get_adapter::builders::GetAdapterFluentBuilder::adapter_id) / [`set_adapter_id(Option<String>)`](crate::operation::get_adapter::builders::GetAdapterFluentBuilder::set_adapter_id):<br>required: **true**<br><p>A string containing a unique ID for the adapter.</p><br>
7 /// - On success, responds with [`GetAdapterOutput`](crate::operation::get_adapter::GetAdapterOutput) with field(s):
8 /// - [`adapter_id(Option<String>)`](crate::operation::get_adapter::GetAdapterOutput::adapter_id): <p>A string identifying the adapter that information has been retrieved for.</p>
9 /// - [`adapter_name(Option<String>)`](crate::operation::get_adapter::GetAdapterOutput::adapter_name): <p>The name of the requested adapter.</p>
10 /// - [`creation_time(Option<DateTime>)`](crate::operation::get_adapter::GetAdapterOutput::creation_time): <p>The date and time the requested adapter was created at.</p>
11 /// - [`description(Option<String>)`](crate::operation::get_adapter::GetAdapterOutput::description): <p>The description for the requested adapter.</p>
12 /// - [`feature_types(Option<Vec::<FeatureType>>)`](crate::operation::get_adapter::GetAdapterOutput::feature_types): <p>List of the targeted feature types for the requested adapter.</p>
13 /// - [`auto_update(Option<AutoUpdate>)`](crate::operation::get_adapter::GetAdapterOutput::auto_update): <p>Binary value indicating if the adapter is being automatically updated or not.</p>
14 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_adapter::GetAdapterOutput::tags): <p>A set of tags (key-value pairs) associated with the adapter that has been retrieved.</p>
15 /// - On failure, responds with [`SdkError<GetAdapterError>`](crate::operation::get_adapter::GetAdapterError)
16 pub fn get_adapter(&self) -> crate::operation::get_adapter::builders::GetAdapterFluentBuilder {
17 crate::operation::get_adapter::builders::GetAdapterFluentBuilder::new(self.handle.clone())
18 }
19}