QuickSight / Client / batch_create_topic_reviewed_answer
batch_create_topic_reviewed_answer#
- QuickSight.Client.batch_create_topic_reviewed_answer(**kwargs)#
Creates new reviewed answers for a Q Topic.
See also: AWS API Documentation
Request Syntax
response = client.batch_create_topic_reviewed_answer( AwsAccountId='string', TopicId='string', Answers=[ { 'AnswerId': 'string', 'DatasetArn': 'string', 'Question': 'string', 'Mir': { 'Metrics': [ { 'MetricId': { 'Identity': 'string' }, 'Function': { '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': { 'string': 'string' }, 'Period': 'SECOND'|'MINUTE'|'HOUR'|'DAY'|'WEEK'|'MONTH'|'QUARTER'|'YEAR', 'PeriodField': 'string' }, 'Operands': [ { 'Identity': 'string' }, ], 'ComparisonMethod': { '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': [ { 'Identity': 'string' }, ], 'DisplayFormat': 'AUTO'|'PERCENT'|'CURRENCY'|'NUMBER'|'DATE'|'STRING', 'DisplayFormatOptions': { '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': { 'Prefix': 'string', 'Suffix': 'string' }, 'CurrencySymbol': 'string' }, 'NamedEntity': { 'NamedEntityName': 'string' } }, ], 'GroupByList': [ { 'FieldName': { 'Identity': 'string' }, 'TimeGranularity': 'SECOND'|'MINUTE'|'HOUR'|'DAY'|'WEEK'|'MONTH'|'QUARTER'|'YEAR', 'Sort': { 'Operand': { 'Identity': 'string' }, 'SortDirection': 'ASCENDING'|'DESCENDING' }, 'DisplayFormat': 'AUTO'|'PERCENT'|'CURRENCY'|'NUMBER'|'DATE'|'STRING', 'DisplayFormatOptions': { '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': { 'Prefix': 'string', 'Suffix': 'string' }, 'CurrencySymbol': 'string' }, 'NamedEntity': { 'NamedEntityName': 'string' } }, ], 'Filters': [ [ { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { 'AnchorType': 'TODAY', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'Offset': 123 } }, ], ], 'Sort': { 'Operand': { 'Identity': 'string' }, 'SortDirection': 'ASCENDING'|'DESCENDING' }, 'ContributionAnalysis': { 'Factors': [ { 'FieldName': 'string' }, ], 'TimeRanges': { 'StartRange': { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { 'AnchorType': 'TODAY', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'Offset': 123 } }, 'EndRange': { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { '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': { 'type': 'string' } }, 'PrimaryVisual': { 'VisualId': 'string', 'Role': 'PRIMARY'|'COMPLIMENTARY'|'MULTI_INTENT'|'FALLBACK'|'FRAGMENT', 'Ir': { 'Metrics': [ { 'MetricId': { 'Identity': 'string' }, 'Function': { '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': { 'string': 'string' }, 'Period': 'SECOND'|'MINUTE'|'HOUR'|'DAY'|'WEEK'|'MONTH'|'QUARTER'|'YEAR', 'PeriodField': 'string' }, 'Operands': [ { 'Identity': 'string' }, ], 'ComparisonMethod': { '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': [ { 'Identity': 'string' }, ], 'DisplayFormat': 'AUTO'|'PERCENT'|'CURRENCY'|'NUMBER'|'DATE'|'STRING', 'DisplayFormatOptions': { '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': { 'Prefix': 'string', 'Suffix': 'string' }, 'CurrencySymbol': 'string' }, 'NamedEntity': { 'NamedEntityName': 'string' } }, ], 'GroupByList': [ { 'FieldName': { 'Identity': 'string' }, 'TimeGranularity': 'SECOND'|'MINUTE'|'HOUR'|'DAY'|'WEEK'|'MONTH'|'QUARTER'|'YEAR', 'Sort': { 'Operand': { 'Identity': 'string' }, 'SortDirection': 'ASCENDING'|'DESCENDING' }, 'DisplayFormat': 'AUTO'|'PERCENT'|'CURRENCY'|'NUMBER'|'DATE'|'STRING', 'DisplayFormatOptions': { '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': { 'Prefix': 'string', 'Suffix': 'string' }, 'CurrencySymbol': 'string' }, 'NamedEntity': { 'NamedEntityName': 'string' } }, ], 'Filters': [ [ { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { 'AnchorType': 'TODAY', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'Offset': 123 } }, ], ], 'Sort': { 'Operand': { 'Identity': 'string' }, 'SortDirection': 'ASCENDING'|'DESCENDING' }, 'ContributionAnalysis': { 'Factors': [ { 'FieldName': 'string' }, ], 'TimeRanges': { 'StartRange': { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { 'AnchorType': 'TODAY', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'Offset': 123 } }, 'EndRange': { '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': { 'Identity': 'string' }, 'Function': 'CONTAINS'|'EXACT'|'STARTS_WITH'|'ENDS_WITH'|'CONTAINS_STRING'|'PREVIOUS'|'THIS'|'LAST'|'NEXT'|'NOW', 'Constant': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { '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': { 'string': 'string' }, 'AggregationPartitionBy': [ { 'FieldName': 'string', 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND' }, ], 'Range': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'Inclusive': True|False, 'TimeGranularity': 'YEAR'|'QUARTER'|'MONTH'|'WEEK'|'DAY'|'HOUR'|'MINUTE'|'SECOND'|'MILLISECOND', 'LastNextOffset': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'AggMetrics': [ { 'MetricOperand': { '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': { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string', 'Minimum': 'string', 'Maximum': 'string', 'ValueList': [ { 'ConstantType': 'SINGULAR'|'RANGE'|'COLLECTIVE', 'Value': 'string' }, ] }, 'SortDirection': 'ASCENDING'|'DESCENDING', 'Anchor': { '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': { 'type': 'string' } }, 'SupportingVisuals': [ {'... recursive ...'}, ] }, 'Template': { 'TemplateType': 'string', 'Slots': [ { 'SlotId': 'string', 'VisualId': 'string' }, ] } }, ] )
- Parameters:
AwsAccountId (string) β
[REQUIRED]
The ID of the Amazon Web Services account that you want to create a reviewed answer in.
TopicId (string) β
[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 (list) β
[REQUIRED]
The definition of the Answers to be created.
(dict) β
The definition for a
CreateTopicReviewedAnswer
.AnswerId (string) β [REQUIRED]
The answer ID for the
CreateTopicReviewedAnswer
.DatasetArn (string) β [REQUIRED]
The Dataset arn for the
CreateTopicReviewedAnswer
.Question (string) β [REQUIRED]
The Question to be created.
Mir (dict) β
The Mir for the
CreateTopicReviewedAnswer
.Metrics (list) β
The metrics for the
TopicIR
.(dict) β
The definition for a
TopicIRMetric
.MetricId (dict) β
The metric ID for the
TopicIRMetric
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (dict) β
The function for the
TopicIRMetric
.Aggregation (string) β
The aggregation of an Agg function.
AggregationFunctionParameters (dict) β
The aggregation parameters for an Agg function.
(string) β
(string) β
Period (string) β
The period of an Agg function.
PeriodField (string) β
The period field for an Agg function.
Operands (list) β
The operands for the
TopicIRMetric
.(dict) β
The definition for the identifier.
Identity (string) β [REQUIRED]
The identity of the identifier.
ComparisonMethod (dict) β
The comparison method for the
TopicIRMetric
.Type (string) β
The type for the
TopicIRComparisonMethod
.Period (string) β
The period for the
TopicIRComparisonMethod
.WindowSize (integer) β
The window size for the
TopicIRComparisonMethod
.
Expression (string) β
The expression for the
TopicIRMetric
.CalculatedFieldReferences (list) β
The calculated field references for the
TopicIRMetric
.(dict) β
The definition for the identifier.
Identity (string) β [REQUIRED]
The identity of the identifier.
DisplayFormat (string) β
The display format for the
TopicIRMetric
.DisplayFormatOptions (dict) β
A structure that represents additional options for display formatting.
UseBlankCellFormat (boolean) β
A Boolean value that indicates whether to use blank cell format.
BlankCellFormat (string) β
Determines the blank cell format.
DateFormat (string) β
Determines the
DateTime
format.DecimalSeparator (string) β
Determines the decimal separator.
GroupingSeparator (string) β
Determines the grouping separator.
UseGrouping (boolean) β
A Boolean value that indicates whether to use grouping.
FractionDigits (integer) β
Determines the number of fraction digits.
Prefix (string) β
The prefix value for a display format.
Suffix (string) β
The suffix value for a display format.
UnitScaler (string) β
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.NegativeFormat (dict) β
The negative format.
Prefix (string) β
The prefix for a negative format.
Suffix (string) β
The suffix for a negative format.
CurrencySymbol (string) β
The currency symbol, such as
USD
.
NamedEntity (dict) β
The named entity for the
TopicIRMetric
.NamedEntityName (string) β
The
NamedEntityName
for theNamedEntityRef
.
GroupByList (list) β
The GroupBy list for the
TopicIR
.(dict) β
The definition for a
TopicIRGroupBy
.FieldName (dict) β
The field name for the
TopicIRGroupBy
.Identity (string) β [REQUIRED]
The identity of the identifier.
TimeGranularity (string) β
The time granularity for the
TopicIRGroupBy
.Sort (dict) β
The sort for the
TopicIRGroupBy
.Operand (dict) β
The operand for a
TopicSortClause
.Identity (string) β [REQUIRED]
The identity of the identifier.
SortDirection (string) β
The sort direction for the
TopicSortClause
.
DisplayFormat (string) β
The display format for the
TopicIRGroupBy
.DisplayFormatOptions (dict) β
A structure that represents additional options for display formatting.
UseBlankCellFormat (boolean) β
A Boolean value that indicates whether to use blank cell format.
BlankCellFormat (string) β
Determines the blank cell format.
DateFormat (string) β
Determines the
DateTime
format.DecimalSeparator (string) β
Determines the decimal separator.
GroupingSeparator (string) β
Determines the grouping separator.
UseGrouping (boolean) β
A Boolean value that indicates whether to use grouping.
FractionDigits (integer) β
Determines the number of fraction digits.
Prefix (string) β
The prefix value for a display format.
Suffix (string) β
The suffix value for a display format.
UnitScaler (string) β
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.NegativeFormat (dict) β
The negative format.
Prefix (string) β
The prefix for a negative format.
Suffix (string) β
The suffix for a negative format.
CurrencySymbol (string) β
The currency symbol, such as
USD
.
NamedEntity (dict) β
The named entity for the
TopicIRGroupBy
.NamedEntityName (string) β
The
NamedEntityName
for theNamedEntityRef
.
Filters (list) β
The filters for the
TopicIR
.(list) β
(dict) β
The definition for a
TopicIRFilterOption
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
Sort (dict) β
The sort for the
TopicIR
.Operand (dict) β
The operand for a
TopicSortClause
.Identity (string) β [REQUIRED]
The identity of the identifier.
SortDirection (string) β
The sort direction for the
TopicSortClause
.
ContributionAnalysis (dict) β
The contribution analysis for the
TopicIR
.Factors (list) β
The factors for a
TopicIRContributionAnalysis
.(dict) β
The definition for the
ContributionAnalysisFactor
.FieldName (string) β
The field name of the
ContributionAnalysisFactor
.
TimeRanges (dict) β
The time ranges for the
TopicIRContributionAnalysis
.StartRange (dict) β
The start range for the
ContributionAnalysisTimeRanges
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
EndRange (dict) β
The end range for the
ContributionAnalysisTimeRanges
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
Direction (string) β
The direction for the
TopicIRContributionAnalysis
.SortType (string) β
The sort type for the
TopicIRContributionAnalysis
.
Visual (dict) β
The visual for the
TopicIR
.type (string) β
The type for a
VisualOptions
.
PrimaryVisual (dict) β
The
PrimaryVisual
for theCreateTopicReviewedAnswer
.VisualId (string) β
The visual ID for the
TopicVisual
.Role (string) β
The role for the
TopicVisual
.Ir (dict) β
The ir for the
TopicVisual
.Metrics (list) β
The metrics for the
TopicIR
.(dict) β
The definition for a
TopicIRMetric
.MetricId (dict) β
The metric ID for the
TopicIRMetric
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (dict) β
The function for the
TopicIRMetric
.Aggregation (string) β
The aggregation of an Agg function.
AggregationFunctionParameters (dict) β
The aggregation parameters for an Agg function.
(string) β
(string) β
Period (string) β
The period of an Agg function.
PeriodField (string) β
The period field for an Agg function.
Operands (list) β
The operands for the
TopicIRMetric
.(dict) β
The definition for the identifier.
Identity (string) β [REQUIRED]
The identity of the identifier.
ComparisonMethod (dict) β
The comparison method for the
TopicIRMetric
.Type (string) β
The type for the
TopicIRComparisonMethod
.Period (string) β
The period for the
TopicIRComparisonMethod
.WindowSize (integer) β
The window size for the
TopicIRComparisonMethod
.
Expression (string) β
The expression for the
TopicIRMetric
.CalculatedFieldReferences (list) β
The calculated field references for the
TopicIRMetric
.(dict) β
The definition for the identifier.
Identity (string) β [REQUIRED]
The identity of the identifier.
DisplayFormat (string) β
The display format for the
TopicIRMetric
.DisplayFormatOptions (dict) β
A structure that represents additional options for display formatting.
UseBlankCellFormat (boolean) β
A Boolean value that indicates whether to use blank cell format.
BlankCellFormat (string) β
Determines the blank cell format.
DateFormat (string) β
Determines the
DateTime
format.DecimalSeparator (string) β
Determines the decimal separator.
GroupingSeparator (string) β
Determines the grouping separator.
UseGrouping (boolean) β
A Boolean value that indicates whether to use grouping.
FractionDigits (integer) β
Determines the number of fraction digits.
Prefix (string) β
The prefix value for a display format.
Suffix (string) β
The suffix value for a display format.
UnitScaler (string) β
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.NegativeFormat (dict) β
The negative format.
Prefix (string) β
The prefix for a negative format.
Suffix (string) β
The suffix for a negative format.
CurrencySymbol (string) β
The currency symbol, such as
USD
.
NamedEntity (dict) β
The named entity for the
TopicIRMetric
.NamedEntityName (string) β
The
NamedEntityName
for theNamedEntityRef
.
GroupByList (list) β
The GroupBy list for the
TopicIR
.(dict) β
The definition for a
TopicIRGroupBy
.FieldName (dict) β
The field name for the
TopicIRGroupBy
.Identity (string) β [REQUIRED]
The identity of the identifier.
TimeGranularity (string) β
The time granularity for the
TopicIRGroupBy
.Sort (dict) β
The sort for the
TopicIRGroupBy
.Operand (dict) β
The operand for a
TopicSortClause
.Identity (string) β [REQUIRED]
The identity of the identifier.
SortDirection (string) β
The sort direction for the
TopicSortClause
.
DisplayFormat (string) β
The display format for the
TopicIRGroupBy
.DisplayFormatOptions (dict) β
A structure that represents additional options for display formatting.
UseBlankCellFormat (boolean) β
A Boolean value that indicates whether to use blank cell format.
BlankCellFormat (string) β
Determines the blank cell format.
DateFormat (string) β
Determines the
DateTime
format.DecimalSeparator (string) β
Determines the decimal separator.
GroupingSeparator (string) β
Determines the grouping separator.
UseGrouping (boolean) β
A Boolean value that indicates whether to use grouping.
FractionDigits (integer) β
Determines the number of fraction digits.
Prefix (string) β
The prefix value for a display format.
Suffix (string) β
The suffix value for a display format.
UnitScaler (string) β
The unit scaler. Valid values for this structure are:
NONE
,AUTO
,THOUSANDS
,MILLIONS
,BILLIONS
, andTRILLIONS
.NegativeFormat (dict) β
The negative format.
Prefix (string) β
The prefix for a negative format.
Suffix (string) β
The suffix for a negative format.
CurrencySymbol (string) β
The currency symbol, such as
USD
.
NamedEntity (dict) β
The named entity for the
TopicIRGroupBy
.NamedEntityName (string) β
The
NamedEntityName
for theNamedEntityRef
.
Filters (list) β
The filters for the
TopicIR
.(list) β
(dict) β
The definition for a
TopicIRFilterOption
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
Sort (dict) β
The sort for the
TopicIR
.Operand (dict) β
The operand for a
TopicSortClause
.Identity (string) β [REQUIRED]
The identity of the identifier.
SortDirection (string) β
The sort direction for the
TopicSortClause
.
ContributionAnalysis (dict) β
The contribution analysis for the
TopicIR
.Factors (list) β
The factors for a
TopicIRContributionAnalysis
.(dict) β
The definition for the
ContributionAnalysisFactor
.FieldName (string) β
The field name of the
ContributionAnalysisFactor
.
TimeRanges (dict) β
The time ranges for the
TopicIRContributionAnalysis
.StartRange (dict) β
The start range for the
ContributionAnalysisTimeRanges
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
EndRange (dict) β
The end range for the
ContributionAnalysisTimeRanges
.FilterType (string) β
The filter type for the
TopicIRFilterOption
.FilterClass (string) β
The filter class for the
TopicIRFilterOption
.OperandField (dict) β
The operand field for the
TopicIRFilterOption
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
TopicIRFilterOption
.Constant (dict) β
The constant for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inverse (boolean) β
The inverse for the
TopicIRFilterOption
.NullFilter (string) β
The null filter for the
TopicIRFilterOption
.Aggregation (string) β
The aggregation for the
TopicIRFilterOption
.AggregationFunctionParameters (dict) β
The aggregation function parameters for the
TopicIRFilterOption
.(string) β
(string) β
AggregationPartitionBy (list) β
The
AggregationPartitionBy
for theTopicIRFilterOption
.(dict) β
The definition of an
AggregationPartitionBy
.FieldName (string) β
The field Name for an
AggregationPartitionBy
.TimeGranularity (string) β
The
TimeGranularity
for anAggregationPartitionBy
.
Range (dict) β
The range for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
Inclusive (boolean) β
The inclusive for the
TopicIRFilterOption
.TimeGranularity (string) β
The time granularity for the
TopicIRFilterOption
.LastNextOffset (dict) β
The last next offset for the
TopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
AggMetrics (list) β
The agg metrics for the
TopicIRFilterOption
.(dict) β
The definition for the
FilterAggMetrics
.MetricOperand (dict) β
The metric operand of the
FilterAggMetrics
.Identity (string) β [REQUIRED]
The identity of the identifier.
Function (string) β
The function for the
FilterAggMetrics
.SortDirection (string) β
The sort direction for
FilterAggMetrics
.
TopBottomLimit (dict) β
The
TopBottomLimit
for theTopicIRFilterOption
.ConstantType (string) β
The constant type of a
TopicConstantValue
.Value (string) β
The value of the
TopicConstantValue
.Minimum (string) β
The minimum for the
TopicConstantValue
.Maximum (string) β
The maximum for the
TopicConstantValue
.ValueList (list) β
The value list of the
TopicConstantValue
.(dict) β
The definition for a
CollectiveConstantEntry
.ConstantType (string) β
The
ConstantType
of aCollectiveConstantEntry
.Value (string) β
The value of a
CollectiveConstantEntry
.
SortDirection (string) β
The sort direction for the
TopicIRFilterOption
.Anchor (dict) β
The anchor for the
TopicIRFilterOption
.AnchorType (string) β
The
AnchorType
for the Anchor.TimeGranularity (string) β
The
TimeGranularity
of the Anchor.Offset (integer) β
The offset of the Anchor.
Direction (string) β
The direction for the
TopicIRContributionAnalysis
.SortType (string) β
The sort type for the
TopicIRContributionAnalysis
.
Visual (dict) β
The visual for the
TopicIR
.type (string) β
The type for a
VisualOptions
.
SupportingVisuals (list) β
The supporting visuals for the
TopicVisual
.(dict) β
The definition for a
TopicVisual
.
Template (dict) β
The template for the
CreateTopicReviewedAnswer
.TemplateType (string) β
The template type for the
TopicTemplate
.Slots (list) β
The slots for the
TopicTemplate
.(dict) β
The definition for the slot.
SlotId (string) β
The slot ID of the slot.
VisualId (string) β
The visual ID for the slot.
- Return type:
dict
- Returns:
Response Syntax
{ 'TopicId': 'string', 'TopicArn': 'string', 'SucceededAnswers': [ { 'AnswerId': 'string' }, ], 'InvalidAnswers': [ { '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' }
Response Structure
(dict) β
TopicId (string) β
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.
TopicArn (string) β
The Amazon Resource Name (ARN) of the topic.
SucceededAnswers (list) β
The definition of Answers that are successfully created.
(dict) β
The definition for a
SucceededTopicReviewedAnswer
.AnswerId (string) β
The answer ID for the
SucceededTopicReviewedAnswer
.
InvalidAnswers (list) β
The definition of Answers that are invalid and not created.
(dict) β
The definition for a
InvalidTopicReviewedAnswer
.AnswerId (string) β
The answer ID for the
InvalidTopicReviewedAnswer
.Error (string) β
The error that is returned for the
InvalidTopicReviewedAnswer
.
Status (integer) β
The HTTP status of the request.
RequestId (string) β
The Amazon Web Services request ID for this operation.
Exceptions