@aws-sdk/client-cognito-identity-provider 3.1088.0 → 3.1090.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -9
- package/dist-es/models/enums.js +6 -0
- package/dist-es/schemas/schemas_0.js +22 -8
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +20 -2
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +10 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +10 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +20 -2
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +10 -1
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +118 -25
- package/dist-types/models/models_1.d.ts +16 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -5
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -234,7 +234,7 @@ const commonParams = {
|
|
|
234
234
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var version = "3.
|
|
237
|
+
var version = "3.1089.0";
|
|
238
238
|
var packageInfo = {
|
|
239
239
|
version: version};
|
|
240
240
|
|
|
@@ -1177,6 +1177,7 @@ const _CA = "CustomAttributes";
|
|
|
1177
1177
|
const _CAC = "CreateAuthChallenge";
|
|
1178
1178
|
const _CALT = "CustomAttributesListType";
|
|
1179
1179
|
const _CAM = "CustomAuthMode";
|
|
1180
|
+
const _CAa = "CallerArn";
|
|
1180
1181
|
const _CAe = "CertificateArn";
|
|
1181
1182
|
const _CAr = "CreatedAt";
|
|
1182
1183
|
const _CC = "ConfirmationCode";
|
|
@@ -1248,6 +1249,7 @@ const _CSDT = "ClientSecretDescriptorType";
|
|
|
1248
1249
|
const _CSI = "ClientSecretId";
|
|
1249
1250
|
const _CSMSLVCT = "CustomSMSLambdaVersionConfigType";
|
|
1250
1251
|
const _CSMSS = "CustomSMSSender";
|
|
1252
|
+
const _CSN = "ConfigurationSetName";
|
|
1251
1253
|
const _CSS = "CSS";
|
|
1252
1254
|
const _CSSV = "CSSVersion";
|
|
1253
1255
|
const _CST = "ClientSecretType";
|
|
@@ -1414,8 +1416,10 @@ const _ERv = "EventRisk";
|
|
|
1414
1416
|
const _ES = "EventSource";
|
|
1415
1417
|
const _ESA = "EmailSendingAccount";
|
|
1416
1418
|
const _ESBL = "EmailSubjectByLink";
|
|
1419
|
+
const _ESCT = "EumsSmsConfigurationType";
|
|
1417
1420
|
const _ESTMFAE = "EnableSoftwareTokenMFAException";
|
|
1418
1421
|
const _ESm = "EmailSubject";
|
|
1422
|
+
const _ESu = "EumsSms";
|
|
1419
1423
|
const _ET = "EventType";
|
|
1420
1424
|
const _ETR = "EnableTokenRevocation";
|
|
1421
1425
|
const _EVM = "EmailVerificationMessage";
|
|
@@ -1507,6 +1511,7 @@ const _IAn = "InitiateAuth";
|
|
|
1507
1511
|
const _IC = "IssuerConfiguration";
|
|
1508
1512
|
const _ICT = "IssuerConfigurationType";
|
|
1509
1513
|
const _IEE = "InternalErrorException";
|
|
1514
|
+
const _IEI = "InEntityId";
|
|
1510
1515
|
const _IERAPE = "InvalidEmailRoleAccessPolicyException";
|
|
1511
1516
|
const _IF = "InboundFederation";
|
|
1512
1517
|
const _IFLT = "InboundFederationLambdaType";
|
|
@@ -1524,6 +1529,7 @@ const _ISE = "InternalServerException";
|
|
|
1524
1529
|
const _ISRAPE = "InvalidSmsRoleAccessPolicyException";
|
|
1525
1530
|
const _ISRTRE = "InvalidSmsRoleTrustRelationshipException";
|
|
1526
1531
|
const _IT = "IdToken";
|
|
1532
|
+
const _ITI = "InTemplateId";
|
|
1527
1533
|
const _ITV = "IdTokenValidity";
|
|
1528
1534
|
const _IU = "ImageUrl";
|
|
1529
1535
|
const _IUPCE = "InvalidUserPoolConfigurationException";
|
|
@@ -1633,6 +1639,7 @@ const _NDMT = "NewDeviceMetadataType";
|
|
|
1633
1639
|
const _NET = "NotifyEmailType";
|
|
1634
1640
|
const _NT = "NextToken";
|
|
1635
1641
|
const _Na = "Name";
|
|
1642
|
+
const _OI = "OriginationIdentity";
|
|
1636
1643
|
const _ONEE = "OperationNotEnabledException";
|
|
1637
1644
|
const _P = "Password";
|
|
1638
1645
|
const _PA = "PreAuthentication";
|
|
@@ -1642,6 +1649,7 @@ const _PAo = "PostAuthentication";
|
|
|
1642
1649
|
const _PC = "PostConfirmation";
|
|
1643
1650
|
const _PD = "ProviderDetails";
|
|
1644
1651
|
const _PDr = "ProviderDescription";
|
|
1652
|
+
const _PHA = "PasswordHashingAlgorithm";
|
|
1645
1653
|
const _PHPVE = "PasswordHistoryPolicyViolationException";
|
|
1646
1654
|
const _PHS = "PasswordHistorySize";
|
|
1647
1655
|
const _PLT = "ProvidersListType";
|
|
@@ -1722,7 +1730,8 @@ const _RTe = "ReplyTo";
|
|
|
1722
1730
|
const _RTev = "RevokeToken";
|
|
1723
1731
|
const _RTo = "RoutingType";
|
|
1724
1732
|
const _RU = "RequireUppercase";
|
|
1725
|
-
const _Re = "
|
|
1733
|
+
const _Re = "Region";
|
|
1734
|
+
const _Req = "Required";
|
|
1726
1735
|
const _Ro = "Role";
|
|
1727
1736
|
const _S = "Session";
|
|
1728
1737
|
const _SA = "SourceArn";
|
|
@@ -2821,8 +2830,8 @@ var CreateTermsResponse$ = [3, n0, _CTRr,
|
|
|
2821
2830
|
];
|
|
2822
2831
|
var CreateUserImportJobRequest$ = [3, n0, _CUIJR,
|
|
2823
2832
|
0,
|
|
2824
|
-
[_JN, _UPI, _CWLRA],
|
|
2825
|
-
[0, 0, 0], 3
|
|
2833
|
+
[_JN, _UPI, _CWLRA, _PHA],
|
|
2834
|
+
[0, 0, 0, 0], 3
|
|
2826
2835
|
];
|
|
2827
2836
|
var CreateUserImportJobResponse$ = [3, n0, _CUIJRr,
|
|
2828
2837
|
0,
|
|
@@ -3109,6 +3118,11 @@ var EmailMfaSettingsType$ = [3, n0, _EMST,
|
|
|
3109
3118
|
[_E, _PM],
|
|
3110
3119
|
[2, 2]
|
|
3111
3120
|
];
|
|
3121
|
+
var EumsSmsConfigurationType$ = [3, n0, _ESCT,
|
|
3122
|
+
0,
|
|
3123
|
+
[_CAa, _EIx, _OI, _CSN, _IEI, _ITI, _Re],
|
|
3124
|
+
[0, 0, 0, 0, 0, 0, 0], 1
|
|
3125
|
+
];
|
|
3112
3126
|
var EventContextDataType$ = [3, n0, _ECDT,
|
|
3113
3127
|
0,
|
|
3114
3128
|
[_IA, _DN, _Ti, _Ci, _Co],
|
|
@@ -3621,7 +3635,7 @@ var S3ConfigurationType$ = [3, n0, _SCTo,
|
|
|
3621
3635
|
];
|
|
3622
3636
|
var SchemaAttributeType$ = [3, n0, _SAT,
|
|
3623
3637
|
0,
|
|
3624
|
-
[_Na, _ADT, _DOA, _Mu,
|
|
3638
|
+
[_Na, _ADT, _DOA, _Mu, _Req, _NAC, _SAC],
|
|
3625
3639
|
[0, 0, 2, 2, 2, () => NumberAttributeConstraintsType$, () => StringAttributeConstraintsType$]
|
|
3626
3640
|
];
|
|
3627
3641
|
var SetLogDeliveryConfigurationRequest$ = [3, n0, _SLDCR,
|
|
@@ -3701,8 +3715,8 @@ var SignUpResponse$ = [3, n0, _SURi,
|
|
|
3701
3715
|
];
|
|
3702
3716
|
var SmsConfigurationType$ = [3, n0, _SCTm,
|
|
3703
3717
|
0,
|
|
3704
|
-
[_SCA, _EIx, _SRn],
|
|
3705
|
-
[0, 0, 0
|
|
3718
|
+
[_SCA, _EIx, _SRn, _ESu],
|
|
3719
|
+
[0, 0, 0, () => EumsSmsConfigurationType$]
|
|
3706
3720
|
];
|
|
3707
3721
|
var SmsMfaConfigType$ = [3, n0, _SMCT,
|
|
3708
3722
|
0,
|
|
@@ -3941,8 +3955,8 @@ var UserContextDataType$ = [3, n0, _UCDT,
|
|
|
3941
3955
|
];
|
|
3942
3956
|
var UserImportJobType$ = [3, n0, _UIJT,
|
|
3943
3957
|
0,
|
|
3944
|
-
[_JN, _JI, _UPI, _PSUr, _CDr, _SDt, _CDo, _St, _CWLRA, _IUm, _SUk, _FU, _CMom],
|
|
3945
|
-
[0, 0, 0, 0, 4, 4, 4, 0, 0, 1, 1, 1, 0]
|
|
3958
|
+
[_JN, _JI, _UPI, _PSUr, _CDr, _SDt, _CDo, _St, _CWLRA, _IUm, _SUk, _FU, _CMom, _PHA],
|
|
3959
|
+
[0, 0, 0, 0, 4, 4, 4, 0, 0, 1, 1, 1, 0, 0]
|
|
3946
3960
|
];
|
|
3947
3961
|
var UsernameConfigurationType$ = [3, n0, _UCT,
|
|
3948
3962
|
0,
|
|
@@ -5369,6 +5383,12 @@ const TermsEnforcementType = {
|
|
|
5369
5383
|
const TermsSourceType = {
|
|
5370
5384
|
LINK: "LINK",
|
|
5371
5385
|
};
|
|
5386
|
+
const PasswordHashingAlgorithmType = {
|
|
5387
|
+
ARGON2ID: "ARGON2ID",
|
|
5388
|
+
BCRYPT: "BCRYPT",
|
|
5389
|
+
PBKDF2_SHA256: "PBKDF2_SHA256",
|
|
5390
|
+
SCRYPT: "SCRYPT",
|
|
5391
|
+
};
|
|
5372
5392
|
const UserImportJobStatusType = {
|
|
5373
5393
|
Created: "Created",
|
|
5374
5394
|
Expired: "Expired",
|
|
@@ -5848,6 +5868,7 @@ exports.EmailSendingAccountType = EmailSendingAccountType;
|
|
|
5848
5868
|
exports.EnableSoftwareTokenMFAException = EnableSoftwareTokenMFAException;
|
|
5849
5869
|
exports.EnableSoftwareTokenMFAException$ = EnableSoftwareTokenMFAException$;
|
|
5850
5870
|
exports.EncryptionKeyType = EncryptionKeyType;
|
|
5871
|
+
exports.EumsSmsConfigurationType$ = EumsSmsConfigurationType$;
|
|
5851
5872
|
exports.EventContextDataType$ = EventContextDataType$;
|
|
5852
5873
|
exports.EventFeedbackType$ = EventFeedbackType$;
|
|
5853
5874
|
exports.EventFilterType = EventFilterType;
|
|
@@ -6046,6 +6067,7 @@ exports.NumberAttributeConstraintsType$ = NumberAttributeConstraintsType$;
|
|
|
6046
6067
|
exports.OAuthFlowType = OAuthFlowType;
|
|
6047
6068
|
exports.OperationNotEnabledException = OperationNotEnabledException;
|
|
6048
6069
|
exports.OperationNotEnabledException$ = OperationNotEnabledException$;
|
|
6070
|
+
exports.PasswordHashingAlgorithmType = PasswordHashingAlgorithmType;
|
|
6049
6071
|
exports.PasswordHistoryPolicyViolationException = PasswordHistoryPolicyViolationException;
|
|
6050
6072
|
exports.PasswordHistoryPolicyViolationException$ = PasswordHistoryPolicyViolationException$;
|
|
6051
6073
|
exports.PasswordPolicyType$ = PasswordPolicyType$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -166,6 +166,12 @@ export const TermsEnforcementType = {
|
|
|
166
166
|
export const TermsSourceType = {
|
|
167
167
|
LINK: "LINK",
|
|
168
168
|
};
|
|
169
|
+
export const PasswordHashingAlgorithmType = {
|
|
170
|
+
ARGON2ID: "ARGON2ID",
|
|
171
|
+
BCRYPT: "BCRYPT",
|
|
172
|
+
PBKDF2_SHA256: "PBKDF2_SHA256",
|
|
173
|
+
SCRYPT: "SCRYPT",
|
|
174
|
+
};
|
|
169
175
|
export const UserImportJobStatusType = {
|
|
170
176
|
Created: "Created",
|
|
171
177
|
Expired: "Expired",
|
|
@@ -146,6 +146,7 @@ const _CA = "CustomAttributes";
|
|
|
146
146
|
const _CAC = "CreateAuthChallenge";
|
|
147
147
|
const _CALT = "CustomAttributesListType";
|
|
148
148
|
const _CAM = "CustomAuthMode";
|
|
149
|
+
const _CAa = "CallerArn";
|
|
149
150
|
const _CAe = "CertificateArn";
|
|
150
151
|
const _CAr = "CreatedAt";
|
|
151
152
|
const _CC = "ConfirmationCode";
|
|
@@ -217,6 +218,7 @@ const _CSDT = "ClientSecretDescriptorType";
|
|
|
217
218
|
const _CSI = "ClientSecretId";
|
|
218
219
|
const _CSMSLVCT = "CustomSMSLambdaVersionConfigType";
|
|
219
220
|
const _CSMSS = "CustomSMSSender";
|
|
221
|
+
const _CSN = "ConfigurationSetName";
|
|
220
222
|
const _CSS = "CSS";
|
|
221
223
|
const _CSSV = "CSSVersion";
|
|
222
224
|
const _CST = "ClientSecretType";
|
|
@@ -383,8 +385,10 @@ const _ERv = "EventRisk";
|
|
|
383
385
|
const _ES = "EventSource";
|
|
384
386
|
const _ESA = "EmailSendingAccount";
|
|
385
387
|
const _ESBL = "EmailSubjectByLink";
|
|
388
|
+
const _ESCT = "EumsSmsConfigurationType";
|
|
386
389
|
const _ESTMFAE = "EnableSoftwareTokenMFAException";
|
|
387
390
|
const _ESm = "EmailSubject";
|
|
391
|
+
const _ESu = "EumsSms";
|
|
388
392
|
const _ET = "EventType";
|
|
389
393
|
const _ETR = "EnableTokenRevocation";
|
|
390
394
|
const _EVM = "EmailVerificationMessage";
|
|
@@ -476,6 +480,7 @@ const _IAn = "InitiateAuth";
|
|
|
476
480
|
const _IC = "IssuerConfiguration";
|
|
477
481
|
const _ICT = "IssuerConfigurationType";
|
|
478
482
|
const _IEE = "InternalErrorException";
|
|
483
|
+
const _IEI = "InEntityId";
|
|
479
484
|
const _IERAPE = "InvalidEmailRoleAccessPolicyException";
|
|
480
485
|
const _IF = "InboundFederation";
|
|
481
486
|
const _IFLT = "InboundFederationLambdaType";
|
|
@@ -493,6 +498,7 @@ const _ISE = "InternalServerException";
|
|
|
493
498
|
const _ISRAPE = "InvalidSmsRoleAccessPolicyException";
|
|
494
499
|
const _ISRTRE = "InvalidSmsRoleTrustRelationshipException";
|
|
495
500
|
const _IT = "IdToken";
|
|
501
|
+
const _ITI = "InTemplateId";
|
|
496
502
|
const _ITV = "IdTokenValidity";
|
|
497
503
|
const _IU = "ImageUrl";
|
|
498
504
|
const _IUPCE = "InvalidUserPoolConfigurationException";
|
|
@@ -602,6 +608,7 @@ const _NDMT = "NewDeviceMetadataType";
|
|
|
602
608
|
const _NET = "NotifyEmailType";
|
|
603
609
|
const _NT = "NextToken";
|
|
604
610
|
const _Na = "Name";
|
|
611
|
+
const _OI = "OriginationIdentity";
|
|
605
612
|
const _ONEE = "OperationNotEnabledException";
|
|
606
613
|
const _P = "Password";
|
|
607
614
|
const _PA = "PreAuthentication";
|
|
@@ -611,6 +618,7 @@ const _PAo = "PostAuthentication";
|
|
|
611
618
|
const _PC = "PostConfirmation";
|
|
612
619
|
const _PD = "ProviderDetails";
|
|
613
620
|
const _PDr = "ProviderDescription";
|
|
621
|
+
const _PHA = "PasswordHashingAlgorithm";
|
|
614
622
|
const _PHPVE = "PasswordHistoryPolicyViolationException";
|
|
615
623
|
const _PHS = "PasswordHistorySize";
|
|
616
624
|
const _PLT = "ProvidersListType";
|
|
@@ -691,7 +699,8 @@ const _RTe = "ReplyTo";
|
|
|
691
699
|
const _RTev = "RevokeToken";
|
|
692
700
|
const _RTo = "RoutingType";
|
|
693
701
|
const _RU = "RequireUppercase";
|
|
694
|
-
const _Re = "
|
|
702
|
+
const _Re = "Region";
|
|
703
|
+
const _Req = "Required";
|
|
695
704
|
const _Ro = "Role";
|
|
696
705
|
const _S = "Session";
|
|
697
706
|
const _SA = "SourceArn";
|
|
@@ -1793,8 +1802,8 @@ export var CreateTermsResponse$ = [3, n0, _CTRr,
|
|
|
1793
1802
|
];
|
|
1794
1803
|
export var CreateUserImportJobRequest$ = [3, n0, _CUIJR,
|
|
1795
1804
|
0,
|
|
1796
|
-
[_JN, _UPI, _CWLRA],
|
|
1797
|
-
[0, 0, 0], 3
|
|
1805
|
+
[_JN, _UPI, _CWLRA, _PHA],
|
|
1806
|
+
[0, 0, 0, 0], 3
|
|
1798
1807
|
];
|
|
1799
1808
|
export var CreateUserImportJobResponse$ = [3, n0, _CUIJRr,
|
|
1800
1809
|
0,
|
|
@@ -2081,6 +2090,11 @@ export var EmailMfaSettingsType$ = [3, n0, _EMST,
|
|
|
2081
2090
|
[_E, _PM],
|
|
2082
2091
|
[2, 2]
|
|
2083
2092
|
];
|
|
2093
|
+
export var EumsSmsConfigurationType$ = [3, n0, _ESCT,
|
|
2094
|
+
0,
|
|
2095
|
+
[_CAa, _EIx, _OI, _CSN, _IEI, _ITI, _Re],
|
|
2096
|
+
[0, 0, 0, 0, 0, 0, 0], 1
|
|
2097
|
+
];
|
|
2084
2098
|
export var EventContextDataType$ = [3, n0, _ECDT,
|
|
2085
2099
|
0,
|
|
2086
2100
|
[_IA, _DN, _Ti, _Ci, _Co],
|
|
@@ -2593,7 +2607,7 @@ export var S3ConfigurationType$ = [3, n0, _SCTo,
|
|
|
2593
2607
|
];
|
|
2594
2608
|
export var SchemaAttributeType$ = [3, n0, _SAT,
|
|
2595
2609
|
0,
|
|
2596
|
-
[_Na, _ADT, _DOA, _Mu,
|
|
2610
|
+
[_Na, _ADT, _DOA, _Mu, _Req, _NAC, _SAC],
|
|
2597
2611
|
[0, 0, 2, 2, 2, () => NumberAttributeConstraintsType$, () => StringAttributeConstraintsType$]
|
|
2598
2612
|
];
|
|
2599
2613
|
export var SetLogDeliveryConfigurationRequest$ = [3, n0, _SLDCR,
|
|
@@ -2673,8 +2687,8 @@ export var SignUpResponse$ = [3, n0, _SURi,
|
|
|
2673
2687
|
];
|
|
2674
2688
|
export var SmsConfigurationType$ = [3, n0, _SCTm,
|
|
2675
2689
|
0,
|
|
2676
|
-
[_SCA, _EIx, _SRn],
|
|
2677
|
-
[0, 0, 0
|
|
2690
|
+
[_SCA, _EIx, _SRn, _ESu],
|
|
2691
|
+
[0, 0, 0, () => EumsSmsConfigurationType$]
|
|
2678
2692
|
];
|
|
2679
2693
|
export var SmsMfaConfigType$ = [3, n0, _SMCT,
|
|
2680
2694
|
0,
|
|
@@ -2913,8 +2927,8 @@ export var UserContextDataType$ = [3, n0, _UCDT,
|
|
|
2913
2927
|
];
|
|
2914
2928
|
export var UserImportJobType$ = [3, n0, _UIJT,
|
|
2915
2929
|
0,
|
|
2916
|
-
[_JN, _JI, _UPI, _PSUr, _CDr, _SDt, _CDo, _St, _CWLRA, _IUm, _SUk, _FU, _CMom],
|
|
2917
|
-
[0, 0, 0, 0, 4, 4, 4, 0, 0, 1, 1, 1, 0]
|
|
2930
|
+
[_JN, _JI, _UPI, _PSUr, _CDr, _SDt, _CDo, _St, _CWLRA, _IUm, _SUk, _FU, _CMom, _PHA],
|
|
2931
|
+
[0, 0, 0, 0, 4, 4, 4, 0, 0, 1, 1, 1, 0, 0]
|
|
2918
2932
|
];
|
|
2919
2933
|
export var UsernameConfigurationType$ = [3, n0, _UCT,
|
|
2920
2934
|
0,
|
|
@@ -58,6 +58,7 @@ declare const CreateUserImportJobCommand_base: {
|
|
|
58
58
|
* JobName: "STRING_VALUE", // required
|
|
59
59
|
* UserPoolId: "STRING_VALUE", // required
|
|
60
60
|
* CloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
61
|
+
* PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
61
62
|
* };
|
|
62
63
|
* const command = new CreateUserImportJobCommand(input);
|
|
63
64
|
* const response = await client.send(command);
|
|
@@ -76,6 +77,7 @@ declare const CreateUserImportJobCommand_base: {
|
|
|
76
77
|
* // SkippedUsers: Number("long"),
|
|
77
78
|
* // FailedUsers: Number("long"),
|
|
78
79
|
* // CompletionMessage: "STRING_VALUE",
|
|
80
|
+
* // PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
79
81
|
* // },
|
|
80
82
|
* // };
|
|
81
83
|
*
|
|
@@ -161,9 +161,18 @@ declare const CreateUserPoolCommand_base: {
|
|
|
161
161
|
* ConfigurationSet: "STRING_VALUE",
|
|
162
162
|
* },
|
|
163
163
|
* SmsConfiguration: { // SmsConfigurationType
|
|
164
|
-
* SnsCallerArn: "STRING_VALUE",
|
|
164
|
+
* SnsCallerArn: "STRING_VALUE",
|
|
165
165
|
* ExternalId: "STRING_VALUE",
|
|
166
166
|
* SnsRegion: "STRING_VALUE",
|
|
167
|
+
* EumsSms: { // EumsSmsConfigurationType
|
|
168
|
+
* CallerArn: "STRING_VALUE", // required
|
|
169
|
+
* ExternalId: "STRING_VALUE",
|
|
170
|
+
* OriginationIdentity: "STRING_VALUE",
|
|
171
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
172
|
+
* InEntityId: "STRING_VALUE",
|
|
173
|
+
* InTemplateId: "STRING_VALUE",
|
|
174
|
+
* Region: "STRING_VALUE",
|
|
175
|
+
* },
|
|
167
176
|
* },
|
|
168
177
|
* UserPoolTags: { // UserPoolTagsType
|
|
169
178
|
* "<keys>": "STRING_VALUE",
|
|
@@ -332,9 +341,18 @@ declare const CreateUserPoolCommand_base: {
|
|
|
332
341
|
* // ConfigurationSet: "STRING_VALUE",
|
|
333
342
|
* // },
|
|
334
343
|
* // SmsConfiguration: { // SmsConfigurationType
|
|
335
|
-
* // SnsCallerArn: "STRING_VALUE",
|
|
344
|
+
* // SnsCallerArn: "STRING_VALUE",
|
|
336
345
|
* // ExternalId: "STRING_VALUE",
|
|
337
346
|
* // SnsRegion: "STRING_VALUE",
|
|
347
|
+
* // EumsSms: { // EumsSmsConfigurationType
|
|
348
|
+
* // CallerArn: "STRING_VALUE", // required
|
|
349
|
+
* // ExternalId: "STRING_VALUE",
|
|
350
|
+
* // OriginationIdentity: "STRING_VALUE",
|
|
351
|
+
* // ConfigurationSetName: "STRING_VALUE",
|
|
352
|
+
* // InEntityId: "STRING_VALUE",
|
|
353
|
+
* // InTemplateId: "STRING_VALUE",
|
|
354
|
+
* // Region: "STRING_VALUE",
|
|
355
|
+
* // },
|
|
338
356
|
* // },
|
|
339
357
|
* // UserPoolTags: { // UserPoolTagsType
|
|
340
358
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -54,6 +54,7 @@ declare const DescribeUserImportJobCommand_base: {
|
|
|
54
54
|
* // SkippedUsers: Number("long"),
|
|
55
55
|
* // FailedUsers: Number("long"),
|
|
56
56
|
* // CompletionMessage: "STRING_VALUE",
|
|
57
|
+
* // PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
57
58
|
* // },
|
|
58
59
|
* // };
|
|
59
60
|
*
|
|
@@ -170,9 +170,18 @@ declare const DescribeUserPoolCommand_base: {
|
|
|
170
170
|
* // ConfigurationSet: "STRING_VALUE",
|
|
171
171
|
* // },
|
|
172
172
|
* // SmsConfiguration: { // SmsConfigurationType
|
|
173
|
-
* // SnsCallerArn: "STRING_VALUE",
|
|
173
|
+
* // SnsCallerArn: "STRING_VALUE",
|
|
174
174
|
* // ExternalId: "STRING_VALUE",
|
|
175
175
|
* // SnsRegion: "STRING_VALUE",
|
|
176
|
+
* // EumsSms: { // EumsSmsConfigurationType
|
|
177
|
+
* // CallerArn: "STRING_VALUE", // required
|
|
178
|
+
* // ExternalId: "STRING_VALUE",
|
|
179
|
+
* // OriginationIdentity: "STRING_VALUE",
|
|
180
|
+
* // ConfigurationSetName: "STRING_VALUE",
|
|
181
|
+
* // InEntityId: "STRING_VALUE",
|
|
182
|
+
* // InTemplateId: "STRING_VALUE",
|
|
183
|
+
* // Region: "STRING_VALUE",
|
|
184
|
+
* // },
|
|
176
185
|
* // },
|
|
177
186
|
* // UserPoolTags: { // UserPoolTagsType
|
|
178
187
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -80,9 +80,18 @@ declare const GetUserPoolMfaConfigCommand_base: {
|
|
|
80
80
|
* // SmsMfaConfiguration: { // SmsMfaConfigType
|
|
81
81
|
* // SmsAuthenticationMessage: "STRING_VALUE",
|
|
82
82
|
* // SmsConfiguration: { // SmsConfigurationType
|
|
83
|
-
* // SnsCallerArn: "STRING_VALUE",
|
|
83
|
+
* // SnsCallerArn: "STRING_VALUE",
|
|
84
84
|
* // ExternalId: "STRING_VALUE",
|
|
85
85
|
* // SnsRegion: "STRING_VALUE",
|
|
86
|
+
* // EumsSms: { // EumsSmsConfigurationType
|
|
87
|
+
* // CallerArn: "STRING_VALUE", // required
|
|
88
|
+
* // ExternalId: "STRING_VALUE",
|
|
89
|
+
* // OriginationIdentity: "STRING_VALUE",
|
|
90
|
+
* // ConfigurationSetName: "STRING_VALUE",
|
|
91
|
+
* // InEntityId: "STRING_VALUE",
|
|
92
|
+
* // InTemplateId: "STRING_VALUE",
|
|
93
|
+
* // Region: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
86
95
|
* // },
|
|
87
96
|
* // },
|
|
88
97
|
* // SoftwareTokenMfaConfiguration: { // SoftwareTokenMfaConfigType
|
|
@@ -78,6 +78,7 @@ declare const ListUserImportJobsCommand_base: {
|
|
|
78
78
|
* // SkippedUsers: Number("long"),
|
|
79
79
|
* // FailedUsers: Number("long"),
|
|
80
80
|
* // CompletionMessage: "STRING_VALUE",
|
|
81
|
+
* // PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
81
82
|
* // },
|
|
82
83
|
* // ],
|
|
83
84
|
* // PaginationToken: "STRING_VALUE",
|
|
@@ -56,9 +56,18 @@ declare const SetUserPoolMfaConfigCommand_base: {
|
|
|
56
56
|
* SmsMfaConfiguration: { // SmsMfaConfigType
|
|
57
57
|
* SmsAuthenticationMessage: "STRING_VALUE",
|
|
58
58
|
* SmsConfiguration: { // SmsConfigurationType
|
|
59
|
-
* SnsCallerArn: "STRING_VALUE",
|
|
59
|
+
* SnsCallerArn: "STRING_VALUE",
|
|
60
60
|
* ExternalId: "STRING_VALUE",
|
|
61
61
|
* SnsRegion: "STRING_VALUE",
|
|
62
|
+
* EumsSms: { // EumsSmsConfigurationType
|
|
63
|
+
* CallerArn: "STRING_VALUE", // required
|
|
64
|
+
* ExternalId: "STRING_VALUE",
|
|
65
|
+
* OriginationIdentity: "STRING_VALUE",
|
|
66
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
67
|
+
* InEntityId: "STRING_VALUE",
|
|
68
|
+
* InTemplateId: "STRING_VALUE",
|
|
69
|
+
* Region: "STRING_VALUE",
|
|
70
|
+
* },
|
|
62
71
|
* },
|
|
63
72
|
* },
|
|
64
73
|
* SoftwareTokenMfaConfiguration: { // SoftwareTokenMfaConfigType
|
|
@@ -81,9 +90,18 @@ declare const SetUserPoolMfaConfigCommand_base: {
|
|
|
81
90
|
* // SmsMfaConfiguration: { // SmsMfaConfigType
|
|
82
91
|
* // SmsAuthenticationMessage: "STRING_VALUE",
|
|
83
92
|
* // SmsConfiguration: { // SmsConfigurationType
|
|
84
|
-
* // SnsCallerArn: "STRING_VALUE",
|
|
93
|
+
* // SnsCallerArn: "STRING_VALUE",
|
|
85
94
|
* // ExternalId: "STRING_VALUE",
|
|
86
95
|
* // SnsRegion: "STRING_VALUE",
|
|
96
|
+
* // EumsSms: { // EumsSmsConfigurationType
|
|
97
|
+
* // CallerArn: "STRING_VALUE", // required
|
|
98
|
+
* // ExternalId: "STRING_VALUE",
|
|
99
|
+
* // OriginationIdentity: "STRING_VALUE",
|
|
100
|
+
* // ConfigurationSetName: "STRING_VALUE",
|
|
101
|
+
* // InEntityId: "STRING_VALUE",
|
|
102
|
+
* // InTemplateId: "STRING_VALUE",
|
|
103
|
+
* // Region: "STRING_VALUE",
|
|
104
|
+
* // },
|
|
87
105
|
* // },
|
|
88
106
|
* // },
|
|
89
107
|
* // SoftwareTokenMfaConfiguration: { // SoftwareTokenMfaConfigType
|
|
@@ -56,6 +56,7 @@ declare const StartUserImportJobCommand_base: {
|
|
|
56
56
|
* // SkippedUsers: Number("long"),
|
|
57
57
|
* // FailedUsers: Number("long"),
|
|
58
58
|
* // CompletionMessage: "STRING_VALUE",
|
|
59
|
+
* // PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
59
60
|
* // },
|
|
60
61
|
* // };
|
|
61
62
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopUserImportJobRequest } from "../models/
|
|
3
|
-
import type { StopUserImportJobResponse } from "../models/models_1";
|
|
2
|
+
import type { StopUserImportJobRequest, StopUserImportJobResponse } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -57,6 +56,7 @@ declare const StopUserImportJobCommand_base: {
|
|
|
57
56
|
* // SkippedUsers: Number("long"),
|
|
58
57
|
* // FailedUsers: Number("long"),
|
|
59
58
|
* // CompletionMessage: "STRING_VALUE",
|
|
59
|
+
* // PasswordHashingAlgorithm: "BCRYPT" || "SCRYPT" || "ARGON2ID" || "PBKDF2_SHA256",
|
|
60
60
|
* // },
|
|
61
61
|
* // };
|
|
62
62
|
*
|
|
@@ -160,9 +160,18 @@ declare const UpdateUserPoolCommand_base: {
|
|
|
160
160
|
* ConfigurationSet: "STRING_VALUE",
|
|
161
161
|
* },
|
|
162
162
|
* SmsConfiguration: { // SmsConfigurationType
|
|
163
|
-
* SnsCallerArn: "STRING_VALUE",
|
|
163
|
+
* SnsCallerArn: "STRING_VALUE",
|
|
164
164
|
* ExternalId: "STRING_VALUE",
|
|
165
165
|
* SnsRegion: "STRING_VALUE",
|
|
166
|
+
* EumsSms: { // EumsSmsConfigurationType
|
|
167
|
+
* CallerArn: "STRING_VALUE", // required
|
|
168
|
+
* ExternalId: "STRING_VALUE",
|
|
169
|
+
* OriginationIdentity: "STRING_VALUE",
|
|
170
|
+
* ConfigurationSetName: "STRING_VALUE",
|
|
171
|
+
* InEntityId: "STRING_VALUE",
|
|
172
|
+
* InTemplateId: "STRING_VALUE",
|
|
173
|
+
* Region: "STRING_VALUE",
|
|
174
|
+
* },
|
|
166
175
|
* },
|
|
167
176
|
* UserPoolTags: { // UserPoolTagsType
|
|
168
177
|
* "<keys>": "STRING_VALUE",
|
|
@@ -382,6 +382,20 @@ export declare const TermsSourceType: {
|
|
|
382
382
|
* @public
|
|
383
383
|
*/
|
|
384
384
|
export type TermsSourceType = (typeof TermsSourceType)[keyof typeof TermsSourceType];
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
* @enum
|
|
388
|
+
*/
|
|
389
|
+
export declare const PasswordHashingAlgorithmType: {
|
|
390
|
+
readonly ARGON2ID: "ARGON2ID";
|
|
391
|
+
readonly BCRYPT: "BCRYPT";
|
|
392
|
+
readonly PBKDF2_SHA256: "PBKDF2_SHA256";
|
|
393
|
+
readonly SCRYPT: "SCRYPT";
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export type PasswordHashingAlgorithmType = (typeof PasswordHashingAlgorithmType)[keyof typeof PasswordHashingAlgorithmType];
|
|
385
399
|
/**
|
|
386
400
|
* @public
|
|
387
401
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AccountTakeoverEventActionType, AdvancedSecurityEnabledModeType, AdvancedSecurityModeType, AliasAttributeType, AssetCategoryType, AssetExtensionType, AttributeDataType, AuthFactorType, AuthFlowType, ChallengeName, ChallengeNameType, ChallengeResponse, ColorSchemeModeType, CompromisedCredentialsEventActionType, CustomEmailSenderLambdaVersionType, CustomSMSSenderLambdaVersionType, DefaultEmailOptionType, DeletionProtectionType, DeliveryMediumType, DeviceRememberedStatusType, DomainStatusType, EmailSendingAccountType, EncryptionKeyType, EventFilterType, EventResponseType, EventSourceName, EventType, ExplicitAuthFlowsType, FeatureType, FeedbackValueType, IdentityProviderTypeType, InboundFederationLambdaVersionType, IssuerType, LimitClass, LogLevel, MessageActionType, OAuthFlowType, PreTokenGenerationLambdaVersionType, PreventUserExistenceErrorTypes, RecoveryOptionNameType, ReplicaRoleType, ReplicaStatusType, RiskDecisionType, RiskLevelType, SecurityPolicyType, StatusType, TermsEnforcementType, TermsSourceType, TimeUnitsType, UserImportJobStatusType, UsernameAttributeType, UserPoolMfaType, UserPoolTierType, UserStatusType, UserVerificationType, VerifiedAttributeType, WebAuthnFactorConfigurationType } from "./enums";
|
|
2
|
+
import type { AccountTakeoverEventActionType, AdvancedSecurityEnabledModeType, AdvancedSecurityModeType, AliasAttributeType, AssetCategoryType, AssetExtensionType, AttributeDataType, AuthFactorType, AuthFlowType, ChallengeName, ChallengeNameType, ChallengeResponse, ColorSchemeModeType, CompromisedCredentialsEventActionType, CustomEmailSenderLambdaVersionType, CustomSMSSenderLambdaVersionType, DefaultEmailOptionType, DeletionProtectionType, DeliveryMediumType, DeviceRememberedStatusType, DomainStatusType, EmailSendingAccountType, EncryptionKeyType, EventFilterType, EventResponseType, EventSourceName, EventType, ExplicitAuthFlowsType, FeatureType, FeedbackValueType, IdentityProviderTypeType, InboundFederationLambdaVersionType, IssuerType, LimitClass, LogLevel, MessageActionType, OAuthFlowType, PasswordHashingAlgorithmType, PreTokenGenerationLambdaVersionType, PreventUserExistenceErrorTypes, RecoveryOptionNameType, ReplicaRoleType, ReplicaStatusType, RiskDecisionType, RiskLevelType, SecurityPolicyType, StatusType, TermsEnforcementType, TermsSourceType, TimeUnitsType, UserImportJobStatusType, UsernameAttributeType, UserPoolMfaType, UserPoolTierType, UserStatusType, UserVerificationType, VerifiedAttributeType, WebAuthnFactorConfigurationType } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>A recovery option for a user. The <code>AccountRecoverySettingType</code> data type is
|
|
5
5
|
* an array of this object. Each <code>RecoveryOptionType</code> has a priority property
|
|
@@ -4666,6 +4666,15 @@ export interface CreateUserImportJobRequest {
|
|
|
4666
4666
|
* @public
|
|
4667
4667
|
*/
|
|
4668
4668
|
CloudWatchLogsRoleArn: string | undefined;
|
|
4669
|
+
/**
|
|
4670
|
+
* <p>The password hashing algorithm used to generate the hashes in the CSV file for this
|
|
4671
|
+
* import job.</p>
|
|
4672
|
+
* <p>Valid values: <code>BCRYPT</code> | <code>SCRYPT</code> | <code>ARGON2ID</code> |
|
|
4673
|
+
* <code>PBKDF2_SHA256</code>
|
|
4674
|
+
* </p>
|
|
4675
|
+
* @public
|
|
4676
|
+
*/
|
|
4677
|
+
PasswordHashingAlgorithm?: PasswordHashingAlgorithmType | undefined;
|
|
4669
4678
|
}
|
|
4670
4679
|
/**
|
|
4671
4680
|
* <p>A user import job in a user pool. Describes the status of user import with a CSV file.
|
|
@@ -4781,6 +4790,15 @@ export interface UserImportJobType {
|
|
|
4781
4790
|
* @public
|
|
4782
4791
|
*/
|
|
4783
4792
|
CompletionMessage?: string | undefined;
|
|
4793
|
+
/**
|
|
4794
|
+
* <p>The password hashing algorithm used to generate the hashes in the CSV file for this
|
|
4795
|
+
* import job.</p>
|
|
4796
|
+
* <p>Valid values: <code>BCRYPT</code> | <code>SCRYPT</code> | <code>ARGON2ID</code> |
|
|
4797
|
+
* <code>PBKDF2_SHA256</code>
|
|
4798
|
+
* </p>
|
|
4799
|
+
* @public
|
|
4800
|
+
*/
|
|
4801
|
+
PasswordHashingAlgorithm?: PasswordHashingAlgorithmType | undefined;
|
|
4784
4802
|
}
|
|
4785
4803
|
/**
|
|
4786
4804
|
* <p>Represents the response from the server to the request to create the user import
|
|
@@ -5272,6 +5290,81 @@ export interface UserPoolPolicyType {
|
|
|
5272
5290
|
*/
|
|
5273
5291
|
SignInPolicy?: SignInPolicyType | undefined;
|
|
5274
5292
|
}
|
|
5293
|
+
/**
|
|
5294
|
+
* <p>The configuration that Amazon Cognito uses to send SMS messages through Amazon Web Services End User
|
|
5295
|
+
* Messaging SMS. Provide this structure in the <code>EumsSms</code> member of
|
|
5296
|
+
* <code>SmsConfigurationType</code> to use Amazon Web Services End User Messaging SMS instead of
|
|
5297
|
+
* Amazon SNS.</p>
|
|
5298
|
+
* @public
|
|
5299
|
+
*/
|
|
5300
|
+
export interface EumsSmsConfigurationType {
|
|
5301
|
+
/**
|
|
5302
|
+
* <p>The ARN of the IAM role that Amazon Cognito assumes to send SMS messages through Amazon Web Services
|
|
5303
|
+
* End User Messaging SMS. The role must grant permission to call the
|
|
5304
|
+
* <code>sms-voice:SendTextMessage</code> operation.</p>
|
|
5305
|
+
* @public
|
|
5306
|
+
*/
|
|
5307
|
+
CallerArn: string | undefined;
|
|
5308
|
+
/**
|
|
5309
|
+
* <p>The external ID that Amazon Cognito includes when it assumes the <code>CallerArn</code> role.
|
|
5310
|
+
* Use this value as a condition in the role trust policy to prevent the confused deputy
|
|
5311
|
+
* problem.</p>
|
|
5312
|
+
* @public
|
|
5313
|
+
*/
|
|
5314
|
+
ExternalId?: string | undefined;
|
|
5315
|
+
/**
|
|
5316
|
+
* <p>The origination identity that Amazon Web Services End User Messaging SMS uses to send messages to your users. This value can be one of the following:</p>
|
|
5317
|
+
* <ul>
|
|
5318
|
+
* <li>
|
|
5319
|
+
* <p>A phone number – A long code, toll-free number, or short code
|
|
5320
|
+
* that is assigned to your account.</p>
|
|
5321
|
+
* </li>
|
|
5322
|
+
* <li>
|
|
5323
|
+
* <p>A sender ID – An alphabetic name that identifies the message sender
|
|
5324
|
+
* in supported countries.</p>
|
|
5325
|
+
* </li>
|
|
5326
|
+
* <li>
|
|
5327
|
+
* <p>A phone pool – A group of phone numbers that Amazon Web Services End User
|
|
5328
|
+
* Messaging SMS selects from when it sends messages.</p>
|
|
5329
|
+
* </li>
|
|
5330
|
+
* </ul>
|
|
5331
|
+
* <p>You can provide an E.164 phone number or the ARN of the phone number, sender ID, or
|
|
5332
|
+
* phone pool. Amazon Web Services End User Messaging SMS evaluates IAM authorization with the value
|
|
5333
|
+
* that you provide. If the permissions policy of your <code>CallerArn</code> role scopes
|
|
5334
|
+
* the <code>sms-voice:SendTextMessage</code> resource to a specific ARN, provide that same
|
|
5335
|
+
* ARN. If the formats do not match, requests fail with an
|
|
5336
|
+
* <code>InvalidSmsRoleAccessPolicyException</code>.</p>
|
|
5337
|
+
* <p>Depending on the destination country, you must provide an origination identity. For
|
|
5338
|
+
* country-specific requirements, see <a href="https://docs.aws.amazon.com/sms-voice/latest/userguide/phone-numbers-sms-by-country.html">Supported
|
|
5339
|
+
* countries and regions for SMS messaging</a> in the Amazon Web Services End User Messaging SMS
|
|
5340
|
+
* User Guide.</p>
|
|
5341
|
+
* @public
|
|
5342
|
+
*/
|
|
5343
|
+
OriginationIdentity?: string | undefined;
|
|
5344
|
+
/**
|
|
5345
|
+
* <p>The name of the Amazon Web Services End User Messaging SMS configuration set that Amazon Cognito
|
|
5346
|
+
* applies to messages, for logging and event destinations. If you omit this member,
|
|
5347
|
+
* Amazon Cognito sends messages without applying a configuration set.</p>
|
|
5348
|
+
* @public
|
|
5349
|
+
*/
|
|
5350
|
+
ConfigurationSetName?: string | undefined;
|
|
5351
|
+
/**
|
|
5352
|
+
* <p>The principal entity ID required by India's Distributed Ledger Technology (DLT) regulations for SMS messages.</p>
|
|
5353
|
+
* @public
|
|
5354
|
+
*/
|
|
5355
|
+
InEntityId?: string | undefined;
|
|
5356
|
+
/**
|
|
5357
|
+
* <p>The registered template ID for the message template required by India's DLT regulations for SMS messages.</p>
|
|
5358
|
+
* @public
|
|
5359
|
+
*/
|
|
5360
|
+
InTemplateId?: string | undefined;
|
|
5361
|
+
/**
|
|
5362
|
+
* <p>The Amazon Web Services Region of the Amazon Web Services End User Messaging SMS resources that Amazon Cognito uses to send messages. Amazon Web Services End User Messaging SMS must be available in your user pool's Region.</p>
|
|
5363
|
+
* <p>If you omit this parameter, Amazon Cognito uses the same Region as your user pool. You can also set this parameter to your user pool's Region explicitly. Amazon Cognito rejects any other value with an <code>InvalidParameterException</code>.</p>
|
|
5364
|
+
* @public
|
|
5365
|
+
*/
|
|
5366
|
+
Region?: string | undefined;
|
|
5367
|
+
}
|
|
5275
5368
|
/**
|
|
5276
5369
|
* <p>User pool configuration for delivery of SMS messages with Amazon Simple Notification Service. To send SMS
|
|
5277
5370
|
* messages with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an
|
|
@@ -5285,7 +5378,7 @@ export interface SmsConfigurationType {
|
|
|
5285
5378
|
* messages are subject to a <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html">spending limit</a>. </p>
|
|
5286
5379
|
* @public
|
|
5287
5380
|
*/
|
|
5288
|
-
SnsCallerArn
|
|
5381
|
+
SnsCallerArn?: string | undefined;
|
|
5289
5382
|
/**
|
|
5290
5383
|
* <p>The external ID provides additional security for your IAM role. You can use an
|
|
5291
5384
|
* <code>ExternalId</code> with the IAM role that you use with Amazon SNS to send SMS
|
|
@@ -5312,6 +5405,14 @@ export interface SmsConfigurationType {
|
|
|
5312
5405
|
* @public
|
|
5313
5406
|
*/
|
|
5314
5407
|
SnsRegion?: string | undefined;
|
|
5408
|
+
/**
|
|
5409
|
+
* <p>The configuration for sending SMS messages through Amazon Web Services End User Messaging SMS, as
|
|
5410
|
+
* an alternative to Amazon SNS. In a user pool, provide either the Amazon SNS configuration
|
|
5411
|
+
* (<code>SnsCallerArn</code>) or this configuration, but not both. In Amazon Web Services Regions
|
|
5412
|
+
* where Amazon SNS is not available, this configuration is required.</p>
|
|
5413
|
+
* @public
|
|
5414
|
+
*/
|
|
5415
|
+
EumsSms?: EumsSmsConfigurationType | undefined;
|
|
5315
5416
|
}
|
|
5316
5417
|
/**
|
|
5317
5418
|
* <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
|
|
@@ -6784,23 +6885,31 @@ export interface CustomDomainConfigType {
|
|
|
6784
6885
|
CertificateArn: string | undefined;
|
|
6785
6886
|
/**
|
|
6786
6887
|
* <p>The security policy for the custom domain. Defines the minimum TLS version and cipher
|
|
6787
|
-
* suites that CloudFront
|
|
6888
|
+
* suites that Amazon CloudFront supports when communicating with clients. For specific guidance,
|
|
6889
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers between viewers and CloudFront</a>. Valid values are
|
|
6788
6890
|
* as follows:</p>
|
|
6789
6891
|
* <ul>
|
|
6790
6892
|
* <li>
|
|
6791
6893
|
* <p>
|
|
6792
|
-
* <code>
|
|
6793
|
-
*
|
|
6894
|
+
* <code>TLS_V1_3_2025</code> (strictest): A post-quantum-ready policy requiring TLS 1.3.
|
|
6895
|
+
* It provides the strongest security posture and is ideal for
|
|
6896
|
+
* workloads where all clients and browsers are updated to the latest
|
|
6897
|
+
* versions. <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers for TLSv1.3_2025</a>.</p>
|
|
6794
6898
|
* </li>
|
|
6795
6899
|
* <li>
|
|
6796
6900
|
* <p>
|
|
6797
|
-
* <code>TLS_V1_2_2021</code
|
|
6798
|
-
*
|
|
6901
|
+
* <code>TLS_V1_2_2021</code> (recommended): A post-quantum-ready policy which prefers TLS 1.3 but allows
|
|
6902
|
+
* fallback to TLS 1.2 to accommodate older clients. It
|
|
6903
|
+
* is the recommended minimum for typical commercial-grade consumer
|
|
6904
|
+
* applications. <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers for TLSv1.2_2021</a>.</p>
|
|
6799
6905
|
* </li>
|
|
6800
6906
|
* <li>
|
|
6801
6907
|
* <p>
|
|
6802
|
-
* <code>
|
|
6803
|
-
*
|
|
6908
|
+
* <code>TLS_V1</code> (strongly discouraged): Permits fallback to TLS 1.0. It offers the broadest
|
|
6909
|
+
* compatibility, including support for legacy clients that are more than a
|
|
6910
|
+
* decade old. This compatibility comes at the expense of allowing TLS versions
|
|
6911
|
+
* and cryptographic algorithms that are no longer considered safe for
|
|
6912
|
+
* commercial use. <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers for TLSv1</a>.</p>
|
|
6804
6913
|
* </li>
|
|
6805
6914
|
* </ul>
|
|
6806
6915
|
* @public
|
|
@@ -11020,19 +11129,3 @@ export interface StartWebAuthnRegistrationResponse {
|
|
|
11020
11129
|
*/
|
|
11021
11130
|
CredentialCreationOptions: __DocumentType | undefined;
|
|
11022
11131
|
}
|
|
11023
|
-
/**
|
|
11024
|
-
* <p>Represents the request to stop the user import job.</p>
|
|
11025
|
-
* @public
|
|
11026
|
-
*/
|
|
11027
|
-
export interface StopUserImportJobRequest {
|
|
11028
|
-
/**
|
|
11029
|
-
* <p>The ID of the user pool that you want to stop.</p>
|
|
11030
|
-
* @public
|
|
11031
|
-
*/
|
|
11032
|
-
UserPoolId: string | undefined;
|
|
11033
|
-
/**
|
|
11034
|
-
* <p>The ID of a running user import job.</p>
|
|
11035
|
-
* @public
|
|
11036
|
-
*/
|
|
11037
|
-
JobId: string | undefined;
|
|
11038
|
-
}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { DeletionProtectionType, DeviceRememberedStatusType, ExplicitAuthFlowsType, FeedbackValueType, OAuthFlowType, PreventUserExistenceErrorTypes, TermsEnforcementType, TermsSourceType, UpdateReplicaStatusType, UserPoolMfaType, UserPoolTierType, VerifiedAttributeType, VerifySoftwareTokenResponseType } from "./enums";
|
|
3
3
|
import type { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AssetType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, EmailConfigurationType, GroupType, IdentityProviderType, IssuerConfigurationType, KeyConfigurationType, LambdaConfigType, LimitDefinitionType, LimitType, ManagedLoginBrandingType, RefreshTokenRotationType, ResourceServerScopeType, ResourceServerType, RoutingType, SmsConfigurationType, TermsType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolPolicyType, UserPoolReplicaType, VerificationMessageTemplateType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Represents the request to stop the user import job.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface StopUserImportJobRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the user pool that you want to stop.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
UserPoolId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ID of a running user import job.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
JobId: string | undefined;
|
|
19
|
+
}
|
|
4
20
|
/**
|
|
5
21
|
* <p>Represents the response from the server to the request to stop the user import
|
|
6
22
|
* job.</p>
|
|
@@ -217,6 +217,7 @@ export declare var DomainDescriptionType$: StaticStructureSchema;
|
|
|
217
217
|
export declare var EmailConfigurationType$: StaticStructureSchema;
|
|
218
218
|
export declare var EmailMfaConfigType$: StaticStructureSchema;
|
|
219
219
|
export declare var EmailMfaSettingsType$: StaticStructureSchema;
|
|
220
|
+
export declare var EumsSmsConfigurationType$: StaticStructureSchema;
|
|
220
221
|
export declare var EventContextDataType$: StaticStructureSchema;
|
|
221
222
|
export declare var EventFeedbackType$: StaticStructureSchema;
|
|
222
223
|
export declare var EventRiskType$: StaticStructureSchema;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StopUserImportJobRequest } from "../models/
|
|
3
|
-
import { StopUserImportJobResponse } from "../models/models_1";
|
|
2
|
+
import { StopUserImportJobRequest, StopUserImportJobResponse } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface StopUserImportJobCommandInput extends StopUserImportJobRequest {}
|
|
6
5
|
export interface StopUserImportJobCommandOutput
|
|
@@ -200,6 +200,14 @@ export declare const TermsSourceType: {
|
|
|
200
200
|
readonly LINK: "LINK";
|
|
201
201
|
};
|
|
202
202
|
export type TermsSourceType = (typeof TermsSourceType)[keyof typeof TermsSourceType];
|
|
203
|
+
export declare const PasswordHashingAlgorithmType: {
|
|
204
|
+
readonly ARGON2ID: "ARGON2ID";
|
|
205
|
+
readonly BCRYPT: "BCRYPT";
|
|
206
|
+
readonly PBKDF2_SHA256: "PBKDF2_SHA256";
|
|
207
|
+
readonly SCRYPT: "SCRYPT";
|
|
208
|
+
};
|
|
209
|
+
export type PasswordHashingAlgorithmType =
|
|
210
|
+
(typeof PasswordHashingAlgorithmType)[keyof typeof PasswordHashingAlgorithmType];
|
|
203
211
|
export declare const UserImportJobStatusType: {
|
|
204
212
|
readonly Created: "Created";
|
|
205
213
|
readonly Expired: "Expired";
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
LogLevel,
|
|
38
38
|
MessageActionType,
|
|
39
39
|
OAuthFlowType,
|
|
40
|
+
PasswordHashingAlgorithmType,
|
|
40
41
|
PreTokenGenerationLambdaVersionType,
|
|
41
42
|
PreventUserExistenceErrorTypes,
|
|
42
43
|
RecoveryOptionNameType,
|
|
@@ -625,6 +626,7 @@ export interface CreateUserImportJobRequest {
|
|
|
625
626
|
JobName: string | undefined;
|
|
626
627
|
UserPoolId: string | undefined;
|
|
627
628
|
CloudWatchLogsRoleArn: string | undefined;
|
|
629
|
+
PasswordHashingAlgorithm?: PasswordHashingAlgorithmType | undefined;
|
|
628
630
|
}
|
|
629
631
|
export interface UserImportJobType {
|
|
630
632
|
JobName?: string | undefined;
|
|
@@ -640,6 +642,7 @@ export interface UserImportJobType {
|
|
|
640
642
|
SkippedUsers?: number | undefined;
|
|
641
643
|
FailedUsers?: number | undefined;
|
|
642
644
|
CompletionMessage?: string | undefined;
|
|
645
|
+
PasswordHashingAlgorithm?: PasswordHashingAlgorithmType | undefined;
|
|
643
646
|
}
|
|
644
647
|
export interface CreateUserImportJobResponse {
|
|
645
648
|
UserImportJob?: UserImportJobType | undefined;
|
|
@@ -711,10 +714,20 @@ export interface UserPoolPolicyType {
|
|
|
711
714
|
PasswordPolicy?: PasswordPolicyType | undefined;
|
|
712
715
|
SignInPolicy?: SignInPolicyType | undefined;
|
|
713
716
|
}
|
|
717
|
+
export interface EumsSmsConfigurationType {
|
|
718
|
+
CallerArn: string | undefined;
|
|
719
|
+
ExternalId?: string | undefined;
|
|
720
|
+
OriginationIdentity?: string | undefined;
|
|
721
|
+
ConfigurationSetName?: string | undefined;
|
|
722
|
+
InEntityId?: string | undefined;
|
|
723
|
+
InTemplateId?: string | undefined;
|
|
724
|
+
Region?: string | undefined;
|
|
725
|
+
}
|
|
714
726
|
export interface SmsConfigurationType {
|
|
715
|
-
SnsCallerArn
|
|
727
|
+
SnsCallerArn?: string | undefined;
|
|
716
728
|
ExternalId?: string | undefined;
|
|
717
729
|
SnsRegion?: string | undefined;
|
|
730
|
+
EumsSms?: EumsSmsConfigurationType | undefined;
|
|
718
731
|
}
|
|
719
732
|
export interface UserAttributeUpdateSettingsType {
|
|
720
733
|
AttributesRequireVerificationBeforeUpdate?: VerifiedAttributeType[] | undefined;
|
|
@@ -1534,7 +1547,3 @@ export interface StartWebAuthnRegistrationRequest {
|
|
|
1534
1547
|
export interface StartWebAuthnRegistrationResponse {
|
|
1535
1548
|
CredentialCreationOptions: __DocumentType | undefined;
|
|
1536
1549
|
}
|
|
1537
|
-
export interface StopUserImportJobRequest {
|
|
1538
|
-
UserPoolId: string | undefined;
|
|
1539
|
-
JobId: string | undefined;
|
|
1540
|
-
}
|
|
@@ -47,6 +47,10 @@ import {
|
|
|
47
47
|
UserPoolReplicaType,
|
|
48
48
|
VerificationMessageTemplateType,
|
|
49
49
|
} from "./models_0";
|
|
50
|
+
export interface StopUserImportJobRequest {
|
|
51
|
+
UserPoolId: string | undefined;
|
|
52
|
+
JobId: string | undefined;
|
|
53
|
+
}
|
|
50
54
|
export interface StopUserImportJobResponse {
|
|
51
55
|
UserImportJob?: UserImportJobType | undefined;
|
|
52
56
|
}
|
|
@@ -212,6 +212,7 @@ export declare var DomainDescriptionType$: StaticStructureSchema;
|
|
|
212
212
|
export declare var EmailConfigurationType$: StaticStructureSchema;
|
|
213
213
|
export declare var EmailMfaConfigType$: StaticStructureSchema;
|
|
214
214
|
export declare var EmailMfaSettingsType$: StaticStructureSchema;
|
|
215
|
+
export declare var EumsSmsConfigurationType$: StaticStructureSchema;
|
|
215
216
|
export declare var EventContextDataType$: StaticStructureSchema;
|
|
216
217
|
export declare var EventFeedbackType$: StaticStructureSchema;
|
|
217
218
|
export declare var EventRiskType$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1090.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@aws-sdk/core": "^3.975.3",
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
51
|
"@aws-sdk/types": "^3.974.2",
|
|
52
52
|
"@smithy/core": "^3.29.4",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.6.6",
|