@aws-sdk/client-cognito-identity-provider 3.1056.0 → 3.1058.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/README.md +28 -0
- package/dist-cjs/index.js +83 -0
- package/dist-cjs/models/errors.js +15 -2
- package/dist-cjs/schemas/schemas_0.js +158 -36
- package/dist-es/CognitoIdentityProvider.js +8 -0
- package/dist-es/commands/CreateUserPoolReplicaCommand.js +16 -0
- package/dist-es/commands/DeleteUserPoolReplicaCommand.js +16 -0
- package/dist-es/commands/ListUserPoolReplicasCommand.js +16 -0
- package/dist-es/commands/UpdateUserPoolReplicaCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/schemas/schemas_0.js +148 -27
- package/dist-types/CognitoIdentityProvider.d.ts +28 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +6 -2
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +3 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +3 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +3 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +3 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminEnableUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +3 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +3 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +3 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +3 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +3 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +3 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +3 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +3 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +3 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +3 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +3 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +3 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +3 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +3 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +3 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +3 -0
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +3 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +3 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +3 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +3 -0
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +3 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +3 -0
- package/dist-types/commands/CreateTermsCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +14 -0
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +15 -0
- package/dist-types/commands/CreateUserPoolReplicaCommand.d.ts +160 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTermsCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteUserPoolReplicaCommand.d.ts +145 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +3 -0
- package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +3 -0
- package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTermsCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +10 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +9 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +3 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +3 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +3 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +3 -0
- package/dist-types/commands/GetGroupCommand.d.ts +3 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +3 -0
- package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +3 -0
- package/dist-types/commands/GetUICustomizationCommand.d.ts +3 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +3 -0
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +3 -0
- package/dist-types/commands/GetUserCommand.d.ts +3 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +3 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +3 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +3 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +3 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTermsCommand.d.ts +3 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +3 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +3 -0
- package/dist-types/commands/ListUserPoolReplicasCommand.d.ts +156 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +3 -0
- package/dist-types/commands/ListUsersCommand.d.ts +3 -0
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +3 -0
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +3 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +3 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +3 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +3 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +8 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +3 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +3 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -0
- package/dist-types/commands/SignUpCommand.d.ts +3 -0
- package/dist-types/commands/StartUserImportJobCommand.d.ts +3 -0
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -1
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +4 -1
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +4 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +4 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +4 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -0
- package/dist-types/commands/UpdateTermsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +3 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +15 -1
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +15 -0
- package/dist-types/commands/UpdateUserPoolReplicaCommand.d.ts +148 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +3 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +62 -0
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +281 -377
- package/dist-types/models/models_1.d.ts +432 -5
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +68 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateUserPoolReplicaCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolReplicaCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListUserPoolReplicasCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPoolReplicaCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +31 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -45
- package/dist-types/ts3.4/models/models_1.d.ts +69 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -512,6 +512,13 @@ CreateUserPoolDomain
|
|
|
512
512
|
</details>
|
|
513
513
|
<details>
|
|
514
514
|
<summary>
|
|
515
|
+
CreateUserPoolReplica
|
|
516
|
+
</summary>
|
|
517
|
+
|
|
518
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/CreateUserPoolReplicaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateUserPoolReplicaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateUserPoolReplicaCommandOutput/)
|
|
519
|
+
</details>
|
|
520
|
+
<details>
|
|
521
|
+
<summary>
|
|
515
522
|
DeleteGroup
|
|
516
523
|
</summary>
|
|
517
524
|
|
|
@@ -589,6 +596,13 @@ DeleteUserPoolDomain
|
|
|
589
596
|
</details>
|
|
590
597
|
<details>
|
|
591
598
|
<summary>
|
|
599
|
+
DeleteUserPoolReplica
|
|
600
|
+
</summary>
|
|
601
|
+
|
|
602
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DeleteUserPoolReplicaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteUserPoolReplicaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteUserPoolReplicaCommandOutput/)
|
|
603
|
+
</details>
|
|
604
|
+
<details>
|
|
605
|
+
<summary>
|
|
592
606
|
DeleteWebAuthnCredential
|
|
593
607
|
</summary>
|
|
594
608
|
|
|
@@ -841,6 +855,13 @@ ListUserPoolClientSecrets
|
|
|
841
855
|
</details>
|
|
842
856
|
<details>
|
|
843
857
|
<summary>
|
|
858
|
+
ListUserPoolReplicas
|
|
859
|
+
</summary>
|
|
860
|
+
|
|
861
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/ListUserPoolReplicasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListUserPoolReplicasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListUserPoolReplicasCommandOutput/)
|
|
862
|
+
</details>
|
|
863
|
+
<details>
|
|
864
|
+
<summary>
|
|
844
865
|
ListUserPools
|
|
845
866
|
</summary>
|
|
846
867
|
|
|
@@ -1051,6 +1072,13 @@ UpdateUserPoolDomain
|
|
|
1051
1072
|
</details>
|
|
1052
1073
|
<details>
|
|
1053
1074
|
<summary>
|
|
1075
|
+
UpdateUserPoolReplica
|
|
1076
|
+
</summary>
|
|
1077
|
+
|
|
1078
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/UpdateUserPoolReplicaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateUserPoolReplicaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateUserPoolReplicaCommandOutput/)
|
|
1079
|
+
</details>
|
|
1080
|
+
<details>
|
|
1081
|
+
<summary>
|
|
1054
1082
|
VerifySoftwareToken
|
|
1055
1083
|
</summary>
|
|
1056
1084
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -624,6 +624,18 @@ class CreateUserPoolDomainCommand extends client.Command
|
|
|
624
624
|
.build() {
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
+
class CreateUserPoolReplicaCommand extends client.Command
|
|
628
|
+
.classBuilder()
|
|
629
|
+
.ep(commonParams)
|
|
630
|
+
.m(function (Command, cs, config, o) {
|
|
631
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
|
+
})
|
|
633
|
+
.s("AWSCognitoIdentityProviderService", "CreateUserPoolReplica", {})
|
|
634
|
+
.n("CognitoIdentityProviderClient", "CreateUserPoolReplicaCommand")
|
|
635
|
+
.sc(schemas_0.CreateUserPoolReplica$)
|
|
636
|
+
.build() {
|
|
637
|
+
}
|
|
638
|
+
|
|
627
639
|
class DeleteGroupCommand extends client.Command
|
|
628
640
|
.classBuilder()
|
|
629
641
|
.ep(commonParams)
|
|
@@ -756,6 +768,18 @@ class DeleteUserPoolDomainCommand extends client.Command
|
|
|
756
768
|
.build() {
|
|
757
769
|
}
|
|
758
770
|
|
|
771
|
+
class DeleteUserPoolReplicaCommand extends client.Command
|
|
772
|
+
.classBuilder()
|
|
773
|
+
.ep(commonParams)
|
|
774
|
+
.m(function (Command, cs, config, o) {
|
|
775
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
776
|
+
})
|
|
777
|
+
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolReplica", {})
|
|
778
|
+
.n("CognitoIdentityProviderClient", "DeleteUserPoolReplicaCommand")
|
|
779
|
+
.sc(schemas_0.DeleteUserPoolReplica$)
|
|
780
|
+
.build() {
|
|
781
|
+
}
|
|
782
|
+
|
|
759
783
|
class DeleteWebAuthnCredentialCommand extends client.Command
|
|
760
784
|
.classBuilder()
|
|
761
785
|
.ep(commonParams)
|
|
@@ -1188,6 +1212,18 @@ class ListUserPoolClientSecretsCommand extends client.Command
|
|
|
1188
1212
|
.build() {
|
|
1189
1213
|
}
|
|
1190
1214
|
|
|
1215
|
+
class ListUserPoolReplicasCommand extends client.Command
|
|
1216
|
+
.classBuilder()
|
|
1217
|
+
.ep(commonParams)
|
|
1218
|
+
.m(function (Command, cs, config, o) {
|
|
1219
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1220
|
+
})
|
|
1221
|
+
.s("AWSCognitoIdentityProviderService", "ListUserPoolReplicas", {})
|
|
1222
|
+
.n("CognitoIdentityProviderClient", "ListUserPoolReplicasCommand")
|
|
1223
|
+
.sc(schemas_0.ListUserPoolReplicas$)
|
|
1224
|
+
.build() {
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1191
1227
|
class ListUserPoolsCommand extends client.Command
|
|
1192
1228
|
.classBuilder()
|
|
1193
1229
|
.ep(commonParams)
|
|
@@ -1548,6 +1584,18 @@ class UpdateUserPoolDomainCommand extends client.Command
|
|
|
1548
1584
|
.build() {
|
|
1549
1585
|
}
|
|
1550
1586
|
|
|
1587
|
+
class UpdateUserPoolReplicaCommand extends client.Command
|
|
1588
|
+
.classBuilder()
|
|
1589
|
+
.ep(commonParams)
|
|
1590
|
+
.m(function (Command, cs, config, o) {
|
|
1591
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1592
|
+
})
|
|
1593
|
+
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolReplica", {})
|
|
1594
|
+
.n("CognitoIdentityProviderClient", "UpdateUserPoolReplicaCommand")
|
|
1595
|
+
.sc(schemas_0.UpdateUserPoolReplica$)
|
|
1596
|
+
.build() {
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1551
1599
|
class VerifySoftwareTokenCommand extends client.Command
|
|
1552
1600
|
.classBuilder()
|
|
1553
1601
|
.ep(commonParams)
|
|
@@ -1634,6 +1682,7 @@ const commands = {
|
|
|
1634
1682
|
CreateUserPoolCommand,
|
|
1635
1683
|
CreateUserPoolClientCommand,
|
|
1636
1684
|
CreateUserPoolDomainCommand,
|
|
1685
|
+
CreateUserPoolReplicaCommand,
|
|
1637
1686
|
DeleteGroupCommand,
|
|
1638
1687
|
DeleteIdentityProviderCommand,
|
|
1639
1688
|
DeleteManagedLoginBrandingCommand,
|
|
@@ -1645,6 +1694,7 @@ const commands = {
|
|
|
1645
1694
|
DeleteUserPoolClientCommand,
|
|
1646
1695
|
DeleteUserPoolClientSecretCommand,
|
|
1647
1696
|
DeleteUserPoolDomainCommand,
|
|
1697
|
+
DeleteUserPoolReplicaCommand,
|
|
1648
1698
|
DeleteWebAuthnCredentialCommand,
|
|
1649
1699
|
DescribeIdentityProviderCommand,
|
|
1650
1700
|
DescribeManagedLoginBrandingCommand,
|
|
@@ -1681,6 +1731,7 @@ const commands = {
|
|
|
1681
1731
|
ListUserImportJobsCommand,
|
|
1682
1732
|
ListUserPoolClientsCommand,
|
|
1683
1733
|
ListUserPoolClientSecretsCommand,
|
|
1734
|
+
ListUserPoolReplicasCommand,
|
|
1684
1735
|
ListUserPoolsCommand,
|
|
1685
1736
|
ListUsersCommand,
|
|
1686
1737
|
ListUsersInGroupCommand,
|
|
@@ -1711,6 +1762,7 @@ const commands = {
|
|
|
1711
1762
|
UpdateUserPoolCommand,
|
|
1712
1763
|
UpdateUserPoolClientCommand,
|
|
1713
1764
|
UpdateUserPoolDomainCommand,
|
|
1765
|
+
UpdateUserPoolReplicaCommand,
|
|
1714
1766
|
VerifySoftwareTokenCommand,
|
|
1715
1767
|
VerifyUserAttributeCommand,
|
|
1716
1768
|
};
|
|
@@ -1915,6 +1967,14 @@ const EmailSendingAccountType = {
|
|
|
1915
1967
|
COGNITO_DEFAULT: "COGNITO_DEFAULT",
|
|
1916
1968
|
DEVELOPER: "DEVELOPER",
|
|
1917
1969
|
};
|
|
1970
|
+
const IssuerType = {
|
|
1971
|
+
ORIGINAL: "ORIGINAL",
|
|
1972
|
+
UPDATED: "UPDATED",
|
|
1973
|
+
};
|
|
1974
|
+
const EncryptionKeyType = {
|
|
1975
|
+
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
|
1976
|
+
CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
|
|
1977
|
+
};
|
|
1918
1978
|
const CustomEmailSenderLambdaVersionType = {
|
|
1919
1979
|
V1_0: "V1_0",
|
|
1920
1980
|
};
|
|
@@ -1981,6 +2041,16 @@ const TimeUnitsType = {
|
|
|
1981
2041
|
MINUTES: "minutes",
|
|
1982
2042
|
SECONDS: "seconds",
|
|
1983
2043
|
};
|
|
2044
|
+
const ReplicaRoleType = {
|
|
2045
|
+
PRIMARY: "PRIMARY",
|
|
2046
|
+
SECONDARY: "SECONDARY",
|
|
2047
|
+
};
|
|
2048
|
+
const ReplicaStatusType = {
|
|
2049
|
+
ACTIVE: "ACTIVE",
|
|
2050
|
+
CREATING: "CREATING",
|
|
2051
|
+
DELETING: "DELETING",
|
|
2052
|
+
INACTIVE: "INACTIVE",
|
|
2053
|
+
};
|
|
1984
2054
|
const CompromisedCredentialsEventActionType = {
|
|
1985
2055
|
BLOCK: "BLOCK",
|
|
1986
2056
|
NO_ACTION: "NO_ACTION",
|
|
@@ -2013,6 +2083,10 @@ const UserVerificationType = {
|
|
|
2013
2083
|
PREFERRED: "preferred",
|
|
2014
2084
|
REQUIRED: "required",
|
|
2015
2085
|
};
|
|
2086
|
+
const UpdateReplicaStatusType = {
|
|
2087
|
+
ACTIVE: "ACTIVE",
|
|
2088
|
+
INACTIVE: "INACTIVE",
|
|
2089
|
+
};
|
|
2016
2090
|
const VerifySoftwareTokenResponseType = {
|
|
2017
2091
|
ERROR: "ERROR",
|
|
2018
2092
|
SUCCESS: "SUCCESS",
|
|
@@ -2080,6 +2154,7 @@ exports.CreateUserImportJobCommand = CreateUserImportJobCommand;
|
|
|
2080
2154
|
exports.CreateUserPoolClientCommand = CreateUserPoolClientCommand;
|
|
2081
2155
|
exports.CreateUserPoolCommand = CreateUserPoolCommand;
|
|
2082
2156
|
exports.CreateUserPoolDomainCommand = CreateUserPoolDomainCommand;
|
|
2157
|
+
exports.CreateUserPoolReplicaCommand = CreateUserPoolReplicaCommand;
|
|
2083
2158
|
exports.CustomEmailSenderLambdaVersionType = CustomEmailSenderLambdaVersionType;
|
|
2084
2159
|
exports.CustomSMSSenderLambdaVersionType = CustomSMSSenderLambdaVersionType;
|
|
2085
2160
|
exports.DefaultEmailOptionType = DefaultEmailOptionType;
|
|
@@ -2094,6 +2169,7 @@ exports.DeleteUserPoolClientCommand = DeleteUserPoolClientCommand;
|
|
|
2094
2169
|
exports.DeleteUserPoolClientSecretCommand = DeleteUserPoolClientSecretCommand;
|
|
2095
2170
|
exports.DeleteUserPoolCommand = DeleteUserPoolCommand;
|
|
2096
2171
|
exports.DeleteUserPoolDomainCommand = DeleteUserPoolDomainCommand;
|
|
2172
|
+
exports.DeleteUserPoolReplicaCommand = DeleteUserPoolReplicaCommand;
|
|
2097
2173
|
exports.DeleteWebAuthnCredentialCommand = DeleteWebAuthnCredentialCommand;
|
|
2098
2174
|
exports.DeletionProtectionType = DeletionProtectionType;
|
|
2099
2175
|
exports.DeliveryMediumType = DeliveryMediumType;
|
|
@@ -2110,6 +2186,7 @@ exports.DescribeUserPoolDomainCommand = DescribeUserPoolDomainCommand;
|
|
|
2110
2186
|
exports.DeviceRememberedStatusType = DeviceRememberedStatusType;
|
|
2111
2187
|
exports.DomainStatusType = DomainStatusType;
|
|
2112
2188
|
exports.EmailSendingAccountType = EmailSendingAccountType;
|
|
2189
|
+
exports.EncryptionKeyType = EncryptionKeyType;
|
|
2113
2190
|
exports.EventFilterType = EventFilterType;
|
|
2114
2191
|
exports.EventResponseType = EventResponseType;
|
|
2115
2192
|
exports.EventSourceName = EventSourceName;
|
|
@@ -2135,6 +2212,7 @@ exports.GlobalSignOutCommand = GlobalSignOutCommand;
|
|
|
2135
2212
|
exports.IdentityProviderTypeType = IdentityProviderTypeType;
|
|
2136
2213
|
exports.InboundFederationLambdaVersionType = InboundFederationLambdaVersionType;
|
|
2137
2214
|
exports.InitiateAuthCommand = InitiateAuthCommand;
|
|
2215
|
+
exports.IssuerType = IssuerType;
|
|
2138
2216
|
exports.ListDevicesCommand = ListDevicesCommand;
|
|
2139
2217
|
exports.ListGroupsCommand = ListGroupsCommand;
|
|
2140
2218
|
exports.ListIdentityProvidersCommand = ListIdentityProvidersCommand;
|
|
@@ -2144,6 +2222,7 @@ exports.ListTermsCommand = ListTermsCommand;
|
|
|
2144
2222
|
exports.ListUserImportJobsCommand = ListUserImportJobsCommand;
|
|
2145
2223
|
exports.ListUserPoolClientSecretsCommand = ListUserPoolClientSecretsCommand;
|
|
2146
2224
|
exports.ListUserPoolClientsCommand = ListUserPoolClientsCommand;
|
|
2225
|
+
exports.ListUserPoolReplicasCommand = ListUserPoolReplicasCommand;
|
|
2147
2226
|
exports.ListUserPoolsCommand = ListUserPoolsCommand;
|
|
2148
2227
|
exports.ListUsersCommand = ListUsersCommand;
|
|
2149
2228
|
exports.ListUsersInGroupCommand = ListUsersInGroupCommand;
|
|
@@ -2154,6 +2233,8 @@ exports.OAuthFlowType = OAuthFlowType;
|
|
|
2154
2233
|
exports.PreTokenGenerationLambdaVersionType = PreTokenGenerationLambdaVersionType;
|
|
2155
2234
|
exports.PreventUserExistenceErrorTypes = PreventUserExistenceErrorTypes;
|
|
2156
2235
|
exports.RecoveryOptionNameType = RecoveryOptionNameType;
|
|
2236
|
+
exports.ReplicaRoleType = ReplicaRoleType;
|
|
2237
|
+
exports.ReplicaStatusType = ReplicaStatusType;
|
|
2157
2238
|
exports.ResendConfirmationCodeCommand = ResendConfirmationCodeCommand;
|
|
2158
2239
|
exports.RespondToAuthChallengeCommand = RespondToAuthChallengeCommand;
|
|
2159
2240
|
exports.RevokeTokenCommand = RevokeTokenCommand;
|
|
@@ -2180,12 +2261,14 @@ exports.UpdateDeviceStatusCommand = UpdateDeviceStatusCommand;
|
|
|
2180
2261
|
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
2181
2262
|
exports.UpdateIdentityProviderCommand = UpdateIdentityProviderCommand;
|
|
2182
2263
|
exports.UpdateManagedLoginBrandingCommand = UpdateManagedLoginBrandingCommand;
|
|
2264
|
+
exports.UpdateReplicaStatusType = UpdateReplicaStatusType;
|
|
2183
2265
|
exports.UpdateResourceServerCommand = UpdateResourceServerCommand;
|
|
2184
2266
|
exports.UpdateTermsCommand = UpdateTermsCommand;
|
|
2185
2267
|
exports.UpdateUserAttributesCommand = UpdateUserAttributesCommand;
|
|
2186
2268
|
exports.UpdateUserPoolClientCommand = UpdateUserPoolClientCommand;
|
|
2187
2269
|
exports.UpdateUserPoolCommand = UpdateUserPoolCommand;
|
|
2188
2270
|
exports.UpdateUserPoolDomainCommand = UpdateUserPoolDomainCommand;
|
|
2271
|
+
exports.UpdateUserPoolReplicaCommand = UpdateUserPoolReplicaCommand;
|
|
2189
2272
|
exports.UserImportJobStatusType = UserImportJobStatusType;
|
|
2190
2273
|
exports.UserPoolMfaType = UserPoolMfaType;
|
|
2191
2274
|
exports.UserPoolTierType = UserPoolTierType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.EnableSoftwareTokenMFAException = exports.WebAuthnConfigurationMissingException = exports.UnsupportedTokenTypeException = exports.UnauthorizedException = exports.RefreshTokenReuseException = exports.UnsupportedIdentityProviderException = exports.ScopeDoesNotExistException = void 0;
|
|
3
|
+
exports.UserPoolTaggingException = exports.TierChangeNotAllowedException = exports.FeatureUnavailableInTierException = exports.TermsExistsException = exports.ManagedLoginBrandingExistsException = exports.DuplicateProviderException = exports.GroupExistsException = exports.DeviceKeyExistsException = exports.WebAuthnRelyingPartyMismatchException = exports.WebAuthnOriginNotAllowedException = exports.WebAuthnNotEnabledException = exports.WebAuthnCredentialNotSupportedException = exports.WebAuthnClientMismatchException = exports.WebAuthnChallengeNotFoundException = exports.ForbiddenException = exports.ConcurrentModificationException = exports.SoftwareTokenMFANotFoundException = exports.PasswordHistoryPolicyViolationException = exports.ExpiredCodeException = exports.CodeMismatchException = exports.UserPoolAddOnNotEnabledException = exports.UserNotConfirmedException = exports.UnsupportedOperationException = exports.PasswordResetRequiredException = exports.MFAMethodNotFoundException = exports.InvalidEmailRoleAccessPolicyException = exports.InvalidUserPoolConfigurationException = exports.AliasExistsException = exports.UsernameExistsException = exports.UnsupportedUserStateException = exports.PreconditionNotMetException = exports.InvalidSmsRoleTrustRelationshipException = exports.InvalidSmsRoleAccessPolicyException = exports.InvalidPasswordException = exports.CodeDeliveryFailureException = exports.UserLambdaValidationException = exports.UnexpectedLambdaException = exports.TooManyFailedAttemptsException = exports.InvalidLambdaResponseException = exports.UserNotFoundException = exports.LimitExceededException = exports.InternalServerException = exports.UserImportInProgressException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.OperationNotEnabledException = exports.NotAuthorizedException = exports.InvalidParameterException = exports.InternalErrorException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.EnableSoftwareTokenMFAException = exports.WebAuthnConfigurationMissingException = exports.UnsupportedTokenTypeException = exports.UnauthorizedException = exports.RefreshTokenReuseException = exports.UnsupportedIdentityProviderException = exports.ScopeDoesNotExistException = exports.InvalidOAuthFlowException = void 0;
|
|
5
5
|
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
6
6
|
class AccessDeniedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
7
7
|
name = "AccessDeniedException";
|
|
@@ -57,6 +57,19 @@ class NotAuthorizedException extends CognitoIdentityProviderServiceException_1.C
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
exports.NotAuthorizedException = NotAuthorizedException;
|
|
60
|
+
class OperationNotEnabledException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
61
|
+
name = "OperationNotEnabledException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "OperationNotEnabledException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, OperationNotEnabledException.prototype);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.OperationNotEnabledException = OperationNotEnabledException;
|
|
60
73
|
class ResourceNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
61
74
|
name = "ResourceNotFoundException";
|
|
62
75
|
$fault = "client";
|