@aws-sdk/client-cognito-identity-provider 3.100.0 → 3.109.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.
@@ -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
 
@@ -1423,6 +1403,8 @@ export declare namespace ConfirmDeviceResponse {
1423
1403
 
1424
1404
  export interface UserContextDataType {
1425
1405
 
1406
+ IpAddress?: string;
1407
+
1426
1408
  EncodedData?: string;
1427
1409
  }
1428
1410
  export declare namespace UserContextDataType {
@@ -1446,9 +1428,7 @@ export interface ConfirmForgotPasswordRequest {
1446
1428
 
1447
1429
  UserContextData?: UserContextDataType;
1448
1430
 
1449
- ClientMetadata?: {
1450
- [key: string]: string;
1451
- };
1431
+ ClientMetadata?: Record<string, string>;
1452
1432
  }
1453
1433
  export declare namespace ConfirmForgotPasswordRequest {
1454
1434
 
@@ -1478,9 +1458,7 @@ export interface ConfirmSignUpRequest {
1478
1458
 
1479
1459
  UserContextData?: UserContextDataType;
1480
1460
 
1481
- ClientMetadata?: {
1482
- [key: string]: string;
1483
- };
1461
+ ClientMetadata?: Record<string, string>;
1484
1462
  }
1485
1463
  export declare namespace ConfirmSignUpRequest {
1486
1464
 
@@ -1540,13 +1518,9 @@ export interface CreateIdentityProviderRequest {
1540
1518
 
1541
1519
  ProviderType: IdentityProviderTypeType | string | undefined;
1542
1520
 
1543
- ProviderDetails: {
1544
- [key: string]: string;
1545
- } | undefined;
1521
+ ProviderDetails: Record<string, string> | undefined;
1546
1522
 
1547
- AttributeMapping?: {
1548
- [key: string]: string;
1549
- };
1523
+ AttributeMapping?: Record<string, string>;
1550
1524
 
1551
1525
  IdpIdentifiers?: string[];
1552
1526
  }
@@ -1563,13 +1537,9 @@ export interface IdentityProviderType {
1563
1537
 
1564
1538
  ProviderType?: IdentityProviderTypeType | string;
1565
1539
 
1566
- ProviderDetails?: {
1567
- [key: string]: string;
1568
- };
1540
+ ProviderDetails?: Record<string, string>;
1569
1541
 
1570
- AttributeMapping?: {
1571
- [key: string]: string;
1572
- };
1542
+ AttributeMapping?: Record<string, string>;
1573
1543
 
1574
1544
  IdpIdentifiers?: string[];
1575
1545
 
@@ -1937,9 +1907,7 @@ export interface CreateUserPoolRequest {
1937
1907
 
1938
1908
  SmsConfiguration?: SmsConfigurationType;
1939
1909
 
1940
- UserPoolTags?: {
1941
- [key: string]: string;
1942
- };
1910
+ UserPoolTags?: Record<string, string>;
1943
1911
 
1944
1912
  AdminCreateUserConfig?: AdminCreateUserConfigType;
1945
1913
 
@@ -2006,9 +1974,7 @@ export interface UserPoolType {
2006
1974
 
2007
1975
  SmsConfiguration?: SmsConfigurationType;
2008
1976
 
2009
- UserPoolTags?: {
2010
- [key: string]: string;
2011
- };
1977
+ UserPoolTags?: Record<string, string>;
2012
1978
 
2013
1979
  SmsConfigurationFailure?: string;
2014
1980
 
@@ -2128,6 +2094,8 @@ export interface CreateUserPoolClientRequest {
2128
2094
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
2129
2095
 
2130
2096
  EnableTokenRevocation?: boolean;
2097
+
2098
+ EnablePropagateAdditionalUserContextData?: boolean;
2131
2099
  }
2132
2100
  export declare namespace CreateUserPoolClientRequest {
2133
2101
 
@@ -2181,6 +2149,8 @@ export interface UserPoolClientType {
2181
2149
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
2182
2150
 
2183
2151
  EnableTokenRevocation?: boolean;
2152
+
2153
+ EnablePropagateAdditionalUserContextData?: boolean;
2184
2154
  }
2185
2155
  export declare namespace UserPoolClientType {
2186
2156
 
@@ -2579,9 +2549,7 @@ export interface ForgotPasswordRequest {
2579
2549
 
2580
2550
  AnalyticsMetadata?: AnalyticsMetadataType;
2581
2551
 
2582
- ClientMetadata?: {
2583
- [key: string]: string;
2584
- };
2552
+ ClientMetadata?: Record<string, string>;
2585
2553
  }
2586
2554
  export declare namespace ForgotPasswordRequest {
2587
2555
 
@@ -2775,9 +2743,7 @@ export interface GetUserAttributeVerificationCodeRequest {
2775
2743
 
2776
2744
  AttributeName: string | undefined;
2777
2745
 
2778
- ClientMetadata?: {
2779
- [key: string]: string;
2780
- };
2746
+ ClientMetadata?: Record<string, string>;
2781
2747
  }
2782
2748
  export declare namespace GetUserAttributeVerificationCodeRequest {
2783
2749
 
@@ -2853,13 +2819,9 @@ export interface InitiateAuthRequest {
2853
2819
 
2854
2820
  AuthFlow: AuthFlowType | string | undefined;
2855
2821
 
2856
- AuthParameters?: {
2857
- [key: string]: string;
2858
- };
2822
+ AuthParameters?: Record<string, string>;
2859
2823
 
2860
- ClientMetadata?: {
2861
- [key: string]: string;
2862
- };
2824
+ ClientMetadata?: Record<string, string>;
2863
2825
 
2864
2826
  ClientId: string | undefined;
2865
2827
 
@@ -2878,9 +2840,7 @@ export interface InitiateAuthResponse {
2878
2840
 
2879
2841
  Session?: string;
2880
2842
 
2881
- ChallengeParameters?: {
2882
- [key: string]: string;
2883
- };
2843
+ ChallengeParameters?: Record<string, string>;
2884
2844
 
2885
2845
  AuthenticationResult?: AuthenticationResultType;
2886
2846
  }
@@ -3003,9 +2963,7 @@ export declare namespace ListTagsForResourceRequest {
3003
2963
  }
3004
2964
  export interface ListTagsForResourceResponse {
3005
2965
 
3006
- Tags?: {
3007
- [key: string]: string;
3008
- };
2966
+ Tags?: Record<string, string>;
3009
2967
  }
3010
2968
  export declare namespace ListTagsForResourceResponse {
3011
2969
 
@@ -3178,9 +3136,7 @@ export interface ResendConfirmationCodeRequest {
3178
3136
 
3179
3137
  AnalyticsMetadata?: AnalyticsMetadataType;
3180
3138
 
3181
- ClientMetadata?: {
3182
- [key: string]: string;
3183
- };
3139
+ ClientMetadata?: Record<string, string>;
3184
3140
  }
3185
3141
  export declare namespace ResendConfirmationCodeRequest {
3186
3142
 
@@ -3204,17 +3160,13 @@ export interface RespondToAuthChallengeRequest {
3204
3160
 
3205
3161
  Session?: string;
3206
3162
 
3207
- ChallengeResponses?: {
3208
- [key: string]: string;
3209
- };
3163
+ ChallengeResponses?: Record<string, string>;
3210
3164
 
3211
3165
  AnalyticsMetadata?: AnalyticsMetadataType;
3212
3166
 
3213
3167
  UserContextData?: UserContextDataType;
3214
3168
 
3215
- ClientMetadata?: {
3216
- [key: string]: string;
3217
- };
3169
+ ClientMetadata?: Record<string, string>;
3218
3170
  }
3219
3171
  export declare namespace RespondToAuthChallengeRequest {
3220
3172
 
@@ -3227,9 +3179,7 @@ export interface RespondToAuthChallengeResponse {
3227
3179
 
3228
3180
  Session?: string;
3229
3181
 
3230
- ChallengeParameters?: {
3231
- [key: string]: string;
3232
- };
3182
+ ChallengeParameters?: Record<string, string>;
3233
3183
 
3234
3184
  AuthenticationResult?: AuthenticationResultType;
3235
3185
  }
@@ -3403,9 +3353,7 @@ export interface SignUpRequest {
3403
3353
 
3404
3354
  UserContextData?: UserContextDataType;
3405
3355
 
3406
- ClientMetadata?: {
3407
- [key: string]: string;
3408
- };
3356
+ ClientMetadata?: Record<string, string>;
3409
3357
  }
3410
3358
  export declare namespace SignUpRequest {
3411
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
 
@@ -309,6 +299,8 @@ export interface UpdateUserPoolClientRequest {
309
299
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
310
300
 
311
301
  EnableTokenRevocation?: boolean;
302
+
303
+ EnablePropagateAdditionalUserContextData?: boolean;
312
304
  }
313
305
  export declare namespace UpdateUserPoolClientRequest {
314
306
 
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.100.0",
4
+ "version": "3.109.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,36 +18,37 @@
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",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1"
52
53
  },
53
54
  "devDependencies": {