@aws-sdk/client-cleanrooms 3.379.1 → 3.381.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.
- package/README.md +71 -7
- package/dist-cjs/CleanRooms.js +16 -0
- package/dist-cjs/commands/BatchGetCollaborationAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/CreateAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/DeleteAnalysisTemplateCommand.js +46 -0
- package/dist-cjs/commands/GetAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/GetCollaborationAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/ListAnalysisTemplatesCommand.js +46 -0
- package/dist-cjs/commands/ListCollaborationAnalysisTemplatesCommand.js +46 -0
- package/dist-cjs/commands/UpdateAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +139 -45
- package/dist-cjs/pagination/ListAnalysisTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListCollaborationAnalysisTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +673 -36
- package/dist-es/CleanRooms.js +16 -0
- package/dist-es/commands/BatchGetCollaborationAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/CreateAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/DeleteAnalysisTemplateCommand.js +42 -0
- package/dist-es/commands/GetAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/GetCollaborationAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/ListAnalysisTemplatesCommand.js +42 -0
- package/dist-es/commands/ListCollaborationAnalysisTemplatesCommand.js +42 -0
- package/dist-es/commands/UpdateAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +125 -42
- package/dist-es/pagination/ListAnalysisTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListCollaborationAnalysisTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +698 -77
- package/dist-types/CleanRooms.d.ts +56 -0
- package/dist-types/CleanRoomsClient.d.ts +10 -2
- package/dist-types/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +126 -0
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/CreateAnalysisTemplateCommand.d.ts +137 -0
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
- package/dist-types/commands/CreateConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAnalysisTemplateCommand.d.ts +87 -0
- package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalysisTemplateCommand.d.ts +116 -0
- package/dist-types/commands/GetCollaborationAnalysisTemplateCommand.d.ts +115 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +10 -2
- package/dist-types/commands/GetConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +4 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -2
- package/dist-types/commands/GetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalysisTemplatesCommand.d.ts +104 -0
- package/dist-types/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +103 -0
- package/dist-types/commands/ListConfiguredTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +8 -0
- package/dist-types/commands/UpdateAnalysisTemplateCommand.d.ts +117 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
- package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +793 -166
- package/dist-types/pagination/ListAnalysisTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +148 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAnalysisTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCollaborationAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAnalysisTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +294 -58
- package/dist-types/ts3.4/pagination/ListAnalysisTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +1 -1
|
@@ -26,9 +26,29 @@ export const AggregateFunctionName = {
|
|
|
26
26
|
export const AggregationType = {
|
|
27
27
|
COUNT_DISTINCT: "COUNT_DISTINCT",
|
|
28
28
|
};
|
|
29
|
+
export const AnalysisFormat = {
|
|
30
|
+
SQL: "SQL",
|
|
31
|
+
};
|
|
29
32
|
export const AnalysisMethod = {
|
|
30
33
|
DIRECT_QUERY: "DIRECT_QUERY",
|
|
31
34
|
};
|
|
35
|
+
export const ParameterType = {
|
|
36
|
+
BIGINT: "BIGINT",
|
|
37
|
+
BOOLEAN: "BOOLEAN",
|
|
38
|
+
CHAR: "CHAR",
|
|
39
|
+
DATE: "DATE",
|
|
40
|
+
DECIMAL: "DECIMAL",
|
|
41
|
+
DOUBLE_PRECISION: "DOUBLE_PRECISION",
|
|
42
|
+
INTEGER: "INTEGER",
|
|
43
|
+
REAL: "REAL",
|
|
44
|
+
SMALLINT: "SMALLINT",
|
|
45
|
+
TIME: "TIME",
|
|
46
|
+
TIMESTAMP: "TIMESTAMP",
|
|
47
|
+
TIMESTAMPTZ: "TIMESTAMPTZ",
|
|
48
|
+
TIMETZ: "TIMETZ",
|
|
49
|
+
VARBYTE: "VARBYTE",
|
|
50
|
+
VARCHAR: "VARCHAR",
|
|
51
|
+
};
|
|
32
52
|
export const JoinOperator = {
|
|
33
53
|
AND: "AND",
|
|
34
54
|
OR: "OR",
|
|
@@ -58,6 +78,8 @@ export var AnalysisRulePolicyV1;
|
|
|
58
78
|
return visitor.list(value.list);
|
|
59
79
|
if (value.aggregation !== undefined)
|
|
60
80
|
return visitor.aggregation(value.aggregation);
|
|
81
|
+
if (value.custom !== undefined)
|
|
82
|
+
return visitor.custom(value.custom);
|
|
61
83
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
62
84
|
};
|
|
63
85
|
})(AnalysisRulePolicyV1 || (AnalysisRulePolicyV1 = {}));
|
|
@@ -71,11 +93,43 @@ export var AnalysisRulePolicy;
|
|
|
71
93
|
})(AnalysisRulePolicy || (AnalysisRulePolicy = {}));
|
|
72
94
|
export const AnalysisRuleType = {
|
|
73
95
|
AGGREGATION: "AGGREGATION",
|
|
96
|
+
CUSTOM: "CUSTOM",
|
|
74
97
|
LIST: "LIST",
|
|
75
98
|
};
|
|
76
|
-
export
|
|
77
|
-
|
|
99
|
+
export var AnalysisSource;
|
|
100
|
+
(function (AnalysisSource) {
|
|
101
|
+
AnalysisSource.visit = (value, visitor) => {
|
|
102
|
+
if (value.text !== undefined)
|
|
103
|
+
return visitor.text(value.text);
|
|
104
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
105
|
+
};
|
|
106
|
+
})(AnalysisSource || (AnalysisSource = {}));
|
|
107
|
+
export const ConflictExceptionReason = {
|
|
108
|
+
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
109
|
+
INVALID_STATE: "INVALID_STATE",
|
|
110
|
+
SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST",
|
|
78
111
|
};
|
|
112
|
+
export const ResourceType = {
|
|
113
|
+
COLLABORATION: "COLLABORATION",
|
|
114
|
+
CONFIGURED_TABLE: "CONFIGURED_TABLE",
|
|
115
|
+
CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION",
|
|
116
|
+
MEMBERSHIP: "MEMBERSHIP",
|
|
117
|
+
};
|
|
118
|
+
export class ConflictException extends __BaseException {
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "ConflictException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
this.name = "ConflictException";
|
|
126
|
+
this.$fault = "client";
|
|
127
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
128
|
+
this.resourceId = opts.resourceId;
|
|
129
|
+
this.resourceType = opts.resourceType;
|
|
130
|
+
this.reason = opts.reason;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
79
133
|
export class InternalServerException extends __BaseException {
|
|
80
134
|
constructor(opts) {
|
|
81
135
|
super({
|
|
@@ -88,12 +142,6 @@ export class InternalServerException extends __BaseException {
|
|
|
88
142
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
89
143
|
}
|
|
90
144
|
}
|
|
91
|
-
export const ResourceType = {
|
|
92
|
-
COLLABORATION: "COLLABORATION",
|
|
93
|
-
CONFIGURED_TABLE: "CONFIGURED_TABLE",
|
|
94
|
-
CONFIGURED_TABLE_ASSOCIATION: "CONFIGURED_TABLE_ASSOCIATION",
|
|
95
|
-
MEMBERSHIP: "MEMBERSHIP",
|
|
96
|
-
};
|
|
97
145
|
export class ResourceNotFoundException extends __BaseException {
|
|
98
146
|
constructor(opts) {
|
|
99
147
|
super({
|
|
@@ -108,6 +156,20 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
108
156
|
this.resourceType = opts.resourceType;
|
|
109
157
|
}
|
|
110
158
|
}
|
|
159
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "ServiceQuotaExceededException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
this.name = "ServiceQuotaExceededException";
|
|
167
|
+
this.$fault = "client";
|
|
168
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
169
|
+
this.quotaName = opts.quotaName;
|
|
170
|
+
this.quotaValue = opts.quotaValue;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
111
173
|
export class ThrottlingException extends __BaseException {
|
|
112
174
|
constructor(opts) {
|
|
113
175
|
super({
|
|
@@ -122,6 +184,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
122
184
|
}
|
|
123
185
|
export const ValidationExceptionReason = {
|
|
124
186
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
187
|
+
IAM_SYNCHRONIZATION_DELAY: "IAM_SYNCHRONIZATION_DELAY",
|
|
125
188
|
INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
|
|
126
189
|
INVALID_QUERY: "INVALID_QUERY",
|
|
127
190
|
};
|
|
@@ -139,6 +202,9 @@ export class ValidationException extends __BaseException {
|
|
|
139
202
|
this.fieldList = opts.fieldList;
|
|
140
203
|
}
|
|
141
204
|
}
|
|
205
|
+
export const SchemaType = {
|
|
206
|
+
TABLE: "TABLE",
|
|
207
|
+
};
|
|
142
208
|
export const MemberAbility = {
|
|
143
209
|
CAN_QUERY: "CAN_QUERY",
|
|
144
210
|
CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS",
|
|
@@ -153,40 +219,6 @@ export const MemberStatus = {
|
|
|
153
219
|
LEFT: "LEFT",
|
|
154
220
|
REMOVED: "REMOVED",
|
|
155
221
|
};
|
|
156
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
157
|
-
constructor(opts) {
|
|
158
|
-
super({
|
|
159
|
-
name: "ServiceQuotaExceededException",
|
|
160
|
-
$fault: "client",
|
|
161
|
-
...opts,
|
|
162
|
-
});
|
|
163
|
-
this.name = "ServiceQuotaExceededException";
|
|
164
|
-
this.$fault = "client";
|
|
165
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
166
|
-
this.quotaName = opts.quotaName;
|
|
167
|
-
this.quotaValue = opts.quotaValue;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
export const ConflictExceptionReason = {
|
|
171
|
-
ALREADY_EXISTS: "ALREADY_EXISTS",
|
|
172
|
-
INVALID_STATE: "INVALID_STATE",
|
|
173
|
-
SUBRESOURCES_EXIST: "SUBRESOURCES_EXIST",
|
|
174
|
-
};
|
|
175
|
-
export class ConflictException extends __BaseException {
|
|
176
|
-
constructor(opts) {
|
|
177
|
-
super({
|
|
178
|
-
name: "ConflictException",
|
|
179
|
-
$fault: "client",
|
|
180
|
-
...opts,
|
|
181
|
-
});
|
|
182
|
-
this.name = "ConflictException";
|
|
183
|
-
this.$fault = "client";
|
|
184
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
185
|
-
this.resourceId = opts.resourceId;
|
|
186
|
-
this.resourceType = opts.resourceType;
|
|
187
|
-
this.reason = opts.reason;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
222
|
export const FilterableMemberStatus = {
|
|
191
223
|
ACTIVE: "ACTIVE",
|
|
192
224
|
INVITED: "INVITED",
|
|
@@ -201,6 +233,7 @@ export var TableReference;
|
|
|
201
233
|
})(TableReference || (TableReference = {}));
|
|
202
234
|
export const ConfiguredTableAnalysisRuleType = {
|
|
203
235
|
AGGREGATION: "AGGREGATION",
|
|
236
|
+
CUSTOM: "CUSTOM",
|
|
204
237
|
LIST: "LIST",
|
|
205
238
|
};
|
|
206
239
|
export var ConfiguredTableAnalysisRulePolicyV1;
|
|
@@ -210,6 +243,8 @@ export var ConfiguredTableAnalysisRulePolicyV1;
|
|
|
210
243
|
return visitor.list(value.list);
|
|
211
244
|
if (value.aggregation !== undefined)
|
|
212
245
|
return visitor.aggregation(value.aggregation);
|
|
246
|
+
if (value.custom !== undefined)
|
|
247
|
+
return visitor.custom(value.custom);
|
|
213
248
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
249
|
};
|
|
215
250
|
})(ConfiguredTableAnalysisRulePolicyV1 || (ConfiguredTableAnalysisRulePolicyV1 = {}));
|
|
@@ -265,6 +300,54 @@ export const ProtectedQueryType = {
|
|
|
265
300
|
export const TargetProtectedQueryStatus = {
|
|
266
301
|
CANCELLED: "CANCELLED",
|
|
267
302
|
};
|
|
303
|
+
export const AnalysisParameterFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
export const AnalysisSourceFilterSensitiveLog = (obj) => {
|
|
307
|
+
if (obj.text !== undefined)
|
|
308
|
+
return { text: obj.text };
|
|
309
|
+
if (obj.$unknown !== undefined)
|
|
310
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
311
|
+
};
|
|
312
|
+
export const AnalysisTemplateFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
...(obj.source && { source: SENSITIVE_STRING }),
|
|
315
|
+
...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
|
|
316
|
+
});
|
|
317
|
+
export const CreateAnalysisTemplateInputFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
...(obj.source && { source: SENSITIVE_STRING }),
|
|
320
|
+
...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
|
|
321
|
+
});
|
|
322
|
+
export const CreateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
...(obj.analysisTemplate && { analysisTemplate: AnalysisTemplateFilterSensitiveLog(obj.analysisTemplate) }),
|
|
325
|
+
});
|
|
326
|
+
export const GetAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.analysisTemplate && { analysisTemplate: AnalysisTemplateFilterSensitiveLog(obj.analysisTemplate) }),
|
|
329
|
+
});
|
|
330
|
+
export const UpdateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.analysisTemplate && { analysisTemplate: AnalysisTemplateFilterSensitiveLog(obj.analysisTemplate) }),
|
|
333
|
+
});
|
|
334
|
+
export const CollaborationAnalysisTemplateFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
...(obj.source && { source: SENSITIVE_STRING }),
|
|
337
|
+
...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
|
|
338
|
+
});
|
|
339
|
+
export const BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.collaborationAnalysisTemplates && {
|
|
342
|
+
collaborationAnalysisTemplates: obj.collaborationAnalysisTemplates.map((item) => CollaborationAnalysisTemplateFilterSensitiveLog(item)),
|
|
343
|
+
}),
|
|
344
|
+
});
|
|
345
|
+
export const GetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
|
|
346
|
+
...obj,
|
|
347
|
+
...(obj.collaborationAnalysisTemplate && {
|
|
348
|
+
collaborationAnalysisTemplate: CollaborationAnalysisTemplateFilterSensitiveLog(obj.collaborationAnalysisTemplate),
|
|
349
|
+
}),
|
|
350
|
+
});
|
|
268
351
|
export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
|
|
269
352
|
...obj,
|
|
270
353
|
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListAnalysisTemplatesCommand, } from "../commands/ListAnalysisTemplatesCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListAnalysisTemplatesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListAnalysisTemplates(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
2
|
+
import { ListCollaborationAnalysisTemplatesCommand, } from "../commands/ListCollaborationAnalysisTemplatesCommand";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListCollaborationAnalysisTemplatesCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListCollaborationAnalysisTemplates(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof CleanRoomsClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected CleanRooms | CleanRoomsClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAnalysisTemplatesPaginator";
|
|
3
|
+
export * from "./ListCollaborationAnalysisTemplatesPaginator";
|
|
2
4
|
export * from "./ListCollaborationsPaginator";
|
|
3
5
|
export * from "./ListConfiguredTableAssociationsPaginator";
|
|
4
6
|
export * from "./ListConfiguredTablesPaginator";
|