aws_sdk_connect/client/batch_disassociate_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 [`BatchDisassociateAnalyticsDataSet`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::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_ids(impl Into<String>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::data_set_ids) / [`set_data_set_ids(Option<Vec::<String>>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::set_data_set_ids):<br>required: **true**<br><p>An array of associated dataset identifiers to remove.</p><br>
/// - [`target_account_id(impl Into<String>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::target_account_id) / [`set_target_account_id(Option<String>)`](crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::set_target_account_id):<br>required: **false**<br><p>The identifier of the target account. Use to disassociate a dataset from 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 [`BatchDisassociateAnalyticsDataSetOutput`](crate::operation::batch_disassociate_analytics_data_set::BatchDisassociateAnalyticsDataSetOutput) with field(s):
/// - [`deleted(Option<Vec::<String>>)`](crate::operation::batch_disassociate_analytics_data_set::BatchDisassociateAnalyticsDataSetOutput::deleted): <p>An array of successfully disassociated dataset identifiers.</p>
/// - [`errors(Option<Vec::<ErrorResult>>)`](crate::operation::batch_disassociate_analytics_data_set::BatchDisassociateAnalyticsDataSetOutput::errors): <p>A list of errors for any datasets not successfully removed.</p>
/// - On failure, responds with [`SdkError<BatchDisassociateAnalyticsDataSetError>`](crate::operation::batch_disassociate_analytics_data_set::BatchDisassociateAnalyticsDataSetError)
pub fn batch_disassociate_analytics_data_set(
&self,
) -> crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder {
crate::operation::batch_disassociate_analytics_data_set::builders::BatchDisassociateAnalyticsDataSetFluentBuilder::new(self.handle.clone())
}
}