aws_sdk_qbusiness/client/
get_data_accessor.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 [`GetDataAccessor`](crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application.</p><br>
7    ///   - [`data_accessor_id(impl Into<String>)`](crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder::data_accessor_id) / [`set_data_accessor_id(Option<String>)`](crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder::set_data_accessor_id):<br>required: **true**<br><p>The unique identifier of the data accessor to retrieve.</p><br>
8    /// - On success, responds with [`GetDataAccessorOutput`](crate::operation::get_data_accessor::GetDataAccessorOutput) with field(s):
9    ///   - [`display_name(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::display_name): <p>The friendly name of the data accessor.</p>
10    ///   - [`data_accessor_id(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::data_accessor_id): <p>The unique identifier of the data accessor.</p>
11    ///   - [`data_accessor_arn(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::data_accessor_arn): <p>The Amazon Resource Name (ARN) of the data accessor.</p>
12    ///   - [`application_id(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::application_id): <p>The unique identifier of the Amazon Q Business application associated with this data accessor.</p>
13    ///   - [`idc_application_arn(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::idc_application_arn): <p>The Amazon Resource Name (ARN) of the IAM Identity Center application associated with this data accessor.</p>
14    ///   - [`principal(Option<String>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::principal): <p>The Amazon Resource Name (ARN) of the IAM role for the ISV associated with this data accessor.</p>
15    ///   - [`action_configurations(Option<Vec::<ActionConfiguration>>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::action_configurations): <p>The list of action configurations specifying the allowed actions and any associated filters.</p>
16    ///   - [`authentication_detail(Option<DataAccessorAuthenticationDetail>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::authentication_detail): <p>The authentication configuration details for the data accessor. This specifies how the ISV authenticates when accessing data through this data accessor.</p>
17    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::created_at): <p>The timestamp when the data accessor was created.</p>
18    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_data_accessor::GetDataAccessorOutput::updated_at): <p>The timestamp when the data accessor was last updated.</p>
19    /// - On failure, responds with [`SdkError<GetDataAccessorError>`](crate::operation::get_data_accessor::GetDataAccessorError)
20    pub fn get_data_accessor(&self) -> crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder {
21        crate::operation::get_data_accessor::builders::GetDataAccessorFluentBuilder::new(self.handle.clone())
22    }
23}