@aws-sdk/client-cognito-identity-provider 3.102.0 → 3.105.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.102.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.101.0...v3.102.0) (2022-05-31)
7
18
 
8
19
 
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class CognitoIdentityProviderClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
29
31
  }
30
32
  destroy() {
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var CognitoIdentityProviderClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
29
31
  return _this;
30
32
  }
@@ -467,9 +467,7 @@ export interface AdminConfirmSignUpRequest {
467
467
  * </ul>
468
468
  * </note>
469
469
  */
470
- ClientMetadata?: {
471
- [key: string]: string;
472
- };
470
+ ClientMetadata?: Record<string, string>;
473
471
  }
474
472
  export declare namespace AdminConfirmSignUpRequest {
475
473
  /**
@@ -712,9 +710,7 @@ export interface AdminCreateUserRequest {
712
710
  * </ul>
713
711
  * </note>
714
712
  */
715
- ClientMetadata?: {
716
- [key: string]: string;
717
- };
713
+ ClientMetadata?: Record<string, string>;
718
714
  }
719
715
  export declare namespace AdminCreateUserRequest {
720
716
  /**
@@ -1530,9 +1526,7 @@ export interface AdminInitiateAuthRequest {
1530
1526
  * </li>
1531
1527
  * </ul>
1532
1528
  */
1533
- AuthParameters?: {
1534
- [key: string]: string;
1535
- };
1529
+ AuthParameters?: Record<string, string>;
1536
1530
  /**
1537
1531
  * <p>A map of custom key-value pairs that you can provide as input for certain custom
1538
1532
  * workflows that this action triggers.</p>
@@ -1603,9 +1597,7 @@ export interface AdminInitiateAuthRequest {
1603
1597
  * </ul>
1604
1598
  * </note>
1605
1599
  */
1606
- ClientMetadata?: {
1607
- [key: string]: string;
1608
- };
1600
+ ClientMetadata?: Record<string, string>;
1609
1601
  /**
1610
1602
  * <p>The analytics metadata for collecting Amazon Pinpoint metrics for
1611
1603
  * <code>AdminInitiateAuth</code> calls.</p>
@@ -1802,9 +1794,7 @@ export interface AdminInitiateAuthResponse {
1802
1794
  * <code>AdminRespondToAuthChallenge</code> API <code>ChallengeResponses</code>, the
1803
1795
  * <code>USERNAME</code> attribute can't be an alias.</p>
1804
1796
  */
1805
- ChallengeParameters?: {
1806
- [key: string]: string;
1807
- };
1797
+ ChallengeParameters?: Record<string, string>;
1808
1798
  /**
1809
1799
  * <p>The result of the authentication response. This is only returned if the caller doesn't
1810
1800
  * need to pass another challenge. If the caller does need to pass another challenge before
@@ -2349,9 +2339,7 @@ export interface AdminResetUserPasswordRequest {
2349
2339
  * </ul>
2350
2340
  * </note>
2351
2341
  */
2352
- ClientMetadata?: {
2353
- [key: string]: string;
2354
- };
2342
+ ClientMetadata?: Record<string, string>;
2355
2343
  }
2356
2344
  export declare namespace AdminResetUserPasswordRequest {
2357
2345
  /**
@@ -2458,9 +2446,7 @@ export interface AdminRespondToAuthChallengeRequest {
2458
2446
  * <code>USERNAMEUSER_ID_FOR_SRP</code> attribute. This happens even if you specified
2459
2447
  * an alias in your call to <code>AdminInitiateAuth</code>.</p>
2460
2448
  */
2461
- ChallengeResponses?: {
2462
- [key: string]: string;
2463
- };
2449
+ ChallengeResponses?: Record<string, string>;
2464
2450
  /**
2465
2451
  * <p>The session that should be passed both ways in challenge-response calls to the
2466
2452
  * service. If an <code>InitiateAuth</code> or <code>RespondToAuthChallenge</code> API call
@@ -2542,9 +2528,7 @@ export interface AdminRespondToAuthChallengeRequest {
2542
2528
  * </ul>
2543
2529
  * </note>
2544
2530
  */
2545
- ClientMetadata?: {
2546
- [key: string]: string;
2547
- };
2531
+ ClientMetadata?: Record<string, string>;
2548
2532
  }
2549
2533
  export declare namespace AdminRespondToAuthChallengeRequest {
2550
2534
  /**
@@ -2570,9 +2554,7 @@ export interface AdminRespondToAuthChallengeResponse {
2570
2554
  /**
2571
2555
  * <p>The challenge parameters. For more information, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html">AdminInitiateAuth</a>.</p>
2572
2556
  */
2573
- ChallengeParameters?: {
2574
- [key: string]: string;
2575
- };
2557
+ ChallengeParameters?: Record<string, string>;
2576
2558
  /**
2577
2559
  * <p>The result returned by the server in response to the authentication request.</p>
2578
2560
  */
@@ -2912,9 +2894,7 @@ export interface AdminUpdateUserAttributesRequest {
2912
2894
  * </ul>
2913
2895
  * </note>
2914
2896
  */
2915
- ClientMetadata?: {
2916
- [key: string]: string;
2917
- };
2897
+ ClientMetadata?: Record<string, string>;
2918
2898
  }
2919
2899
  export declare namespace AdminUpdateUserAttributesRequest {
2920
2900
  /**
@@ -3260,9 +3240,7 @@ export interface ConfirmForgotPasswordRequest {
3260
3240
  * </ul>
3261
3241
  * </note>
3262
3242
  */
3263
- ClientMetadata?: {
3264
- [key: string]: string;
3265
- };
3243
+ ClientMetadata?: Record<string, string>;
3266
3244
  }
3267
3245
  export declare namespace ConfirmForgotPasswordRequest {
3268
3246
  /**
@@ -3358,9 +3336,7 @@ export interface ConfirmSignUpRequest {
3358
3336
  * </ul>
3359
3337
  * </note>
3360
3338
  */
3361
- ClientMetadata?: {
3362
- [key: string]: string;
3363
- };
3339
+ ClientMetadata?: Record<string, string>;
3364
3340
  }
3365
3341
  export declare namespace ConfirmSignUpRequest {
3366
3342
  /**
@@ -3582,15 +3558,11 @@ export interface CreateIdentityProviderRequest {
3582
3558
  * </li>
3583
3559
  * </ul>
3584
3560
  */
3585
- ProviderDetails: {
3586
- [key: string]: string;
3587
- } | undefined;
3561
+ ProviderDetails: Record<string, string> | undefined;
3588
3562
  /**
3589
3563
  * <p>A mapping of IdP attributes to standard and custom user pool attributes.</p>
3590
3564
  */
3591
- AttributeMapping?: {
3592
- [key: string]: string;
3593
- };
3565
+ AttributeMapping?: Record<string, string>;
3594
3566
  /**
3595
3567
  * <p>A list of IdP identifiers.</p>
3596
3568
  */
@@ -3738,15 +3710,11 @@ export interface IdentityProviderType {
3738
3710
  * </li>
3739
3711
  * </ul>
3740
3712
  */
3741
- ProviderDetails?: {
3742
- [key: string]: string;
3743
- };
3713
+ ProviderDetails?: Record<string, string>;
3744
3714
  /**
3745
3715
  * <p>A mapping of IdP attributes to standard and custom user pool attributes.</p>
3746
3716
  */
3747
- AttributeMapping?: {
3748
- [key: string]: string;
3749
- };
3717
+ AttributeMapping?: Record<string, string>;
3750
3718
  /**
3751
3719
  * <p>A list of IdP identifiers.</p>
3752
3720
  */
@@ -4626,9 +4594,7 @@ export interface CreateUserPoolRequest {
4626
4594
  * to categorize and manage user pools in different ways, such as by purpose, owner,
4627
4595
  * environment, or other criteria.</p>
4628
4596
  */
4629
- UserPoolTags?: {
4630
- [key: string]: string;
4631
- };
4597
+ UserPoolTags?: Record<string, string>;
4632
4598
  /**
4633
4599
  * <p>The configuration for <code>AdminCreateUser</code> requests.</p>
4634
4600
  */
@@ -4793,9 +4759,7 @@ export interface UserPoolType {
4793
4759
  * user pools to categorize and manage them in different ways, such as by purpose, owner,
4794
4760
  * environment, or other criteria.</p>
4795
4761
  */
4796
- UserPoolTags?: {
4797
- [key: string]: string;
4798
- };
4762
+ UserPoolTags?: Record<string, string>;
4799
4763
  /**
4800
4764
  * <p>The reason why the SMS configuration can't send the messages to your users.</p>
4801
4765
  * <p>This message might include comma-separated values to describe why your SMS
@@ -6197,9 +6161,7 @@ export interface ForgotPasswordRequest {
6197
6161
  * </ul>
6198
6162
  * </note>
6199
6163
  */
6200
- ClientMetadata?: {
6201
- [key: string]: string;
6202
- };
6164
+ ClientMetadata?: Record<string, string>;
6203
6165
  }
6204
6166
  export declare namespace ForgotPasswordRequest {
6205
6167
  /**
@@ -6576,9 +6538,7 @@ export interface GetUserAttributeVerificationCodeRequest {
6576
6538
  * </ul>
6577
6539
  * </note>
6578
6540
  */
6579
- ClientMetadata?: {
6580
- [key: string]: string;
6581
- };
6541
+ ClientMetadata?: Record<string, string>;
6582
6542
  }
6583
6543
  export declare namespace GetUserAttributeVerificationCodeRequest {
6584
6544
  /**
@@ -6793,9 +6753,7 @@ export interface InitiateAuthRequest {
6793
6753
  * </li>
6794
6754
  * </ul>
6795
6755
  */
6796
- AuthParameters?: {
6797
- [key: string]: string;
6798
- };
6756
+ AuthParameters?: Record<string, string>;
6799
6757
  /**
6800
6758
  * <p>A map of custom key-value pairs that you can provide as input for certain custom
6801
6759
  * workflows that this action triggers.</p>
@@ -6866,9 +6824,7 @@ export interface InitiateAuthRequest {
6866
6824
  * </ul>
6867
6825
  * </note>
6868
6826
  */
6869
- ClientMetadata?: {
6870
- [key: string]: string;
6871
- };
6827
+ ClientMetadata?: Record<string, string>;
6872
6828
  /**
6873
6829
  * <p>The app client ID.</p>
6874
6830
  */
@@ -6982,9 +6938,7 @@ export interface InitiateAuthResponse {
6982
6938
  * <p>All challenges require <code>USERNAME</code> and <code>SECRET_HASH</code> (if
6983
6939
  * applicable).</p>
6984
6940
  */
6985
- ChallengeParameters?: {
6986
- [key: string]: string;
6987
- };
6941
+ ChallengeParameters?: Record<string, string>;
6988
6942
  /**
6989
6943
  * <p>The result of the authentication response. This result is only returned if the caller
6990
6944
  * doesn't need to pass another challenge. If the caller does need to pass another
@@ -7195,9 +7149,7 @@ export interface ListTagsForResourceResponse {
7195
7149
  /**
7196
7150
  * <p>The tags that are assigned to the user pool.</p>
7197
7151
  */
7198
- Tags?: {
7199
- [key: string]: string;
7200
- };
7152
+ Tags?: Record<string, string>;
7201
7153
  }
7202
7154
  export declare namespace ListTagsForResourceResponse {
7203
7155
  /**
@@ -7645,9 +7597,7 @@ export interface ResendConfirmationCodeRequest {
7645
7597
  * </ul>
7646
7598
  * </note>
7647
7599
  */
7648
- ClientMetadata?: {
7649
- [key: string]: string;
7650
- };
7600
+ ClientMetadata?: Record<string, string>;
7651
7601
  }
7652
7602
  export declare namespace ResendConfirmationCodeRequest {
7653
7603
  /**
@@ -7761,9 +7711,7 @@ export interface RespondToAuthChallengeRequest {
7761
7711
  * </li>
7762
7712
  * </ul>
7763
7713
  */
7764
- ChallengeResponses?: {
7765
- [key: string]: string;
7766
- };
7714
+ ChallengeResponses?: Record<string, string>;
7767
7715
  /**
7768
7716
  * <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
7769
7717
  * <code>RespondToAuthChallenge</code> calls.</p>
@@ -7814,9 +7762,7 @@ export interface RespondToAuthChallengeRequest {
7814
7762
  * </ul>
7815
7763
  * </note>
7816
7764
  */
7817
- ClientMetadata?: {
7818
- [key: string]: string;
7819
- };
7765
+ ClientMetadata?: Record<string, string>;
7820
7766
  }
7821
7767
  export declare namespace RespondToAuthChallengeRequest {
7822
7768
  /**
@@ -7842,9 +7788,7 @@ export interface RespondToAuthChallengeResponse {
7842
7788
  /**
7843
7789
  * <p>The challenge parameters. For more information, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html">InitiateAuth</a>.</p>
7844
7790
  */
7845
- ChallengeParameters?: {
7846
- [key: string]: string;
7847
- };
7791
+ ChallengeParameters?: Record<string, string>;
7848
7792
  /**
7849
7793
  * <p>The result returned by the server in response to the request to respond to the
7850
7794
  * authentication challenge.</p>
@@ -8217,9 +8161,7 @@ export interface SignUpRequest {
8217
8161
  * </ul>
8218
8162
  * </note>
8219
8163
  */
8220
- ClientMetadata?: {
8221
- [key: string]: string;
8222
- };
8164
+ ClientMetadata?: Record<string, string>;
8223
8165
  }
8224
8166
  export declare namespace SignUpRequest {
8225
8167
  /**
@@ -79,9 +79,7 @@ export interface TagResourceRequest {
79
79
  /**
80
80
  * <p>The tags to assign to the user pool.</p>
81
81
  */
82
- Tags: {
83
- [key: string]: string;
84
- } | undefined;
82
+ Tags: Record<string, string> | undefined;
85
83
  }
86
84
  export declare namespace TagResourceRequest {
87
85
  /**
@@ -248,15 +246,11 @@ export interface UpdateIdentityProviderRequest {
248
246
  * <p>The IdP details to be updated, such as <code>MetadataURL</code> and
249
247
  * <code>MetadataFile</code>.</p>
250
248
  */
251
- ProviderDetails?: {
252
- [key: string]: string;
253
- };
249
+ ProviderDetails?: Record<string, string>;
254
250
  /**
255
251
  * <p>The IdP attribute mapping to be changed.</p>
256
252
  */
257
- AttributeMapping?: {
258
- [key: string]: string;
259
- };
253
+ AttributeMapping?: Record<string, string>;
260
254
  /**
261
255
  * <p>A list of IdP identifiers.</p>
262
256
  */
@@ -371,9 +365,7 @@ export interface UpdateUserAttributesRequest {
371
365
  * </ul>
372
366
  * </note>
373
367
  */
374
- ClientMetadata?: {
375
- [key: string]: string;
376
- };
368
+ ClientMetadata?: Record<string, string>;
377
369
  }
378
370
  export declare namespace UpdateUserAttributesRequest {
379
371
  /**
@@ -491,9 +483,7 @@ export interface UpdateUserPoolRequest {
491
483
  * to categorize and manage user pools in different ways, such as by purpose, owner,
492
484
  * environment, or other criteria.</p>
493
485
  */
494
- UserPoolTags?: {
495
- [key: string]: string;
496
- };
486
+ UserPoolTags?: Record<string, string>;
497
487
  /**
498
488
  * <p>The configuration for <code>AdminCreateUser</code> requests.</p>
499
489
  */
@@ -233,9 +233,7 @@ export interface AdminConfirmSignUpRequest {
233
233
 
234
234
  Username: string | undefined;
235
235
 
236
- ClientMetadata?: {
237
- [key: string]: string;
238
- };
236
+ ClientMetadata?: Record<string, string>;
239
237
  }
240
238
  export declare namespace AdminConfirmSignUpRequest {
241
239
 
@@ -321,9 +319,7 @@ export interface AdminCreateUserRequest {
321
319
 
322
320
  DesiredDeliveryMediums?: (DeliveryMediumType | string)[];
323
321
 
324
- ClientMetadata?: {
325
- [key: string]: string;
326
- };
322
+ ClientMetadata?: Record<string, string>;
327
323
  }
328
324
  export declare namespace AdminCreateUserRequest {
329
325
 
@@ -707,13 +703,9 @@ export interface AdminInitiateAuthRequest {
707
703
 
708
704
  AuthFlow: AuthFlowType | string | undefined;
709
705
 
710
- AuthParameters?: {
711
- [key: string]: string;
712
- };
706
+ AuthParameters?: Record<string, string>;
713
707
 
714
- ClientMetadata?: {
715
- [key: string]: string;
716
- };
708
+ ClientMetadata?: Record<string, string>;
717
709
 
718
710
  AnalyticsMetadata?: AnalyticsMetadataType;
719
711
 
@@ -772,9 +764,7 @@ export interface AdminInitiateAuthResponse {
772
764
 
773
765
  Session?: string;
774
766
 
775
- ChallengeParameters?: {
776
- [key: string]: string;
777
- };
767
+ ChallengeParameters?: Record<string, string>;
778
768
 
779
769
  AuthenticationResult?: AuthenticationResultType;
780
770
  }
@@ -1050,9 +1040,7 @@ export interface AdminResetUserPasswordRequest {
1050
1040
 
1051
1041
  Username: string | undefined;
1052
1042
 
1053
- ClientMetadata?: {
1054
- [key: string]: string;
1055
- };
1043
+ ClientMetadata?: Record<string, string>;
1056
1044
  }
1057
1045
  export declare namespace AdminResetUserPasswordRequest {
1058
1046
 
@@ -1081,9 +1069,7 @@ export interface AdminRespondToAuthChallengeRequest {
1081
1069
 
1082
1070
  ChallengeName: ChallengeNameType | string | undefined;
1083
1071
 
1084
- ChallengeResponses?: {
1085
- [key: string]: string;
1086
- };
1072
+ ChallengeResponses?: Record<string, string>;
1087
1073
 
1088
1074
  Session?: string;
1089
1075
 
@@ -1091,9 +1077,7 @@ export interface AdminRespondToAuthChallengeRequest {
1091
1077
 
1092
1078
  ContextData?: ContextDataType;
1093
1079
 
1094
- ClientMetadata?: {
1095
- [key: string]: string;
1096
- };
1080
+ ClientMetadata?: Record<string, string>;
1097
1081
  }
1098
1082
  export declare namespace AdminRespondToAuthChallengeRequest {
1099
1083
 
@@ -1106,9 +1090,7 @@ export interface AdminRespondToAuthChallengeResponse {
1106
1090
 
1107
1091
  Session?: string;
1108
1092
 
1109
- ChallengeParameters?: {
1110
- [key: string]: string;
1111
- };
1093
+ ChallengeParameters?: Record<string, string>;
1112
1094
 
1113
1095
  AuthenticationResult?: AuthenticationResultType;
1114
1096
  }
@@ -1274,9 +1256,7 @@ export interface AdminUpdateUserAttributesRequest {
1274
1256
 
1275
1257
  UserAttributes: AttributeType[] | undefined;
1276
1258
 
1277
- ClientMetadata?: {
1278
- [key: string]: string;
1279
- };
1259
+ ClientMetadata?: Record<string, string>;
1280
1260
  }
1281
1261
  export declare namespace AdminUpdateUserAttributesRequest {
1282
1262
 
@@ -1448,9 +1428,7 @@ export interface ConfirmForgotPasswordRequest {
1448
1428
 
1449
1429
  UserContextData?: UserContextDataType;
1450
1430
 
1451
- ClientMetadata?: {
1452
- [key: string]: string;
1453
- };
1431
+ ClientMetadata?: Record<string, string>;
1454
1432
  }
1455
1433
  export declare namespace ConfirmForgotPasswordRequest {
1456
1434
 
@@ -1480,9 +1458,7 @@ export interface ConfirmSignUpRequest {
1480
1458
 
1481
1459
  UserContextData?: UserContextDataType;
1482
1460
 
1483
- ClientMetadata?: {
1484
- [key: string]: string;
1485
- };
1461
+ ClientMetadata?: Record<string, string>;
1486
1462
  }
1487
1463
  export declare namespace ConfirmSignUpRequest {
1488
1464
 
@@ -1542,13 +1518,9 @@ export interface CreateIdentityProviderRequest {
1542
1518
 
1543
1519
  ProviderType: IdentityProviderTypeType | string | undefined;
1544
1520
 
1545
- ProviderDetails: {
1546
- [key: string]: string;
1547
- } | undefined;
1521
+ ProviderDetails: Record<string, string> | undefined;
1548
1522
 
1549
- AttributeMapping?: {
1550
- [key: string]: string;
1551
- };
1523
+ AttributeMapping?: Record<string, string>;
1552
1524
 
1553
1525
  IdpIdentifiers?: string[];
1554
1526
  }
@@ -1565,13 +1537,9 @@ export interface IdentityProviderType {
1565
1537
 
1566
1538
  ProviderType?: IdentityProviderTypeType | string;
1567
1539
 
1568
- ProviderDetails?: {
1569
- [key: string]: string;
1570
- };
1540
+ ProviderDetails?: Record<string, string>;
1571
1541
 
1572
- AttributeMapping?: {
1573
- [key: string]: string;
1574
- };
1542
+ AttributeMapping?: Record<string, string>;
1575
1543
 
1576
1544
  IdpIdentifiers?: string[];
1577
1545
 
@@ -1939,9 +1907,7 @@ export interface CreateUserPoolRequest {
1939
1907
 
1940
1908
  SmsConfiguration?: SmsConfigurationType;
1941
1909
 
1942
- UserPoolTags?: {
1943
- [key: string]: string;
1944
- };
1910
+ UserPoolTags?: Record<string, string>;
1945
1911
 
1946
1912
  AdminCreateUserConfig?: AdminCreateUserConfigType;
1947
1913
 
@@ -2008,9 +1974,7 @@ export interface UserPoolType {
2008
1974
 
2009
1975
  SmsConfiguration?: SmsConfigurationType;
2010
1976
 
2011
- UserPoolTags?: {
2012
- [key: string]: string;
2013
- };
1977
+ UserPoolTags?: Record<string, string>;
2014
1978
 
2015
1979
  SmsConfigurationFailure?: string;
2016
1980
 
@@ -2585,9 +2549,7 @@ export interface ForgotPasswordRequest {
2585
2549
 
2586
2550
  AnalyticsMetadata?: AnalyticsMetadataType;
2587
2551
 
2588
- ClientMetadata?: {
2589
- [key: string]: string;
2590
- };
2552
+ ClientMetadata?: Record<string, string>;
2591
2553
  }
2592
2554
  export declare namespace ForgotPasswordRequest {
2593
2555
 
@@ -2781,9 +2743,7 @@ export interface GetUserAttributeVerificationCodeRequest {
2781
2743
 
2782
2744
  AttributeName: string | undefined;
2783
2745
 
2784
- ClientMetadata?: {
2785
- [key: string]: string;
2786
- };
2746
+ ClientMetadata?: Record<string, string>;
2787
2747
  }
2788
2748
  export declare namespace GetUserAttributeVerificationCodeRequest {
2789
2749
 
@@ -2859,13 +2819,9 @@ export interface InitiateAuthRequest {
2859
2819
 
2860
2820
  AuthFlow: AuthFlowType | string | undefined;
2861
2821
 
2862
- AuthParameters?: {
2863
- [key: string]: string;
2864
- };
2822
+ AuthParameters?: Record<string, string>;
2865
2823
 
2866
- ClientMetadata?: {
2867
- [key: string]: string;
2868
- };
2824
+ ClientMetadata?: Record<string, string>;
2869
2825
 
2870
2826
  ClientId: string | undefined;
2871
2827
 
@@ -2884,9 +2840,7 @@ export interface InitiateAuthResponse {
2884
2840
 
2885
2841
  Session?: string;
2886
2842
 
2887
- ChallengeParameters?: {
2888
- [key: string]: string;
2889
- };
2843
+ ChallengeParameters?: Record<string, string>;
2890
2844
 
2891
2845
  AuthenticationResult?: AuthenticationResultType;
2892
2846
  }
@@ -3009,9 +2963,7 @@ export declare namespace ListTagsForResourceRequest {
3009
2963
  }
3010
2964
  export interface ListTagsForResourceResponse {
3011
2965
 
3012
- Tags?: {
3013
- [key: string]: string;
3014
- };
2966
+ Tags?: Record<string, string>;
3015
2967
  }
3016
2968
  export declare namespace ListTagsForResourceResponse {
3017
2969
 
@@ -3184,9 +3136,7 @@ export interface ResendConfirmationCodeRequest {
3184
3136
 
3185
3137
  AnalyticsMetadata?: AnalyticsMetadataType;
3186
3138
 
3187
- ClientMetadata?: {
3188
- [key: string]: string;
3189
- };
3139
+ ClientMetadata?: Record<string, string>;
3190
3140
  }
3191
3141
  export declare namespace ResendConfirmationCodeRequest {
3192
3142
 
@@ -3210,17 +3160,13 @@ export interface RespondToAuthChallengeRequest {
3210
3160
 
3211
3161
  Session?: string;
3212
3162
 
3213
- ChallengeResponses?: {
3214
- [key: string]: string;
3215
- };
3163
+ ChallengeResponses?: Record<string, string>;
3216
3164
 
3217
3165
  AnalyticsMetadata?: AnalyticsMetadataType;
3218
3166
 
3219
3167
  UserContextData?: UserContextDataType;
3220
3168
 
3221
- ClientMetadata?: {
3222
- [key: string]: string;
3223
- };
3169
+ ClientMetadata?: Record<string, string>;
3224
3170
  }
3225
3171
  export declare namespace RespondToAuthChallengeRequest {
3226
3172
 
@@ -3233,9 +3179,7 @@ export interface RespondToAuthChallengeResponse {
3233
3179
 
3234
3180
  Session?: string;
3235
3181
 
3236
- ChallengeParameters?: {
3237
- [key: string]: string;
3238
- };
3182
+ ChallengeParameters?: Record<string, string>;
3239
3183
 
3240
3184
  AuthenticationResult?: AuthenticationResultType;
3241
3185
  }
@@ -3409,9 +3353,7 @@ export interface SignUpRequest {
3409
3353
 
3410
3354
  UserContextData?: UserContextDataType;
3411
3355
 
3412
- ClientMetadata?: {
3413
- [key: string]: string;
3414
- };
3356
+ ClientMetadata?: Record<string, string>;
3415
3357
  }
3416
3358
  export declare namespace SignUpRequest {
3417
3359
 
@@ -45,9 +45,7 @@ export interface TagResourceRequest {
45
45
 
46
46
  ResourceArn: string | undefined;
47
47
 
48
- Tags: {
49
- [key: string]: string;
50
- } | undefined;
48
+ Tags: Record<string, string> | undefined;
51
49
  }
52
50
  export declare namespace TagResourceRequest {
53
51
 
@@ -147,13 +145,9 @@ export interface UpdateIdentityProviderRequest {
147
145
 
148
146
  ProviderName: string | undefined;
149
147
 
150
- ProviderDetails?: {
151
- [key: string]: string;
152
- };
148
+ ProviderDetails?: Record<string, string>;
153
149
 
154
- AttributeMapping?: {
155
- [key: string]: string;
156
- };
150
+ AttributeMapping?: Record<string, string>;
157
151
 
158
152
  IdpIdentifiers?: string[];
159
153
  }
@@ -198,9 +192,7 @@ export interface UpdateUserAttributesRequest {
198
192
 
199
193
  AccessToken: string | undefined;
200
194
 
201
- ClientMetadata?: {
202
- [key: string]: string;
203
- };
195
+ ClientMetadata?: Record<string, string>;
204
196
  }
205
197
  export declare namespace UpdateUserAttributesRequest {
206
198
 
@@ -246,9 +238,7 @@ export interface UpdateUserPoolRequest {
246
238
 
247
239
  SmsConfiguration?: SmsConfigurationType;
248
240
 
249
- UserPoolTags?: {
250
- [key: string]: string;
251
- };
241
+ UserPoolTags?: Record<string, string>;
252
242
 
253
243
  AdminCreateUserConfig?: AdminCreateUserConfigType;
254
244
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.102.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",