@aws-sdk/client-cleanrooms 3.1109.0 → 3.1111.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 (28) hide show
  1. package/dist-cjs/index.js +70 -23
  2. package/dist-es/models/enums.js +7 -0
  3. package/dist-es/schemas/schemas_0.js +57 -22
  4. package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +36 -0
  5. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +36 -0
  6. package/dist-types/commands/CreateIntermediateTableAnalysisRuleCommand.d.ts +40 -0
  7. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +18 -0
  8. package/dist-types/commands/GetIntermediateTableAnalysisRuleCommand.d.ts +20 -0
  9. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +36 -0
  10. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +36 -0
  11. package/dist-types/commands/UpdateIntermediateTableAnalysisRuleCommand.d.ts +40 -0
  12. package/dist-types/models/enums.d.ts +23 -0
  13. package/dist-types/models/models_0.d.ts +96 -90
  14. package/dist-types/models/models_1.d.ts +89 -2
  15. package/dist-types/runtimeConfig.browser.d.ts +38 -38
  16. package/dist-types/runtimeConfig.d.ts +36 -36
  17. package/dist-types/runtimeConfig.native.d.ts +37 -37
  18. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  19. package/dist-types/schemas/schemas_0.d.ts +3 -0
  20. package/dist-types/ts3.4/models/enums.d.ts +11 -0
  21. package/dist-types/ts3.4/models/models_0.d.ts +23 -40
  22. package/dist-types/ts3.4/models/models_1.d.ts +40 -3
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
  28. package/package.json +5 -5
@@ -115,6 +115,24 @@ declare const BatchGetSchemaAnalysisRuleCommand_base: {
115
115
  * // },
116
116
  * // ],
117
117
  * // },
118
+ * // aggregationThresholds: [ // AggregationThresholdList
119
+ * // { // AggregationThreshold
120
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
121
+ * // minimumIdentityCount: Number("int"), // required
122
+ * // type: "COUNT_DISTINCT", // required
123
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
124
+ * // { // OutputColumnThreshold
125
+ * // outputColumnName: "STRING_VALUE", // required
126
+ * // minimumIdentityCount: Number("int"), // required
127
+ * // },
128
+ * // ],
129
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
130
+ * // },
131
+ * // ],
132
+ * // comparisonControls: { // ComparisonControls
133
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
134
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
135
+ * // },
118
136
  * // allowedResultReceivers: [ // AllowedResultReceivers
119
137
  * // "STRING_VALUE",
120
138
  * // ],
@@ -224,6 +242,24 @@ declare const BatchGetSchemaAnalysisRuleCommand_base: {
224
242
  * // },
225
243
  * // ],
226
244
  * // },
245
+ * // aggregationThresholds: [
246
+ * // {
247
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
248
+ * // minimumIdentityCount: Number("int"), // required
249
+ * // type: "COUNT_DISTINCT", // required
250
+ * // outputColumnThresholds: [
251
+ * // {
252
+ * // outputColumnName: "STRING_VALUE", // required
253
+ * // minimumIdentityCount: Number("int"), // required
254
+ * // },
255
+ * // ],
256
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
257
+ * // },
258
+ * // ],
259
+ * // comparisonControls: {
260
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
261
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
262
+ * // },
227
263
  * // allowedResultReceivers: "<AllowedResultReceivers>",
228
264
  * // allowedAdditionalAnalyses: "<AllowedAdditionalAnalyses>",
229
265
  * // },
@@ -99,6 +99,24 @@ declare const CreateConfiguredTableAnalysisRuleCommand_base: {
99
99
  * },
100
100
  * ],
101
101
  * },
102
+ * aggregationThresholds: [ // AggregationThresholdList
103
+ * { // AggregationThreshold
104
+ * identityColumns: "<AnalysisRuleColumnList>", // required
105
+ * minimumIdentityCount: Number("int"), // required
106
+ * type: "COUNT_DISTINCT", // required
107
+ * outputColumnThresholds: [ // OutputColumnThresholdList
108
+ * { // OutputColumnThreshold
109
+ * outputColumnName: "STRING_VALUE", // required
110
+ * minimumIdentityCount: Number("int"), // required
111
+ * },
112
+ * ],
113
+ * allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
114
+ * },
115
+ * ],
116
+ * comparisonControls: { // ComparisonControls
117
+ * allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
118
+ * allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
119
+ * },
102
120
  * allowedResultReceivers: [ // AllowedResultReceivers
103
121
  * "STRING_VALUE",
104
122
  * ],
@@ -178,6 +196,24 @@ declare const CreateConfiguredTableAnalysisRuleCommand_base: {
178
196
  * // },
179
197
  * // ],
180
198
  * // },
199
+ * // aggregationThresholds: [ // AggregationThresholdList
200
+ * // { // AggregationThreshold
201
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
202
+ * // minimumIdentityCount: Number("int"), // required
203
+ * // type: "COUNT_DISTINCT", // required
204
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
205
+ * // { // OutputColumnThreshold
206
+ * // outputColumnName: "STRING_VALUE", // required
207
+ * // minimumIdentityCount: Number("int"), // required
208
+ * // },
209
+ * // ],
210
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
211
+ * // },
212
+ * // ],
213
+ * // comparisonControls: { // ComparisonControls
214
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
215
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
216
+ * // },
181
217
  * // allowedResultReceivers: [ // AllowedResultReceivers
182
218
  * // "STRING_VALUE",
183
219
  * // ],
@@ -63,6 +63,26 @@ declare const CreateIntermediateTableAnalysisRuleCommand_base: {
63
63
  * disallowedOutputColumns: [ // AnalysisRuleColumnList
64
64
  * "STRING_VALUE",
65
65
  * ],
66
+ * aggregationThresholds: [ // AggregationThresholdList
67
+ * { // AggregationThreshold
68
+ * identityColumns: [ // required
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * minimumIdentityCount: Number("int"), // required
72
+ * type: "COUNT_DISTINCT", // required
73
+ * outputColumnThresholds: [ // OutputColumnThresholdList
74
+ * { // OutputColumnThreshold
75
+ * outputColumnName: "STRING_VALUE", // required
76
+ * minimumIdentityCount: Number("int"), // required
77
+ * },
78
+ * ],
79
+ * allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
80
+ * },
81
+ * ],
82
+ * comparisonControls: { // ComparisonControls
83
+ * allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
84
+ * allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
85
+ * },
66
86
  * },
67
87
  * },
68
88
  * },
@@ -99,6 +119,26 @@ declare const CreateIntermediateTableAnalysisRuleCommand_base: {
99
119
  * // disallowedOutputColumns: [ // AnalysisRuleColumnList
100
120
  * // "STRING_VALUE",
101
121
  * // ],
122
+ * // aggregationThresholds: [ // AggregationThresholdList
123
+ * // { // AggregationThreshold
124
+ * // identityColumns: [ // required
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // minimumIdentityCount: Number("int"), // required
128
+ * // type: "COUNT_DISTINCT", // required
129
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
130
+ * // { // OutputColumnThreshold
131
+ * // outputColumnName: "STRING_VALUE", // required
132
+ * // minimumIdentityCount: Number("int"), // required
133
+ * // },
134
+ * // ],
135
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
136
+ * // },
137
+ * // ],
138
+ * // comparisonControls: { // ComparisonControls
139
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
140
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
141
+ * // },
102
142
  * // },
103
143
  * // },
104
144
  * // },
@@ -106,6 +106,24 @@ declare const GetConfiguredTableAnalysisRuleCommand_base: {
106
106
  * // },
107
107
  * // ],
108
108
  * // },
109
+ * // aggregationThresholds: [ // AggregationThresholdList
110
+ * // { // AggregationThreshold
111
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
112
+ * // minimumIdentityCount: Number("int"), // required
113
+ * // type: "COUNT_DISTINCT", // required
114
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
115
+ * // { // OutputColumnThreshold
116
+ * // outputColumnName: "STRING_VALUE", // required
117
+ * // minimumIdentityCount: Number("int"), // required
118
+ * // },
119
+ * // ],
120
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
121
+ * // },
122
+ * // ],
123
+ * // comparisonControls: { // ComparisonControls
124
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
125
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
126
+ * // },
109
127
  * // allowedResultReceivers: [ // AllowedResultReceivers
110
128
  * // "STRING_VALUE",
111
129
  * // ],
@@ -70,6 +70,26 @@ declare const GetIntermediateTableAnalysisRuleCommand_base: {
70
70
  * // disallowedOutputColumns: [ // AnalysisRuleColumnList
71
71
  * // "STRING_VALUE",
72
72
  * // ],
73
+ * // aggregationThresholds: [ // AggregationThresholdList
74
+ * // { // AggregationThreshold
75
+ * // identityColumns: [ // required
76
+ * // "STRING_VALUE",
77
+ * // ],
78
+ * // minimumIdentityCount: Number("int"), // required
79
+ * // type: "COUNT_DISTINCT", // required
80
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
81
+ * // { // OutputColumnThreshold
82
+ * // outputColumnName: "STRING_VALUE", // required
83
+ * // minimumIdentityCount: Number("int"), // required
84
+ * // },
85
+ * // ],
86
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
87
+ * // },
88
+ * // ],
89
+ * // comparisonControls: { // ComparisonControls
90
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
91
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
92
+ * // },
73
93
  * // },
74
94
  * // },
75
95
  * // },
@@ -110,6 +110,24 @@ declare const GetSchemaAnalysisRuleCommand_base: {
110
110
  * // },
111
111
  * // ],
112
112
  * // },
113
+ * // aggregationThresholds: [ // AggregationThresholdList
114
+ * // { // AggregationThreshold
115
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
116
+ * // minimumIdentityCount: Number("int"), // required
117
+ * // type: "COUNT_DISTINCT", // required
118
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
119
+ * // { // OutputColumnThreshold
120
+ * // outputColumnName: "STRING_VALUE", // required
121
+ * // minimumIdentityCount: Number("int"), // required
122
+ * // },
123
+ * // ],
124
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
125
+ * // },
126
+ * // ],
127
+ * // comparisonControls: { // ComparisonControls
128
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
129
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
130
+ * // },
113
131
  * // allowedResultReceivers: [ // AllowedResultReceivers
114
132
  * // "STRING_VALUE",
115
133
  * // ],
@@ -219,6 +237,24 @@ declare const GetSchemaAnalysisRuleCommand_base: {
219
237
  * // },
220
238
  * // ],
221
239
  * // },
240
+ * // aggregationThresholds: [
241
+ * // {
242
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
243
+ * // minimumIdentityCount: Number("int"), // required
244
+ * // type: "COUNT_DISTINCT", // required
245
+ * // outputColumnThresholds: [
246
+ * // {
247
+ * // outputColumnName: "STRING_VALUE", // required
248
+ * // minimumIdentityCount: Number("int"), // required
249
+ * // },
250
+ * // ],
251
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
252
+ * // },
253
+ * // ],
254
+ * // comparisonControls: {
255
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
256
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
257
+ * // },
222
258
  * // allowedResultReceivers: "<AllowedResultReceivers>",
223
259
  * // allowedAdditionalAnalyses: "<AllowedAdditionalAnalyses>",
224
260
  * // },
@@ -99,6 +99,24 @@ declare const UpdateConfiguredTableAnalysisRuleCommand_base: {
99
99
  * },
100
100
  * ],
101
101
  * },
102
+ * aggregationThresholds: [ // AggregationThresholdList
103
+ * { // AggregationThreshold
104
+ * identityColumns: "<AnalysisRuleColumnList>", // required
105
+ * minimumIdentityCount: Number("int"), // required
106
+ * type: "COUNT_DISTINCT", // required
107
+ * outputColumnThresholds: [ // OutputColumnThresholdList
108
+ * { // OutputColumnThreshold
109
+ * outputColumnName: "STRING_VALUE", // required
110
+ * minimumIdentityCount: Number("int"), // required
111
+ * },
112
+ * ],
113
+ * allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
114
+ * },
115
+ * ],
116
+ * comparisonControls: { // ComparisonControls
117
+ * allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
118
+ * allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
119
+ * },
102
120
  * allowedResultReceivers: [ // AllowedResultReceivers
103
121
  * "STRING_VALUE",
104
122
  * ],
@@ -178,6 +196,24 @@ declare const UpdateConfiguredTableAnalysisRuleCommand_base: {
178
196
  * // },
179
197
  * // ],
180
198
  * // },
199
+ * // aggregationThresholds: [ // AggregationThresholdList
200
+ * // { // AggregationThreshold
201
+ * // identityColumns: "<AnalysisRuleColumnList>", // required
202
+ * // minimumIdentityCount: Number("int"), // required
203
+ * // type: "COUNT_DISTINCT", // required
204
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
205
+ * // { // OutputColumnThreshold
206
+ * // outputColumnName: "STRING_VALUE", // required
207
+ * // minimumIdentityCount: Number("int"), // required
208
+ * // },
209
+ * // ],
210
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
211
+ * // },
212
+ * // ],
213
+ * // comparisonControls: { // ComparisonControls
214
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
215
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
216
+ * // },
181
217
  * // allowedResultReceivers: [ // AllowedResultReceivers
182
218
  * // "STRING_VALUE",
183
219
  * // ],
@@ -63,6 +63,26 @@ declare const UpdateIntermediateTableAnalysisRuleCommand_base: {
63
63
  * disallowedOutputColumns: [ // AnalysisRuleColumnList
64
64
  * "STRING_VALUE",
65
65
  * ],
66
+ * aggregationThresholds: [ // AggregationThresholdList
67
+ * { // AggregationThreshold
68
+ * identityColumns: [ // required
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * minimumIdentityCount: Number("int"), // required
72
+ * type: "COUNT_DISTINCT", // required
73
+ * outputColumnThresholds: [ // OutputColumnThresholdList
74
+ * { // OutputColumnThreshold
75
+ * outputColumnName: "STRING_VALUE", // required
76
+ * minimumIdentityCount: Number("int"), // required
77
+ * },
78
+ * ],
79
+ * allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
80
+ * },
81
+ * ],
82
+ * comparisonControls: { // ComparisonControls
83
+ * allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
84
+ * allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
85
+ * },
66
86
  * },
67
87
  * },
68
88
  * },
@@ -99,6 +119,26 @@ declare const UpdateIntermediateTableAnalysisRuleCommand_base: {
99
119
  * // disallowedOutputColumns: [ // AnalysisRuleColumnList
100
120
  * // "STRING_VALUE",
101
121
  * // ],
122
+ * // aggregationThresholds: [ // AggregationThresholdList
123
+ * // { // AggregationThreshold
124
+ * // identityColumns: [ // required
125
+ * // "STRING_VALUE",
126
+ * // ],
127
+ * // minimumIdentityCount: Number("int"), // required
128
+ * // type: "COUNT_DISTINCT", // required
129
+ * // outputColumnThresholds: [ // OutputColumnThresholdList
130
+ * // { // OutputColumnThreshold
131
+ * // outputColumnName: "STRING_VALUE", // required
132
+ * // minimumIdentityCount: Number("int"), // required
133
+ * // },
134
+ * // ],
135
+ * // allowedAggregateExpressionType: "COLUMNS_ONLY" || "ANY_EXPRESSION", // required
136
+ * // },
137
+ * // ],
138
+ * // comparisonControls: { // ComparisonControls
139
+ * // allowedLiteralComparisonColumns: "<AnalysisRuleColumnList>", // required
140
+ * // allowedColumnComparisonColumns: "<AnalysisRuleColumnList>", // required
141
+ * // },
102
142
  * // },
103
143
  * // },
104
144
  * // },
@@ -74,6 +74,29 @@ export declare const AggregationType: {
74
74
  * @public
75
75
  */
76
76
  export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const AllowedAggregateExpressionType: {
82
+ readonly ANY_EXPRESSION: "ANY_EXPRESSION";
83
+ readonly COLUMNS_ONLY: "COLUMNS_ONLY";
84
+ };
85
+ /**
86
+ * @public
87
+ */
88
+ export type AllowedAggregateExpressionType = (typeof AllowedAggregateExpressionType)[keyof typeof AllowedAggregateExpressionType];
89
+ /**
90
+ * @public
91
+ * @enum
92
+ */
93
+ export declare const AggregationThresholdType: {
94
+ readonly COUNT_DISTINCT: "COUNT_DISTINCT";
95
+ };
96
+ /**
97
+ * @public
98
+ */
99
+ export type AggregationThresholdType = (typeof AggregationThresholdType)[keyof typeof AggregationThresholdType];
77
100
  /**
78
101
  * @public
79
102
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AccessBudgetType, AdditionalAnalyses, AggregateFunctionName, AggregationType, AnalysisFormat, AnalysisLogExportStatus, AnalysisMethod, AnalysisRuleType, AnalysisTemplateValidationStatus, AnalysisTemplateValidationType, AnalysisType, AnalyticsEngine, ApprovalStatus, AutoApprovedChangeType, AutoRefreshMode, BaseTableDependencyType, BaseTableParentType, ChangeRequestAction, ChangeRequestStatus, ChangeSpecificationType, ChangeType, ChildResourceType, CollaborationJobLogStatus, CollaborationQueryLogStatus, CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, CustomMLMemberAbility, DifferentialPrivacyAggregationType, ErrorMessageType, FilterableMemberStatus, IdNamespaceType, IntermediateTableAnalysisRuleType, IntermediateTableStatus, IntermediateTableVersionStatus, JobType, JoinOperator, JoinRequiredOption, LogExportAnalysisType, MemberAbility, MemberStatus, ParameterType, PopulateIntermediateTableAnalysisType, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetType, ResourceStatus, ScalarFunctions, SchemaConfiguration, SchemaStatus, SchemaStatusReasonCode, SchemaType, SelectedAnalysisMethod, SupportedS3Region, SyntheticDataColumnType, WorkerComputeType } from "./enums";
2
+ import type { AccessBudgetType, AdditionalAnalyses, AggregateFunctionName, AggregationThresholdType, AggregationType, AllowedAggregateExpressionType, AnalysisFormat, AnalysisLogExportStatus, AnalysisMethod, AnalysisRuleType, AnalysisTemplateValidationStatus, AnalysisTemplateValidationType, AnalysisType, AnalyticsEngine, ApprovalStatus, AutoApprovedChangeType, AutoRefreshMode, BaseTableDependencyType, BaseTableParentType, ChangeRequestAction, ChangeRequestStatus, ChangeSpecificationType, ChangeType, ChildResourceType, CollaborationJobLogStatus, CollaborationQueryLogStatus, CommercialRegion, ConfiguredTableAnalysisRuleType, ConfiguredTableAssociationAnalysisRuleType, CustomMLMemberAbility, DifferentialPrivacyAggregationType, ErrorMessageType, FilterableMemberStatus, IdNamespaceType, IntermediateTableAnalysisRuleType, IntermediateTableStatus, IntermediateTableVersionStatus, JobType, JoinOperator, JoinRequiredOption, LogExportAnalysisType, MemberAbility, MemberStatus, ParameterType, PopulateIntermediateTableAnalysisType, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetType, ResourceStatus, ScalarFunctions, SchemaConfiguration, SchemaStatus, SchemaStatusReasonCode, SchemaType, SelectedAnalysisMethod, SupportedS3Region, SyntheticDataColumnType } from "./enums";
3
3
  /**
4
4
  * <p>Detailed information about an access budget including time bounds, budget allocation, and configuration settings.</p>
5
5
  * @public
@@ -158,6 +158,53 @@ export interface AggregationConstraint {
158
158
  */
159
159
  type: AggregationType | undefined;
160
160
  }
161
+ /**
162
+ * <p>Specifies the minimum number of distinct identities for an individual output column. This value overrides the table-wide <code>minimumIdentityCount</code> that you set in <code>AggregationThreshold</code>.</p>
163
+ * @public
164
+ */
165
+ export interface OutputColumnThreshold {
166
+ /**
167
+ * <p>The name of the output column that the override applies to. You can specify each column only once.</p>
168
+ * @public
169
+ */
170
+ outputColumnName: string | undefined;
171
+ /**
172
+ * <p>The minimum number of distinct identities that each query output group must represent for this column. Specify 0 to exempt the column from the threshold, or a value of 2 or greater to enforce a threshold.</p>
173
+ * @public
174
+ */
175
+ minimumIdentityCount: number | undefined;
176
+ }
177
+ /**
178
+ * <p>Specifies the minimum number of distinct identities that each query output group must represent.</p>
179
+ * @public
180
+ */
181
+ export interface AggregationThreshold {
182
+ /**
183
+ * <p>The identity column, such as <code>user_id</code>, whose distinct values Clean Rooms counts to enforce minimum aggregation thresholds. Currently, you can specify only one column, and its data type must be string, varchar, or char.</p>
184
+ * @public
185
+ */
186
+ identityColumns: string[] | undefined;
187
+ /**
188
+ * <p>The minimum number of distinct identities that each query output group must represent. This threshold applies to all output columns in the table. To override this threshold for a specific column, use <code>outputColumnThresholds</code>.</p>
189
+ * @public
190
+ */
191
+ minimumIdentityCount: number | undefined;
192
+ /**
193
+ * <p>The type of aggregation that the threshold enforces. Currently, the only supported value is <code>COUNT_DISTINCT</code>, which counts the distinct values in the identity column.</p>
194
+ * @public
195
+ */
196
+ type: AggregationThresholdType | undefined;
197
+ /**
198
+ * <p>The per-column overrides of <code>minimumIdentityCount</code>. An output column without an override uses <code>minimumIdentityCount</code>.</p>
199
+ * @public
200
+ */
201
+ outputColumnThresholds?: OutputColumnThreshold[] | undefined;
202
+ /**
203
+ * <p>Specifies whether a query can aggregate a transformed column. This applies to the arguments of both aggregate and window functions. Valid values are:</p> <p> <code>COLUMNS_ONLY</code> – A query can aggregate only a direct column reference, such as <code>SUM(amount)</code>, or a constant. Clean Rooms rejects a query that transforms a column and then aggregates it, such as <code>SUM(amount * 2)</code> or <code>SUM(ROUND(amount))</code>.</p> <p> <code>ANY_EXPRESSION</code> – A query can aggregate any expression. This includes arithmetic, such as <code>SUM(price * quantity)</code>; a cast, such as <code>SUM(CAST(amount AS DECIMAL))</code>; a nested function call, such as <code>SUM(COALESCE(amount, 0))</code>; and a conditional, such as <code>SUM(CASE WHEN region = 'EU' THEN amount ELSE 0 END)</code>.</p>
204
+ * @public
205
+ */
206
+ allowedAggregateExpressionType: AllowedAggregateExpressionType | undefined;
207
+ }
161
208
  /**
162
209
  * <p>The analysis log export error.</p>
163
210
  * @public
@@ -511,6 +558,22 @@ export interface ConsolidatedPolicyAggregation {
511
558
  */
512
559
  allowedAdditionalAnalyses?: string[] | undefined;
513
560
  }
561
+ /**
562
+ * <p>Specifies how a query can compare the columns in a table, including literal comparisons and column-to-column comparisons.</p>
563
+ * @public
564
+ */
565
+ export interface ComparisonControls {
566
+ /**
567
+ * <p>The columns that a query can compare to literal values, for example, in a WHERE clause. Clean Rooms rejects a query that compares any other column to a literal value. Specify an empty list to block literal comparison on every column. You can't specify a column that you also use as an identity column in an aggregation threshold.</p>
568
+ * @public
569
+ */
570
+ allowedLiteralComparisonColumns: string[] | undefined;
571
+ /**
572
+ * <p>The columns that a query can compare to another column, for example, in a join, a WHERE clause, a GROUP BY clause, or a window function. Clean Rooms rejects a query that uses any other column in a column-to-column comparison. Specify an empty list to block column-to-column comparison on every column.</p>
573
+ * @public
574
+ */
575
+ allowedColumnComparisonColumns: string[] | undefined;
576
+ }
514
577
  /**
515
578
  * <p>Specifies the name of the column that contains the unique identifier of your users, whose privacy you want to protect.</p>
516
579
  * @public
@@ -563,6 +626,16 @@ export interface ConsolidatedPolicyCustom {
563
626
  * @public
564
627
  */
565
628
  differentialPrivacy?: DifferentialPrivacyConfiguration | undefined;
629
+ /**
630
+ * <p> The aggregation thresholds for the consolidated policy.</p>
631
+ * @public
632
+ */
633
+ aggregationThresholds?: AggregationThreshold[] | undefined;
634
+ /**
635
+ * <p> The comparison controls for the consolidated policy.</p>
636
+ * @public
637
+ */
638
+ comparisonControls?: ComparisonControls | undefined;
566
639
  /**
567
640
  * <p> The allowed result receivers.</p>
568
641
  * @public
@@ -749,7 +822,7 @@ export interface AnalysisRuleAggregation {
749
822
  additionalAnalyses?: AdditionalAnalyses | undefined;
750
823
  }
751
824
  /**
752
- * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables. It supports differential privacy.</p>
825
+ * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables. It supports differential privacy, minimum aggregation thresholds, and comparison controls.</p>
753
826
  * @public
754
827
  */
755
828
  export interface AnalysisRuleCustom {
@@ -778,6 +851,16 @@ export interface AnalysisRuleCustom {
778
851
  * @public
779
852
  */
780
853
  differentialPrivacy?: DifferentialPrivacyConfiguration | undefined;
854
+ /**
855
+ * <p>The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when <code>allowedAnalyses</code> allows only jobs.</p>
856
+ * @public
857
+ */
858
+ aggregationThresholds?: AggregationThreshold[] | undefined;
859
+ /**
860
+ * <p>The controls that restrict how a query can compare the columns in the configured table. You can't use comparison controls with differential privacy, or when <code>allowedAnalyses</code> allows only jobs.</p>
861
+ * @public
862
+ */
863
+ comparisonControls?: ComparisonControls | undefined;
781
864
  /**
782
865
  * <p>The list of Amazon Web Services account IDs that are allowed to receive results from queries run on the configured table.</p>
783
866
  * @public
@@ -5371,7 +5454,7 @@ export declare namespace ConfiguredTableAnalysisRulePolicyV1 {
5371
5454
  $unknown?: never;
5372
5455
  }
5373
5456
  /**
5374
- * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables. It supports differential privacy.</p>
5457
+ * <p>A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables. It supports differential privacy, minimum aggregation thresholds, and comparison controls.</p>
5375
5458
  * @public
5376
5459
  */
5377
5460
  interface CustomMember {
@@ -6940,6 +7023,16 @@ export interface IntermediateTableAnalysisRuleCustom {
6940
7023
  * @public
6941
7024
  */
6942
7025
  disallowedOutputColumns?: string[] | undefined;
7026
+ /**
7027
+ * <p>The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when <code>allowedAnalyses</code> allows only jobs.</p>
7028
+ * @public
7029
+ */
7030
+ aggregationThresholds?: AggregationThreshold[] | undefined;
7031
+ /**
7032
+ * <p>The controls that restrict how a query can compare the columns in the intermediate table. You can't use comparison controls with differential privacy, or when <code>allowedAnalyses</code> allows only jobs.</p>
7033
+ * @public
7034
+ */
7035
+ comparisonControls?: ComparisonControls | undefined;
6943
7036
  }
6944
7037
  /**
6945
7038
  * <p>Contains the version 1 policy for an intermediate table analysis rule.</p>
@@ -7370,90 +7463,3 @@ export interface ListIntermediateTableVersionsOutput {
7370
7463
  */
7371
7464
  nextToken?: string | undefined;
7372
7465
  }
7373
- /**
7374
- * <p>The configuration properties that define the compute environment settings for workers in Clean Rooms. These properties enable customization of the underlying compute environment to optimize performance for your specific workloads.</p>
7375
- * @public
7376
- */
7377
- export type WorkerComputeConfigurationProperties = WorkerComputeConfigurationProperties.SparkMember | WorkerComputeConfigurationProperties.$UnknownMember;
7378
- /**
7379
- * @public
7380
- */
7381
- export declare namespace WorkerComputeConfigurationProperties {
7382
- /**
7383
- * <p>The Spark configuration properties for SQL and PySpark workloads. This map contains key-value pairs that configure Apache Spark settings to optimize performance for your data processing jobs. You can specify up to 50 Spark properties, with each key being 1-200 characters and each value being 0-500 characters. These properties allow you to adjust compute capacity for large datasets and complex workloads.</p>
7384
- * @public
7385
- */
7386
- interface SparkMember {
7387
- spark: Record<string, string>;
7388
- $unknown?: never;
7389
- }
7390
- /**
7391
- * @public
7392
- */
7393
- interface $UnknownMember {
7394
- spark?: never;
7395
- $unknown: [string, any];
7396
- }
7397
- /**
7398
- * @deprecated unused in schema-serde mode.
7399
- *
7400
- */
7401
- interface Visitor<T> {
7402
- spark: (value: Record<string, string>) => T;
7403
- _: (name: string, value: any) => T;
7404
- }
7405
- }
7406
- /**
7407
- * <p> The configuration of the compute resources for workers running an analysis with the Clean Rooms SQL analytics engine.</p>
7408
- * @public
7409
- */
7410
- export interface WorkerComputeConfiguration {
7411
- /**
7412
- * <p> The worker compute configuration type.</p>
7413
- * @public
7414
- */
7415
- type?: WorkerComputeType | undefined;
7416
- /**
7417
- * <p> The number of workers.</p> <p>SQL queries support a minimum value of 2 and a maximum value of 400. </p> <p>PySpark jobs support a minimum value of 4 and a maximum value of 128.</p>
7418
- * @public
7419
- */
7420
- number?: number | undefined;
7421
- /**
7422
- * <p>The configuration properties for the worker compute environment. These properties allow you to customize the compute settings for your Clean Rooms workloads.</p>
7423
- * @public
7424
- */
7425
- properties?: WorkerComputeConfigurationProperties | undefined;
7426
- }
7427
- /**
7428
- * <p>Contains the compute configuration for an intermediate table population operation.</p>
7429
- * @public
7430
- */
7431
- export type IntermediateTableComputeConfiguration = IntermediateTableComputeConfiguration.QueryComputeConfigurationMember | IntermediateTableComputeConfiguration.$UnknownMember;
7432
- /**
7433
- * @public
7434
- */
7435
- export declare namespace IntermediateTableComputeConfiguration {
7436
- /**
7437
- * <p> The configuration of the compute resources for workers running an analysis with the Clean Rooms SQL analytics engine.</p>
7438
- * @public
7439
- */
7440
- interface QueryComputeConfigurationMember {
7441
- queryComputeConfiguration: WorkerComputeConfiguration;
7442
- $unknown?: never;
7443
- }
7444
- /**
7445
- * @public
7446
- */
7447
- interface $UnknownMember {
7448
- queryComputeConfiguration?: never;
7449
- $unknown: [string, any];
7450
- }
7451
- /**
7452
- * @deprecated unused in schema-serde mode.
7453
- *
7454
- */
7455
- interface Visitor<T> {
7456
- queryComputeConfiguration: (value: WorkerComputeConfiguration) => T;
7457
- _: (name: string, value: any) => T;
7458
- }
7459
- }