@aws-sdk/client-cognito-identity-provider 3.300.0 → 3.301.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-types/commands/AddCustomAttributesCommand.d.ts +5 -5
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +5 -5
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -2
- package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +7 -7
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -2
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -1
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +7 -7
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +3 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +1 -1
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +4 -4
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -1
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -2
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +4 -4
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +4 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +4 -4
- package/dist-types/commands/CreateResourceServerCommand.d.ts +3 -3
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +10 -10
- package/dist-types/commands/CreateUserPoolCommand.d.ts +27 -27
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -2
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -1
- package/dist-types/commands/ForgetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +4 -4
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceCommand.d.ts +1 -1
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +5 -5
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +4 -4
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -5
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +12 -12
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +3 -3
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +4 -4
- package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/SignUpCommand.d.ts +6 -6
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +4 -4
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +4 -4
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +10 -10
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +20 -20
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -2
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +1 -1
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -26,7 +26,7 @@ export interface ListUserPoolsCommandOutput extends ListUserPoolsResponse, __Met
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, ListUserPoolsCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, ListUserPoolsCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListUserPoolsRequest
|
|
30
30
|
* NextToken: "STRING_VALUE",
|
|
31
31
|
* MaxResults: Number("int"), // required
|
|
32
32
|
* };
|
|
@@ -26,9 +26,9 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, ListUsersCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, ListUsersCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListUsersRequest
|
|
30
30
|
* UserPoolId: "STRING_VALUE", // required
|
|
31
|
-
* AttributesToGet: [
|
|
31
|
+
* AttributesToGet: [ // SearchedAttributeNamesListType
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* Limit: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface ListUsersInGroupCommandOutput extends ListUsersInGroupResponse,
|
|
|
27
27
|
* import { CognitoIdentityProviderClient, ListUsersInGroupCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
28
28
|
* // const { CognitoIdentityProviderClient, ListUsersInGroupCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
29
29
|
* const client = new CognitoIdentityProviderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListUsersInGroupRequest
|
|
31
31
|
* UserPoolId: "STRING_VALUE", // required
|
|
32
32
|
* GroupName: "STRING_VALUE", // required
|
|
33
33
|
* Limit: Number("int"),
|
|
@@ -45,18 +45,18 @@ export interface ResendConfirmationCodeCommandOutput extends ResendConfirmationC
|
|
|
45
45
|
* import { CognitoIdentityProviderClient, ResendConfirmationCodeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
46
46
|
* // const { CognitoIdentityProviderClient, ResendConfirmationCodeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
47
47
|
* const client = new CognitoIdentityProviderClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // ResendConfirmationCodeRequest
|
|
49
49
|
* ClientId: "STRING_VALUE", // required
|
|
50
50
|
* SecretHash: "STRING_VALUE",
|
|
51
|
-
* UserContextData: {
|
|
51
|
+
* UserContextData: { // UserContextDataType
|
|
52
52
|
* IpAddress: "STRING_VALUE",
|
|
53
53
|
* EncodedData: "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
55
|
* Username: "STRING_VALUE", // required
|
|
56
|
-
* AnalyticsMetadata: {
|
|
56
|
+
* AnalyticsMetadata: { // AnalyticsMetadataType
|
|
57
57
|
* AnalyticsEndpointId: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* ClientMetadata: {
|
|
59
|
+
* ClientMetadata: { // ClientMetadataType
|
|
60
60
|
* "<keys>": "STRING_VALUE",
|
|
61
61
|
* },
|
|
62
62
|
* };
|
|
@@ -44,21 +44,21 @@ export interface RespondToAuthChallengeCommandOutput extends RespondToAuthChalle
|
|
|
44
44
|
* import { CognitoIdentityProviderClient, RespondToAuthChallengeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
45
45
|
* // const { CognitoIdentityProviderClient, RespondToAuthChallengeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
46
46
|
* const client = new CognitoIdentityProviderClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // RespondToAuthChallengeRequest
|
|
48
48
|
* ClientId: "STRING_VALUE", // required
|
|
49
49
|
* ChallengeName: "SMS_MFA" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED", // required
|
|
50
50
|
* Session: "STRING_VALUE",
|
|
51
|
-
* ChallengeResponses: {
|
|
51
|
+
* ChallengeResponses: { // ChallengeResponsesType
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
|
-
* AnalyticsMetadata: {
|
|
54
|
+
* AnalyticsMetadata: { // AnalyticsMetadataType
|
|
55
55
|
* AnalyticsEndpointId: "STRING_VALUE",
|
|
56
56
|
* },
|
|
57
|
-
* UserContextData: {
|
|
57
|
+
* UserContextData: { // UserContextDataType
|
|
58
58
|
* IpAddress: "STRING_VALUE",
|
|
59
59
|
* EncodedData: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
-
* ClientMetadata: {
|
|
61
|
+
* ClientMetadata: { // ClientMetadataType
|
|
62
62
|
* "<keys>": "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* };
|
|
@@ -28,7 +28,7 @@ export interface RevokeTokenCommandOutput extends RevokeTokenResponse, __Metadat
|
|
|
28
28
|
* import { CognitoIdentityProviderClient, RevokeTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
29
29
|
* // const { CognitoIdentityProviderClient, RevokeTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
30
30
|
* const client = new CognitoIdentityProviderClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // RevokeTokenRequest
|
|
32
32
|
* Token: "STRING_VALUE", // required
|
|
33
33
|
* ClientId: "STRING_VALUE", // required
|
|
34
34
|
* ClientSecret: "STRING_VALUE",
|
|
@@ -30,23 +30,23 @@ export interface SetRiskConfigurationCommandOutput extends SetRiskConfigurationR
|
|
|
30
30
|
* import { CognitoIdentityProviderClient, SetRiskConfigurationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
31
31
|
* // const { CognitoIdentityProviderClient, SetRiskConfigurationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
32
32
|
* const client = new CognitoIdentityProviderClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // SetRiskConfigurationRequest
|
|
34
34
|
* UserPoolId: "STRING_VALUE", // required
|
|
35
35
|
* ClientId: "STRING_VALUE",
|
|
36
|
-
* CompromisedCredentialsRiskConfiguration: {
|
|
37
|
-
* EventFilter: [
|
|
36
|
+
* CompromisedCredentialsRiskConfiguration: { // CompromisedCredentialsRiskConfigurationType
|
|
37
|
+
* EventFilter: [ // EventFiltersType
|
|
38
38
|
* "SIGN_IN" || "PASSWORD_CHANGE" || "SIGN_UP",
|
|
39
39
|
* ],
|
|
40
|
-
* Actions: {
|
|
40
|
+
* Actions: { // CompromisedCredentialsActionsType
|
|
41
41
|
* EventAction: "BLOCK" || "NO_ACTION", // required
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
44
|
-
* AccountTakeoverRiskConfiguration: {
|
|
45
|
-
* NotifyConfiguration: {
|
|
44
|
+
* AccountTakeoverRiskConfiguration: { // AccountTakeoverRiskConfigurationType
|
|
45
|
+
* NotifyConfiguration: { // NotifyConfigurationType
|
|
46
46
|
* From: "STRING_VALUE",
|
|
47
47
|
* ReplyTo: "STRING_VALUE",
|
|
48
48
|
* SourceArn: "STRING_VALUE", // required
|
|
49
|
-
* BlockEmail: {
|
|
49
|
+
* BlockEmail: { // NotifyEmailType
|
|
50
50
|
* Subject: "STRING_VALUE", // required
|
|
51
51
|
* HtmlBody: "STRING_VALUE",
|
|
52
52
|
* TextBody: "STRING_VALUE",
|
|
@@ -62,8 +62,8 @@ export interface SetRiskConfigurationCommandOutput extends SetRiskConfigurationR
|
|
|
62
62
|
* TextBody: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* },
|
|
65
|
-
* Actions: {
|
|
66
|
-
* LowAction: {
|
|
65
|
+
* Actions: { // AccountTakeoverActionsType
|
|
66
|
+
* LowAction: { // AccountTakeoverActionType
|
|
67
67
|
* Notify: true || false, // required
|
|
68
68
|
* EventAction: "BLOCK" || "MFA_IF_CONFIGURED" || "MFA_REQUIRED" || "NO_ACTION", // required
|
|
69
69
|
* },
|
|
@@ -77,11 +77,11 @@ export interface SetRiskConfigurationCommandOutput extends SetRiskConfigurationR
|
|
|
77
77
|
* },
|
|
78
78
|
* },
|
|
79
79
|
* },
|
|
80
|
-
* RiskExceptionConfiguration: {
|
|
81
|
-
* BlockedIPRangeList: [
|
|
80
|
+
* RiskExceptionConfiguration: { // RiskExceptionConfigurationType
|
|
81
|
+
* BlockedIPRangeList: [ // BlockedIPRangeListType
|
|
82
82
|
* "STRING_VALUE",
|
|
83
83
|
* ],
|
|
84
|
-
* SkippedIPRangeList: [
|
|
84
|
+
* SkippedIPRangeList: [ // SkippedIPRangeListType
|
|
85
85
|
* "STRING_VALUE",
|
|
86
86
|
* ],
|
|
87
87
|
* },
|
|
@@ -38,7 +38,7 @@ export interface SetUICustomizationCommandOutput extends SetUICustomizationRespo
|
|
|
38
38
|
* import { CognitoIdentityProviderClient, SetUICustomizationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
39
39
|
* // const { CognitoIdentityProviderClient, SetUICustomizationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
40
40
|
* const client = new CognitoIdentityProviderClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // SetUICustomizationRequest
|
|
42
42
|
* UserPoolId: "STRING_VALUE", // required
|
|
43
43
|
* ClientId: "STRING_VALUE",
|
|
44
44
|
* CSS: "STRING_VALUE",
|
|
@@ -34,12 +34,12 @@ export interface SetUserMFAPreferenceCommandOutput extends SetUserMFAPreferenceR
|
|
|
34
34
|
* import { CognitoIdentityProviderClient, SetUserMFAPreferenceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
35
35
|
* // const { CognitoIdentityProviderClient, SetUserMFAPreferenceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
36
36
|
* const client = new CognitoIdentityProviderClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* SMSMfaSettings: {
|
|
37
|
+
* const input = { // SetUserMFAPreferenceRequest
|
|
38
|
+
* SMSMfaSettings: { // SMSMfaSettingsType
|
|
39
39
|
* Enabled: true || false,
|
|
40
40
|
* PreferredMfa: true || false,
|
|
41
41
|
* },
|
|
42
|
-
* SoftwareTokenMfaSettings: {
|
|
42
|
+
* SoftwareTokenMfaSettings: { // SoftwareTokenMfaSettingsType
|
|
43
43
|
* Enabled: true || false,
|
|
44
44
|
* PreferredMfa: true || false,
|
|
45
45
|
* },
|
|
@@ -44,17 +44,17 @@ export interface SetUserPoolMfaConfigCommandOutput extends SetUserPoolMfaConfigR
|
|
|
44
44
|
* import { CognitoIdentityProviderClient, SetUserPoolMfaConfigCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
45
45
|
* // const { CognitoIdentityProviderClient, SetUserPoolMfaConfigCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
46
46
|
* const client = new CognitoIdentityProviderClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // SetUserPoolMfaConfigRequest
|
|
48
48
|
* UserPoolId: "STRING_VALUE", // required
|
|
49
|
-
* SmsMfaConfiguration: {
|
|
49
|
+
* SmsMfaConfiguration: { // SmsMfaConfigType
|
|
50
50
|
* SmsAuthenticationMessage: "STRING_VALUE",
|
|
51
|
-
* SmsConfiguration: {
|
|
51
|
+
* SmsConfiguration: { // SmsConfigurationType
|
|
52
52
|
* SnsCallerArn: "STRING_VALUE", // required
|
|
53
53
|
* ExternalId: "STRING_VALUE",
|
|
54
54
|
* SnsRegion: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
|
-
* SoftwareTokenMfaConfiguration: {
|
|
57
|
+
* SoftwareTokenMfaConfiguration: { // SoftwareTokenMfaConfigType
|
|
58
58
|
* Enabled: true || false,
|
|
59
59
|
* },
|
|
60
60
|
* MfaConfiguration: "OFF" || "ON" || "OPTIONAL",
|
|
@@ -29,10 +29,10 @@ export interface SetUserSettingsCommandOutput extends SetUserSettingsResponse, _
|
|
|
29
29
|
* import { CognitoIdentityProviderClient, SetUserSettingsCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
30
30
|
* // const { CognitoIdentityProviderClient, SetUserSettingsCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
31
31
|
* const client = new CognitoIdentityProviderClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // SetUserSettingsRequest
|
|
33
33
|
* AccessToken: "STRING_VALUE", // required
|
|
34
|
-
* MFAOptions: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* MFAOptions: [ // MFAOptionListType // required
|
|
35
|
+
* { // MFAOptionType
|
|
36
36
|
* DeliveryMedium: "SMS" || "EMAIL",
|
|
37
37
|
* AttributeName: "STRING_VALUE",
|
|
38
38
|
* },
|
|
@@ -45,13 +45,13 @@ export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {
|
|
|
45
45
|
* import { CognitoIdentityProviderClient, SignUpCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
46
46
|
* // const { CognitoIdentityProviderClient, SignUpCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
47
47
|
* const client = new CognitoIdentityProviderClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // SignUpRequest
|
|
49
49
|
* ClientId: "STRING_VALUE", // required
|
|
50
50
|
* SecretHash: "STRING_VALUE",
|
|
51
51
|
* Username: "STRING_VALUE", // required
|
|
52
52
|
* Password: "STRING_VALUE", // required
|
|
53
|
-
* UserAttributes: [
|
|
54
|
-
* {
|
|
53
|
+
* UserAttributes: [ // AttributeListType
|
|
54
|
+
* { // AttributeType
|
|
55
55
|
* Name: "STRING_VALUE", // required
|
|
56
56
|
* Value: "STRING_VALUE",
|
|
57
57
|
* },
|
|
@@ -62,14 +62,14 @@ export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {
|
|
|
62
62
|
* Value: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* ],
|
|
65
|
-
* AnalyticsMetadata: {
|
|
65
|
+
* AnalyticsMetadata: { // AnalyticsMetadataType
|
|
66
66
|
* AnalyticsEndpointId: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
|
-
* UserContextData: {
|
|
68
|
+
* UserContextData: { // UserContextDataType
|
|
69
69
|
* IpAddress: "STRING_VALUE",
|
|
70
70
|
* EncodedData: "STRING_VALUE",
|
|
71
71
|
* },
|
|
72
|
-
* ClientMetadata: {
|
|
72
|
+
* ClientMetadata: { // ClientMetadataType
|
|
73
73
|
* "<keys>": "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
75
|
* };
|
|
@@ -26,7 +26,7 @@ export interface StartUserImportJobCommandOutput extends StartUserImportJobRespo
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, StartUserImportJobCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, StartUserImportJobCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartUserImportJobRequest
|
|
30
30
|
* UserPoolId: "STRING_VALUE", // required
|
|
31
31
|
* JobId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface StopUserImportJobCommandOutput extends StopUserImportJobRespons
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, StopUserImportJobCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, StopUserImportJobCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopUserImportJobRequest
|
|
30
30
|
* UserPoolId: "STRING_VALUE", // required
|
|
31
31
|
* JobId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -39,9 +39,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
39
39
|
* import { CognitoIdentityProviderClient, TagResourceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
40
40
|
* // const { CognitoIdentityProviderClient, TagResourceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
41
41
|
* const client = new CognitoIdentityProviderClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // TagResourceRequest
|
|
43
43
|
* ResourceArn: "STRING_VALUE", // required
|
|
44
|
-
* Tags: { // required
|
|
44
|
+
* Tags: { // UserPoolTagsType // required
|
|
45
45
|
* "<keys>": "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
47
|
* };
|
|
@@ -27,9 +27,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { CognitoIdentityProviderClient, UntagResourceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
28
28
|
* // const { CognitoIdentityProviderClient, UntagResourceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
29
29
|
* const client = new CognitoIdentityProviderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
31
|
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
-
* TagKeys: [ // required
|
|
32
|
+
* TagKeys: [ // UserPoolTagsListType // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -28,7 +28,7 @@ export interface UpdateAuthEventFeedbackCommandOutput extends UpdateAuthEventFee
|
|
|
28
28
|
* import { CognitoIdentityProviderClient, UpdateAuthEventFeedbackCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
29
29
|
* // const { CognitoIdentityProviderClient, UpdateAuthEventFeedbackCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
30
30
|
* const client = new CognitoIdentityProviderClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // UpdateAuthEventFeedbackRequest
|
|
32
32
|
* UserPoolId: "STRING_VALUE", // required
|
|
33
33
|
* Username: "STRING_VALUE", // required
|
|
34
34
|
* EventId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface UpdateDeviceStatusCommandOutput extends UpdateDeviceStatusRespo
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, UpdateDeviceStatusCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, UpdateDeviceStatusCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateDeviceStatusRequest
|
|
30
30
|
* AccessToken: "STRING_VALUE", // required
|
|
31
31
|
* DeviceKey: "STRING_VALUE", // required
|
|
32
32
|
* DeviceRememberedStatus: "remembered" || "not_remembered",
|
|
@@ -27,7 +27,7 @@ export interface UpdateGroupCommandOutput extends UpdateGroupResponse, __Metadat
|
|
|
27
27
|
* import { CognitoIdentityProviderClient, UpdateGroupCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
28
28
|
* // const { CognitoIdentityProviderClient, UpdateGroupCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
29
29
|
* const client = new CognitoIdentityProviderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateGroupRequest
|
|
31
31
|
* GroupName: "STRING_VALUE", // required
|
|
32
32
|
* UserPoolId: "STRING_VALUE", // required
|
|
33
33
|
* Description: "STRING_VALUE",
|
|
@@ -26,16 +26,16 @@ export interface UpdateIdentityProviderCommandOutput extends UpdateIdentityProvi
|
|
|
26
26
|
* import { CognitoIdentityProviderClient, UpdateIdentityProviderCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
27
27
|
* // const { CognitoIdentityProviderClient, UpdateIdentityProviderCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
28
28
|
* const client = new CognitoIdentityProviderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateIdentityProviderRequest
|
|
30
30
|
* UserPoolId: "STRING_VALUE", // required
|
|
31
31
|
* ProviderName: "STRING_VALUE", // required
|
|
32
|
-
* ProviderDetails: {
|
|
32
|
+
* ProviderDetails: { // ProviderDetailsType
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
|
-
* AttributeMapping: {
|
|
35
|
+
* AttributeMapping: { // AttributeMappingType
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
|
-
* IdpIdentifiers: [
|
|
38
|
+
* IdpIdentifiers: [ // IdpIdentifiersListType
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -30,12 +30,12 @@ export interface UpdateResourceServerCommandOutput extends UpdateResourceServerR
|
|
|
30
30
|
* import { CognitoIdentityProviderClient, UpdateResourceServerCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
31
31
|
* // const { CognitoIdentityProviderClient, UpdateResourceServerCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
32
32
|
* const client = new CognitoIdentityProviderClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // UpdateResourceServerRequest
|
|
34
34
|
* UserPoolId: "STRING_VALUE", // required
|
|
35
35
|
* Identifier: "STRING_VALUE", // required
|
|
36
36
|
* Name: "STRING_VALUE", // required
|
|
37
|
-
* Scopes: [
|
|
38
|
-
* {
|
|
37
|
+
* Scopes: [ // ResourceServerScopeListType
|
|
38
|
+
* { // ResourceServerScopeType
|
|
39
39
|
* ScopeName: "STRING_VALUE", // required
|
|
40
40
|
* ScopeDescription: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
@@ -44,15 +44,15 @@ export interface UpdateUserAttributesCommandOutput extends UpdateUserAttributesR
|
|
|
44
44
|
* import { CognitoIdentityProviderClient, UpdateUserAttributesCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
45
45
|
* // const { CognitoIdentityProviderClient, UpdateUserAttributesCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
46
46
|
* const client = new CognitoIdentityProviderClient(config);
|
|
47
|
-
* const input = {
|
|
48
|
-
* UserAttributes: [ // required
|
|
49
|
-
* {
|
|
47
|
+
* const input = { // UpdateUserAttributesRequest
|
|
48
|
+
* UserAttributes: [ // AttributeListType // required
|
|
49
|
+
* { // AttributeType
|
|
50
50
|
* Name: "STRING_VALUE", // required
|
|
51
51
|
* Value: "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
54
|
* AccessToken: "STRING_VALUE", // required
|
|
55
|
-
* ClientMetadata: {
|
|
55
|
+
* ClientMetadata: { // ClientMetadataType
|
|
56
56
|
* "<keys>": "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* };
|
|
@@ -33,45 +33,45 @@ export interface UpdateUserPoolClientCommandOutput extends UpdateUserPoolClientR
|
|
|
33
33
|
* import { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
34
34
|
* // const { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
35
35
|
* const client = new CognitoIdentityProviderClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UpdateUserPoolClientRequest
|
|
37
37
|
* UserPoolId: "STRING_VALUE", // required
|
|
38
38
|
* ClientId: "STRING_VALUE", // required
|
|
39
39
|
* ClientName: "STRING_VALUE",
|
|
40
40
|
* RefreshTokenValidity: Number("int"),
|
|
41
41
|
* AccessTokenValidity: Number("int"),
|
|
42
42
|
* IdTokenValidity: Number("int"),
|
|
43
|
-
* TokenValidityUnits: {
|
|
43
|
+
* TokenValidityUnits: { // TokenValidityUnitsType
|
|
44
44
|
* AccessToken: "seconds" || "minutes" || "hours" || "days",
|
|
45
45
|
* IdToken: "seconds" || "minutes" || "hours" || "days",
|
|
46
46
|
* RefreshToken: "seconds" || "minutes" || "hours" || "days",
|
|
47
47
|
* },
|
|
48
|
-
* ReadAttributes: [
|
|
48
|
+
* ReadAttributes: [ // ClientPermissionListType
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* WriteAttributes: [
|
|
52
52
|
* "STRING_VALUE",
|
|
53
53
|
* ],
|
|
54
|
-
* ExplicitAuthFlows: [
|
|
54
|
+
* ExplicitAuthFlows: [ // ExplicitAuthFlowsListType
|
|
55
55
|
* "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH",
|
|
56
56
|
* ],
|
|
57
|
-
* SupportedIdentityProviders: [
|
|
57
|
+
* SupportedIdentityProviders: [ // SupportedIdentityProvidersListType
|
|
58
58
|
* "STRING_VALUE",
|
|
59
59
|
* ],
|
|
60
|
-
* CallbackURLs: [
|
|
60
|
+
* CallbackURLs: [ // CallbackURLsListType
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
|
-
* LogoutURLs: [
|
|
63
|
+
* LogoutURLs: [ // LogoutURLsListType
|
|
64
64
|
* "STRING_VALUE",
|
|
65
65
|
* ],
|
|
66
66
|
* DefaultRedirectURI: "STRING_VALUE",
|
|
67
|
-
* AllowedOAuthFlows: [
|
|
67
|
+
* AllowedOAuthFlows: [ // OAuthFlowsType
|
|
68
68
|
* "code" || "implicit" || "client_credentials",
|
|
69
69
|
* ],
|
|
70
|
-
* AllowedOAuthScopes: [
|
|
70
|
+
* AllowedOAuthScopes: [ // ScopeListType
|
|
71
71
|
* "STRING_VALUE",
|
|
72
72
|
* ],
|
|
73
73
|
* AllowedOAuthFlowsUserPoolClient: true || false,
|
|
74
|
-
* AnalyticsConfiguration: {
|
|
74
|
+
* AnalyticsConfiguration: { // AnalyticsConfigurationType
|
|
75
75
|
* ApplicationId: "STRING_VALUE",
|
|
76
76
|
* ApplicationArn: "STRING_VALUE",
|
|
77
77
|
* RoleArn: "STRING_VALUE",
|
|
@@ -47,10 +47,10 @@ export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __M
|
|
|
47
47
|
* import { CognitoIdentityProviderClient, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
48
48
|
* // const { CognitoIdentityProviderClient, UpdateUserPoolCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
49
49
|
* const client = new CognitoIdentityProviderClient(config);
|
|
50
|
-
* const input = {
|
|
50
|
+
* const input = { // UpdateUserPoolRequest
|
|
51
51
|
* UserPoolId: "STRING_VALUE", // required
|
|
52
|
-
* Policies: {
|
|
53
|
-
* PasswordPolicy: {
|
|
52
|
+
* Policies: { // UserPoolPolicyType
|
|
53
|
+
* PasswordPolicy: { // PasswordPolicyType
|
|
54
54
|
* MinimumLength: Number("int"),
|
|
55
55
|
* RequireUppercase: true || false,
|
|
56
56
|
* RequireLowercase: true || false,
|
|
@@ -60,7 +60,7 @@ export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __M
|
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* DeletionProtection: "ACTIVE" || "INACTIVE",
|
|
63
|
-
* LambdaConfig: {
|
|
63
|
+
* LambdaConfig: { // LambdaConfigType
|
|
64
64
|
* PreSignUp: "STRING_VALUE",
|
|
65
65
|
* CustomMessage: "STRING_VALUE",
|
|
66
66
|
* PostConfirmation: "STRING_VALUE",
|
|
@@ -71,23 +71,23 @@ export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __M
|
|
|
71
71
|
* VerifyAuthChallengeResponse: "STRING_VALUE",
|
|
72
72
|
* PreTokenGeneration: "STRING_VALUE",
|
|
73
73
|
* UserMigration: "STRING_VALUE",
|
|
74
|
-
* CustomSMSSender: {
|
|
74
|
+
* CustomSMSSender: { // CustomSMSLambdaVersionConfigType
|
|
75
75
|
* LambdaVersion: "V1_0", // required
|
|
76
76
|
* LambdaArn: "STRING_VALUE", // required
|
|
77
77
|
* },
|
|
78
|
-
* CustomEmailSender: {
|
|
78
|
+
* CustomEmailSender: { // CustomEmailLambdaVersionConfigType
|
|
79
79
|
* LambdaVersion: "V1_0", // required
|
|
80
80
|
* LambdaArn: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
82
|
* KMSKeyID: "STRING_VALUE",
|
|
83
83
|
* },
|
|
84
|
-
* AutoVerifiedAttributes: [
|
|
84
|
+
* AutoVerifiedAttributes: [ // VerifiedAttributesListType
|
|
85
85
|
* "phone_number" || "email",
|
|
86
86
|
* ],
|
|
87
87
|
* SmsVerificationMessage: "STRING_VALUE",
|
|
88
88
|
* EmailVerificationMessage: "STRING_VALUE",
|
|
89
89
|
* EmailVerificationSubject: "STRING_VALUE",
|
|
90
|
-
* VerificationMessageTemplate: {
|
|
90
|
+
* VerificationMessageTemplate: { // VerificationMessageTemplateType
|
|
91
91
|
* SmsMessage: "STRING_VALUE",
|
|
92
92
|
* EmailMessage: "STRING_VALUE",
|
|
93
93
|
* EmailSubject: "STRING_VALUE",
|
|
@@ -96,46 +96,46 @@ export interface UpdateUserPoolCommandOutput extends UpdateUserPoolResponse, __M
|
|
|
96
96
|
* DefaultEmailOption: "CONFIRM_WITH_LINK" || "CONFIRM_WITH_CODE",
|
|
97
97
|
* },
|
|
98
98
|
* SmsAuthenticationMessage: "STRING_VALUE",
|
|
99
|
-
* UserAttributeUpdateSettings: {
|
|
100
|
-
* AttributesRequireVerificationBeforeUpdate: [
|
|
99
|
+
* UserAttributeUpdateSettings: { // UserAttributeUpdateSettingsType
|
|
100
|
+
* AttributesRequireVerificationBeforeUpdate: [ // AttributesRequireVerificationBeforeUpdateType
|
|
101
101
|
* "phone_number" || "email",
|
|
102
102
|
* ],
|
|
103
103
|
* },
|
|
104
104
|
* MfaConfiguration: "OFF" || "ON" || "OPTIONAL",
|
|
105
|
-
* DeviceConfiguration: {
|
|
105
|
+
* DeviceConfiguration: { // DeviceConfigurationType
|
|
106
106
|
* ChallengeRequiredOnNewDevice: true || false,
|
|
107
107
|
* DeviceOnlyRememberedOnUserPrompt: true || false,
|
|
108
108
|
* },
|
|
109
|
-
* EmailConfiguration: {
|
|
109
|
+
* EmailConfiguration: { // EmailConfigurationType
|
|
110
110
|
* SourceArn: "STRING_VALUE",
|
|
111
111
|
* ReplyToEmailAddress: "STRING_VALUE",
|
|
112
112
|
* EmailSendingAccount: "COGNITO_DEFAULT" || "DEVELOPER",
|
|
113
113
|
* From: "STRING_VALUE",
|
|
114
114
|
* ConfigurationSet: "STRING_VALUE",
|
|
115
115
|
* },
|
|
116
|
-
* SmsConfiguration: {
|
|
116
|
+
* SmsConfiguration: { // SmsConfigurationType
|
|
117
117
|
* SnsCallerArn: "STRING_VALUE", // required
|
|
118
118
|
* ExternalId: "STRING_VALUE",
|
|
119
119
|
* SnsRegion: "STRING_VALUE",
|
|
120
120
|
* },
|
|
121
|
-
* UserPoolTags: {
|
|
121
|
+
* UserPoolTags: { // UserPoolTagsType
|
|
122
122
|
* "<keys>": "STRING_VALUE",
|
|
123
123
|
* },
|
|
124
|
-
* AdminCreateUserConfig: {
|
|
124
|
+
* AdminCreateUserConfig: { // AdminCreateUserConfigType
|
|
125
125
|
* AllowAdminCreateUserOnly: true || false,
|
|
126
126
|
* UnusedAccountValidityDays: Number("int"),
|
|
127
|
-
* InviteMessageTemplate: {
|
|
127
|
+
* InviteMessageTemplate: { // MessageTemplateType
|
|
128
128
|
* SMSMessage: "STRING_VALUE",
|
|
129
129
|
* EmailMessage: "STRING_VALUE",
|
|
130
130
|
* EmailSubject: "STRING_VALUE",
|
|
131
131
|
* },
|
|
132
132
|
* },
|
|
133
|
-
* UserPoolAddOns: {
|
|
133
|
+
* UserPoolAddOns: { // UserPoolAddOnsType
|
|
134
134
|
* AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
|
|
135
135
|
* },
|
|
136
|
-
* AccountRecoverySetting: {
|
|
137
|
-
* RecoveryMechanisms: [
|
|
138
|
-
* {
|
|
136
|
+
* AccountRecoverySetting: { // AccountRecoverySettingType
|
|
137
|
+
* RecoveryMechanisms: [ // RecoveryMechanismsType
|
|
138
|
+
* { // RecoveryOptionType
|
|
139
139
|
* Priority: Number("int"), // required
|
|
140
140
|
* Name: "verified_email" || "verified_phone_number" || "admin_only", // required
|
|
141
141
|
* },
|
|
@@ -44,10 +44,10 @@ export interface UpdateUserPoolDomainCommandOutput extends UpdateUserPoolDomainR
|
|
|
44
44
|
* import { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
45
45
|
* // const { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
46
46
|
* const client = new CognitoIdentityProviderClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // UpdateUserPoolDomainRequest
|
|
48
48
|
* Domain: "STRING_VALUE", // required
|
|
49
49
|
* UserPoolId: "STRING_VALUE", // required
|
|
50
|
-
* CustomDomainConfig: {
|
|
50
|
+
* CustomDomainConfig: { // CustomDomainConfigType
|
|
51
51
|
* CertificateArn: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* };
|
|
@@ -28,7 +28,7 @@ export interface VerifySoftwareTokenCommandOutput extends VerifySoftwareTokenRes
|
|
|
28
28
|
* import { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
29
29
|
* // const { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
30
30
|
* const client = new CognitoIdentityProviderClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // VerifySoftwareTokenRequest
|
|
32
32
|
* AccessToken: "STRING_VALUE",
|
|
33
33
|
* Session: "STRING_VALUE",
|
|
34
34
|
* UserCode: "STRING_VALUE", // required
|
|
@@ -32,7 +32,7 @@ export interface VerifyUserAttributeCommandOutput extends VerifyUserAttributeRes
|
|
|
32
32
|
* import { CognitoIdentityProviderClient, VerifyUserAttributeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
33
33
|
* // const { CognitoIdentityProviderClient, VerifyUserAttributeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
34
34
|
* const client = new CognitoIdentityProviderClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // VerifyUserAttributeRequest
|
|
36
36
|
* AccessToken: "STRING_VALUE", // required
|
|
37
37
|
* AttributeName: "STRING_VALUE", // required
|
|
38
38
|
* Code: "STRING_VALUE", // required
|
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.
|
|
4
|
+
"version": "3.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|