aws_sdk_connect/client/associate_analytics_data_set.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateAnalyticsDataSet`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`data_set_id(impl Into<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::data_set_id) / [`set_data_set_id(Option<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::set_data_set_id):<br>required: **true**<br><p>The identifier of the dataset to associate with the target account.</p><br>
/// - [`target_account_id(impl Into<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::target_account_id) / [`set_target_account_id(Option<String>)`](crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::set_target_account_id):<br>required: **false**<br><p>The identifier of the target account. Use to associate a dataset to a different account than the one containing the Amazon Connect instance. If not specified, by default this value is the Amazon Web Services account that has the Amazon Connect instance.</p><br>
/// - On success, responds with [`AssociateAnalyticsDataSetOutput`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetOutput) with field(s):
/// - [`data_set_id(Option<String>)`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetOutput::data_set_id): <p>The identifier of the dataset that was associated.</p>
/// - [`target_account_id(Option<String>)`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetOutput::target_account_id): <p>The identifier of the target account.</p>
/// - [`resource_share_id(Option<String>)`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetOutput::resource_share_id): <p>The Resource Access Manager share ID that is generated.</p>
/// - [`resource_share_arn(Option<String>)`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetOutput::resource_share_arn): <p>The Amazon Resource Name (ARN) of the Resource Access Manager share.</p>
/// - On failure, responds with [`SdkError<AssociateAnalyticsDataSetError>`](crate::operation::associate_analytics_data_set::AssociateAnalyticsDataSetError)
pub fn associate_analytics_data_set(&self) -> crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder {
crate::operation::associate_analytics_data_set::builders::AssociateAnalyticsDataSetFluentBuilder::new(self.handle.clone())
}
}