@aws-sdk/client-cognito-identity 3.1068.0 → 3.1069.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.SetIdentityPoolRolesInput$ = exports.RulesConfigurationType$ = exports.RoleMapping$ = exports.MergeDeveloperIdentitiesResponse$ = exports.MergeDeveloperIdentitiesInput$ = exports.MappingRule$ = exports.LookupDeveloperIdentityResponse$ = exports.LookupDeveloperIdentityInput$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceInput$ = exports.ListIdentityPoolsResponse$ = exports.ListIdentityPoolsInput$ = exports.ListIdentitiesResponse$ = exports.ListIdentitiesInput$ = exports.IdentityPoolShortDescription$ = exports.IdentityPool$ = exports.IdentityDescription$ = exports.GetPrincipalTagAttributeMapResponse$ = exports.GetPrincipalTagAttributeMapInput$ = exports.GetOpenIdTokenResponse$ = exports.GetOpenIdTokenInput$ = exports.GetOpenIdTokenForDeveloperIdentityResponse$ = exports.GetOpenIdTokenForDeveloperIdentityInput$ = exports.GetIdResponse$ = exports.GetIdInput$ = exports.GetIdentityPoolRolesResponse$ = exports.GetIdentityPoolRolesInput$ = exports.GetCredentialsForIdentityResponse$ = exports.GetCredentialsForIdentityInput$ = exports.DescribeIdentityPoolInput$ = exports.DescribeIdentityInput$ = exports.DeleteIdentityPoolInput$ = exports.DeleteIdentitiesResponse$ = exports.DeleteIdentitiesInput$ = exports.Credentials$ = exports.CreateIdentityPoolInput$ = exports.CognitoIdentityProvider$ = exports.errorTypeRegistries = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.ResourceConflictException$ = exports.NotAuthorizedException$ = exports.LimitExceededException$ = exports.InvalidParameterException$ = exports.InvalidIdentityPoolConfigurationException$ = exports.InternalErrorException$ = exports.ExternalServiceException$ = exports.DeveloperUserAlreadyRegisteredException$ = exports.ConcurrentModificationException$ = exports.CognitoIdentityServiceException$ = void 0;
4
- exports.UpdateIdentityPool$ = exports.UntagResource$ = exports.UnlinkIdentity$ = exports.UnlinkDeveloperIdentity$ = exports.TagResource$ = exports.SetPrincipalTagAttributeMap$ = exports.SetIdentityPoolRoles$ = exports.MergeDeveloperIdentities$ = exports.LookupDeveloperIdentity$ = exports.ListTagsForResource$ = exports.ListIdentityPools$ = exports.ListIdentities$ = exports.GetPrincipalTagAttributeMap$ = exports.GetOpenIdTokenForDeveloperIdentity$ = exports.GetOpenIdToken$ = exports.GetIdentityPoolRoles$ = exports.GetId$ = exports.GetCredentialsForIdentity$ = exports.DescribeIdentityPool$ = exports.DescribeIdentity$ = exports.DeleteIdentityPool$ = exports.DeleteIdentities$ = exports.CreateIdentityPool$ = exports.UntagResourceResponse$ = exports.UntagResourceInput$ = exports.UnprocessedIdentityId$ = exports.UnlinkIdentityInput$ = exports.UnlinkDeveloperIdentityInput$ = exports.TagResourceResponse$ = exports.TagResourceInput$ = exports.SetPrincipalTagAttributeMapResponse$ = exports.SetPrincipalTagAttributeMapInput$ = void 0;
5
1
  const _ACF = "AllowClassicFlow";
6
2
  const _AI = "AccountId";
7
3
  const _AKI = "AccessKeyId";
@@ -153,79 +149,91 @@ const _m = "message";
153
149
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cognitoidentity";
154
150
  const _se = "server";
155
151
  const n0 = "com.amazonaws.cognitoidentity";
156
- const schema_1 = require("@smithy/core/schema");
157
- const CognitoIdentityServiceException_1 = require("../models/CognitoIdentityServiceException");
158
- const errors_1 = require("../models/errors");
159
- const _s_registry = schema_1.TypeRegistry.for(_s);
160
- exports.CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []];
161
- _s_registry.registerError(exports.CognitoIdentityServiceException$, CognitoIdentityServiceException_1.CognitoIdentityServiceException);
162
- const n0_registry = schema_1.TypeRegistry.for(n0);
163
- exports.ConcurrentModificationException$ = [-3, n0, _CME,
152
+ const { TypeRegistry } = require("@smithy/core/schema");
153
+ const { CognitoIdentityServiceException } = require("../models/CognitoIdentityServiceException");
154
+ const { ConcurrentModificationException, DeveloperUserAlreadyRegisteredException, ExternalServiceException, InternalErrorException, InvalidIdentityPoolConfigurationException, InvalidParameterException, LimitExceededException, NotAuthorizedException, ResourceConflictException, ResourceNotFoundException, TooManyRequestsException } = require("../models/errors");
155
+ const _s_registry = TypeRegistry.for(_s);
156
+ const CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []];
157
+ exports.CognitoIdentityServiceException$ = CognitoIdentityServiceException$;
158
+ _s_registry.registerError(CognitoIdentityServiceException$, CognitoIdentityServiceException);
159
+ const n0_registry = TypeRegistry.for(n0);
160
+ const ConcurrentModificationException$ = [-3, n0, _CME,
164
161
  { [_e]: _c, [_hE]: 400 },
165
162
  [_m],
166
163
  [0]
167
164
  ];
168
- n0_registry.registerError(exports.ConcurrentModificationException$, errors_1.ConcurrentModificationException);
169
- exports.DeveloperUserAlreadyRegisteredException$ = [-3, n0, _DUARE,
165
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
166
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
167
+ const DeveloperUserAlreadyRegisteredException$ = [-3, n0, _DUARE,
170
168
  { [_e]: _c, [_hE]: 400 },
171
169
  [_m],
172
170
  [0]
173
171
  ];
174
- n0_registry.registerError(exports.DeveloperUserAlreadyRegisteredException$, errors_1.DeveloperUserAlreadyRegisteredException);
175
- exports.ExternalServiceException$ = [-3, n0, _ESE,
172
+ exports.DeveloperUserAlreadyRegisteredException$ = DeveloperUserAlreadyRegisteredException$;
173
+ n0_registry.registerError(DeveloperUserAlreadyRegisteredException$, DeveloperUserAlreadyRegisteredException);
174
+ const ExternalServiceException$ = [-3, n0, _ESE,
176
175
  { [_e]: _c, [_hE]: 400 },
177
176
  [_m],
178
177
  [0]
179
178
  ];
180
- n0_registry.registerError(exports.ExternalServiceException$, errors_1.ExternalServiceException);
181
- exports.InternalErrorException$ = [-3, n0, _IEE,
179
+ exports.ExternalServiceException$ = ExternalServiceException$;
180
+ n0_registry.registerError(ExternalServiceException$, ExternalServiceException);
181
+ const InternalErrorException$ = [-3, n0, _IEE,
182
182
  { [_e]: _se },
183
183
  [_m],
184
184
  [0]
185
185
  ];
186
- n0_registry.registerError(exports.InternalErrorException$, errors_1.InternalErrorException);
187
- exports.InvalidIdentityPoolConfigurationException$ = [-3, n0, _IIPCE,
186
+ exports.InternalErrorException$ = InternalErrorException$;
187
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
188
+ const InvalidIdentityPoolConfigurationException$ = [-3, n0, _IIPCE,
188
189
  { [_e]: _c, [_hE]: 400 },
189
190
  [_m],
190
191
  [0]
191
192
  ];
192
- n0_registry.registerError(exports.InvalidIdentityPoolConfigurationException$, errors_1.InvalidIdentityPoolConfigurationException);
193
- exports.InvalidParameterException$ = [-3, n0, _IPE,
193
+ exports.InvalidIdentityPoolConfigurationException$ = InvalidIdentityPoolConfigurationException$;
194
+ n0_registry.registerError(InvalidIdentityPoolConfigurationException$, InvalidIdentityPoolConfigurationException);
195
+ const InvalidParameterException$ = [-3, n0, _IPE,
194
196
  { [_e]: _c, [_hE]: 400 },
195
197
  [_m],
196
198
  [0]
197
199
  ];
198
- n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
199
- exports.LimitExceededException$ = [-3, n0, _LEE,
200
+ exports.InvalidParameterException$ = InvalidParameterException$;
201
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
202
+ const LimitExceededException$ = [-3, n0, _LEE,
200
203
  { [_e]: _c, [_hE]: 400 },
201
204
  [_m],
202
205
  [0]
203
206
  ];
204
- n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
205
- exports.NotAuthorizedException$ = [-3, n0, _NAE,
207
+ exports.LimitExceededException$ = LimitExceededException$;
208
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
209
+ const NotAuthorizedException$ = [-3, n0, _NAE,
206
210
  { [_e]: _c, [_hE]: 403 },
207
211
  [_m],
208
212
  [0]
209
213
  ];
210
- n0_registry.registerError(exports.NotAuthorizedException$, errors_1.NotAuthorizedException);
211
- exports.ResourceConflictException$ = [-3, n0, _RCE,
214
+ exports.NotAuthorizedException$ = NotAuthorizedException$;
215
+ n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException);
216
+ const ResourceConflictException$ = [-3, n0, _RCE,
212
217
  { [_e]: _c, [_hE]: 409 },
213
218
  [_m],
214
219
  [0]
215
220
  ];
216
- n0_registry.registerError(exports.ResourceConflictException$, errors_1.ResourceConflictException);
217
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
221
+ exports.ResourceConflictException$ = ResourceConflictException$;
222
+ n0_registry.registerError(ResourceConflictException$, ResourceConflictException);
223
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
218
224
  { [_e]: _c, [_hE]: 404 },
219
225
  [_m],
220
226
  [0]
221
227
  ];
222
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
223
- exports.TooManyRequestsException$ = [-3, n0, _TMRE,
228
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
229
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
230
+ const TooManyRequestsException$ = [-3, n0, _TMRE,
224
231
  { [_e]: _c, [_hE]: 429 },
225
232
  [_m],
226
233
  [0]
227
234
  ];
228
- n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException);
235
+ exports.TooManyRequestsException$ = TooManyRequestsException$;
236
+ n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
229
237
  exports.errorTypeRegistries = [
230
238
  _s_registry,
231
239
  n0_registry,
@@ -233,257 +241,303 @@ exports.errorTypeRegistries = [
233
241
  var IdentityProviderToken = [0, n0, _IPT, 8, 0];
234
242
  var OIDCToken = [0, n0, _OIDCT, 8, 0];
235
243
  var SecretKeyString = [0, n0, _SKS, 8, 0];
236
- exports.CognitoIdentityProvider$ = [3, n0, _CIP,
244
+ const CognitoIdentityProvider$ = [3, n0, _CIP,
237
245
  0,
238
246
  [_PN, _CI, _SSTC],
239
247
  [0, 0, 2]
240
248
  ];
241
- exports.CreateIdentityPoolInput$ = [3, n0, _CIPI,
249
+ exports.CognitoIdentityProvider$ = CognitoIdentityProvider$;
250
+ const CreateIdentityPoolInput$ = [3, n0, _CIPI,
242
251
  0,
243
252
  [_IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPTd],
244
253
  [0, 2, 2, 128 | 0, 0, 64 | 0, () => CognitoIdentityProviderList, 64 | 0, 128 | 0], 2
245
254
  ];
246
- exports.Credentials$ = [3, n0, _C,
255
+ exports.CreateIdentityPoolInput$ = CreateIdentityPoolInput$;
256
+ const Credentials$ = [3, n0, _C,
247
257
  0,
248
258
  [_AKI, _SK, _ST, _E],
249
259
  [0, [() => SecretKeyString, 0], 0, 4]
250
260
  ];
251
- exports.DeleteIdentitiesInput$ = [3, n0, _DII,
261
+ exports.Credentials$ = Credentials$;
262
+ const DeleteIdentitiesInput$ = [3, n0, _DII,
252
263
  0,
253
264
  [_IITD],
254
265
  [64 | 0], 1
255
266
  ];
256
- exports.DeleteIdentitiesResponse$ = [3, n0, _DIR,
267
+ exports.DeleteIdentitiesInput$ = DeleteIdentitiesInput$;
268
+ const DeleteIdentitiesResponse$ = [3, n0, _DIR,
257
269
  0,
258
270
  [_UII],
259
271
  [() => UnprocessedIdentityIdList]
260
272
  ];
261
- exports.DeleteIdentityPoolInput$ = [3, n0, _DIPI,
273
+ exports.DeleteIdentitiesResponse$ = DeleteIdentitiesResponse$;
274
+ const DeleteIdentityPoolInput$ = [3, n0, _DIPI,
262
275
  0,
263
276
  [_IPI],
264
277
  [0], 1
265
278
  ];
266
- exports.DescribeIdentityInput$ = [3, n0, _DIIe,
279
+ exports.DeleteIdentityPoolInput$ = DeleteIdentityPoolInput$;
280
+ const DescribeIdentityInput$ = [3, n0, _DIIe,
267
281
  0,
268
282
  [_II],
269
283
  [0], 1
270
284
  ];
271
- exports.DescribeIdentityPoolInput$ = [3, n0, _DIPIe,
285
+ exports.DescribeIdentityInput$ = DescribeIdentityInput$;
286
+ const DescribeIdentityPoolInput$ = [3, n0, _DIPIe,
272
287
  0,
273
288
  [_IPI],
274
289
  [0], 1
275
290
  ];
276
- exports.GetCredentialsForIdentityInput$ = [3, n0, _GCFII,
291
+ exports.DescribeIdentityPoolInput$ = DescribeIdentityPoolInput$;
292
+ const GetCredentialsForIdentityInput$ = [3, n0, _GCFII,
277
293
  0,
278
294
  [_II, _L, _CRA],
279
295
  [0, [() => LoginsMap, 0], 0], 1
280
296
  ];
281
- exports.GetCredentialsForIdentityResponse$ = [3, n0, _GCFIR,
297
+ exports.GetCredentialsForIdentityInput$ = GetCredentialsForIdentityInput$;
298
+ const GetCredentialsForIdentityResponse$ = [3, n0, _GCFIR,
282
299
  0,
283
300
  [_II, _C],
284
- [0, [() => exports.Credentials$, 0]]
301
+ [0, [() => Credentials$, 0]]
285
302
  ];
286
- exports.GetIdentityPoolRolesInput$ = [3, n0, _GIPRI,
303
+ exports.GetCredentialsForIdentityResponse$ = GetCredentialsForIdentityResponse$;
304
+ const GetIdentityPoolRolesInput$ = [3, n0, _GIPRI,
287
305
  0,
288
306
  [_IPI],
289
307
  [0], 1
290
308
  ];
291
- exports.GetIdentityPoolRolesResponse$ = [3, n0, _GIPRR,
309
+ exports.GetIdentityPoolRolesInput$ = GetIdentityPoolRolesInput$;
310
+ const GetIdentityPoolRolesResponse$ = [3, n0, _GIPRR,
292
311
  0,
293
312
  [_IPI, _R, _RM],
294
313
  [0, 128 | 0, () => RoleMappingMap]
295
314
  ];
296
- exports.GetIdInput$ = [3, n0, _GII,
315
+ exports.GetIdentityPoolRolesResponse$ = GetIdentityPoolRolesResponse$;
316
+ const GetIdInput$ = [3, n0, _GII,
297
317
  0,
298
318
  [_IPI, _AI, _L],
299
319
  [0, 0, [() => LoginsMap, 0]], 1
300
320
  ];
301
- exports.GetIdResponse$ = [3, n0, _GIR,
321
+ exports.GetIdInput$ = GetIdInput$;
322
+ const GetIdResponse$ = [3, n0, _GIR,
302
323
  0,
303
324
  [_II],
304
325
  [0]
305
326
  ];
306
- exports.GetOpenIdTokenForDeveloperIdentityInput$ = [3, n0, _GOITFDII,
327
+ exports.GetIdResponse$ = GetIdResponse$;
328
+ const GetOpenIdTokenForDeveloperIdentityInput$ = [3, n0, _GOITFDII,
307
329
  0,
308
330
  [_IPI, _L, _II, _PT, _TD],
309
331
  [0, [() => LoginsMap, 0], 0, 128 | 0, 1], 2
310
332
  ];
311
- exports.GetOpenIdTokenForDeveloperIdentityResponse$ = [3, n0, _GOITFDIR,
333
+ exports.GetOpenIdTokenForDeveloperIdentityInput$ = GetOpenIdTokenForDeveloperIdentityInput$;
334
+ const GetOpenIdTokenForDeveloperIdentityResponse$ = [3, n0, _GOITFDIR,
312
335
  0,
313
336
  [_II, _T],
314
337
  [0, [() => OIDCToken, 0]]
315
338
  ];
316
- exports.GetOpenIdTokenInput$ = [3, n0, _GOITI,
339
+ exports.GetOpenIdTokenForDeveloperIdentityResponse$ = GetOpenIdTokenForDeveloperIdentityResponse$;
340
+ const GetOpenIdTokenInput$ = [3, n0, _GOITI,
317
341
  0,
318
342
  [_II, _L],
319
343
  [0, [() => LoginsMap, 0]], 1
320
344
  ];
321
- exports.GetOpenIdTokenResponse$ = [3, n0, _GOITR,
345
+ exports.GetOpenIdTokenInput$ = GetOpenIdTokenInput$;
346
+ const GetOpenIdTokenResponse$ = [3, n0, _GOITR,
322
347
  0,
323
348
  [_II, _T],
324
349
  [0, [() => OIDCToken, 0]]
325
350
  ];
326
- exports.GetPrincipalTagAttributeMapInput$ = [3, n0, _GPTAMI,
351
+ exports.GetOpenIdTokenResponse$ = GetOpenIdTokenResponse$;
352
+ const GetPrincipalTagAttributeMapInput$ = [3, n0, _GPTAMI,
327
353
  0,
328
354
  [_IPI, _IPNd],
329
355
  [0, 0], 2
330
356
  ];
331
- exports.GetPrincipalTagAttributeMapResponse$ = [3, n0, _GPTAMR,
357
+ exports.GetPrincipalTagAttributeMapInput$ = GetPrincipalTagAttributeMapInput$;
358
+ const GetPrincipalTagAttributeMapResponse$ = [3, n0, _GPTAMR,
332
359
  0,
333
360
  [_IPI, _IPNd, _UD, _PT],
334
361
  [0, 0, 2, 128 | 0]
335
362
  ];
336
- exports.IdentityDescription$ = [3, n0, _ID,
363
+ exports.GetPrincipalTagAttributeMapResponse$ = GetPrincipalTagAttributeMapResponse$;
364
+ const IdentityDescription$ = [3, n0, _ID,
337
365
  0,
338
366
  [_II, _L, _CD, _LMD],
339
367
  [0, 64 | 0, 4, 4]
340
368
  ];
341
- exports.IdentityPool$ = [3, n0, _IP,
369
+ exports.IdentityDescription$ = IdentityDescription$;
370
+ const IdentityPool$ = [3, n0, _IP,
342
371
  0,
343
372
  [_IPI, _IPN, _AUI, _ACF, _SLP, _DPN, _OICPARN, _CIPo, _SPARN, _IPTd],
344
373
  [0, 0, 2, 2, 128 | 0, 0, 64 | 0, () => CognitoIdentityProviderList, 64 | 0, 128 | 0], 3
345
374
  ];
346
- exports.IdentityPoolShortDescription$ = [3, n0, _IPSD,
375
+ exports.IdentityPool$ = IdentityPool$;
376
+ const IdentityPoolShortDescription$ = [3, n0, _IPSD,
347
377
  0,
348
378
  [_IPI, _IPN],
349
379
  [0, 0]
350
380
  ];
351
- exports.ListIdentitiesInput$ = [3, n0, _LII,
381
+ exports.IdentityPoolShortDescription$ = IdentityPoolShortDescription$;
382
+ const ListIdentitiesInput$ = [3, n0, _LII,
352
383
  0,
353
384
  [_IPI, _MR, _NT, _HD],
354
385
  [0, 1, 0, 2], 2
355
386
  ];
356
- exports.ListIdentitiesResponse$ = [3, n0, _LIR,
387
+ exports.ListIdentitiesInput$ = ListIdentitiesInput$;
388
+ const ListIdentitiesResponse$ = [3, n0, _LIR,
357
389
  0,
358
390
  [_IPI, _I, _NT],
359
391
  [0, () => IdentitiesList, 0]
360
392
  ];
361
- exports.ListIdentityPoolsInput$ = [3, n0, _LIPI,
393
+ exports.ListIdentitiesResponse$ = ListIdentitiesResponse$;
394
+ const ListIdentityPoolsInput$ = [3, n0, _LIPI,
362
395
  0,
363
396
  [_MR, _NT],
364
397
  [1, 0], 1
365
398
  ];
366
- exports.ListIdentityPoolsResponse$ = [3, n0, _LIPR,
399
+ exports.ListIdentityPoolsInput$ = ListIdentityPoolsInput$;
400
+ const ListIdentityPoolsResponse$ = [3, n0, _LIPR,
367
401
  0,
368
402
  [_IPd, _NT],
369
403
  [() => IdentityPoolsList, 0]
370
404
  ];
371
- exports.ListTagsForResourceInput$ = [3, n0, _LTFRI,
405
+ exports.ListIdentityPoolsResponse$ = ListIdentityPoolsResponse$;
406
+ const ListTagsForResourceInput$ = [3, n0, _LTFRI,
372
407
  0,
373
408
  [_RA],
374
409
  [0], 1
375
410
  ];
376
- exports.ListTagsForResourceResponse$ = [3, n0, _LTFRR,
411
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
412
+ const ListTagsForResourceResponse$ = [3, n0, _LTFRR,
377
413
  0,
378
414
  [_Ta],
379
415
  [128 | 0]
380
416
  ];
381
- exports.LookupDeveloperIdentityInput$ = [3, n0, _LDII,
417
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
418
+ const LookupDeveloperIdentityInput$ = [3, n0, _LDII,
382
419
  0,
383
420
  [_IPI, _II, _DUI, _MR, _NT],
384
421
  [0, 0, 0, 1, 0], 1
385
422
  ];
386
- exports.LookupDeveloperIdentityResponse$ = [3, n0, _LDIR,
423
+ exports.LookupDeveloperIdentityInput$ = LookupDeveloperIdentityInput$;
424
+ const LookupDeveloperIdentityResponse$ = [3, n0, _LDIR,
387
425
  0,
388
426
  [_II, _DUIL, _NT],
389
427
  [0, 64 | 0, 0]
390
428
  ];
391
- exports.MappingRule$ = [3, n0, _MRa,
429
+ exports.LookupDeveloperIdentityResponse$ = LookupDeveloperIdentityResponse$;
430
+ const MappingRule$ = [3, n0, _MRa,
392
431
  0,
393
432
  [_Cl, _MT, _V, _RARN],
394
433
  [0, 0, 0, 0], 4
395
434
  ];
396
- exports.MergeDeveloperIdentitiesInput$ = [3, n0, _MDII,
435
+ exports.MappingRule$ = MappingRule$;
436
+ const MergeDeveloperIdentitiesInput$ = [3, n0, _MDII,
397
437
  0,
398
438
  [_SUI, _DUIe, _DPN, _IPI],
399
439
  [0, 0, 0, 0], 4
400
440
  ];
401
- exports.MergeDeveloperIdentitiesResponse$ = [3, n0, _MDIR,
441
+ exports.MergeDeveloperIdentitiesInput$ = MergeDeveloperIdentitiesInput$;
442
+ const MergeDeveloperIdentitiesResponse$ = [3, n0, _MDIR,
402
443
  0,
403
444
  [_II],
404
445
  [0]
405
446
  ];
406
- exports.RoleMapping$ = [3, n0, _RMo,
447
+ exports.MergeDeveloperIdentitiesResponse$ = MergeDeveloperIdentitiesResponse$;
448
+ const RoleMapping$ = [3, n0, _RMo,
407
449
  0,
408
450
  [_Ty, _ARR, _RC],
409
- [0, 0, () => exports.RulesConfigurationType$], 1
451
+ [0, 0, () => RulesConfigurationType$], 1
410
452
  ];
411
- exports.RulesConfigurationType$ = [3, n0, _RCT,
453
+ exports.RoleMapping$ = RoleMapping$;
454
+ const RulesConfigurationType$ = [3, n0, _RCT,
412
455
  0,
413
456
  [_Ru],
414
457
  [() => MappingRulesList], 1
415
458
  ];
416
- exports.SetIdentityPoolRolesInput$ = [3, n0, _SIPRI,
459
+ exports.RulesConfigurationType$ = RulesConfigurationType$;
460
+ const SetIdentityPoolRolesInput$ = [3, n0, _SIPRI,
417
461
  0,
418
462
  [_IPI, _R, _RM],
419
463
  [0, 128 | 0, () => RoleMappingMap], 2
420
464
  ];
421
- exports.SetPrincipalTagAttributeMapInput$ = [3, n0, _SPTAMI,
465
+ exports.SetIdentityPoolRolesInput$ = SetIdentityPoolRolesInput$;
466
+ const SetPrincipalTagAttributeMapInput$ = [3, n0, _SPTAMI,
422
467
  0,
423
468
  [_IPI, _IPNd, _UD, _PT],
424
469
  [0, 0, 2, 128 | 0], 2
425
470
  ];
426
- exports.SetPrincipalTagAttributeMapResponse$ = [3, n0, _SPTAMR,
471
+ exports.SetPrincipalTagAttributeMapInput$ = SetPrincipalTagAttributeMapInput$;
472
+ const SetPrincipalTagAttributeMapResponse$ = [3, n0, _SPTAMR,
427
473
  0,
428
474
  [_IPI, _IPNd, _UD, _PT],
429
475
  [0, 0, 2, 128 | 0]
430
476
  ];
431
- exports.TagResourceInput$ = [3, n0, _TRI,
477
+ exports.SetPrincipalTagAttributeMapResponse$ = SetPrincipalTagAttributeMapResponse$;
478
+ const TagResourceInput$ = [3, n0, _TRI,
432
479
  0,
433
480
  [_RA, _Ta],
434
481
  [0, 128 | 0], 2
435
482
  ];
436
- exports.TagResourceResponse$ = [3, n0, _TRR,
483
+ exports.TagResourceInput$ = TagResourceInput$;
484
+ const TagResourceResponse$ = [3, n0, _TRR,
437
485
  0,
438
486
  [],
439
487
  []
440
488
  ];
441
- exports.UnlinkDeveloperIdentityInput$ = [3, n0, _UDII,
489
+ exports.TagResourceResponse$ = TagResourceResponse$;
490
+ const UnlinkDeveloperIdentityInput$ = [3, n0, _UDII,
442
491
  0,
443
492
  [_II, _IPI, _DPN, _DUI],
444
493
  [0, 0, 0, 0], 4
445
494
  ];
446
- exports.UnlinkIdentityInput$ = [3, n0, _UIIn,
495
+ exports.UnlinkDeveloperIdentityInput$ = UnlinkDeveloperIdentityInput$;
496
+ const UnlinkIdentityInput$ = [3, n0, _UIIn,
447
497
  0,
448
498
  [_II, _L, _LTR],
449
499
  [0, [() => LoginsMap, 0], 64 | 0], 3
450
500
  ];
451
- exports.UnprocessedIdentityId$ = [3, n0, _UIInp,
501
+ exports.UnlinkIdentityInput$ = UnlinkIdentityInput$;
502
+ const UnprocessedIdentityId$ = [3, n0, _UIInp,
452
503
  0,
453
504
  [_II, _EC],
454
505
  [0, 0]
455
506
  ];
456
- exports.UntagResourceInput$ = [3, n0, _URI,
507
+ exports.UnprocessedIdentityId$ = UnprocessedIdentityId$;
508
+ const UntagResourceInput$ = [3, n0, _URI,
457
509
  0,
458
510
  [_RA, _TK],
459
511
  [0, 64 | 0], 2
460
512
  ];
461
- exports.UntagResourceResponse$ = [3, n0, _URR,
513
+ exports.UntagResourceInput$ = UntagResourceInput$;
514
+ const UntagResourceResponse$ = [3, n0, _URR,
462
515
  0,
463
516
  [],
464
517
  []
465
518
  ];
519
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
466
520
  var __Unit = "unit";
467
521
  var CognitoIdentityProviderList = [1, n0, _CIPL,
468
- 0, () => exports.CognitoIdentityProvider$
522
+ 0, () => CognitoIdentityProvider$
469
523
  ];
470
524
  var DeveloperUserIdentifierList = 64 | 0;
471
525
  var IdentitiesList = [1, n0, _IL,
472
- 0, () => exports.IdentityDescription$
526
+ 0, () => IdentityDescription$
473
527
  ];
474
528
  var IdentityIdList = 64 | 0;
475
529
  var IdentityPoolsList = [1, n0, _IPL,
476
- 0, () => exports.IdentityPoolShortDescription$
530
+ 0, () => IdentityPoolShortDescription$
477
531
  ];
478
532
  var IdentityPoolTagsListType = 64 | 0;
479
533
  var LoginsList = 64 | 0;
480
534
  var MappingRulesList = [1, n0, _MRL,
481
- 0, () => exports.MappingRule$
535
+ 0, () => MappingRule$
482
536
  ];
483
537
  var OIDCProviderList = 64 | 0;
484
538
  var SAMLProviderList = 64 | 0;
485
539
  var UnprocessedIdentityIdList = [1, n0, _UIIL,
486
- 0, () => exports.UnprocessedIdentityId$
540
+ 0, () => UnprocessedIdentityId$
487
541
  ];
488
542
  var IdentityPoolTagsType = 128 | 0;
489
543
  var IdentityProviders = 128 | 0;
@@ -495,75 +549,75 @@ var LoginsMap = [2, n0, _LM,
495
549
  ];
496
550
  var PrincipalTags = 128 | 0;
497
551
  var RoleMappingMap = [2, n0, _RMM,
498
- 0, 0, () => exports.RoleMapping$
552
+ 0, 0, () => RoleMapping$
499
553
  ];
500
554
  var RolesMap = 128 | 0;
501
555
  exports.CreateIdentityPool$ = [9, n0, _CIPr,
502
- 0, () => exports.CreateIdentityPoolInput$, () => exports.IdentityPool$
556
+ 0, () => CreateIdentityPoolInput$, () => IdentityPool$
503
557
  ];
504
558
  exports.DeleteIdentities$ = [9, n0, _DI,
505
- 0, () => exports.DeleteIdentitiesInput$, () => exports.DeleteIdentitiesResponse$
559
+ 0, () => DeleteIdentitiesInput$, () => DeleteIdentitiesResponse$
506
560
  ];
507
561
  exports.DeleteIdentityPool$ = [9, n0, _DIP,
508
- 0, () => exports.DeleteIdentityPoolInput$, () => __Unit
562
+ 0, () => DeleteIdentityPoolInput$, () => __Unit
509
563
  ];
510
564
  exports.DescribeIdentity$ = [9, n0, _DIe,
511
- 0, () => exports.DescribeIdentityInput$, () => exports.IdentityDescription$
565
+ 0, () => DescribeIdentityInput$, () => IdentityDescription$
512
566
  ];
513
567
  exports.DescribeIdentityPool$ = [9, n0, _DIPe,
514
- 0, () => exports.DescribeIdentityPoolInput$, () => exports.IdentityPool$
568
+ 0, () => DescribeIdentityPoolInput$, () => IdentityPool$
515
569
  ];
516
570
  exports.GetCredentialsForIdentity$ = [9, n0, _GCFI,
517
- 0, () => exports.GetCredentialsForIdentityInput$, () => exports.GetCredentialsForIdentityResponse$
571
+ 0, () => GetCredentialsForIdentityInput$, () => GetCredentialsForIdentityResponse$
518
572
  ];
519
573
  exports.GetId$ = [9, n0, _GI,
520
- 0, () => exports.GetIdInput$, () => exports.GetIdResponse$
574
+ 0, () => GetIdInput$, () => GetIdResponse$
521
575
  ];
522
576
  exports.GetIdentityPoolRoles$ = [9, n0, _GIPR,
523
- 0, () => exports.GetIdentityPoolRolesInput$, () => exports.GetIdentityPoolRolesResponse$
577
+ 0, () => GetIdentityPoolRolesInput$, () => GetIdentityPoolRolesResponse$
524
578
  ];
525
579
  exports.GetOpenIdToken$ = [9, n0, _GOIT,
526
- 0, () => exports.GetOpenIdTokenInput$, () => exports.GetOpenIdTokenResponse$
580
+ 0, () => GetOpenIdTokenInput$, () => GetOpenIdTokenResponse$
527
581
  ];
528
582
  exports.GetOpenIdTokenForDeveloperIdentity$ = [9, n0, _GOITFDI,
529
- 0, () => exports.GetOpenIdTokenForDeveloperIdentityInput$, () => exports.GetOpenIdTokenForDeveloperIdentityResponse$
583
+ 0, () => GetOpenIdTokenForDeveloperIdentityInput$, () => GetOpenIdTokenForDeveloperIdentityResponse$
530
584
  ];
531
585
  exports.GetPrincipalTagAttributeMap$ = [9, n0, _GPTAM,
532
- 0, () => exports.GetPrincipalTagAttributeMapInput$, () => exports.GetPrincipalTagAttributeMapResponse$
586
+ 0, () => GetPrincipalTagAttributeMapInput$, () => GetPrincipalTagAttributeMapResponse$
533
587
  ];
534
588
  exports.ListIdentities$ = [9, n0, _LI,
535
- 0, () => exports.ListIdentitiesInput$, () => exports.ListIdentitiesResponse$
589
+ 0, () => ListIdentitiesInput$, () => ListIdentitiesResponse$
536
590
  ];
537
591
  exports.ListIdentityPools$ = [9, n0, _LIP,
538
- 0, () => exports.ListIdentityPoolsInput$, () => exports.ListIdentityPoolsResponse$
592
+ 0, () => ListIdentityPoolsInput$, () => ListIdentityPoolsResponse$
539
593
  ];
540
594
  exports.ListTagsForResource$ = [9, n0, _LTFR,
541
- 0, () => exports.ListTagsForResourceInput$, () => exports.ListTagsForResourceResponse$
595
+ 0, () => ListTagsForResourceInput$, () => ListTagsForResourceResponse$
542
596
  ];
543
597
  exports.LookupDeveloperIdentity$ = [9, n0, _LDI,
544
- 0, () => exports.LookupDeveloperIdentityInput$, () => exports.LookupDeveloperIdentityResponse$
598
+ 0, () => LookupDeveloperIdentityInput$, () => LookupDeveloperIdentityResponse$
545
599
  ];
546
600
  exports.MergeDeveloperIdentities$ = [9, n0, _MDI,
547
- 0, () => exports.MergeDeveloperIdentitiesInput$, () => exports.MergeDeveloperIdentitiesResponse$
601
+ 0, () => MergeDeveloperIdentitiesInput$, () => MergeDeveloperIdentitiesResponse$
548
602
  ];
549
603
  exports.SetIdentityPoolRoles$ = [9, n0, _SIPR,
550
- 0, () => exports.SetIdentityPoolRolesInput$, () => __Unit
604
+ 0, () => SetIdentityPoolRolesInput$, () => __Unit
551
605
  ];
552
606
  exports.SetPrincipalTagAttributeMap$ = [9, n0, _SPTAM,
553
- 0, () => exports.SetPrincipalTagAttributeMapInput$, () => exports.SetPrincipalTagAttributeMapResponse$
607
+ 0, () => SetPrincipalTagAttributeMapInput$, () => SetPrincipalTagAttributeMapResponse$
554
608
  ];
555
609
  exports.TagResource$ = [9, n0, _TR,
556
- 0, () => exports.TagResourceInput$, () => exports.TagResourceResponse$
610
+ 0, () => TagResourceInput$, () => TagResourceResponse$
557
611
  ];
558
612
  exports.UnlinkDeveloperIdentity$ = [9, n0, _UDI,
559
- 0, () => exports.UnlinkDeveloperIdentityInput$, () => __Unit
613
+ 0, () => UnlinkDeveloperIdentityInput$, () => __Unit
560
614
  ];
561
615
  exports.UnlinkIdentity$ = [9, n0, _UI,
562
- 0, () => exports.UnlinkIdentityInput$, () => __Unit
616
+ 0, () => UnlinkIdentityInput$, () => __Unit
563
617
  ];
564
618
  exports.UntagResource$ = [9, n0, _UR,
565
- 0, () => exports.UntagResourceInput$, () => exports.UntagResourceResponse$
619
+ 0, () => UntagResourceInput$, () => UntagResourceResponse$
566
620
  ];
567
621
  exports.UpdateIdentityPool$ = [9, n0, _UIP,
568
- 0, () => exports.IdentityPool$, () => exports.IdentityPool$
622
+ 0, () => IdentityPool$, () => IdentityPool$
569
623
  ];
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",
4
- "version": "3.1068.0",
4
+ "version": "3.1069.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-identity",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test": "yarn g:vitest run --passWithNoTests",
16
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
17
- "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
18
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
16
+ "test:watch": "yarn g:vitest watch --passWithNoTests",
19
17
  "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
20
- "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
21
- "test:watch": "yarn g:vitest watch --passWithNoTests"
18
+ "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
19
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
20
+ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
21
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
22
22
  },
23
23
  "main": "./dist-cjs/index.js",
24
24
  "types": "./dist-types/index.d.ts",
@@ -27,9 +27,9 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.20",
31
- "@aws-sdk/credential-provider-node": "^3.972.55",
32
- "@aws-sdk/types": "^3.973.12",
30
+ "@aws-sdk/core": "^3.974.21",
31
+ "@aws-sdk/credential-provider-node": "^3.972.56",
32
+ "@aws-sdk/types": "^3.973.13",
33
33
  "@smithy/core": "^3.24.6",
34
34
  "@smithy/fetch-http-handler": "^5.4.6",
35
35
  "@smithy/node-http-handler": "^4.7.6",
@@ -37,7 +37,7 @@
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-sdk/client-iam": "3.1068.0",
40
+ "@aws-sdk/client-iam": "3.1069.0",
41
41
  "@smithy/snapshot-testing": "^2.1.7",
42
42
  "@tsconfig/node20": "20.1.8",
43
43
  "@types/chai": "^4.2.11",