@aws-sdk/client-cognito-sync 3.1068.0 → 3.1070.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.
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscribeToDatasetRequest$ = exports.SetIdentityPoolConfigurationResponse$ = exports.SetIdentityPoolConfigurationRequest$ = exports.SetCognitoEventsRequest$ = exports.RegisterDeviceResponse$ = exports.RegisterDeviceRequest$ = exports.RecordPatch$ = exports._Record$ = exports.PushSync$ = exports.ListRecordsResponse$ = exports.ListRecordsRequest$ = exports.ListIdentityPoolUsageResponse$ = exports.ListIdentityPoolUsageRequest$ = exports.ListDatasetsResponse$ = exports.ListDatasetsRequest$ = exports.IdentityUsage$ = exports.IdentityPoolUsage$ = exports.GetIdentityPoolConfigurationResponse$ = exports.GetIdentityPoolConfigurationRequest$ = exports.GetCognitoEventsResponse$ = exports.GetCognitoEventsRequest$ = exports.GetBulkPublishDetailsResponse$ = exports.GetBulkPublishDetailsRequest$ = exports.DescribeIdentityUsageResponse$ = exports.DescribeIdentityUsageRequest$ = exports.DescribeIdentityPoolUsageResponse$ = exports.DescribeIdentityPoolUsageRequest$ = exports.DescribeDatasetResponse$ = exports.DescribeDatasetRequest$ = exports.DeleteDatasetResponse$ = exports.DeleteDatasetRequest$ = exports.Dataset$ = exports.CognitoStreams$ = exports.BulkPublishResponse$ = exports.BulkPublishRequest$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.ResourceConflictException$ = exports.NotAuthorizedException$ = exports.LimitExceededException$ = exports.LambdaThrottledException$ = exports.InvalidParameterException$ = exports.InvalidLambdaFunctionOutputException$ = exports.InvalidConfigurationException$ = exports.InternalErrorException$ = exports.DuplicateRequestException$ = exports.ConcurrentModificationException$ = exports.AlreadyStreamedException$ = exports.CognitoSyncServiceException$ = void 0;
4
- exports.UpdateRecords$ = exports.UnsubscribeFromDataset$ = exports.SubscribeToDataset$ = exports.SetIdentityPoolConfiguration$ = exports.SetCognitoEvents$ = exports.RegisterDevice$ = exports.ListRecords$ = exports.ListIdentityPoolUsage$ = exports.ListDatasets$ = exports.GetIdentityPoolConfiguration$ = exports.GetCognitoEvents$ = exports.GetBulkPublishDetails$ = exports.DescribeIdentityUsage$ = exports.DescribeIdentityPoolUsage$ = exports.DescribeDataset$ = exports.DeleteDataset$ = exports.BulkPublish$ = exports.UpdateRecordsResponse$ = exports.UpdateRecordsRequest$ = exports.UnsubscribeFromDatasetResponse$ = exports.UnsubscribeFromDatasetRequest$ = exports.SubscribeToDatasetResponse$ = void 0;
5
1
  const _AA = "ApplicationArns";
6
2
  const _ASE = "AlreadyStreamedException";
7
3
  const _BP = "BulkPublish";
@@ -133,359 +129,413 @@ const _sST = "syncSessionToken";
133
129
  const _se = "server";
134
130
  const _xaCC = "x-amz-Client-Context";
135
131
  const n0 = "com.amazonaws.cognitosync";
136
- const schema_1 = require("@smithy/core/schema");
137
- const CognitoSyncServiceException_1 = require("../models/CognitoSyncServiceException");
138
- const errors_1 = require("../models/errors");
139
- const _s_registry = schema_1.TypeRegistry.for(_s);
140
- exports.CognitoSyncServiceException$ = [-3, _s, "CognitoSyncServiceException", 0, [], []];
141
- _s_registry.registerError(exports.CognitoSyncServiceException$, CognitoSyncServiceException_1.CognitoSyncServiceException);
142
- const n0_registry = schema_1.TypeRegistry.for(n0);
143
- exports.AlreadyStreamedException$ = [-3, n0, _ASE,
132
+ const { TypeRegistry } = require("@smithy/core/schema");
133
+ const { CognitoSyncServiceException } = require("../models/CognitoSyncServiceException");
134
+ const { AlreadyStreamedException, ConcurrentModificationException, DuplicateRequestException, InternalErrorException, InvalidConfigurationException, InvalidLambdaFunctionOutputException, InvalidParameterException, LambdaThrottledException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException } = require("../models/errors");
135
+ const _s_registry = TypeRegistry.for(_s);
136
+ const CognitoSyncServiceException$ = [-3, _s, "CognitoSyncServiceException", 0, [], []];
137
+ exports.CognitoSyncServiceException$ = CognitoSyncServiceException$;
138
+ _s_registry.registerError(CognitoSyncServiceException$, CognitoSyncServiceException);
139
+ const n0_registry = TypeRegistry.for(n0);
140
+ const AlreadyStreamedException$ = [-3, n0, _ASE,
144
141
  { [_aQE]: [`AlreadyStreamed`, 400], [_e]: _c, [_hE]: 400 },
145
142
  [_m],
146
143
  [0], 1
147
144
  ];
148
- n0_registry.registerError(exports.AlreadyStreamedException$, errors_1.AlreadyStreamedException);
149
- exports.ConcurrentModificationException$ = [-3, n0, _CME,
145
+ exports.AlreadyStreamedException$ = AlreadyStreamedException$;
146
+ n0_registry.registerError(AlreadyStreamedException$, AlreadyStreamedException);
147
+ const ConcurrentModificationException$ = [-3, n0, _CME,
150
148
  { [_aQE]: [`ConcurrentModification`, 400], [_e]: _c, [_hE]: 400 },
151
149
  [_m],
152
150
  [0], 1
153
151
  ];
154
- n0_registry.registerError(exports.ConcurrentModificationException$, errors_1.ConcurrentModificationException);
155
- exports.DuplicateRequestException$ = [-3, n0, _DRE,
152
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
153
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
154
+ const DuplicateRequestException$ = [-3, n0, _DRE,
156
155
  { [_aQE]: [`DuplicateRequest`, 400], [_e]: _c, [_hE]: 400 },
157
156
  [_m],
158
157
  [0], 1
159
158
  ];
160
- n0_registry.registerError(exports.DuplicateRequestException$, errors_1.DuplicateRequestException);
161
- exports.InternalErrorException$ = [-3, n0, _IEE,
159
+ exports.DuplicateRequestException$ = DuplicateRequestException$;
160
+ n0_registry.registerError(DuplicateRequestException$, DuplicateRequestException);
161
+ const InternalErrorException$ = [-3, n0, _IEE,
162
162
  { [_aQE]: [`InternalError`, 500], [_e]: _se, [_hE]: 500 },
163
163
  [_m],
164
164
  [0], 1
165
165
  ];
166
- n0_registry.registerError(exports.InternalErrorException$, errors_1.InternalErrorException);
167
- exports.InvalidConfigurationException$ = [-3, n0, _ICE,
166
+ exports.InternalErrorException$ = InternalErrorException$;
167
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
168
+ const InvalidConfigurationException$ = [-3, n0, _ICE,
168
169
  { [_aQE]: [`InvalidConfiguration`, 400], [_e]: _c, [_hE]: 400 },
169
170
  [_m],
170
171
  [0], 1
171
172
  ];
172
- n0_registry.registerError(exports.InvalidConfigurationException$, errors_1.InvalidConfigurationException);
173
- exports.InvalidLambdaFunctionOutputException$ = [-3, n0, _ILFOE,
173
+ exports.InvalidConfigurationException$ = InvalidConfigurationException$;
174
+ n0_registry.registerError(InvalidConfigurationException$, InvalidConfigurationException);
175
+ const InvalidLambdaFunctionOutputException$ = [-3, n0, _ILFOE,
174
176
  { [_aQE]: [`InvalidLambdaFunctionOutput`, 400], [_e]: _c, [_hE]: 400 },
175
177
  [_m],
176
178
  [0], 1
177
179
  ];
178
- n0_registry.registerError(exports.InvalidLambdaFunctionOutputException$, errors_1.InvalidLambdaFunctionOutputException);
179
- exports.InvalidParameterException$ = [-3, n0, _IPE,
180
+ exports.InvalidLambdaFunctionOutputException$ = InvalidLambdaFunctionOutputException$;
181
+ n0_registry.registerError(InvalidLambdaFunctionOutputException$, InvalidLambdaFunctionOutputException);
182
+ const InvalidParameterException$ = [-3, n0, _IPE,
180
183
  { [_aQE]: [`InvalidParameter`, 400], [_e]: _c, [_hE]: 400 },
181
184
  [_m],
182
185
  [0], 1
183
186
  ];
184
- n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
185
- exports.LambdaThrottledException$ = [-3, n0, _LTE,
187
+ exports.InvalidParameterException$ = InvalidParameterException$;
188
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
189
+ const LambdaThrottledException$ = [-3, n0, _LTE,
186
190
  { [_aQE]: [`LambdaThrottled`, 429], [_e]: _c, [_hE]: 429 },
187
191
  [_m],
188
192
  [0], 1
189
193
  ];
190
- n0_registry.registerError(exports.LambdaThrottledException$, errors_1.LambdaThrottledException);
191
- exports.LimitExceededException$ = [-3, n0, _LEE,
194
+ exports.LambdaThrottledException$ = LambdaThrottledException$;
195
+ n0_registry.registerError(LambdaThrottledException$, LambdaThrottledException);
196
+ const LimitExceededException$ = [-3, n0, _LEE,
192
197
  { [_aQE]: [`LimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
193
198
  [_m],
194
199
  [0], 1
195
200
  ];
196
- n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
197
- exports.NotAuthorizedException$ = [-3, n0, _NAE,
201
+ exports.LimitExceededException$ = LimitExceededException$;
202
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
203
+ const NotAuthorizedException$ = [-3, n0, _NAE,
198
204
  { [_aQE]: [`NotAuthorizedError`, 403], [_e]: _c, [_hE]: 403 },
199
205
  [_m],
200
206
  [0], 1
201
207
  ];
202
- n0_registry.registerError(exports.NotAuthorizedException$, errors_1.NotAuthorizedException);
203
- exports.ResourceConflictException$ = [-3, n0, _RCE,
208
+ exports.NotAuthorizedException$ = NotAuthorizedException$;
209
+ n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException);
210
+ const ResourceConflictException$ = [-3, n0, _RCE,
204
211
  { [_aQE]: [`ResourceConflict`, 409], [_e]: _c, [_hE]: 409 },
205
212
  [_m],
206
213
  [0], 1
207
214
  ];
208
- n0_registry.registerError(exports.ResourceConflictException$, errors_1.ResourceConflictException);
209
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
215
+ exports.ResourceConflictException$ = ResourceConflictException$;
216
+ n0_registry.registerError(ResourceConflictException$, ResourceConflictException);
217
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
210
218
  { [_aQE]: [`ResourceNotFound`, 404], [_e]: _c, [_hE]: 404 },
211
219
  [_m],
212
220
  [0], 1
213
221
  ];
214
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
215
- exports.TooManyRequestsException$ = [-3, n0, _TMRE,
222
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
223
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
224
+ const TooManyRequestsException$ = [-3, n0, _TMRE,
216
225
  { [_aQE]: [`TooManyRequests`, 429], [_e]: _c, [_hE]: 429 },
217
226
  [_m],
218
227
  [0], 1
219
228
  ];
220
- n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
229
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
230
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
221
231
  exports.errorTypeRegistries = [
222
232
  _s_registry,
223
233
  n0_registry,
224
234
  ];
225
- exports.BulkPublishRequest$ = [3, n0, _BPR,
235
+ const BulkPublishRequest$ = [3, n0, _BPR,
226
236
  0,
227
237
  [_IPI],
228
238
  [[0, 1]], 1
229
239
  ];
230
- exports.BulkPublishResponse$ = [3, n0, _BPRu,
240
+ exports.BulkPublishRequest$ = BulkPublishRequest$;
241
+ const BulkPublishResponse$ = [3, n0, _BPRu,
231
242
  0,
232
243
  [_IPI],
233
244
  [0]
234
245
  ];
235
- exports.CognitoStreams$ = [3, n0, _CS,
246
+ exports.BulkPublishResponse$ = BulkPublishResponse$;
247
+ const CognitoStreams$ = [3, n0, _CS,
236
248
  0,
237
249
  [_SN, _RA, _SS],
238
250
  [0, 0, 0]
239
251
  ];
240
- exports.Dataset$ = [3, n0, _D,
252
+ exports.CognitoStreams$ = CognitoStreams$;
253
+ const Dataset$ = [3, n0, _D,
241
254
  0,
242
255
  [_II, _DN, _CD, _LMD, _LMB, _DS, _NR],
243
256
  [0, 0, 4, 4, 0, 1, 1]
244
257
  ];
245
- exports.DeleteDatasetRequest$ = [3, n0, _DDR,
258
+ exports.Dataset$ = Dataset$;
259
+ const DeleteDatasetRequest$ = [3, n0, _DDR,
246
260
  0,
247
261
  [_IPI, _II, _DN],
248
262
  [[0, 1], [0, 1], [0, 1]], 3
249
263
  ];
250
- exports.DeleteDatasetResponse$ = [3, n0, _DDRe,
264
+ exports.DeleteDatasetRequest$ = DeleteDatasetRequest$;
265
+ const DeleteDatasetResponse$ = [3, n0, _DDRe,
251
266
  0,
252
267
  [_D],
253
- [() => exports.Dataset$]
268
+ [() => Dataset$]
254
269
  ];
255
- exports.DescribeDatasetRequest$ = [3, n0, _DDRes,
270
+ exports.DeleteDatasetResponse$ = DeleteDatasetResponse$;
271
+ const DescribeDatasetRequest$ = [3, n0, _DDRes,
256
272
  0,
257
273
  [_IPI, _II, _DN],
258
274
  [[0, 1], [0, 1], [0, 1]], 3
259
275
  ];
260
- exports.DescribeDatasetResponse$ = [3, n0, _DDResc,
276
+ exports.DescribeDatasetRequest$ = DescribeDatasetRequest$;
277
+ const DescribeDatasetResponse$ = [3, n0, _DDResc,
261
278
  0,
262
279
  [_D],
263
- [() => exports.Dataset$]
280
+ [() => Dataset$]
264
281
  ];
265
- exports.DescribeIdentityPoolUsageRequest$ = [3, n0, _DIPUR,
282
+ exports.DescribeDatasetResponse$ = DescribeDatasetResponse$;
283
+ const DescribeIdentityPoolUsageRequest$ = [3, n0, _DIPUR,
266
284
  0,
267
285
  [_IPI],
268
286
  [[0, 1]], 1
269
287
  ];
270
- exports.DescribeIdentityPoolUsageResponse$ = [3, n0, _DIPURe,
288
+ exports.DescribeIdentityPoolUsageRequest$ = DescribeIdentityPoolUsageRequest$;
289
+ const DescribeIdentityPoolUsageResponse$ = [3, n0, _DIPURe,
271
290
  0,
272
291
  [_IPU],
273
- [() => exports.IdentityPoolUsage$]
292
+ [() => IdentityPoolUsage$]
274
293
  ];
275
- exports.DescribeIdentityUsageRequest$ = [3, n0, _DIUR,
294
+ exports.DescribeIdentityPoolUsageResponse$ = DescribeIdentityPoolUsageResponse$;
295
+ const DescribeIdentityUsageRequest$ = [3, n0, _DIUR,
276
296
  0,
277
297
  [_IPI, _II],
278
298
  [[0, 1], [0, 1]], 2
279
299
  ];
280
- exports.DescribeIdentityUsageResponse$ = [3, n0, _DIURe,
300
+ exports.DescribeIdentityUsageRequest$ = DescribeIdentityUsageRequest$;
301
+ const DescribeIdentityUsageResponse$ = [3, n0, _DIURe,
281
302
  0,
282
303
  [_IU],
283
- [() => exports.IdentityUsage$]
304
+ [() => IdentityUsage$]
284
305
  ];
285
- exports.GetBulkPublishDetailsRequest$ = [3, n0, _GBPDR,
306
+ exports.DescribeIdentityUsageResponse$ = DescribeIdentityUsageResponse$;
307
+ const GetBulkPublishDetailsRequest$ = [3, n0, _GBPDR,
286
308
  0,
287
309
  [_IPI],
288
310
  [[0, 1]], 1
289
311
  ];
290
- exports.GetBulkPublishDetailsResponse$ = [3, n0, _GBPDRe,
312
+ exports.GetBulkPublishDetailsRequest$ = GetBulkPublishDetailsRequest$;
313
+ const GetBulkPublishDetailsResponse$ = [3, n0, _GBPDRe,
291
314
  0,
292
315
  [_IPI, _BPST, _BPCT, _BPS, _FM],
293
316
  [0, 4, 4, 0, 0]
294
317
  ];
295
- exports.GetCognitoEventsRequest$ = [3, n0, _GCER,
318
+ exports.GetBulkPublishDetailsResponse$ = GetBulkPublishDetailsResponse$;
319
+ const GetCognitoEventsRequest$ = [3, n0, _GCER,
296
320
  0,
297
321
  [_IPI],
298
322
  [[0, 1]], 1
299
323
  ];
300
- exports.GetCognitoEventsResponse$ = [3, n0, _GCERe,
324
+ exports.GetCognitoEventsRequest$ = GetCognitoEventsRequest$;
325
+ const GetCognitoEventsResponse$ = [3, n0, _GCERe,
301
326
  0,
302
327
  [_E],
303
328
  [128 | 0]
304
329
  ];
305
- exports.GetIdentityPoolConfigurationRequest$ = [3, n0, _GIPCR,
330
+ exports.GetCognitoEventsResponse$ = GetCognitoEventsResponse$;
331
+ const GetIdentityPoolConfigurationRequest$ = [3, n0, _GIPCR,
306
332
  0,
307
333
  [_IPI],
308
334
  [[0, 1]], 1
309
335
  ];
310
- exports.GetIdentityPoolConfigurationResponse$ = [3, n0, _GIPCRe,
336
+ exports.GetIdentityPoolConfigurationRequest$ = GetIdentityPoolConfigurationRequest$;
337
+ const GetIdentityPoolConfigurationResponse$ = [3, n0, _GIPCRe,
311
338
  0,
312
339
  [_IPI, _PS, _CS],
313
- [0, () => exports.PushSync$, () => exports.CognitoStreams$]
340
+ [0, () => PushSync$, () => CognitoStreams$]
314
341
  ];
315
- exports.IdentityPoolUsage$ = [3, n0, _IPU,
342
+ exports.GetIdentityPoolConfigurationResponse$ = GetIdentityPoolConfigurationResponse$;
343
+ const IdentityPoolUsage$ = [3, n0, _IPU,
316
344
  0,
317
345
  [_IPI, _SSC, _DS, _LMD],
318
346
  [0, 1, 1, 4]
319
347
  ];
320
- exports.IdentityUsage$ = [3, n0, _IU,
348
+ exports.IdentityPoolUsage$ = IdentityPoolUsage$;
349
+ const IdentityUsage$ = [3, n0, _IU,
321
350
  0,
322
351
  [_II, _IPI, _LMD, _DC, _DS],
323
352
  [0, 0, 4, 1, 1]
324
353
  ];
325
- exports.ListDatasetsRequest$ = [3, n0, _LDR,
354
+ exports.IdentityUsage$ = IdentityUsage$;
355
+ const ListDatasetsRequest$ = [3, n0, _LDR,
326
356
  0,
327
357
  [_IPI, _II, _NT, _MR],
328
358
  [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
329
359
  ];
330
- exports.ListDatasetsResponse$ = [3, n0, _LDRi,
360
+ exports.ListDatasetsRequest$ = ListDatasetsRequest$;
361
+ const ListDatasetsResponse$ = [3, n0, _LDRi,
331
362
  0,
332
363
  [_Da, _C, _NT],
333
364
  [() => DatasetList, 1, 0]
334
365
  ];
335
- exports.ListIdentityPoolUsageRequest$ = [3, n0, _LIPUR,
366
+ exports.ListDatasetsResponse$ = ListDatasetsResponse$;
367
+ const ListIdentityPoolUsageRequest$ = [3, n0, _LIPUR,
336
368
  0,
337
369
  [_NT, _MR],
338
370
  [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
339
371
  ];
340
- exports.ListIdentityPoolUsageResponse$ = [3, n0, _LIPURi,
372
+ exports.ListIdentityPoolUsageRequest$ = ListIdentityPoolUsageRequest$;
373
+ const ListIdentityPoolUsageResponse$ = [3, n0, _LIPURi,
341
374
  0,
342
375
  [_IPUd, _MR, _C, _NT],
343
376
  [() => IdentityPoolUsageList, 1, 1, 0]
344
377
  ];
345
- exports.ListRecordsRequest$ = [3, n0, _LRR,
378
+ exports.ListIdentityPoolUsageResponse$ = ListIdentityPoolUsageResponse$;
379
+ const ListRecordsRequest$ = [3, n0, _LRR,
346
380
  0,
347
381
  [_IPI, _II, _DN, _LSC, _NT, _MR, _SST],
348
382
  [[0, 1], [0, 1], [0, 1], [1, { [_hQ]: _lSC }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _sST }]], 3
349
383
  ];
350
- exports.ListRecordsResponse$ = [3, n0, _LRRi,
384
+ exports.ListRecordsRequest$ = ListRecordsRequest$;
385
+ const ListRecordsResponse$ = [3, n0, _LRRi,
351
386
  0,
352
387
  [_R, _NT, _C, _DSC, _LMB, _MDN, _DE, _DDARSC, _SST],
353
388
  [() => RecordList, 0, 1, 1, 0, 64 | 0, 2, 2, 0]
354
389
  ];
355
- exports.PushSync$ = [3, n0, _PS,
390
+ exports.ListRecordsResponse$ = ListRecordsResponse$;
391
+ const PushSync$ = [3, n0, _PS,
356
392
  0,
357
393
  [_AA, _RA],
358
394
  [64 | 0, 0]
359
395
  ];
360
- exports._Record$ = [3, n0, _Re,
396
+ exports.PushSync$ = PushSync$;
397
+ const _Record$ = [3, n0, _Re,
361
398
  0,
362
399
  [_K, _V, _SC, _LMD, _LMB, _DLMD],
363
400
  [0, 0, 1, 4, 0, 4]
364
401
  ];
365
- exports.RecordPatch$ = [3, n0, _RP,
402
+ exports._Record$ = _Record$;
403
+ const RecordPatch$ = [3, n0, _RP,
366
404
  0,
367
405
  [_O, _K, _SC, _V, _DLMD],
368
406
  [0, 0, 1, 0, 4], 3
369
407
  ];
370
- exports.RegisterDeviceRequest$ = [3, n0, _RDR,
408
+ exports.RecordPatch$ = RecordPatch$;
409
+ const RegisterDeviceRequest$ = [3, n0, _RDR,
371
410
  0,
372
411
  [_IPI, _II, _P, _T],
373
412
  [[0, 1], [0, 1], 0, 0], 4
374
413
  ];
375
- exports.RegisterDeviceResponse$ = [3, n0, _RDRe,
414
+ exports.RegisterDeviceRequest$ = RegisterDeviceRequest$;
415
+ const RegisterDeviceResponse$ = [3, n0, _RDRe,
376
416
  0,
377
417
  [_DI],
378
418
  [0]
379
419
  ];
380
- exports.SetCognitoEventsRequest$ = [3, n0, _SCER,
420
+ exports.RegisterDeviceResponse$ = RegisterDeviceResponse$;
421
+ const SetCognitoEventsRequest$ = [3, n0, _SCER,
381
422
  0,
382
423
  [_IPI, _E],
383
424
  [[0, 1], 128 | 0], 2
384
425
  ];
385
- exports.SetIdentityPoolConfigurationRequest$ = [3, n0, _SIPCR,
426
+ exports.SetCognitoEventsRequest$ = SetCognitoEventsRequest$;
427
+ const SetIdentityPoolConfigurationRequest$ = [3, n0, _SIPCR,
386
428
  0,
387
429
  [_IPI, _PS, _CS],
388
- [[0, 1], () => exports.PushSync$, () => exports.CognitoStreams$], 1
430
+ [[0, 1], () => PushSync$, () => CognitoStreams$], 1
389
431
  ];
390
- exports.SetIdentityPoolConfigurationResponse$ = [3, n0, _SIPCRe,
432
+ exports.SetIdentityPoolConfigurationRequest$ = SetIdentityPoolConfigurationRequest$;
433
+ const SetIdentityPoolConfigurationResponse$ = [3, n0, _SIPCRe,
391
434
  0,
392
435
  [_IPI, _PS, _CS],
393
- [0, () => exports.PushSync$, () => exports.CognitoStreams$]
436
+ [0, () => PushSync$, () => CognitoStreams$]
394
437
  ];
395
- exports.SubscribeToDatasetRequest$ = [3, n0, _STDR,
438
+ exports.SetIdentityPoolConfigurationResponse$ = SetIdentityPoolConfigurationResponse$;
439
+ const SubscribeToDatasetRequest$ = [3, n0, _STDR,
396
440
  0,
397
441
  [_IPI, _II, _DN, _DI],
398
442
  [[0, 1], [0, 1], [0, 1], [0, 1]], 4
399
443
  ];
400
- exports.SubscribeToDatasetResponse$ = [3, n0, _STDRu,
444
+ exports.SubscribeToDatasetRequest$ = SubscribeToDatasetRequest$;
445
+ const SubscribeToDatasetResponse$ = [3, n0, _STDRu,
401
446
  0,
402
447
  [],
403
448
  []
404
449
  ];
405
- exports.UnsubscribeFromDatasetRequest$ = [3, n0, _UFDR,
450
+ exports.SubscribeToDatasetResponse$ = SubscribeToDatasetResponse$;
451
+ const UnsubscribeFromDatasetRequest$ = [3, n0, _UFDR,
406
452
  0,
407
453
  [_IPI, _II, _DN, _DI],
408
454
  [[0, 1], [0, 1], [0, 1], [0, 1]], 4
409
455
  ];
410
- exports.UnsubscribeFromDatasetResponse$ = [3, n0, _UFDRn,
456
+ exports.UnsubscribeFromDatasetRequest$ = UnsubscribeFromDatasetRequest$;
457
+ const UnsubscribeFromDatasetResponse$ = [3, n0, _UFDRn,
411
458
  0,
412
459
  [],
413
460
  []
414
461
  ];
415
- exports.UpdateRecordsRequest$ = [3, n0, _URR,
462
+ exports.UnsubscribeFromDatasetResponse$ = UnsubscribeFromDatasetResponse$;
463
+ const UpdateRecordsRequest$ = [3, n0, _URR,
416
464
  0,
417
465
  [_IPI, _II, _DN, _SST, _DI, _RPe, _CC],
418
466
  [[0, 1], [0, 1], [0, 1], 0, 0, () => RecordPatchList, [0, { [_hH]: _xaCC }]], 4
419
467
  ];
420
- exports.UpdateRecordsResponse$ = [3, n0, _URRp,
468
+ exports.UpdateRecordsRequest$ = UpdateRecordsRequest$;
469
+ const UpdateRecordsResponse$ = [3, n0, _URRp,
421
470
  0,
422
471
  [_R],
423
472
  [() => RecordList]
424
473
  ];
474
+ exports.UpdateRecordsResponse$ = UpdateRecordsResponse$;
425
475
  var __Unit = "unit";
426
476
  var ApplicationArnList = 64 | 0;
427
477
  var DatasetList = [1, n0, _DL,
428
- 0, () => exports.Dataset$
478
+ 0, () => Dataset$
429
479
  ];
430
480
  var IdentityPoolUsageList = [1, n0, _IPUL,
431
- 0, () => exports.IdentityPoolUsage$
481
+ 0, () => IdentityPoolUsage$
432
482
  ];
433
483
  var MergedDatasetNameList = 64 | 0;
434
484
  var RecordList = [1, n0, _RL,
435
- 0, () => exports._Record$
485
+ 0, () => _Record$
436
486
  ];
437
487
  var RecordPatchList = [1, n0, _RPL,
438
- 0, () => exports.RecordPatch$
488
+ 0, () => RecordPatch$
439
489
  ];
440
490
  var Events = 128 | 0;
441
491
  exports.BulkPublish$ = [9, n0, _BP,
442
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200] }, () => exports.BulkPublishRequest$, () => exports.BulkPublishResponse$
492
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/bulkpublish", 200] }, () => BulkPublishRequest$, () => BulkPublishResponse$
443
493
  ];
444
494
  exports.DeleteDataset$ = [9, n0, _DD,
445
- { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.DeleteDatasetRequest$, () => exports.DeleteDatasetResponse$
495
+ { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => DeleteDatasetRequest$, () => DeleteDatasetResponse$
446
496
  ];
447
497
  exports.DescribeDataset$ = [9, n0, _DDe,
448
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.DescribeDatasetRequest$, () => exports.DescribeDatasetResponse$
498
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => DescribeDatasetRequest$, () => DescribeDatasetResponse$
449
499
  ];
450
500
  exports.DescribeIdentityPoolUsage$ = [9, n0, _DIPU,
451
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}", 200] }, () => exports.DescribeIdentityPoolUsageRequest$, () => exports.DescribeIdentityPoolUsageResponse$
501
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}", 200] }, () => DescribeIdentityPoolUsageRequest$, () => DescribeIdentityPoolUsageResponse$
452
502
  ];
453
503
  exports.DescribeIdentityUsage$ = [9, n0, _DIU,
454
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200] }, () => exports.DescribeIdentityUsageRequest$, () => exports.DescribeIdentityUsageResponse$
504
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}", 200] }, () => DescribeIdentityUsageRequest$, () => DescribeIdentityUsageResponse$
455
505
  ];
456
506
  exports.GetBulkPublishDetails$ = [9, n0, _GBPD,
457
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200] }, () => exports.GetBulkPublishDetailsRequest$, () => exports.GetBulkPublishDetailsResponse$
507
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/getBulkPublishDetails", 200] }, () => GetBulkPublishDetailsRequest$, () => GetBulkPublishDetailsResponse$
458
508
  ];
459
509
  exports.GetCognitoEvents$ = [9, n0, _GCE,
460
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200] }, () => exports.GetCognitoEventsRequest$, () => exports.GetCognitoEventsResponse$
510
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/events", 200] }, () => GetCognitoEventsRequest$, () => GetCognitoEventsResponse$
461
511
  ];
462
512
  exports.GetIdentityPoolConfiguration$ = [9, n0, _GIPC,
463
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => exports.GetIdentityPoolConfigurationRequest$, () => exports.GetIdentityPoolConfigurationResponse$
513
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => GetIdentityPoolConfigurationRequest$, () => GetIdentityPoolConfigurationResponse$
464
514
  ];
465
515
  exports.ListDatasets$ = [9, n0, _LD,
466
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200] }, () => exports.ListDatasetsRequest$, () => exports.ListDatasetsResponse$
516
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", 200] }, () => ListDatasetsRequest$, () => ListDatasetsResponse$
467
517
  ];
468
518
  exports.ListIdentityPoolUsage$ = [9, n0, _LIPU,
469
- { [_h]: ["GET", "/identitypools", 200] }, () => exports.ListIdentityPoolUsageRequest$, () => exports.ListIdentityPoolUsageResponse$
519
+ { [_h]: ["GET", "/identitypools", 200] }, () => ListIdentityPoolUsageRequest$, () => ListIdentityPoolUsageResponse$
470
520
  ];
471
521
  exports.ListRecords$ = [9, n0, _LR,
472
- { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200] }, () => exports.ListRecordsRequest$, () => exports.ListRecordsResponse$
522
+ { [_h]: ["GET", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", 200] }, () => ListRecordsRequest$, () => ListRecordsResponse$
473
523
  ];
474
524
  exports.RegisterDevice$ = [9, n0, _RD,
475
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200] }, () => exports.RegisterDeviceRequest$, () => exports.RegisterDeviceResponse$
525
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device", 200] }, () => RegisterDeviceRequest$, () => RegisterDeviceResponse$
476
526
  ];
477
527
  exports.SetCognitoEvents$ = [9, n0, _SCE,
478
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200] }, () => exports.SetCognitoEventsRequest$, () => __Unit
528
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/events", 200] }, () => SetCognitoEventsRequest$, () => __Unit
479
529
  ];
480
530
  exports.SetIdentityPoolConfiguration$ = [9, n0, _SIPC,
481
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => exports.SetIdentityPoolConfigurationRequest$, () => exports.SetIdentityPoolConfigurationResponse$
531
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/configuration", 200] }, () => SetIdentityPoolConfigurationRequest$, () => SetIdentityPoolConfigurationResponse$
482
532
  ];
483
533
  exports.SubscribeToDataset$ = [9, n0, _STD,
484
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => exports.SubscribeToDatasetRequest$, () => exports.SubscribeToDatasetResponse$
534
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => SubscribeToDatasetRequest$, () => SubscribeToDatasetResponse$
485
535
  ];
486
536
  exports.UnsubscribeFromDataset$ = [9, n0, _UFD,
487
- { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => exports.UnsubscribeFromDatasetRequest$, () => exports.UnsubscribeFromDatasetResponse$
537
+ { [_h]: ["DELETE", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", 200] }, () => UnsubscribeFromDatasetRequest$, () => UnsubscribeFromDatasetResponse$
488
538
  ];
489
539
  exports.UpdateRecords$ = [9, n0, _UR,
490
- { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => exports.UpdateRecordsRequest$, () => exports.UpdateRecordsResponse$
540
+ { [_h]: ["POST", "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", 200] }, () => UpdateRecordsRequest$, () => UpdateRecordsResponse$
491
541
  ];
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-sync",
3
3
  "description": "AWS SDK for JavaScript Cognito Sync Client for Node.js, Browser and React Native",
4
- "version": "3.1068.0",
4
+ "version": "3.1070.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo cognito-sync",
15
- "test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts --mode development",
16
- "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
17
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
18
16
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
17
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts",
18
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
19
19
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
20
20
  },
21
21
  "main": "./dist-cjs/index.js",
@@ -25,9 +25,9 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.20",
29
- "@aws-sdk/credential-provider-node": "^3.972.55",
30
- "@aws-sdk/types": "^3.973.12",
28
+ "@aws-sdk/core": "^3.974.21",
29
+ "@aws-sdk/credential-provider-node": "^3.972.56",
30
+ "@aws-sdk/types": "^3.973.13",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/fetch-http-handler": "^5.4.6",
33
33
  "@smithy/node-http-handler": "^4.7.6",