{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-batch-associate-analytics-data-set-response-schema.json",
  "title": "BatchAssociateAnalyticsDataSetResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-association-api-openapi.yml#/components/schemas/BatchAssociateAnalyticsDataSetResponse",
  "type": "object",
  "properties": {
    "Created": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AnalyticsDataAssociationResult"
      },
      "description": "Information about associations that are successfully created: DataSetId, TargetAccountId, ResourceShareId, ResourceShareArn."
    },
    "Errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ErrorResult"
      },
      "description": "A list of errors for datasets that aren't successfully associated with the target account."
    }
  },
  "$defs": {
    "AnalyticsDataAssociationResult": {
      "type": "object",
      "properties": {
        "DataSetId": {
          "type": "string",
          "description": "The identifier of the dataset."
        },
        "TargetAccountId": {
          "type": "string",
          "description": "The identifier of the target account."
        },
        "ResourceShareId": {
          "type": "string",
          "description": "The Resource Access Manager share ID."
        },
        "ResourceShareArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Resource Access Manager share."
        },
        "ResourceShareStatus": {
          "type": "string",
          "description": "The Amazon Web Services Resource Access Manager status of association."
        }
      }
    },
    "ErrorResult": {
      "type": "object",
      "properties": {
        "ErrorCode": {
          "type": "string",
          "description": "The error code."
        },
        "ErrorMessage": {
          "type": "string",
          "description": "The corresponding error message for the error code."
        }
      }
    }
  }
}