Skip to content

Batch Associate Analytics Data Set

connect_batch_associate_analytics_data_set R Documentation

This API is in preview release for Amazon Connect and is subject to change

Description

This API is in preview release for Amazon Connect and is subject to change.

Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can associate multiple datasets in a single call.

Usage

connect_batch_associate_analytics_data_set(InstanceId, DataSetIds,
  TargetAccountId)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

DataSetIds

[required] An array of dataset identifiers to associate.

TargetAccountId

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.

Value

A list with the following syntax:

list(
  Created = list(
    list(
      DataSetId = "string",
      TargetAccountId = "string",
      ResourceShareId = "string",
      ResourceShareArn = "string"
    )
  ),
  Errors = list(
    list(
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$batch_associate_analytics_data_set(
  InstanceId = "string",
  DataSetIds = list(
    "string"
  ),
  TargetAccountId = "string"
)