@aws-sdk/client-cleanrooms 3.379.1 → 3.382.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 (79) hide show
  1. package/README.md +71 -7
  2. package/dist-cjs/CleanRooms.js +16 -0
  3. package/dist-cjs/commands/BatchGetCollaborationAnalysisTemplateCommand.js +47 -0
  4. package/dist-cjs/commands/CreateAnalysisTemplateCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteAnalysisTemplateCommand.js +46 -0
  6. package/dist-cjs/commands/GetAnalysisTemplateCommand.js +47 -0
  7. package/dist-cjs/commands/GetCollaborationAnalysisTemplateCommand.js +47 -0
  8. package/dist-cjs/commands/ListAnalysisTemplatesCommand.js +46 -0
  9. package/dist-cjs/commands/ListCollaborationAnalysisTemplatesCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateAnalysisTemplateCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +139 -45
  13. package/dist-cjs/pagination/ListAnalysisTemplatesPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListCollaborationAnalysisTemplatesPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +673 -36
  17. package/dist-es/CleanRooms.js +16 -0
  18. package/dist-es/commands/BatchGetCollaborationAnalysisTemplateCommand.js +43 -0
  19. package/dist-es/commands/CreateAnalysisTemplateCommand.js +43 -0
  20. package/dist-es/commands/DeleteAnalysisTemplateCommand.js +42 -0
  21. package/dist-es/commands/GetAnalysisTemplateCommand.js +43 -0
  22. package/dist-es/commands/GetCollaborationAnalysisTemplateCommand.js +43 -0
  23. package/dist-es/commands/ListAnalysisTemplatesCommand.js +42 -0
  24. package/dist-es/commands/ListCollaborationAnalysisTemplatesCommand.js +42 -0
  25. package/dist-es/commands/UpdateAnalysisTemplateCommand.js +43 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +125 -42
  28. package/dist-es/pagination/ListAnalysisTemplatesPaginator.js +25 -0
  29. package/dist-es/pagination/ListCollaborationAnalysisTemplatesPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_restJson1.js +698 -77
  32. package/dist-types/CleanRooms.d.ts +56 -0
  33. package/dist-types/CleanRoomsClient.d.ts +10 -2
  34. package/dist-types/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +126 -0
  35. package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateAnalysisTemplateCommand.d.ts +137 -0
  37. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
  38. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteAnalysisTemplateCommand.d.ts +87 -0
  40. package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAnalysisTemplateCommand.d.ts +116 -0
  42. package/dist-types/commands/GetCollaborationAnalysisTemplateCommand.d.ts +115 -0
  43. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +10 -2
  44. package/dist-types/commands/GetConfiguredTableCommand.d.ts +1 -1
  45. package/dist-types/commands/GetProtectedQueryCommand.d.ts +4 -0
  46. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -2
  47. package/dist-types/commands/GetSchemaCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAnalysisTemplatesCommand.d.ts +104 -0
  49. package/dist-types/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +103 -0
  50. package/dist-types/commands/ListConfiguredTablesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
  52. package/dist-types/commands/StartProtectedQueryCommand.d.ts +8 -0
  53. package/dist-types/commands/UpdateAnalysisTemplateCommand.d.ts +117 -0
  54. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
  55. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +4 -0
  57. package/dist-types/commands/index.d.ts +8 -0
  58. package/dist-types/models/models_0.d.ts +1274 -194
  59. package/dist-types/pagination/ListAnalysisTemplatesPaginator.d.ts +7 -0
  60. package/dist-types/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +2 -0
  62. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  63. package/dist-types/ts3.4/CleanRooms.d.ts +148 -0
  64. package/dist-types/ts3.4/CleanRoomsClient.d.ts +48 -0
  65. package/dist-types/ts3.4/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/CreateAnalysisTemplateCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/DeleteAnalysisTemplateCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/GetAnalysisTemplateCommand.d.ts +39 -0
  69. package/dist-types/ts3.4/commands/GetCollaborationAnalysisTemplateCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/ListAnalysisTemplatesCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/UpdateAnalysisTemplateCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +294 -58
  75. package/dist-types/ts3.4/pagination/ListAnalysisTemplatesPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  79. package/package.json +5 -5
@@ -1,18 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchGetCollaborationAnalysisTemplateCommand"), exports);
4
5
  tslib_1.__exportStar(require("./BatchGetSchemaCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateAnalysisTemplateCommand"), exports);
5
7
  tslib_1.__exportStar(require("./CreateCollaborationCommand"), exports);
6
8
  tslib_1.__exportStar(require("./CreateConfiguredTableAnalysisRuleCommand"), exports);
7
9
  tslib_1.__exportStar(require("./CreateConfiguredTableAssociationCommand"), exports);
8
10
  tslib_1.__exportStar(require("./CreateConfiguredTableCommand"), exports);
9
11
  tslib_1.__exportStar(require("./CreateMembershipCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteAnalysisTemplateCommand"), exports);
10
13
  tslib_1.__exportStar(require("./DeleteCollaborationCommand"), exports);
11
14
  tslib_1.__exportStar(require("./DeleteConfiguredTableAnalysisRuleCommand"), exports);
12
15
  tslib_1.__exportStar(require("./DeleteConfiguredTableAssociationCommand"), exports);
13
16
  tslib_1.__exportStar(require("./DeleteConfiguredTableCommand"), exports);
14
17
  tslib_1.__exportStar(require("./DeleteMemberCommand"), exports);
15
18
  tslib_1.__exportStar(require("./DeleteMembershipCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetAnalysisTemplateCommand"), exports);
20
+ tslib_1.__exportStar(require("./GetCollaborationAnalysisTemplateCommand"), exports);
16
21
  tslib_1.__exportStar(require("./GetCollaborationCommand"), exports);
17
22
  tslib_1.__exportStar(require("./GetConfiguredTableAnalysisRuleCommand"), exports);
18
23
  tslib_1.__exportStar(require("./GetConfiguredTableAssociationCommand"), exports);
@@ -21,6 +26,8 @@ tslib_1.__exportStar(require("./GetMembershipCommand"), exports);
21
26
  tslib_1.__exportStar(require("./GetProtectedQueryCommand"), exports);
22
27
  tslib_1.__exportStar(require("./GetSchemaAnalysisRuleCommand"), exports);
23
28
  tslib_1.__exportStar(require("./GetSchemaCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListAnalysisTemplatesCommand"), exports);
30
+ tslib_1.__exportStar(require("./ListCollaborationAnalysisTemplatesCommand"), exports);
24
31
  tslib_1.__exportStar(require("./ListCollaborationsCommand"), exports);
25
32
  tslib_1.__exportStar(require("./ListConfiguredTableAssociationsCommand"), exports);
26
33
  tslib_1.__exportStar(require("./ListConfiguredTablesCommand"), exports);
@@ -32,6 +39,7 @@ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
32
39
  tslib_1.__exportStar(require("./StartProtectedQueryCommand"), exports);
33
40
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
34
41
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
42
+ tslib_1.__exportStar(require("./UpdateAnalysisTemplateCommand"), exports);
35
43
  tslib_1.__exportStar(require("./UpdateCollaborationCommand"), exports);
36
44
  tslib_1.__exportStar(require("./UpdateConfiguredTableAnalysisRuleCommand"), exports);
37
45
  tslib_1.__exportStar(require("./UpdateConfiguredTableAssociationCommand"), exports);
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProtectedQueryOutputFilterSensitiveLog = exports.StartProtectedQueryOutputFilterSensitiveLog = exports.StartProtectedQueryInputFilterSensitiveLog = exports.GetProtectedQueryOutputFilterSensitiveLog = exports.ProtectedQueryFilterSensitiveLog = exports.ProtectedQuerySQLParametersFilterSensitiveLog = exports.TargetProtectedQueryStatus = exports.ProtectedQueryType = exports.ProtectedQueryStatus = exports.ProtectedQueryOutputConfiguration = exports.ResultFormat = exports.ProtectedQueryOutput = exports.MembershipStatus = exports.MembershipQueryLogStatus = exports.ConfiguredTableAnalysisRulePolicy = exports.ConfiguredTableAnalysisRulePolicyV1 = exports.ConfiguredTableAnalysisRuleType = exports.TableReference = exports.FilterableMemberStatus = exports.ConflictException = exports.ConflictExceptionReason = exports.ServiceQuotaExceededException = exports.MemberStatus = exports.CollaborationQueryLogStatus = exports.MemberAbility = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.SchemaType = exports.AnalysisRuleType = exports.AnalysisRulePolicy = exports.AnalysisRulePolicyV1 = exports.ScalarFunctions = exports.JoinRequiredOption = exports.JoinOperator = exports.AnalysisMethod = exports.AggregationType = exports.AggregateFunctionName = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
3
+ exports.GetCollaborationAnalysisTemplateOutputFilterSensitiveLog = exports.BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog = exports.CollaborationAnalysisTemplateFilterSensitiveLog = exports.UpdateAnalysisTemplateOutputFilterSensitiveLog = exports.GetAnalysisTemplateOutputFilterSensitiveLog = exports.CreateAnalysisTemplateOutputFilterSensitiveLog = exports.CreateAnalysisTemplateInputFilterSensitiveLog = exports.AnalysisTemplateFilterSensitiveLog = exports.AnalysisSourceFilterSensitiveLog = exports.AnalysisParameterFilterSensitiveLog = exports.TargetProtectedQueryStatus = exports.ProtectedQueryType = exports.ProtectedQueryStatus = exports.ProtectedQueryOutputConfiguration = exports.ResultFormat = exports.ProtectedQueryOutput = exports.MembershipStatus = exports.MembershipQueryLogStatus = exports.ConfiguredTableAnalysisRulePolicy = exports.ConfiguredTableAnalysisRulePolicyV1 = exports.ConfiguredTableAnalysisRuleType = exports.TableReference = exports.FilterableMemberStatus = exports.MemberStatus = exports.CollaborationQueryLogStatus = exports.MemberAbility = exports.SchemaType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.ConflictExceptionReason = exports.AnalysisSource = exports.AnalysisRuleType = exports.AnalysisRulePolicy = exports.AnalysisRulePolicyV1 = exports.ScalarFunctions = exports.JoinRequiredOption = exports.JoinOperator = exports.ParameterType = exports.AnalysisMethod = exports.AnalysisFormat = exports.AggregationType = exports.AggregateFunctionName = exports.AccessDeniedException = exports.AccessDeniedExceptionReason = void 0;
4
+ exports.UpdateProtectedQueryOutputFilterSensitiveLog = exports.StartProtectedQueryOutputFilterSensitiveLog = exports.StartProtectedQueryInputFilterSensitiveLog = exports.GetProtectedQueryOutputFilterSensitiveLog = exports.ProtectedQueryFilterSensitiveLog = exports.ProtectedQuerySQLParametersFilterSensitiveLog = void 0;
4
5
  const smithy_client_1 = require("@smithy/smithy-client");
5
6
  const CleanRoomsServiceException_1 = require("./CleanRoomsServiceException");
6
7
  exports.AccessDeniedExceptionReason = {
@@ -30,9 +31,29 @@ exports.AggregateFunctionName = {
30
31
  exports.AggregationType = {
31
32
  COUNT_DISTINCT: "COUNT_DISTINCT",
32
33
  };
34
+ exports.AnalysisFormat = {
35
+ SQL: "SQL",
36
+ };
33
37
  exports.AnalysisMethod = {
34
38
  DIRECT_QUERY: "DIRECT_QUERY",
35
39
  };
40
+ exports.ParameterType = {
41
+ BIGINT: "BIGINT",
42
+ BOOLEAN: "BOOLEAN",
43
+ CHAR: "CHAR",
44
+ DATE: "DATE",
45
+ DECIMAL: "DECIMAL",
46
+ DOUBLE_PRECISION: "DOUBLE_PRECISION",
47
+ INTEGER: "INTEGER",
48
+ REAL: "REAL",
49
+ SMALLINT: "SMALLINT",
50
+ TIME: "TIME",
51
+ TIMESTAMP: "TIMESTAMP",
52
+ TIMESTAMPTZ: "TIMESTAMPTZ",
53
+ TIMETZ: "TIMETZ",
54
+ VARBYTE: "VARBYTE",
55
+ VARCHAR: "VARCHAR",
56
+ };
36
57
  exports.JoinOperator = {
37
58
  AND: "AND",
38
59
  OR: "OR",
@@ -62,6 +83,8 @@ var AnalysisRulePolicyV1;
62
83
  return visitor.list(value.list);
63
84
  if (value.aggregation !== undefined)
64
85
  return visitor.aggregation(value.aggregation);
86
+ if (value.custom !== undefined)
87
+ return visitor.custom(value.custom);
65
88
  return visitor._(value.$unknown[0], value.$unknown[1]);
66
89
  };
67
90
  })(AnalysisRulePolicyV1 = exports.AnalysisRulePolicyV1 || (exports.AnalysisRulePolicyV1 = {}));
@@ -75,11 +98,44 @@ var AnalysisRulePolicy;
75
98
  })(AnalysisRulePolicy = exports.AnalysisRulePolicy || (exports.AnalysisRulePolicy = {}));
76
99
  exports.AnalysisRuleType = {
77
100
  AGGREGATION: "AGGREGATION",
101
+ CUSTOM: "CUSTOM",
78
102
  LIST: "LIST",
79
103
  };
80
- exports.SchemaType = {
81
- TABLE: "TABLE",
104
+ var AnalysisSource;
105
+ (function (AnalysisSource) {
106
+ AnalysisSource.visit = (value, visitor) => {
107
+ if (value.text !== undefined)
108
+ return visitor.text(value.text);
109
+ return visitor._(value.$unknown[0], value.$unknown[1]);
110
+ };
111
+ })(AnalysisSource = exports.AnalysisSource || (exports.AnalysisSource = {}));
112
+ exports.ConflictExceptionReason = {
113
+ ALREADY_EXISTS: "ALREADY_EXISTS",
114
+ INVALID_STATE: "INVALID_STATE",
115
+ SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST",
116
+ };
117
+ exports.ResourceType = {
118
+ COLLABORATION: "COLLABORATION",
119
+ CONFIGURED_TABLE: "CONFIGURED_TABLE",
120
+ CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION",
121
+ MEMBERSHIP: "MEMBERSHIP",
82
122
  };
123
+ class ConflictException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
124
+ constructor(opts) {
125
+ super({
126
+ name: "ConflictException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ this.name = "ConflictException";
131
+ this.$fault = "client";
132
+ Object.setPrototypeOf(this, ConflictException.prototype);
133
+ this.resourceId = opts.resourceId;
134
+ this.resourceType = opts.resourceType;
135
+ this.reason = opts.reason;
136
+ }
137
+ }
138
+ exports.ConflictException = ConflictException;
83
139
  class InternalServerException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
84
140
  constructor(opts) {
85
141
  super({
@@ -93,12 +149,6 @@ class InternalServerException extends CleanRoomsServiceException_1.CleanRoomsSer
93
149
  }
94
150
  }
95
151
  exports.InternalServerException = InternalServerException;
96
- exports.ResourceType = {
97
- COLLABORATION: "COLLABORATION",
98
- CONFIGURED_TABLE: "CONFIGURED_TABLE",
99
- CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION",
100
- MEMBERSHIP: "MEMBERSHIP",
101
- };
102
152
  class ResourceNotFoundException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
103
153
  constructor(opts) {
104
154
  super({
@@ -114,6 +164,21 @@ class ResourceNotFoundException extends CleanRoomsServiceException_1.CleanRoomsS
114
164
  }
115
165
  }
116
166
  exports.ResourceNotFoundException = ResourceNotFoundException;
167
+ class ServiceQuotaExceededException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
168
+ constructor(opts) {
169
+ super({
170
+ name: "ServiceQuotaExceededException",
171
+ $fault: "client",
172
+ ...opts,
173
+ });
174
+ this.name = "ServiceQuotaExceededException";
175
+ this.$fault = "client";
176
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
177
+ this.quotaName = opts.quotaName;
178
+ this.quotaValue = opts.quotaValue;
179
+ }
180
+ }
181
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
117
182
  class ThrottlingException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
118
183
  constructor(opts) {
119
184
  super({
@@ -129,6 +194,7 @@ class ThrottlingException extends CleanRoomsServiceException_1.CleanRoomsService
129
194
  exports.ThrottlingException = ThrottlingException;
130
195
  exports.ValidationExceptionReason = {
131
196
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
197
+ IAM_SYNCHRONIZATION_DELAY: "IAM_SYNCHRONIZATION_DELAY",
132
198
  INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
133
199
  INVALID_QUERY: "INVALID_QUERY",
134
200
  };
@@ -147,6 +213,9 @@ class ValidationException extends CleanRoomsServiceException_1.CleanRoomsService
147
213
  }
148
214
  }
149
215
  exports.ValidationException = ValidationException;
216
+ exports.SchemaType = {
217
+ TABLE: "TABLE",
218
+ };
150
219
  exports.MemberAbility = {
151
220
  CAN_QUERY: "CAN_QUERY",
152
221
  CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS",
@@ -161,42 +230,6 @@ exports.MemberStatus = {
161
230
  LEFT: "LEFT",
162
231
  REMOVED: "REMOVED",
163
232
  };
164
- class ServiceQuotaExceededException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
165
- constructor(opts) {
166
- super({
167
- name: "ServiceQuotaExceededException",
168
- $fault: "client",
169
- ...opts,
170
- });
171
- this.name = "ServiceQuotaExceededException";
172
- this.$fault = "client";
173
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
174
- this.quotaName = opts.quotaName;
175
- this.quotaValue = opts.quotaValue;
176
- }
177
- }
178
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
179
- exports.ConflictExceptionReason = {
180
- ALREADY_EXISTS: "ALREADY_EXISTS",
181
- INVALID_STATE: "INVALID_STATE",
182
- SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST",
183
- };
184
- class ConflictException extends CleanRoomsServiceException_1.CleanRoomsServiceException {
185
- constructor(opts) {
186
- super({
187
- name: "ConflictException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- this.name = "ConflictException";
192
- this.$fault = "client";
193
- Object.setPrototypeOf(this, ConflictException.prototype);
194
- this.resourceId = opts.resourceId;
195
- this.resourceType = opts.resourceType;
196
- this.reason = opts.reason;
197
- }
198
- }
199
- exports.ConflictException = ConflictException;
200
233
  exports.FilterableMemberStatus = {
201
234
  ACTIVE: "ACTIVE",
202
235
  INVITED: "INVITED",
@@ -211,6 +244,7 @@ var TableReference;
211
244
  })(TableReference = exports.TableReference || (exports.TableReference = {}));
212
245
  exports.ConfiguredTableAnalysisRuleType = {
213
246
  AGGREGATION: "AGGREGATION",
247
+ CUSTOM: "CUSTOM",
214
248
  LIST: "LIST",
215
249
  };
216
250
  var ConfiguredTableAnalysisRulePolicyV1;
@@ -220,6 +254,8 @@ var ConfiguredTableAnalysisRulePolicyV1;
220
254
  return visitor.list(value.list);
221
255
  if (value.aggregation !== undefined)
222
256
  return visitor.aggregation(value.aggregation);
257
+ if (value.custom !== undefined)
258
+ return visitor.custom(value.custom);
223
259
  return visitor._(value.$unknown[0], value.$unknown[1]);
224
260
  };
225
261
  })(ConfiguredTableAnalysisRulePolicyV1 = exports.ConfiguredTableAnalysisRulePolicyV1 || (exports.ConfiguredTableAnalysisRulePolicyV1 = {}));
@@ -275,6 +311,64 @@ exports.ProtectedQueryType = {
275
311
  exports.TargetProtectedQueryStatus = {
276
312
  CANCELLED: "CANCELLED",
277
313
  };
314
+ const AnalysisParameterFilterSensitiveLog = (obj) => ({
315
+ ...obj,
316
+ });
317
+ exports.AnalysisParameterFilterSensitiveLog = AnalysisParameterFilterSensitiveLog;
318
+ const AnalysisSourceFilterSensitiveLog = (obj) => {
319
+ if (obj.text !== undefined)
320
+ return { text: obj.text };
321
+ if (obj.$unknown !== undefined)
322
+ return { [obj.$unknown[0]]: "UNKNOWN" };
323
+ };
324
+ exports.AnalysisSourceFilterSensitiveLog = AnalysisSourceFilterSensitiveLog;
325
+ const AnalysisTemplateFilterSensitiveLog = (obj) => ({
326
+ ...obj,
327
+ ...(obj.source && { source: smithy_client_1.SENSITIVE_STRING }),
328
+ ...(obj.analysisParameters && { analysisParameters: smithy_client_1.SENSITIVE_STRING }),
329
+ });
330
+ exports.AnalysisTemplateFilterSensitiveLog = AnalysisTemplateFilterSensitiveLog;
331
+ const CreateAnalysisTemplateInputFilterSensitiveLog = (obj) => ({
332
+ ...obj,
333
+ ...(obj.source && { source: smithy_client_1.SENSITIVE_STRING }),
334
+ ...(obj.analysisParameters && { analysisParameters: smithy_client_1.SENSITIVE_STRING }),
335
+ });
336
+ exports.CreateAnalysisTemplateInputFilterSensitiveLog = CreateAnalysisTemplateInputFilterSensitiveLog;
337
+ const CreateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
338
+ ...obj,
339
+ ...(obj.analysisTemplate && { analysisTemplate: (0, exports.AnalysisTemplateFilterSensitiveLog)(obj.analysisTemplate) }),
340
+ });
341
+ exports.CreateAnalysisTemplateOutputFilterSensitiveLog = CreateAnalysisTemplateOutputFilterSensitiveLog;
342
+ const GetAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ ...(obj.analysisTemplate && { analysisTemplate: (0, exports.AnalysisTemplateFilterSensitiveLog)(obj.analysisTemplate) }),
345
+ });
346
+ exports.GetAnalysisTemplateOutputFilterSensitiveLog = GetAnalysisTemplateOutputFilterSensitiveLog;
347
+ const UpdateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
348
+ ...obj,
349
+ ...(obj.analysisTemplate && { analysisTemplate: (0, exports.AnalysisTemplateFilterSensitiveLog)(obj.analysisTemplate) }),
350
+ });
351
+ exports.UpdateAnalysisTemplateOutputFilterSensitiveLog = UpdateAnalysisTemplateOutputFilterSensitiveLog;
352
+ const CollaborationAnalysisTemplateFilterSensitiveLog = (obj) => ({
353
+ ...obj,
354
+ ...(obj.source && { source: smithy_client_1.SENSITIVE_STRING }),
355
+ ...(obj.analysisParameters && { analysisParameters: smithy_client_1.SENSITIVE_STRING }),
356
+ });
357
+ exports.CollaborationAnalysisTemplateFilterSensitiveLog = CollaborationAnalysisTemplateFilterSensitiveLog;
358
+ const BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
359
+ ...obj,
360
+ ...(obj.collaborationAnalysisTemplates && {
361
+ collaborationAnalysisTemplates: obj.collaborationAnalysisTemplates.map((item) => (0, exports.CollaborationAnalysisTemplateFilterSensitiveLog)(item)),
362
+ }),
363
+ });
364
+ exports.BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog = BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog;
365
+ const GetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
366
+ ...obj,
367
+ ...(obj.collaborationAnalysisTemplate && {
368
+ collaborationAnalysisTemplate: (0, exports.CollaborationAnalysisTemplateFilterSensitiveLog)(obj.collaborationAnalysisTemplate),
369
+ }),
370
+ });
371
+ exports.GetCollaborationAnalysisTemplateOutputFilterSensitiveLog = GetCollaborationAnalysisTemplateOutputFilterSensitiveLog;
278
372
  const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
279
373
  ...obj,
280
374
  });
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListAnalysisTemplates = void 0;
4
+ const CleanRoomsClient_1 = require("../CleanRoomsClient");
5
+ const ListAnalysisTemplatesCommand_1 = require("../commands/ListAnalysisTemplatesCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListAnalysisTemplatesCommand_1.ListAnalysisTemplatesCommand(input), ...args);
8
+ };
9
+ async function* paginateListAnalysisTemplates(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof CleanRoomsClient_1.CleanRoomsClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListAnalysisTemplates = paginateListAnalysisTemplates;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListCollaborationAnalysisTemplates = void 0;
4
+ const CleanRoomsClient_1 = require("../CleanRoomsClient");
5
+ const ListCollaborationAnalysisTemplatesCommand_1 = require("../commands/ListCollaborationAnalysisTemplatesCommand");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListCollaborationAnalysisTemplatesCommand_1.ListCollaborationAnalysisTemplatesCommand(input), ...args);
8
+ };
9
+ async function* paginateListCollaborationAnalysisTemplates(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.nextToken = token;
15
+ input["maxResults"] = config.pageSize;
16
+ if (config.client instanceof CleanRoomsClient_1.CleanRoomsClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.nextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListCollaborationAnalysisTemplates = paginateListCollaborationAnalysisTemplates;
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAnalysisTemplatesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListCollaborationAnalysisTemplatesPaginator"), exports);
5
7
  tslib_1.__exportStar(require("./ListCollaborationsPaginator"), exports);
6
8
  tslib_1.__exportStar(require("./ListConfiguredTableAssociationsPaginator"), exports);
7
9
  tslib_1.__exportStar(require("./ListConfiguredTablesPaginator"), exports);