Skip to content

Batch Create Topic Reviewed Answer

quicksight_batch_create_topic_reviewed_answer R Documentation

Creates new reviewed answers for a Q Topic

Description

Creates new reviewed answers for a Q Topic.

Usage

quicksight_batch_create_topic_reviewed_answer(AwsAccountId, TopicId,
  Answers)

Arguments

AwsAccountId

[required] The ID of the Amazon Web Services account that you want to create a reviewed answer in.

TopicId

[required] The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Answers

[required] The definition of the Answers to be created.

Value

A list with the following syntax:

list(
  TopicId = "string",
  TopicArn = "string",
  SucceededAnswers = list(
    list(
      AnswerId = "string"
    )
  ),
  InvalidAnswers = list(
    list(
      AnswerId = "string",
      Error = "INTERNAL_ERROR"|"MISSING_ANSWER"|"DATASET_DOES_NOT_EXIST"|"INVALID_DATASET_ARN"|"DUPLICATED_ANSWER"|"INVALID_DATA"|"MISSING_REQUIRED_FIELDS"
    )
  ),
  Status = 123,
  RequestId = "string"
)

Request syntax

svc$batch_create_topic_reviewed_answer(
  AwsAccountId = "string",
  TopicId = "string",
  Answers = list(
    list(
      AnswerId = "string",
      DatasetArn = "string",
      Question = "string",
      Mir = list(
        Metrics = list(
          list(
            MetricId = list(
              Identity = "string"
            ),
            Function = list(
              Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
              AggregationFunctionParameters = list(
                "string"
              ),
              Period = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
              PeriodField = "string"
            ),
            Operands = list(
              list(
                Identity = "string"
              )
            ),
            ComparisonMethod = list(
              Type = "DIFF"|"PERC_DIFF"|"DIFF_AS_PERC"|"POP_CURRENT_DIFF_AS_PERC"|"POP_CURRENT_DIFF"|"POP_OVERTIME_DIFF_AS_PERC"|"POP_OVERTIME_DIFF"|"PERCENT_OF_TOTAL"|"RUNNING_SUM"|"MOVING_AVERAGE",
              Period = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
              WindowSize = 123
            ),
            Expression = "string",
            CalculatedFieldReferences = list(
              list(
                Identity = "string"
              )
            ),
            DisplayFormat = "AUTO"|"PERCENT"|"CURRENCY"|"NUMBER"|"DATE"|"STRING",
            DisplayFormatOptions = list(
              UseBlankCellFormat = TRUE|FALSE,
              BlankCellFormat = "string",
              DateFormat = "string",
              DecimalSeparator = "COMMA"|"DOT",
              GroupingSeparator = "string",
              UseGrouping = TRUE|FALSE,
              FractionDigits = 123,
              Prefix = "string",
              Suffix = "string",
              UnitScaler = "NONE"|"AUTO"|"THOUSANDS"|"MILLIONS"|"BILLIONS"|"TRILLIONS",
              NegativeFormat = list(
                Prefix = "string",
                Suffix = "string"
              ),
              CurrencySymbol = "string"
            ),
            NamedEntity = list(
              NamedEntityName = "string"
            )
          )
        ),
        GroupByList = list(
          list(
            FieldName = list(
              Identity = "string"
            ),
            TimeGranularity = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
            Sort = list(
              Operand = list(
                Identity = "string"
              ),
              SortDirection = "ASCENDING"|"DESCENDING"
            ),
            DisplayFormat = "AUTO"|"PERCENT"|"CURRENCY"|"NUMBER"|"DATE"|"STRING",
            DisplayFormatOptions = list(
              UseBlankCellFormat = TRUE|FALSE,
              BlankCellFormat = "string",
              DateFormat = "string",
              DecimalSeparator = "COMMA"|"DOT",
              GroupingSeparator = "string",
              UseGrouping = TRUE|FALSE,
              FractionDigits = 123,
              Prefix = "string",
              Suffix = "string",
              UnitScaler = "NONE"|"AUTO"|"THOUSANDS"|"MILLIONS"|"BILLIONS"|"TRILLIONS",
              NegativeFormat = list(
                Prefix = "string",
                Suffix = "string"
              ),
              CurrencySymbol = "string"
            ),
            NamedEntity = list(
              NamedEntityName = "string"
            )
          )
        ),
        Filters = list(
          list(
            list(
              FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
              FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
              OperandField = list(
                Identity = "string"
              ),
              Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
              Constant = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inverse = TRUE|FALSE,
              NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
              Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
              AggregationFunctionParameters = list(
                "string"
              ),
              AggregationPartitionBy = list(
                list(
                  FieldName = "string",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                )
              ),
              Range = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inclusive = TRUE|FALSE,
              TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
              LastNextOffset = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              AggMetrics = list(
                list(
                  MetricOperand = list(
                    Identity = "string"
                  ),
                  Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                  SortDirection = "ASCENDING"|"DESCENDING"
                )
              ),
              TopBottomLimit = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              SortDirection = "ASCENDING"|"DESCENDING",
              Anchor = list(
                AnchorType = "TODAY",
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                Offset = 123
              )
            )
          )
        ),
        Sort = list(
          Operand = list(
            Identity = "string"
          ),
          SortDirection = "ASCENDING"|"DESCENDING"
        ),
        ContributionAnalysis = list(
          Factors = list(
            list(
              FieldName = "string"
            )
          ),
          TimeRanges = list(
            StartRange = list(
              FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
              FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
              OperandField = list(
                Identity = "string"
              ),
              Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
              Constant = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inverse = TRUE|FALSE,
              NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
              Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
              AggregationFunctionParameters = list(
                "string"
              ),
              AggregationPartitionBy = list(
                list(
                  FieldName = "string",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                )
              ),
              Range = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inclusive = TRUE|FALSE,
              TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
              LastNextOffset = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              AggMetrics = list(
                list(
                  MetricOperand = list(
                    Identity = "string"
                  ),
                  Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                  SortDirection = "ASCENDING"|"DESCENDING"
                )
              ),
              TopBottomLimit = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              SortDirection = "ASCENDING"|"DESCENDING",
              Anchor = list(
                AnchorType = "TODAY",
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                Offset = 123
              )
            ),
            EndRange = list(
              FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
              FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
              OperandField = list(
                Identity = "string"
              ),
              Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
              Constant = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inverse = TRUE|FALSE,
              NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
              Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
              AggregationFunctionParameters = list(
                "string"
              ),
              AggregationPartitionBy = list(
                list(
                  FieldName = "string",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                )
              ),
              Range = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              Inclusive = TRUE|FALSE,
              TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
              LastNextOffset = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              AggMetrics = list(
                list(
                  MetricOperand = list(
                    Identity = "string"
                  ),
                  Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                  SortDirection = "ASCENDING"|"DESCENDING"
                )
              ),
              TopBottomLimit = list(
                ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                Value = "string",
                Minimum = "string",
                Maximum = "string",
                ValueList = list(
                  list(
                    ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                    Value = "string"
                  )
                )
              ),
              SortDirection = "ASCENDING"|"DESCENDING",
              Anchor = list(
                AnchorType = "TODAY",
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                Offset = 123
              )
            )
          ),
          Direction = "INCREASE"|"DECREASE"|"NEUTRAL",
          SortType = "ABSOLUTE_DIFFERENCE"|"CONTRIBUTION_PERCENTAGE"|"DEVIATION_FROM_EXPECTED"|"PERCENTAGE_DIFFERENCE"
        ),
        Visual = list(
          type = "string"
        )
      ),
      PrimaryVisual = list(
        VisualId = "string",
        Role = "PRIMARY"|"COMPLIMENTARY"|"MULTI_INTENT"|"FALLBACK"|"FRAGMENT",
        Ir = list(
          Metrics = list(
            list(
              MetricId = list(
                Identity = "string"
              ),
              Function = list(
                Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                AggregationFunctionParameters = list(
                  "string"
                ),
                Period = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
                PeriodField = "string"
              ),
              Operands = list(
                list(
                  Identity = "string"
                )
              ),
              ComparisonMethod = list(
                Type = "DIFF"|"PERC_DIFF"|"DIFF_AS_PERC"|"POP_CURRENT_DIFF_AS_PERC"|"POP_CURRENT_DIFF"|"POP_OVERTIME_DIFF_AS_PERC"|"POP_OVERTIME_DIFF"|"PERCENT_OF_TOTAL"|"RUNNING_SUM"|"MOVING_AVERAGE",
                Period = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
                WindowSize = 123
              ),
              Expression = "string",
              CalculatedFieldReferences = list(
                list(
                  Identity = "string"
                )
              ),
              DisplayFormat = "AUTO"|"PERCENT"|"CURRENCY"|"NUMBER"|"DATE"|"STRING",
              DisplayFormatOptions = list(
                UseBlankCellFormat = TRUE|FALSE,
                BlankCellFormat = "string",
                DateFormat = "string",
                DecimalSeparator = "COMMA"|"DOT",
                GroupingSeparator = "string",
                UseGrouping = TRUE|FALSE,
                FractionDigits = 123,
                Prefix = "string",
                Suffix = "string",
                UnitScaler = "NONE"|"AUTO"|"THOUSANDS"|"MILLIONS"|"BILLIONS"|"TRILLIONS",
                NegativeFormat = list(
                  Prefix = "string",
                  Suffix = "string"
                ),
                CurrencySymbol = "string"
              ),
              NamedEntity = list(
                NamedEntityName = "string"
              )
            )
          ),
          GroupByList = list(
            list(
              FieldName = list(
                Identity = "string"
              ),
              TimeGranularity = "SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"|"MONTH"|"QUARTER"|"YEAR",
              Sort = list(
                Operand = list(
                  Identity = "string"
                ),
                SortDirection = "ASCENDING"|"DESCENDING"
              ),
              DisplayFormat = "AUTO"|"PERCENT"|"CURRENCY"|"NUMBER"|"DATE"|"STRING",
              DisplayFormatOptions = list(
                UseBlankCellFormat = TRUE|FALSE,
                BlankCellFormat = "string",
                DateFormat = "string",
                DecimalSeparator = "COMMA"|"DOT",
                GroupingSeparator = "string",
                UseGrouping = TRUE|FALSE,
                FractionDigits = 123,
                Prefix = "string",
                Suffix = "string",
                UnitScaler = "NONE"|"AUTO"|"THOUSANDS"|"MILLIONS"|"BILLIONS"|"TRILLIONS",
                NegativeFormat = list(
                  Prefix = "string",
                  Suffix = "string"
                ),
                CurrencySymbol = "string"
              ),
              NamedEntity = list(
                NamedEntityName = "string"
              )
            )
          ),
          Filters = list(
            list(
              list(
                FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
                FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
                OperandField = list(
                  Identity = "string"
                ),
                Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
                Constant = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inverse = TRUE|FALSE,
                NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
                Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                AggregationFunctionParameters = list(
                  "string"
                ),
                AggregationPartitionBy = list(
                  list(
                    FieldName = "string",
                    TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                  )
                ),
                Range = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inclusive = TRUE|FALSE,
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                LastNextOffset = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                AggMetrics = list(
                  list(
                    MetricOperand = list(
                      Identity = "string"
                    ),
                    Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                    SortDirection = "ASCENDING"|"DESCENDING"
                  )
                ),
                TopBottomLimit = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                SortDirection = "ASCENDING"|"DESCENDING",
                Anchor = list(
                  AnchorType = "TODAY",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                  Offset = 123
                )
              )
            )
          ),
          Sort = list(
            Operand = list(
              Identity = "string"
            ),
            SortDirection = "ASCENDING"|"DESCENDING"
          ),
          ContributionAnalysis = list(
            Factors = list(
              list(
                FieldName = "string"
              )
            ),
            TimeRanges = list(
              StartRange = list(
                FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
                FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
                OperandField = list(
                  Identity = "string"
                ),
                Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
                Constant = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inverse = TRUE|FALSE,
                NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
                Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                AggregationFunctionParameters = list(
                  "string"
                ),
                AggregationPartitionBy = list(
                  list(
                    FieldName = "string",
                    TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                  )
                ),
                Range = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inclusive = TRUE|FALSE,
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                LastNextOffset = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                AggMetrics = list(
                  list(
                    MetricOperand = list(
                      Identity = "string"
                    ),
                    Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                    SortDirection = "ASCENDING"|"DESCENDING"
                  )
                ),
                TopBottomLimit = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                SortDirection = "ASCENDING"|"DESCENDING",
                Anchor = list(
                  AnchorType = "TODAY",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                  Offset = 123
                )
              ),
              EndRange = list(
                FilterType = "CATEGORY_FILTER"|"NUMERIC_EQUALITY_FILTER"|"NUMERIC_RANGE_FILTER"|"DATE_RANGE_FILTER"|"RELATIVE_DATE_FILTER"|"TOP_BOTTOM_FILTER"|"EQUALS"|"RANK_LIMIT_FILTER"|"ACCEPT_ALL_FILTER",
                FilterClass = "ENFORCED_VALUE_FILTER"|"CONDITIONAL_VALUE_FILTER"|"NAMED_VALUE_FILTER",
                OperandField = list(
                  Identity = "string"
                ),
                Function = "CONTAINS"|"EXACT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS_STRING"|"PREVIOUS"|"THIS"|"LAST"|"NEXT"|"NOW",
                Constant = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inverse = TRUE|FALSE,
                NullFilter = "ALL_VALUES"|"NON_NULLS_ONLY"|"NULLS_ONLY",
                Aggregation = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                AggregationFunctionParameters = list(
                  "string"
                ),
                AggregationPartitionBy = list(
                  list(
                    FieldName = "string",
                    TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND"
                  )
                ),
                Range = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                Inclusive = TRUE|FALSE,
                TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                LastNextOffset = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                AggMetrics = list(
                  list(
                    MetricOperand = list(
                      Identity = "string"
                    ),
                    Function = "SUM"|"MIN"|"MAX"|"COUNT"|"AVERAGE"|"DISTINCT_COUNT"|"STDEV"|"STDEVP"|"VAR"|"VARP"|"PERCENTILE"|"MEDIAN"|"PTD_SUM"|"PTD_MIN"|"PTD_MAX"|"PTD_COUNT"|"PTD_DISTINCT_COUNT"|"PTD_AVERAGE"|"COLUMN"|"CUSTOM",
                    SortDirection = "ASCENDING"|"DESCENDING"
                  )
                ),
                TopBottomLimit = list(
                  ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                  Value = "string",
                  Minimum = "string",
                  Maximum = "string",
                  ValueList = list(
                    list(
                      ConstantType = "SINGULAR"|"RANGE"|"COLLECTIVE",
                      Value = "string"
                    )
                  )
                ),
                SortDirection = "ASCENDING"|"DESCENDING",
                Anchor = list(
                  AnchorType = "TODAY",
                  TimeGranularity = "YEAR"|"QUARTER"|"MONTH"|"WEEK"|"DAY"|"HOUR"|"MINUTE"|"SECOND"|"MILLISECOND",
                  Offset = 123
                )
              )
            ),
            Direction = "INCREASE"|"DECREASE"|"NEUTRAL",
            SortType = "ABSOLUTE_DIFFERENCE"|"CONTRIBUTION_PERCENTAGE"|"DEVIATION_FROM_EXPECTED"|"PERCENTAGE_DIFFERENCE"
          ),
          Visual = list(
            type = "string"
          )
        ),
        SupportingVisuals = list(
          list()
        )
      ),
      Template = list(
        TemplateType = "string",
        Slots = list(
          list(
            SlotId = "string",
            VisualId = "string"
          )
        )
      )
    )
  )
)