@aws-sdk/client-quicksight 3.614.0 → 3.616.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +783 -401
  3. package/dist-es/QuickSight.js +6 -0
  4. package/dist-es/QuickSightClient.js +5 -5
  5. package/dist-es/commands/BatchCreateTopicReviewedAnswerCommand.js +25 -0
  6. package/dist-es/commands/BatchDeleteTopicReviewedAnswerCommand.js +24 -0
  7. package/dist-es/commands/CreateTemplateCommand.js +1 -1
  8. package/dist-es/commands/GenerateEmbedUrlForAnonymousUserCommand.js +1 -1
  9. package/dist-es/commands/GenerateEmbedUrlForRegisteredUserCommand.js +1 -1
  10. package/dist-es/commands/GetDashboardEmbedUrlCommand.js +1 -1
  11. package/dist-es/commands/GetSessionEmbedUrlCommand.js +1 -1
  12. package/dist-es/commands/ListTopicReviewedAnswersCommand.js +25 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +43 -16
  15. package/dist-es/models/models_1.js +5 -7
  16. package/dist-es/models/models_2.js +138 -101
  17. package/dist-es/models/models_3.js +70 -136
  18. package/dist-es/models/models_4.js +131 -2
  19. package/dist-es/protocols/Aws_restJson1.js +174 -4
  20. package/dist-types/QuickSight.d.ts +21 -0
  21. package/dist-types/QuickSightClient.d.ts +7 -4
  22. package/dist-types/commands/BatchCreateTopicReviewedAnswerCommand.d.ts +567 -0
  23. package/dist-types/commands/BatchDeleteTopicReviewedAnswerCommand.d.ts +99 -0
  24. package/dist-types/commands/CreateAnalysisCommand.d.ts +10 -0
  25. package/dist-types/commands/CreateDashboardCommand.d.ts +10 -0
  26. package/dist-types/commands/CreateFolderCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateFolderMembershipCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateGroupMembershipCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateIAMPolicyAssignmentCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateIngestionCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateNamespaceCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateRefreshScheduleCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateRoleMembershipCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateTemplateAliasCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateTemplateCommand.d.ts +11 -1
  37. package/dist-types/commands/DescribeAnalysisDefinitionCommand.d.ts +10 -0
  38. package/dist-types/commands/DescribeDashboardDefinitionCommand.d.ts +10 -0
  39. package/dist-types/commands/DescribeTemplateDefinitionCommand.d.ts +10 -0
  40. package/dist-types/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +1 -1
  41. package/dist-types/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +1 -1
  42. package/dist-types/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
  43. package/dist-types/commands/GetSessionEmbedUrlCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAnalysesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListAssetBundleExportJobsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListAssetBundleImportJobsCommand.d.ts +1 -2
  47. package/dist-types/commands/ListTopicReviewedAnswersCommand.d.ts +556 -0
  48. package/dist-types/commands/UpdateAnalysisCommand.d.ts +10 -0
  49. package/dist-types/commands/UpdateDashboardCommand.d.ts +10 -0
  50. package/dist-types/commands/UpdateTemplateCommand.d.ts +10 -0
  51. package/dist-types/commands/index.d.ts +3 -0
  52. package/dist-types/models/models_0.d.ts +119 -115
  53. package/dist-types/models/models_1.d.ts +97 -68
  54. package/dist-types/models/models_2.d.ts +2333 -2490
  55. package/dist-types/models/models_3.d.ts +4173 -4215
  56. package/dist-types/models/models_4.d.ts +1183 -2
  57. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/runtimeConfig.d.ts +1 -1
  60. package/dist-types/runtimeConfig.native.d.ts +1 -1
  61. package/dist-types/ts3.4/QuickSight.d.ts +51 -0
  62. package/dist-types/ts3.4/QuickSightClient.d.ts +20 -2
  63. package/dist-types/ts3.4/commands/BatchCreateTopicReviewedAnswerCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/BatchDeleteTopicReviewedAnswerCommand.d.ts +40 -0
  65. package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +2 -1
  66. package/dist-types/ts3.4/commands/CreateFolderMembershipCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/CreateGroupMembershipCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/CreateIAMPolicyAssignmentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/CreateIngestionCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/CreateRefreshScheduleCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateRoleMembershipCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateTemplateAliasCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/GenerateEmbedUrlForAnonymousUserCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/GenerateEmbedUrlForRegisteredUserCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/GetDashboardEmbedUrlCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/GetSessionEmbedUrlCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListAnalysesCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListAssetBundleExportJobsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListAssetBundleImportJobsCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/ListTopicReviewedAnswersCommand.d.ts +40 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +60 -38
  86. package/dist-types/ts3.4/models/models_1.d.ts +26 -25
  87. package/dist-types/ts3.4/models/models_2.d.ts +339 -316
  88. package/dist-types/ts3.4/models/models_3.d.ts +286 -313
  89. package/dist-types/ts3.4/models/models_4.d.ts +317 -13
  90. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  94. package/package.json +17 -17
@@ -48,6 +48,47 @@ export type DashboardBehavior =
48
48
  export interface AdHocFilteringOption {
49
49
  AvailabilityStatus?: DashboardBehavior;
50
50
  }
51
+ export declare const AggType: {
52
+ readonly AVERAGE: "AVERAGE";
53
+ readonly COLUMN: "COLUMN";
54
+ readonly COUNT: "COUNT";
55
+ readonly CUSTOM: "CUSTOM";
56
+ readonly DISTINCT_COUNT: "DISTINCT_COUNT";
57
+ readonly MAX: "MAX";
58
+ readonly MEDIAN: "MEDIAN";
59
+ readonly MIN: "MIN";
60
+ readonly PERCENTILE: "PERCENTILE";
61
+ readonly PTD_AVERAGE: "PTD_AVERAGE";
62
+ readonly PTD_COUNT: "PTD_COUNT";
63
+ readonly PTD_DISTINCT_COUNT: "PTD_DISTINCT_COUNT";
64
+ readonly PTD_MAX: "PTD_MAX";
65
+ readonly PTD_MIN: "PTD_MIN";
66
+ readonly PTD_SUM: "PTD_SUM";
67
+ readonly STDEV: "STDEV";
68
+ readonly STDEVP: "STDEVP";
69
+ readonly SUM: "SUM";
70
+ readonly VAR: "VAR";
71
+ readonly VARP: "VARP";
72
+ };
73
+ export type AggType = (typeof AggType)[keyof typeof AggType];
74
+ export declare const TopicTimeGranularity: {
75
+ readonly DAY: "DAY";
76
+ readonly HOUR: "HOUR";
77
+ readonly MINUTE: "MINUTE";
78
+ readonly MONTH: "MONTH";
79
+ readonly QUARTER: "QUARTER";
80
+ readonly SECOND: "SECOND";
81
+ readonly WEEK: "WEEK";
82
+ readonly YEAR: "YEAR";
83
+ };
84
+ export type TopicTimeGranularity =
85
+ (typeof TopicTimeGranularity)[keyof typeof TopicTimeGranularity];
86
+ export interface AggFunction {
87
+ Aggregation?: AggType;
88
+ AggregationFunctionParameters?: Record<string, string>;
89
+ Period?: TopicTimeGranularity;
90
+ PeriodField?: string;
91
+ }
51
92
  export declare const SimpleAttributeAggregationFunction: {
52
93
  readonly UNIQUE_VALUE: "UNIQUE_VALUE";
53
94
  };
@@ -99,6 +140,23 @@ export interface AggregationFunction {
99
140
  DateAggregationFunction?: DateAggregationFunction;
100
141
  AttributeAggregationFunction?: AttributeAggregationFunction;
101
142
  }
143
+ export declare const TimeGranularity: {
144
+ readonly DAY: "DAY";
145
+ readonly HOUR: "HOUR";
146
+ readonly MILLISECOND: "MILLISECOND";
147
+ readonly MINUTE: "MINUTE";
148
+ readonly MONTH: "MONTH";
149
+ readonly QUARTER: "QUARTER";
150
+ readonly SECOND: "SECOND";
151
+ readonly WEEK: "WEEK";
152
+ readonly YEAR: "YEAR";
153
+ };
154
+ export type TimeGranularity =
155
+ (typeof TimeGranularity)[keyof typeof TimeGranularity];
156
+ export interface AggregationPartitionBy {
157
+ FieldName?: string;
158
+ TimeGranularity?: TimeGranularity;
159
+ }
102
160
  export interface ColumnIdentifier {
103
161
  DataSetIdentifier: string | undefined;
104
162
  ColumnName: string | undefined;
@@ -482,6 +540,8 @@ export interface DateTimePickerControlDisplayOptions {
482
540
  TitleOptions?: LabelOptions;
483
541
  DateTimeFormat?: string;
484
542
  InfoIconLabelOptions?: SheetControlInfoIconLabelOptions;
543
+ HelperTextVisibility?: Visibility;
544
+ DateIconVisibility?: Visibility;
485
545
  }
486
546
  export declare const SheetControlDateTimePickerType: {
487
547
  readonly DATE_RANGE: "DATE_RANGE";
@@ -653,19 +713,6 @@ export interface AnchorDateConfiguration {
653
713
  AnchorOption?: AnchorOption;
654
714
  ParameterName?: string;
655
715
  }
656
- export declare const TimeGranularity: {
657
- readonly DAY: "DAY";
658
- readonly HOUR: "HOUR";
659
- readonly MILLISECOND: "MILLISECOND";
660
- readonly MINUTE: "MINUTE";
661
- readonly MONTH: "MONTH";
662
- readonly QUARTER: "QUARTER";
663
- readonly SECOND: "SECOND";
664
- readonly WEEK: "WEEK";
665
- readonly YEAR: "YEAR";
666
- };
667
- export type TimeGranularity =
668
- (typeof TimeGranularity)[keyof typeof TimeGranularity];
669
716
  export declare const WidgetStatus: {
670
717
  readonly DISABLED: "DISABLED";
671
718
  readonly ENABLED: "ENABLED";
@@ -1622,31 +1669,6 @@ export interface FieldSort {
1622
1669
  FieldId: string | undefined;
1623
1670
  Direction: SortDirection | undefined;
1624
1671
  }
1625
- export interface FieldSortOptions {
1626
- FieldSort?: FieldSort;
1627
- ColumnSort?: ColumnSort;
1628
- }
1629
- export interface BarChartSortConfiguration {
1630
- CategorySort?: FieldSortOptions[];
1631
- CategoryItemsLimit?: ItemsLimitConfiguration;
1632
- ColorSort?: FieldSortOptions[];
1633
- ColorItemsLimit?: ItemsLimitConfiguration;
1634
- SmallMultiplesSort?: FieldSortOptions[];
1635
- SmallMultiplesLimitConfiguration?: ItemsLimitConfiguration;
1636
- }
1637
- export declare const TooltipTarget: {
1638
- readonly BAR: "BAR";
1639
- readonly BOTH: "BOTH";
1640
- readonly LINE: "LINE";
1641
- };
1642
- export type TooltipTarget = (typeof TooltipTarget)[keyof typeof TooltipTarget];
1643
- export interface ColumnTooltipItem {
1644
- Column: ColumnIdentifier | undefined;
1645
- Label?: string;
1646
- Visibility?: Visibility;
1647
- Aggregation?: AggregationFunction;
1648
- TooltipTarget?: TooltipTarget;
1649
- }
1650
1672
  export declare const CalculatedFieldFilterSensitiveLog: (
1651
1673
  obj: CalculatedField
1652
1674
  ) => any;
@@ -1,20 +1,18 @@
1
1
  import {
2
+ AggregationFunction,
2
3
  AxisBinding,
3
4
  AxisDisplayOptions,
4
5
  BarChartFieldWells,
5
6
  BarChartOrientation,
6
- BarChartSortConfiguration,
7
7
  BarsArrangement,
8
8
  ChartAxisLabelOptions,
9
9
  ColumnIdentifier,
10
10
  ColumnSort,
11
- ColumnTooltipItem,
12
11
  ContributionAnalysisDefault,
13
12
  DataLabelOptions,
14
13
  DataLabelPosition,
15
14
  DimensionField,
16
15
  FieldSort,
17
- FieldSortOptions,
18
16
  FontConfiguration,
19
17
  FormatConfiguration,
20
18
  HorizontalTextAlignment,
@@ -27,13 +25,37 @@ import {
27
25
  SmallMultiplesOptions,
28
26
  SortDirection,
29
27
  TimeGranularity,
30
- TooltipTarget,
31
28
  URLTargetConfiguration,
32
29
  Visibility,
33
30
  VisualCustomAction,
34
31
  VisualInteractionOptions,
35
32
  WidgetStatus,
36
33
  } from "./models_0";
34
+ export interface FieldSortOptions {
35
+ FieldSort?: FieldSort;
36
+ ColumnSort?: ColumnSort;
37
+ }
38
+ export interface BarChartSortConfiguration {
39
+ CategorySort?: FieldSortOptions[];
40
+ CategoryItemsLimit?: ItemsLimitConfiguration;
41
+ ColorSort?: FieldSortOptions[];
42
+ ColorItemsLimit?: ItemsLimitConfiguration;
43
+ SmallMultiplesSort?: FieldSortOptions[];
44
+ SmallMultiplesLimitConfiguration?: ItemsLimitConfiguration;
45
+ }
46
+ export declare const TooltipTarget: {
47
+ readonly BAR: "BAR";
48
+ readonly BOTH: "BOTH";
49
+ readonly LINE: "LINE";
50
+ };
51
+ export type TooltipTarget = (typeof TooltipTarget)[keyof typeof TooltipTarget];
52
+ export interface ColumnTooltipItem {
53
+ Column: ColumnIdentifier | undefined;
54
+ Label?: string;
55
+ Visibility?: Visibility;
56
+ Aggregation?: AggregationFunction;
57
+ TooltipTarget?: TooltipTarget;
58
+ }
37
59
  export interface FieldTooltipItem {
38
60
  FieldId: string | undefined;
39
61
  Label?: string;
@@ -1730,21 +1752,6 @@ export interface WaterfallChartGroupColorConfiguration {
1730
1752
  NegativeBarColor?: string;
1731
1753
  TotalBarColor?: string;
1732
1754
  }
1733
- export interface WaterfallChartColorConfiguration {
1734
- GroupColorConfiguration?: WaterfallChartGroupColorConfiguration;
1735
- }
1736
- export interface WaterfallChartAggregatedFieldWells {
1737
- Categories?: DimensionField[];
1738
- Values?: MeasureField[];
1739
- Breakdowns?: DimensionField[];
1740
- }
1741
- export interface WaterfallChartFieldWells {
1742
- WaterfallChartAggregatedFieldWells?: WaterfallChartAggregatedFieldWells;
1743
- }
1744
- export interface WaterfallChartSortConfiguration {
1745
- CategorySort?: FieldSortOptions[];
1746
- BreakdownItemsLimit?: ItemsLimitConfiguration;
1747
- }
1748
1755
  export declare const DataPathValueFilterSensitiveLog: (
1749
1756
  obj: DataPathValue
1750
1757
  ) => any;
@@ -2124,9 +2131,3 @@ export declare const TreeMapConfigurationFilterSensitiveLog: (
2124
2131
  export declare const TreeMapVisualFilterSensitiveLog: (
2125
2132
  obj: TreeMapVisual
2126
2133
  ) => any;
2127
- export declare const WaterfallChartAggregatedFieldWellsFilterSensitiveLog: (
2128
- obj: WaterfallChartAggregatedFieldWells
2129
- ) => any;
2130
- export declare const WaterfallChartFieldWellsFilterSensitiveLog: (
2131
- obj: WaterfallChartFieldWells
2132
- ) => any;