@aws-sdk/client-cognito-sync 3.952.0 → 3.953.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/dist-cjs/index.js +263 -185
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/BulkPublishCommand.js +2 -2
- package/dist-es/commands/DeleteDatasetCommand.js +2 -2
- package/dist-es/commands/DescribeDatasetCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityPoolUsageCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityUsageCommand.js +2 -2
- package/dist-es/commands/GetBulkPublishDetailsCommand.js +2 -2
- package/dist-es/commands/GetCognitoEventsCommand.js +2 -2
- package/dist-es/commands/GetIdentityPoolConfigurationCommand.js +2 -2
- package/dist-es/commands/ListDatasetsCommand.js +2 -2
- package/dist-es/commands/ListIdentityPoolUsageCommand.js +2 -2
- package/dist-es/commands/ListRecordsCommand.js +2 -2
- package/dist-es/commands/RegisterDeviceCommand.js +2 -2
- package/dist-es/commands/SetCognitoEventsCommand.js +2 -2
- package/dist-es/commands/SetIdentityPoolConfigurationCommand.js +2 -2
- package/dist-es/commands/SubscribeToDatasetCommand.js +2 -2
- package/dist-es/commands/UnsubscribeFromDatasetCommand.js +2 -2
- package/dist-es/commands/UpdateRecordsCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +139 -132
- package/dist-types/CognitoSyncClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +72 -80
- package/dist-types/ts3.4/CognitoSyncClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +71 -80
- package/package.json +34 -34
|
@@ -130,9 +130,9 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cognitosync";
|
|
|
130
130
|
const _xaCC = "x-amz-Client-Context";
|
|
131
131
|
const n0 = "com.amazonaws.cognitosync";
|
|
132
132
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
133
|
-
import { CognitoSyncServiceException
|
|
134
|
-
import { AlreadyStreamedException
|
|
135
|
-
export var AlreadyStreamedException = [
|
|
133
|
+
import { CognitoSyncServiceException } from "../models/CognitoSyncServiceException";
|
|
134
|
+
import { AlreadyStreamedException, ConcurrentModificationException, DuplicateRequestException, InternalErrorException, InvalidConfigurationException, InvalidLambdaFunctionOutputException, InvalidParameterException, LambdaThrottledException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException, } from "../models/errors";
|
|
135
|
+
export var AlreadyStreamedException$ = [
|
|
136
136
|
-3,
|
|
137
137
|
n0,
|
|
138
138
|
_ASE,
|
|
@@ -140,11 +140,11 @@ export var AlreadyStreamedException = [
|
|
|
140
140
|
[_m],
|
|
141
141
|
[0],
|
|
142
142
|
];
|
|
143
|
-
TypeRegistry.for(n0).registerError(AlreadyStreamedException
|
|
144
|
-
export var BulkPublishRequest = [3, n0, _BPR, 0, [_IPI], [[0, 1]]];
|
|
145
|
-
export var BulkPublishResponse = [3, n0, _BPRu, 0, [_IPI], [0]];
|
|
146
|
-
export var CognitoStreams = [3, n0, _CS, 0, [_SN, _RA, _SS], [0, 0, 0]];
|
|
147
|
-
export var ConcurrentModificationException = [
|
|
143
|
+
TypeRegistry.for(n0).registerError(AlreadyStreamedException$, AlreadyStreamedException);
|
|
144
|
+
export var BulkPublishRequest$ = [3, n0, _BPR, 0, [_IPI], [[0, 1]]];
|
|
145
|
+
export var BulkPublishResponse$ = [3, n0, _BPRu, 0, [_IPI], [0]];
|
|
146
|
+
export var CognitoStreams$ = [3, n0, _CS, 0, [_SN, _RA, _SS], [0, 0, 0]];
|
|
147
|
+
export var ConcurrentModificationException$ = [
|
|
148
148
|
-3,
|
|
149
149
|
n0,
|
|
150
150
|
_CME,
|
|
@@ -152,8 +152,8 @@ export var ConcurrentModificationException = [
|
|
|
152
152
|
[_m],
|
|
153
153
|
[0],
|
|
154
154
|
];
|
|
155
|
-
TypeRegistry.for(n0).registerError(ConcurrentModificationException
|
|
156
|
-
export var Dataset = [
|
|
155
|
+
TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
156
|
+
export var Dataset$ = [
|
|
157
157
|
3,
|
|
158
158
|
n0,
|
|
159
159
|
_D,
|
|
@@ -161,7 +161,7 @@ export var Dataset = [
|
|
|
161
161
|
[_II, _DN, _CD, _LMD, _LMB, _DS, _NR],
|
|
162
162
|
[0, 0, 4, 4, 0, 1, 1],
|
|
163
163
|
];
|
|
164
|
-
export var DeleteDatasetRequest = [
|
|
164
|
+
export var DeleteDatasetRequest$ = [
|
|
165
165
|
3,
|
|
166
166
|
n0,
|
|
167
167
|
_DDR,
|
|
@@ -173,8 +173,8 @@ export var DeleteDatasetRequest = [
|
|
|
173
173
|
[0, 1],
|
|
174
174
|
],
|
|
175
175
|
];
|
|
176
|
-
export var DeleteDatasetResponse = [3, n0, _DDRe, 0, [_D], [() => Dataset]];
|
|
177
|
-
export var DescribeDatasetRequest = [
|
|
176
|
+
export var DeleteDatasetResponse$ = [3, n0, _DDRe, 0, [_D], [() => Dataset$]];
|
|
177
|
+
export var DescribeDatasetRequest$ = [
|
|
178
178
|
3,
|
|
179
179
|
n0,
|
|
180
180
|
_DDRes,
|
|
@@ -186,17 +186,17 @@ export var DescribeDatasetRequest = [
|
|
|
186
186
|
[0, 1],
|
|
187
187
|
],
|
|
188
188
|
];
|
|
189
|
-
export var DescribeDatasetResponse = [3, n0, _DDResc, 0, [_D], [() => Dataset]];
|
|
190
|
-
export var DescribeIdentityPoolUsageRequest = [3, n0, _DIPUR, 0, [_IPI], [[0, 1]]];
|
|
191
|
-
export var DescribeIdentityPoolUsageResponse = [
|
|
189
|
+
export var DescribeDatasetResponse$ = [3, n0, _DDResc, 0, [_D], [() => Dataset$]];
|
|
190
|
+
export var DescribeIdentityPoolUsageRequest$ = [3, n0, _DIPUR, 0, [_IPI], [[0, 1]]];
|
|
191
|
+
export var DescribeIdentityPoolUsageResponse$ = [
|
|
192
192
|
3,
|
|
193
193
|
n0,
|
|
194
194
|
_DIPURe,
|
|
195
195
|
0,
|
|
196
196
|
[_IPU],
|
|
197
|
-
[() => IdentityPoolUsage],
|
|
197
|
+
[() => IdentityPoolUsage$],
|
|
198
198
|
];
|
|
199
|
-
export var DescribeIdentityUsageRequest = [
|
|
199
|
+
export var DescribeIdentityUsageRequest$ = [
|
|
200
200
|
3,
|
|
201
201
|
n0,
|
|
202
202
|
_DIUR,
|
|
@@ -207,8 +207,8 @@ export var DescribeIdentityUsageRequest = [
|
|
|
207
207
|
[0, 1],
|
|
208
208
|
],
|
|
209
209
|
];
|
|
210
|
-
export var DescribeIdentityUsageResponse = [3, n0, _DIURe, 0, [_IU], [() => IdentityUsage]];
|
|
211
|
-
export var DuplicateRequestException = [
|
|
210
|
+
export var DescribeIdentityUsageResponse$ = [3, n0, _DIURe, 0, [_IU], [() => IdentityUsage$]];
|
|
211
|
+
export var DuplicateRequestException$ = [
|
|
212
212
|
-3,
|
|
213
213
|
n0,
|
|
214
214
|
_DRE,
|
|
@@ -216,9 +216,9 @@ export var DuplicateRequestException = [
|
|
|
216
216
|
[_m],
|
|
217
217
|
[0],
|
|
218
218
|
];
|
|
219
|
-
TypeRegistry.for(n0).registerError(DuplicateRequestException
|
|
220
|
-
export var GetBulkPublishDetailsRequest = [3, n0, _GBPDR, 0, [_IPI], [[0, 1]]];
|
|
221
|
-
export var GetBulkPublishDetailsResponse = [
|
|
219
|
+
TypeRegistry.for(n0).registerError(DuplicateRequestException$, DuplicateRequestException);
|
|
220
|
+
export var GetBulkPublishDetailsRequest$ = [3, n0, _GBPDR, 0, [_IPI], [[0, 1]]];
|
|
221
|
+
export var GetBulkPublishDetailsResponse$ = [
|
|
222
222
|
3,
|
|
223
223
|
n0,
|
|
224
224
|
_GBPDRe,
|
|
@@ -226,20 +226,20 @@ export var GetBulkPublishDetailsResponse = [
|
|
|
226
226
|
[_IPI, _BPST, _BPCT, _BPS, _FM],
|
|
227
227
|
[0, 4, 4, 0, 0],
|
|
228
228
|
];
|
|
229
|
-
export var GetCognitoEventsRequest = [3, n0, _GCER, 0, [_IPI], [[0, 1]]];
|
|
230
|
-
export var GetCognitoEventsResponse = [3, n0, _GCERe, 0, [_E], [128 | 0]];
|
|
231
|
-
export var GetIdentityPoolConfigurationRequest = [3, n0, _GIPCR, 0, [_IPI], [[0, 1]]];
|
|
232
|
-
export var GetIdentityPoolConfigurationResponse = [
|
|
229
|
+
export var GetCognitoEventsRequest$ = [3, n0, _GCER, 0, [_IPI], [[0, 1]]];
|
|
230
|
+
export var GetCognitoEventsResponse$ = [3, n0, _GCERe, 0, [_E], [128 | 0]];
|
|
231
|
+
export var GetIdentityPoolConfigurationRequest$ = [3, n0, _GIPCR, 0, [_IPI], [[0, 1]]];
|
|
232
|
+
export var GetIdentityPoolConfigurationResponse$ = [
|
|
233
233
|
3,
|
|
234
234
|
n0,
|
|
235
235
|
_GIPCRe,
|
|
236
236
|
0,
|
|
237
237
|
[_IPI, _PS, _CS],
|
|
238
|
-
[0, () => PushSync
|
|
238
|
+
[0, () => PushSync$, () => CognitoStreams$],
|
|
239
239
|
];
|
|
240
|
-
export var IdentityPoolUsage = [3, n0, _IPU, 0, [_IPI, _SSC, _DS, _LMD], [0, 1, 1, 4]];
|
|
241
|
-
export var IdentityUsage = [3, n0, _IU, 0, [_II, _IPI, _LMD, _DC, _DS], [0, 0, 4, 1, 1]];
|
|
242
|
-
export var InternalErrorException = [
|
|
240
|
+
export var IdentityPoolUsage$ = [3, n0, _IPU, 0, [_IPI, _SSC, _DS, _LMD], [0, 1, 1, 4]];
|
|
241
|
+
export var IdentityUsage$ = [3, n0, _IU, 0, [_II, _IPI, _LMD, _DC, _DS], [0, 0, 4, 1, 1]];
|
|
242
|
+
export var InternalErrorException$ = [
|
|
243
243
|
-3,
|
|
244
244
|
n0,
|
|
245
245
|
_IEE,
|
|
@@ -247,8 +247,8 @@ export var InternalErrorException = [
|
|
|
247
247
|
[_m],
|
|
248
248
|
[0],
|
|
249
249
|
];
|
|
250
|
-
TypeRegistry.for(n0).registerError(InternalErrorException
|
|
251
|
-
export var InvalidConfigurationException = [
|
|
250
|
+
TypeRegistry.for(n0).registerError(InternalErrorException$, InternalErrorException);
|
|
251
|
+
export var InvalidConfigurationException$ = [
|
|
252
252
|
-3,
|
|
253
253
|
n0,
|
|
254
254
|
_ICE,
|
|
@@ -256,8 +256,8 @@ export var InvalidConfigurationException = [
|
|
|
256
256
|
[_m],
|
|
257
257
|
[0],
|
|
258
258
|
];
|
|
259
|
-
TypeRegistry.for(n0).registerError(InvalidConfigurationException
|
|
260
|
-
export var InvalidLambdaFunctionOutputException = [
|
|
259
|
+
TypeRegistry.for(n0).registerError(InvalidConfigurationException$, InvalidConfigurationException);
|
|
260
|
+
export var InvalidLambdaFunctionOutputException$ = [
|
|
261
261
|
-3,
|
|
262
262
|
n0,
|
|
263
263
|
_ILFOE,
|
|
@@ -265,8 +265,8 @@ export var InvalidLambdaFunctionOutputException = [
|
|
|
265
265
|
[_m],
|
|
266
266
|
[0],
|
|
267
267
|
];
|
|
268
|
-
TypeRegistry.for(n0).registerError(InvalidLambdaFunctionOutputException
|
|
269
|
-
export var InvalidParameterException = [
|
|
268
|
+
TypeRegistry.for(n0).registerError(InvalidLambdaFunctionOutputException$, InvalidLambdaFunctionOutputException);
|
|
269
|
+
export var InvalidParameterException$ = [
|
|
270
270
|
-3,
|
|
271
271
|
n0,
|
|
272
272
|
_IPE,
|
|
@@ -274,8 +274,8 @@ export var InvalidParameterException = [
|
|
|
274
274
|
[_m],
|
|
275
275
|
[0],
|
|
276
276
|
];
|
|
277
|
-
TypeRegistry.for(n0).registerError(InvalidParameterException
|
|
278
|
-
export var LambdaThrottledException = [
|
|
277
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
|
|
278
|
+
export var LambdaThrottledException$ = [
|
|
279
279
|
-3,
|
|
280
280
|
n0,
|
|
281
281
|
_LTE,
|
|
@@ -283,8 +283,8 @@ export var LambdaThrottledException = [
|
|
|
283
283
|
[_m],
|
|
284
284
|
[0],
|
|
285
285
|
];
|
|
286
|
-
TypeRegistry.for(n0).registerError(LambdaThrottledException
|
|
287
|
-
export var LimitExceededException = [
|
|
286
|
+
TypeRegistry.for(n0).registerError(LambdaThrottledException$, LambdaThrottledException);
|
|
287
|
+
export var LimitExceededException$ = [
|
|
288
288
|
-3,
|
|
289
289
|
n0,
|
|
290
290
|
_LEE,
|
|
@@ -292,8 +292,8 @@ export var LimitExceededException = [
|
|
|
292
292
|
[_m],
|
|
293
293
|
[0],
|
|
294
294
|
];
|
|
295
|
-
TypeRegistry.for(n0).registerError(LimitExceededException
|
|
296
|
-
export var ListDatasetsRequest = [
|
|
295
|
+
TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
|
|
296
|
+
export var ListDatasetsRequest$ = [
|
|
297
297
|
3,
|
|
298
298
|
n0,
|
|
299
299
|
_LDR,
|
|
@@ -306,8 +306,8 @@ export var ListDatasetsRequest = [
|
|
|
306
306
|
[1, { [_hQ]: _mR }],
|
|
307
307
|
],
|
|
308
308
|
];
|
|
309
|
-
export var ListDatasetsResponse = [3, n0, _LDRi, 0, [_Da, _C, _NT], [() => DatasetList, 1, 0]];
|
|
310
|
-
export var ListIdentityPoolUsageRequest = [
|
|
309
|
+
export var ListDatasetsResponse$ = [3, n0, _LDRi, 0, [_Da, _C, _NT], [() => DatasetList, 1, 0]];
|
|
310
|
+
export var ListIdentityPoolUsageRequest$ = [
|
|
311
311
|
3,
|
|
312
312
|
n0,
|
|
313
313
|
_LIPUR,
|
|
@@ -318,7 +318,7 @@ export var ListIdentityPoolUsageRequest = [
|
|
|
318
318
|
[1, { [_hQ]: _mR }],
|
|
319
319
|
],
|
|
320
320
|
];
|
|
321
|
-
export var ListIdentityPoolUsageResponse = [
|
|
321
|
+
export var ListIdentityPoolUsageResponse$ = [
|
|
322
322
|
3,
|
|
323
323
|
n0,
|
|
324
324
|
_LIPURi,
|
|
@@ -326,7 +326,7 @@ export var ListIdentityPoolUsageResponse = [
|
|
|
326
326
|
[_IPUd, _MR, _C, _NT],
|
|
327
327
|
[() => IdentityPoolUsageList, 1, 1, 0],
|
|
328
328
|
];
|
|
329
|
-
export var ListRecordsRequest = [
|
|
329
|
+
export var ListRecordsRequest$ = [
|
|
330
330
|
3,
|
|
331
331
|
n0,
|
|
332
332
|
_LRR,
|
|
@@ -342,7 +342,7 @@ export var ListRecordsRequest = [
|
|
|
342
342
|
[0, { [_hQ]: _sST }],
|
|
343
343
|
],
|
|
344
344
|
];
|
|
345
|
-
export var ListRecordsResponse = [
|
|
345
|
+
export var ListRecordsResponse$ = [
|
|
346
346
|
3,
|
|
347
347
|
n0,
|
|
348
348
|
_LRRi,
|
|
@@ -350,7 +350,7 @@ export var ListRecordsResponse = [
|
|
|
350
350
|
[_R, _NT, _C, _DSC, _LMB, _MDN, _DE, _DDARSC, _SST],
|
|
351
351
|
[() => RecordList, 0, 1, 1, 0, 64 | 0, 2, 2, 0],
|
|
352
352
|
];
|
|
353
|
-
export var NotAuthorizedException = [
|
|
353
|
+
export var NotAuthorizedException$ = [
|
|
354
354
|
-3,
|
|
355
355
|
n0,
|
|
356
356
|
_NAE,
|
|
@@ -358,13 +358,20 @@ export var NotAuthorizedException = [
|
|
|
358
358
|
[_m],
|
|
359
359
|
[0],
|
|
360
360
|
];
|
|
361
|
-
TypeRegistry.for(n0).registerError(NotAuthorizedException
|
|
362
|
-
export var PushSync = [3, n0, _PS, 0, [_AA, _RA], [64 | 0, 0]];
|
|
363
|
-
export var _Record = [3, n0, _Re, 0, [_K, _V, _SC, _LMD, _LMB, _DLMD], [0, 0, 1, 4, 0, 4]];
|
|
364
|
-
export var RecordPatch = [3, n0, _RP, 0, [_O, _K, _V, _SC, _DLMD], [0, 0, 0, 1, 4]];
|
|
365
|
-
export var RegisterDeviceRequest = [
|
|
366
|
-
|
|
367
|
-
|
|
361
|
+
TypeRegistry.for(n0).registerError(NotAuthorizedException$, NotAuthorizedException);
|
|
362
|
+
export var PushSync$ = [3, n0, _PS, 0, [_AA, _RA], [64 | 0, 0]];
|
|
363
|
+
export var _Record$ = [3, n0, _Re, 0, [_K, _V, _SC, _LMD, _LMB, _DLMD], [0, 0, 1, 4, 0, 4]];
|
|
364
|
+
export var RecordPatch$ = [3, n0, _RP, 0, [_O, _K, _V, _SC, _DLMD], [0, 0, 0, 1, 4]];
|
|
365
|
+
export var RegisterDeviceRequest$ = [
|
|
366
|
+
3,
|
|
367
|
+
n0,
|
|
368
|
+
_RDR,
|
|
369
|
+
0,
|
|
370
|
+
[_IPI, _II, _P, _T],
|
|
371
|
+
[[0, 1], [0, 1], 0, 0],
|
|
372
|
+
];
|
|
373
|
+
export var RegisterDeviceResponse$ = [3, n0, _RDRe, 0, [_DI], [0]];
|
|
374
|
+
export var ResourceConflictException$ = [
|
|
368
375
|
-3,
|
|
369
376
|
n0,
|
|
370
377
|
_RCE,
|
|
@@ -372,8 +379,8 @@ export var ResourceConflictException = [
|
|
|
372
379
|
[_m],
|
|
373
380
|
[0],
|
|
374
381
|
];
|
|
375
|
-
TypeRegistry.for(n0).registerError(ResourceConflictException
|
|
376
|
-
export var ResourceNotFoundException = [
|
|
382
|
+
TypeRegistry.for(n0).registerError(ResourceConflictException$, ResourceConflictException);
|
|
383
|
+
export var ResourceNotFoundException$ = [
|
|
377
384
|
-3,
|
|
378
385
|
n0,
|
|
379
386
|
_RNFE,
|
|
@@ -381,25 +388,25 @@ export var ResourceNotFoundException = [
|
|
|
381
388
|
[_m],
|
|
382
389
|
[0],
|
|
383
390
|
];
|
|
384
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
385
|
-
export var SetCognitoEventsRequest = [3, n0, _SCER, 0, [_IPI, _E], [[0, 1], 128 | 0]];
|
|
386
|
-
export var SetIdentityPoolConfigurationRequest = [
|
|
391
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
392
|
+
export var SetCognitoEventsRequest$ = [3, n0, _SCER, 0, [_IPI, _E], [[0, 1], 128 | 0]];
|
|
393
|
+
export var SetIdentityPoolConfigurationRequest$ = [
|
|
387
394
|
3,
|
|
388
395
|
n0,
|
|
389
396
|
_SIPCR,
|
|
390
397
|
0,
|
|
391
398
|
[_IPI, _PS, _CS],
|
|
392
|
-
[[0, 1], () => PushSync
|
|
399
|
+
[[0, 1], () => PushSync$, () => CognitoStreams$],
|
|
393
400
|
];
|
|
394
|
-
export var SetIdentityPoolConfigurationResponse = [
|
|
401
|
+
export var SetIdentityPoolConfigurationResponse$ = [
|
|
395
402
|
3,
|
|
396
403
|
n0,
|
|
397
404
|
_SIPCRe,
|
|
398
405
|
0,
|
|
399
406
|
[_IPI, _PS, _CS],
|
|
400
|
-
[0, () => PushSync
|
|
407
|
+
[0, () => PushSync$, () => CognitoStreams$],
|
|
401
408
|
];
|
|
402
|
-
export var SubscribeToDatasetRequest = [
|
|
409
|
+
export var SubscribeToDatasetRequest$ = [
|
|
403
410
|
3,
|
|
404
411
|
n0,
|
|
405
412
|
_STDR,
|
|
@@ -412,8 +419,8 @@ export var SubscribeToDatasetRequest = [
|
|
|
412
419
|
[0, 1],
|
|
413
420
|
],
|
|
414
421
|
];
|
|
415
|
-
export var SubscribeToDatasetResponse = [3, n0, _STDRu, 0, [], []];
|
|
416
|
-
export var TooManyRequestsException = [
|
|
422
|
+
export var SubscribeToDatasetResponse$ = [3, n0, _STDRu, 0, [], []];
|
|
423
|
+
export var TooManyRequestsException$ = [
|
|
417
424
|
-3,
|
|
418
425
|
n0,
|
|
419
426
|
_TMRE,
|
|
@@ -421,8 +428,8 @@ export var TooManyRequestsException = [
|
|
|
421
428
|
[_m],
|
|
422
429
|
[0],
|
|
423
430
|
];
|
|
424
|
-
TypeRegistry.for(n0).registerError(TooManyRequestsException
|
|
425
|
-
export var UnsubscribeFromDatasetRequest = [
|
|
431
|
+
TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
432
|
+
export var UnsubscribeFromDatasetRequest$ = [
|
|
426
433
|
3,
|
|
427
434
|
n0,
|
|
428
435
|
_UFDR,
|
|
@@ -435,8 +442,8 @@ export var UnsubscribeFromDatasetRequest = [
|
|
|
435
442
|
[0, 1],
|
|
436
443
|
],
|
|
437
444
|
];
|
|
438
|
-
export var UnsubscribeFromDatasetResponse = [3, n0, _UFDRn, 0, [], []];
|
|
439
|
-
export var UpdateRecordsRequest = [
|
|
445
|
+
export var UnsubscribeFromDatasetResponse$ = [3, n0, _UFDRn, 0, [], []];
|
|
446
|
+
export var UpdateRecordsRequest$ = [
|
|
440
447
|
3,
|
|
441
448
|
n0,
|
|
442
449
|
_URR,
|
|
@@ -444,130 +451,130 @@ export var UpdateRecordsRequest = [
|
|
|
444
451
|
[_IPI, _II, _DN, _DI, _RPe, _SST, _CC],
|
|
445
452
|
[[0, 1], [0, 1], [0, 1], 0, () => RecordPatchList, 0, [0, { [_hH]: _xaCC }]],
|
|
446
453
|
];
|
|
447
|
-
export var UpdateRecordsResponse = [3, n0, _URRp, 0, [_R], [() => RecordList]];
|
|
448
|
-
|
|
449
|
-
export var CognitoSyncServiceException = [-3, _sm, "CognitoSyncServiceException", 0, [], []];
|
|
450
|
-
TypeRegistry.for(_sm).registerError(CognitoSyncServiceException
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
export var BulkPublish = [
|
|
454
|
+
export var UpdateRecordsResponse$ = [3, n0, _URRp, 0, [_R], [() => RecordList]];
|
|
455
|
+
var __Unit = "unit";
|
|
456
|
+
export var CognitoSyncServiceException$ = [-3, _sm, "CognitoSyncServiceException", 0, [], []];
|
|
457
|
+
TypeRegistry.for(_sm).registerError(CognitoSyncServiceException$, CognitoSyncServiceException);
|
|
458
|
+
var ApplicationArnList = 64 | 0;
|
|
459
|
+
var DatasetList = [1, n0, _DL, 0, () => Dataset$];
|
|
460
|
+
var IdentityPoolUsageList = [1, n0, _IPUL, 0, () => IdentityPoolUsage$];
|
|
461
|
+
var MergedDatasetNameList = 64 | 0;
|
|
462
|
+
var RecordList = [1, n0, _RL, 0, () => _Record$];
|
|
463
|
+
var RecordPatchList = [1, n0, _RPL, 0, () => RecordPatch$];
|
|
464
|
+
var Events = 128 | 0;
|
|
465
|
+
export var BulkPublish$ = [
|
|
459
466
|
9,
|
|
460
467
|
n0,
|
|
461
468
|
_BP,
|
|
462
469
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200] },
|
|
463
|
-
() => BulkPublishRequest
|
|
464
|
-
() => BulkPublishResponse
|
|
470
|
+
() => BulkPublishRequest$,
|
|
471
|
+
() => BulkPublishResponse$,
|
|
465
472
|
];
|
|
466
|
-
export var DeleteDataset = [
|
|
473
|
+
export var DeleteDataset$ = [
|
|
467
474
|
9,
|
|
468
475
|
n0,
|
|
469
476
|
_DD,
|
|
470
477
|
{ [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] },
|
|
471
|
-
() => DeleteDatasetRequest
|
|
472
|
-
() => DeleteDatasetResponse
|
|
478
|
+
() => DeleteDatasetRequest$,
|
|
479
|
+
() => DeleteDatasetResponse$,
|
|
473
480
|
];
|
|
474
|
-
export var DescribeDataset = [
|
|
481
|
+
export var DescribeDataset$ = [
|
|
475
482
|
9,
|
|
476
483
|
n0,
|
|
477
484
|
_DDe,
|
|
478
485
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] },
|
|
479
|
-
() => DescribeDatasetRequest
|
|
480
|
-
() => DescribeDatasetResponse
|
|
486
|
+
() => DescribeDatasetRequest$,
|
|
487
|
+
() => DescribeDatasetResponse$,
|
|
481
488
|
];
|
|
482
|
-
export var DescribeIdentityPoolUsage = [
|
|
489
|
+
export var DescribeIdentityPoolUsage$ = [
|
|
483
490
|
9,
|
|
484
491
|
n0,
|
|
485
492
|
_DIPU,
|
|
486
493
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}", 200] },
|
|
487
|
-
() => DescribeIdentityPoolUsageRequest
|
|
488
|
-
() => DescribeIdentityPoolUsageResponse
|
|
494
|
+
() => DescribeIdentityPoolUsageRequest$,
|
|
495
|
+
() => DescribeIdentityPoolUsageResponse$,
|
|
489
496
|
];
|
|
490
|
-
export var DescribeIdentityUsage = [
|
|
497
|
+
export var DescribeIdentityUsage$ = [
|
|
491
498
|
9,
|
|
492
499
|
n0,
|
|
493
500
|
_DIU,
|
|
494
501
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200] },
|
|
495
|
-
() => DescribeIdentityUsageRequest
|
|
496
|
-
() => DescribeIdentityUsageResponse
|
|
502
|
+
() => DescribeIdentityUsageRequest$,
|
|
503
|
+
() => DescribeIdentityUsageResponse$,
|
|
497
504
|
];
|
|
498
|
-
export var GetBulkPublishDetails = [
|
|
505
|
+
export var GetBulkPublishDetails$ = [
|
|
499
506
|
9,
|
|
500
507
|
n0,
|
|
501
508
|
_GBPD,
|
|
502
509
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200] },
|
|
503
|
-
() => GetBulkPublishDetailsRequest
|
|
504
|
-
() => GetBulkPublishDetailsResponse
|
|
510
|
+
() => GetBulkPublishDetailsRequest$,
|
|
511
|
+
() => GetBulkPublishDetailsResponse$,
|
|
505
512
|
];
|
|
506
|
-
export var GetCognitoEvents = [
|
|
513
|
+
export var GetCognitoEvents$ = [
|
|
507
514
|
9,
|
|
508
515
|
n0,
|
|
509
516
|
_GCE,
|
|
510
517
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200] },
|
|
511
|
-
() => GetCognitoEventsRequest
|
|
512
|
-
() => GetCognitoEventsResponse
|
|
518
|
+
() => GetCognitoEventsRequest$,
|
|
519
|
+
() => GetCognitoEventsResponse$,
|
|
513
520
|
];
|
|
514
|
-
export var GetIdentityPoolConfiguration = [
|
|
521
|
+
export var GetIdentityPoolConfiguration$ = [
|
|
515
522
|
9,
|
|
516
523
|
n0,
|
|
517
524
|
_GIPC,
|
|
518
525
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200] },
|
|
519
|
-
() => GetIdentityPoolConfigurationRequest
|
|
520
|
-
() => GetIdentityPoolConfigurationResponse
|
|
526
|
+
() => GetIdentityPoolConfigurationRequest$,
|
|
527
|
+
() => GetIdentityPoolConfigurationResponse$,
|
|
521
528
|
];
|
|
522
|
-
export var ListDatasets = [
|
|
529
|
+
export var ListDatasets$ = [
|
|
523
530
|
9,
|
|
524
531
|
n0,
|
|
525
532
|
_LD,
|
|
526
533
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200] },
|
|
527
|
-
() => ListDatasetsRequest
|
|
528
|
-
() => ListDatasetsResponse
|
|
534
|
+
() => ListDatasetsRequest$,
|
|
535
|
+
() => ListDatasetsResponse$,
|
|
529
536
|
];
|
|
530
|
-
export var ListIdentityPoolUsage = [
|
|
537
|
+
export var ListIdentityPoolUsage$ = [
|
|
531
538
|
9,
|
|
532
539
|
n0,
|
|
533
540
|
_LIPU,
|
|
534
541
|
{ [_h]: ["GET", "/identitypools", 200] },
|
|
535
|
-
() => ListIdentityPoolUsageRequest
|
|
536
|
-
() => ListIdentityPoolUsageResponse
|
|
542
|
+
() => ListIdentityPoolUsageRequest$,
|
|
543
|
+
() => ListIdentityPoolUsageResponse$,
|
|
537
544
|
];
|
|
538
|
-
export var ListRecords = [
|
|
545
|
+
export var ListRecords$ = [
|
|
539
546
|
9,
|
|
540
547
|
n0,
|
|
541
548
|
_LR,
|
|
542
549
|
{ [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200] },
|
|
543
|
-
() => ListRecordsRequest
|
|
544
|
-
() => ListRecordsResponse
|
|
550
|
+
() => ListRecordsRequest$,
|
|
551
|
+
() => ListRecordsResponse$,
|
|
545
552
|
];
|
|
546
|
-
export var RegisterDevice = [
|
|
553
|
+
export var RegisterDevice$ = [
|
|
547
554
|
9,
|
|
548
555
|
n0,
|
|
549
556
|
_RD,
|
|
550
557
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200] },
|
|
551
|
-
() => RegisterDeviceRequest
|
|
552
|
-
() => RegisterDeviceResponse
|
|
558
|
+
() => RegisterDeviceRequest$,
|
|
559
|
+
() => RegisterDeviceResponse$,
|
|
553
560
|
];
|
|
554
|
-
export var SetCognitoEvents = [
|
|
561
|
+
export var SetCognitoEvents$ = [
|
|
555
562
|
9,
|
|
556
563
|
n0,
|
|
557
564
|
_SCE,
|
|
558
565
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200] },
|
|
559
|
-
() => SetCognitoEventsRequest
|
|
566
|
+
() => SetCognitoEventsRequest$,
|
|
560
567
|
() => __Unit,
|
|
561
568
|
];
|
|
562
|
-
export var SetIdentityPoolConfiguration = [
|
|
569
|
+
export var SetIdentityPoolConfiguration$ = [
|
|
563
570
|
9,
|
|
564
571
|
n0,
|
|
565
572
|
_SIPC,
|
|
566
573
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200] },
|
|
567
|
-
() => SetIdentityPoolConfigurationRequest
|
|
568
|
-
() => SetIdentityPoolConfigurationResponse
|
|
574
|
+
() => SetIdentityPoolConfigurationRequest$,
|
|
575
|
+
() => SetIdentityPoolConfigurationResponse$,
|
|
569
576
|
];
|
|
570
|
-
export var SubscribeToDataset = [
|
|
577
|
+
export var SubscribeToDataset$ = [
|
|
571
578
|
9,
|
|
572
579
|
n0,
|
|
573
580
|
_STD,
|
|
@@ -578,10 +585,10 @@ export var SubscribeToDataset = [
|
|
|
578
585
|
200,
|
|
579
586
|
],
|
|
580
587
|
},
|
|
581
|
-
() => SubscribeToDatasetRequest
|
|
582
|
-
() => SubscribeToDatasetResponse
|
|
588
|
+
() => SubscribeToDatasetRequest$,
|
|
589
|
+
() => SubscribeToDatasetResponse$,
|
|
583
590
|
];
|
|
584
|
-
export var UnsubscribeFromDataset = [
|
|
591
|
+
export var UnsubscribeFromDataset$ = [
|
|
585
592
|
9,
|
|
586
593
|
n0,
|
|
587
594
|
_UFD,
|
|
@@ -592,14 +599,14 @@ export var UnsubscribeFromDataset = [
|
|
|
592
599
|
200,
|
|
593
600
|
],
|
|
594
601
|
},
|
|
595
|
-
() => UnsubscribeFromDatasetRequest
|
|
596
|
-
() => UnsubscribeFromDatasetResponse
|
|
602
|
+
() => UnsubscribeFromDatasetRequest$,
|
|
603
|
+
() => UnsubscribeFromDatasetResponse$,
|
|
597
604
|
];
|
|
598
|
-
export var UpdateRecords = [
|
|
605
|
+
export var UpdateRecords$ = [
|
|
599
606
|
9,
|
|
600
607
|
n0,
|
|
601
608
|
_UR,
|
|
602
609
|
{ [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] },
|
|
603
|
-
() => UpdateRecordsRequest
|
|
604
|
-
() => UpdateRecordsResponse
|
|
610
|
+
() => UpdateRecordsRequest$,
|
|
611
|
+
() => UpdateRecordsResponse$,
|
|
605
612
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BulkPublishCommandInput, BulkPublishCommandOutput } from "./commands/BulkPublishCommand";
|
|
11
11
|
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
@@ -158,15 +158,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
158
158
|
* Optional extensions
|
|
159
159
|
*/
|
|
160
160
|
extensions?: RuntimeExtension[];
|
|
161
|
-
/**
|
|
162
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
163
|
-
* may be overridden. A default will always be set by the client.
|
|
164
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
165
|
-
* the client.
|
|
166
|
-
* @alpha
|
|
167
|
-
*
|
|
168
|
-
*/
|
|
169
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
170
161
|
/**
|
|
171
162
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
172
163
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
21
21
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
22
22
|
export type { CognitoSyncExtensionConfiguration } from "./extensionConfiguration";
|
|
23
23
|
export * from "./commands";
|
|
24
|
+
export * from "./schemas/schemas_0";
|
|
24
25
|
export * from "./models/enums";
|
|
25
26
|
export * from "./models/errors";
|
|
26
27
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: CognitoSyncClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|