@aws-sdk/client-cognito-identity-provider 3.363.0 → 3.369.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/commands/VerifySoftwareTokenCommand.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +10 -0
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/models/models_1.js +5 -0
- package/dist-types/CognitoIdentityProvider.d.ts +2 -2
- package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +5 -7
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +5 -5
- 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 +1 -3
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +6 -7
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -1
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -4
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +1 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +3 -5
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -2
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolCommand.d.ts +0 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +0 -1
- package/dist-types/commands/GetGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +0 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +0 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +0 -1
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +0 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +3 -3
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +0 -1
- package/dist-types/commands/SignUpCommand.d.ts +0 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +0 -1
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +3 -3
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +0 -1
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +7 -7
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +623 -658
- package/dist-types/models/models_1.d.ts +74 -74
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/package.json +13 -13
|
@@ -34,7 +34,7 @@ class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
34
34
|
clientName,
|
|
35
35
|
commandName,
|
|
36
36
|
inputFilterSensitiveLog: models_1_1.VerifySoftwareTokenRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog:
|
|
37
|
+
outputFilterSensitiveLog: models_1_1.VerifySoftwareTokenResponseFilterSensitiveLog,
|
|
38
38
|
};
|
|
39
39
|
const { requestHandler } = configuration;
|
|
40
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -831,6 +831,7 @@ const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
|
831
831
|
exports.AuthenticationResultTypeFilterSensitiveLog = AuthenticationResultTypeFilterSensitiveLog;
|
|
832
832
|
const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
833
833
|
...obj,
|
|
834
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
834
835
|
...(obj.AuthenticationResult && {
|
|
835
836
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
836
837
|
}),
|
|
@@ -868,10 +869,13 @@ exports.AdminResetUserPasswordRequestFilterSensitiveLog = AdminResetUserPassword
|
|
|
868
869
|
const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
869
870
|
...obj,
|
|
870
871
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
872
|
+
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
873
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
871
874
|
});
|
|
872
875
|
exports.AdminRespondToAuthChallengeRequestFilterSensitiveLog = AdminRespondToAuthChallengeRequestFilterSensitiveLog;
|
|
873
876
|
const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
874
877
|
...obj,
|
|
878
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
875
879
|
...(obj.AuthenticationResult && {
|
|
876
880
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
877
881
|
}),
|
|
@@ -919,11 +923,13 @@ exports.AdminUserGlobalSignOutRequestFilterSensitiveLog = AdminUserGlobalSignOut
|
|
|
919
923
|
const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
920
924
|
...obj,
|
|
921
925
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
926
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
922
927
|
});
|
|
923
928
|
exports.AssociateSoftwareTokenRequestFilterSensitiveLog = AssociateSoftwareTokenRequestFilterSensitiveLog;
|
|
924
929
|
const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
925
930
|
...obj,
|
|
926
931
|
...(obj.SecretCode && { SecretCode: smithy_client_1.SENSITIVE_STRING }),
|
|
932
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
927
933
|
});
|
|
928
934
|
exports.AssociateSoftwareTokenResponseFilterSensitiveLog = AssociateSoftwareTokenResponseFilterSensitiveLog;
|
|
929
935
|
const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -1072,6 +1078,7 @@ const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
|
1072
1078
|
exports.InitiateAuthRequestFilterSensitiveLog = InitiateAuthRequestFilterSensitiveLog;
|
|
1073
1079
|
const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
1074
1080
|
...obj,
|
|
1081
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1075
1082
|
...(obj.AuthenticationResult && {
|
|
1076
1083
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1077
1084
|
}),
|
|
@@ -1118,10 +1125,13 @@ exports.ResendConfirmationCodeRequestFilterSensitiveLog = ResendConfirmationCode
|
|
|
1118
1125
|
const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
1119
1126
|
...obj,
|
|
1120
1127
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1128
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1129
|
+
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
1121
1130
|
});
|
|
1122
1131
|
exports.RespondToAuthChallengeRequestFilterSensitiveLog = RespondToAuthChallengeRequestFilterSensitiveLog;
|
|
1123
1132
|
const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1124
1133
|
...obj,
|
|
1134
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1125
1135
|
...(obj.AuthenticationResult && {
|
|
1126
1136
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1127
1137
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VerifyUserAttributeRequestFilterSensitiveLog = exports.VerifySoftwareTokenRequestFilterSensitiveLog = exports.UpdateUserPoolClientResponseFilterSensitiveLog = exports.UpdateUserPoolClientRequestFilterSensitiveLog = exports.UpdateUserAttributesRequestFilterSensitiveLog = exports.UpdateDeviceStatusRequestFilterSensitiveLog = exports.UpdateAuthEventFeedbackRequestFilterSensitiveLog = exports.SignUpRequestFilterSensitiveLog = exports.VerifySoftwareTokenResponseType = exports.EnableSoftwareTokenMFAException = void 0;
|
|
3
|
+
exports.VerifyUserAttributeRequestFilterSensitiveLog = exports.VerifySoftwareTokenResponseFilterSensitiveLog = exports.VerifySoftwareTokenRequestFilterSensitiveLog = exports.UpdateUserPoolClientResponseFilterSensitiveLog = exports.UpdateUserPoolClientRequestFilterSensitiveLog = exports.UpdateUserAttributesRequestFilterSensitiveLog = exports.UpdateDeviceStatusRequestFilterSensitiveLog = exports.UpdateAuthEventFeedbackRequestFilterSensitiveLog = exports.SignUpRequestFilterSensitiveLog = exports.VerifySoftwareTokenResponseType = exports.EnableSoftwareTokenMFAException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
@@ -67,8 +67,14 @@ exports.UpdateUserPoolClientResponseFilterSensitiveLog = UpdateUserPoolClientRes
|
|
|
67
67
|
const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
68
68
|
...obj,
|
|
69
69
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
70
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
70
71
|
});
|
|
71
72
|
exports.VerifySoftwareTokenRequestFilterSensitiveLog = VerifySoftwareTokenRequestFilterSensitiveLog;
|
|
73
|
+
const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
74
|
+
...obj,
|
|
75
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
76
|
+
});
|
|
77
|
+
exports.VerifySoftwareTokenResponseFilterSensitiveLog = VerifySoftwareTokenResponseFilterSensitiveLog;
|
|
72
78
|
const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
73
79
|
...obj,
|
|
74
80
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -2,7 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import { VerifySoftwareTokenRequestFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { VerifySoftwareTokenRequestFilterSensitiveLog, VerifySoftwareTokenResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_VerifySoftwareTokenCommand, se_VerifySoftwareTokenCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class VerifySoftwareTokenCommand extends $Command {
|
|
@@ -31,7 +31,7 @@ export class VerifySoftwareTokenCommand extends $Command {
|
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
33
|
inputFilterSensitiveLog: VerifySoftwareTokenRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
34
|
+
outputFilterSensitiveLog: VerifySoftwareTokenResponseFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -767,6 +767,7 @@ export const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
|
767
767
|
});
|
|
768
768
|
export const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
769
769
|
...obj,
|
|
770
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
770
771
|
...(obj.AuthenticationResult && {
|
|
771
772
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
772
773
|
}),
|
|
@@ -797,9 +798,12 @@ export const AdminResetUserPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
|
797
798
|
export const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
798
799
|
...obj,
|
|
799
800
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
801
|
+
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
|
|
802
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
800
803
|
});
|
|
801
804
|
export const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
802
805
|
...obj,
|
|
806
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
803
807
|
...(obj.AuthenticationResult && {
|
|
804
808
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
805
809
|
}),
|
|
@@ -839,10 +843,12 @@ export const AdminUserGlobalSignOutRequestFilterSensitiveLog = (obj) => ({
|
|
|
839
843
|
export const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
840
844
|
...obj,
|
|
841
845
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
846
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
842
847
|
});
|
|
843
848
|
export const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
844
849
|
...obj,
|
|
845
850
|
...(obj.SecretCode && { SecretCode: SENSITIVE_STRING }),
|
|
851
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
846
852
|
});
|
|
847
853
|
export const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
848
854
|
...obj,
|
|
@@ -964,6 +970,7 @@ export const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
|
964
970
|
});
|
|
965
971
|
export const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
966
972
|
...obj,
|
|
973
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
967
974
|
...(obj.AuthenticationResult && {
|
|
968
975
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
969
976
|
}),
|
|
@@ -1002,9 +1009,12 @@ export const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
|
|
|
1002
1009
|
export const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
1003
1010
|
...obj,
|
|
1004
1011
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1012
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1013
|
+
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
|
|
1005
1014
|
});
|
|
1006
1015
|
export const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1007
1016
|
...obj,
|
|
1017
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1008
1018
|
...(obj.AuthenticationResult && {
|
|
1009
1019
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
1010
1020
|
}),
|
|
@@ -57,6 +57,11 @@ export const UpdateUserPoolClientResponseFilterSensitiveLog = (obj) => ({
|
|
|
57
57
|
export const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
58
58
|
...obj,
|
|
59
59
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
60
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
61
|
+
});
|
|
62
|
+
export const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
63
|
+
...obj,
|
|
64
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
60
65
|
});
|
|
61
66
|
export const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
62
67
|
...obj,
|
|
@@ -714,8 +714,8 @@ export interface CognitoIdentityProvider {
|
|
|
714
714
|
* <p>Using the Amazon Cognito user pools API, you can create a user pool to manage directories and
|
|
715
715
|
* users. You can authenticate a user to obtain tokens related to user identity and access
|
|
716
716
|
* policies.</p>
|
|
717
|
-
*
|
|
718
|
-
*
|
|
717
|
+
* <p>This API reference provides information about user pools in Amazon Cognito user pools.</p>
|
|
718
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito
|
|
719
719
|
* Documentation</a>.</p>
|
|
720
720
|
*/
|
|
721
721
|
export declare class CognitoIdentityProvider extends CognitoIdentityProviderClient implements CognitoIdentityProvider {
|
|
@@ -249,8 +249,8 @@ export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIden
|
|
|
249
249
|
* <p>Using the Amazon Cognito user pools API, you can create a user pool to manage directories and
|
|
250
250
|
* users. You can authenticate a user to obtain tokens related to user identity and access
|
|
251
251
|
* policies.</p>
|
|
252
|
-
*
|
|
253
|
-
*
|
|
252
|
+
* <p>This API reference provides information about user pools in Amazon Cognito user pools.</p>
|
|
253
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/what-is-amazon-cognito.html">Amazon Cognito
|
|
254
254
|
* Documentation</a>.</p>
|
|
255
255
|
*/
|
|
256
256
|
export declare class CognitoIdentityProviderClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CognitoIdentityProviderClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface AdminAddUserToGroupCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Adds the specified user to the specified group.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface AdminConfirmSignUpCommandOutput extends AdminConfirmSignUpRespo
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Confirms user registration as an admin without using a confirmation code. Works on any
|
|
27
27
|
* user.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -24,9 +24,8 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a new user in the specified user pool.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>If <code>MessageAction</code> isn't set, the default is to send a welcome message via
|
|
28
28
|
* email or phone (SMS).</p>
|
|
29
|
-
*
|
|
30
29
|
* <note>
|
|
31
30
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
32
31
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -44,15 +43,14 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
|
|
|
44
43
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
45
44
|
* Developer Guide</i>.</p>
|
|
46
45
|
* </note>
|
|
47
|
-
*
|
|
48
|
-
* <p>This message is based on a template that you configured in your call to create or
|
|
46
|
+
* <p>This message is based on a template that you configured in your call to create or
|
|
49
47
|
* update a user pool. This template includes your custom sign-up instructions and
|
|
50
48
|
* placeholders for user name and temporary password.</p>
|
|
51
|
-
*
|
|
49
|
+
* <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code>
|
|
52
50
|
* for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
|
|
53
|
-
*
|
|
51
|
+
* <p>In either case, the user will be in the <code>FORCE_CHANGE_PASSWORD</code> state until
|
|
54
52
|
* they sign in and change their password.</p>
|
|
55
|
-
*
|
|
53
|
+
* <p>
|
|
56
54
|
* <code>AdminCreateUser</code> requires developer credentials.</p>
|
|
57
55
|
* @example
|
|
58
56
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,7 +25,7 @@ export interface AdminDeleteUserAttributesCommandOutput extends AdminDeleteUserA
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes the user attributes in a user pool as an administrator. Works on any
|
|
27
27
|
* user.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminDeleteUserCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes a user as an administrator. Works on any user.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -30,18 +30,18 @@ export interface AdminDisableProviderForUserCommandOutput extends AdminDisablePr
|
|
|
30
30
|
* user is removed. When the external user signs in again, and the user is no longer
|
|
31
31
|
* attached to the previously linked <code>DestinationUser</code>, the user must create a
|
|
32
32
|
* new user account. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
|
|
33
|
-
*
|
|
33
|
+
* <p>This action is enabled only for admin access and requires developer
|
|
34
34
|
* credentials.</p>
|
|
35
|
-
*
|
|
35
|
+
* <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
|
|
36
36
|
* the pool. </p>
|
|
37
|
-
*
|
|
37
|
+
* <p>To deactivate a native username + password user, the <code>ProviderName</code> value
|
|
38
38
|
* must be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
|
|
39
39
|
* <code>Cognito_Subject</code>. The <code>ProviderAttributeValue</code> must be the
|
|
40
40
|
* name that is used in the user pool for the user.</p>
|
|
41
|
-
*
|
|
41
|
+
* <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
|
|
42
42
|
* social IdPs. The <code>ProviderAttributeValue</code> must always be the exact subject
|
|
43
43
|
* that was used when the user was originally linked as a source user.</p>
|
|
44
|
-
*
|
|
44
|
+
* <p>For de-linking a SAML identity, there are two scenarios. If the linked identity has
|
|
45
45
|
* not yet been used to sign in, the <code>ProviderAttributeName</code> and
|
|
46
46
|
* <code>ProviderAttributeValue</code> must be the same values that were used for the
|
|
47
47
|
* <code>SourceUser</code> when the identities were originally linked using <code>
|
|
@@ -25,7 +25,7 @@ export interface AdminDisableUserCommandOutput extends AdminDisableUserResponse,
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deactivates a user and revokes all access tokens for the user. A deactivated user can't sign in,
|
|
27
27
|
* but still appears in the responses to <code>GetUser</code> and <code>ListUsers</code> API requests.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>You must make this API request with Amazon Web Services credentials that have <code>cognito-idp:AdminDisableUser</code> permissions.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminEnableUserCommandOutput extends AdminEnableUserResponse, _
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Enables the specified user as an administrator. Works on any user.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminForgetDeviceCommandOutput extends __MetadataBearer {
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Forgets the device, as an administrator.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminGetDeviceCommandOutput extends AdminGetDeviceResponse, __M
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Gets the device, as an administrator.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface AdminGetUserCommandOutput extends AdminGetUserResponse, __Metad
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Gets the specified user by user name in a user pool as an administrator. Works on any
|
|
27
27
|
* user.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
31
31
|
* ```javascript
|
|
@@ -24,7 +24,6 @@ export interface AdminInitiateAuthCommandOutput extends AdminInitiateAuthRespons
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Initiates the authentication flow, as an administrator.</p>
|
|
27
|
-
*
|
|
28
27
|
* <note>
|
|
29
28
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
30
29
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -42,8 +41,7 @@ export interface AdminInitiateAuthCommandOutput extends AdminInitiateAuthRespons
|
|
|
42
41
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
43
42
|
* Developer Guide</i>.</p>
|
|
44
43
|
* </note>
|
|
45
|
-
*
|
|
46
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
44
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
47
45
|
* @example
|
|
48
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
47
|
* ```javascript
|
|
@@ -29,19 +29,18 @@ export interface AdminLinkProviderForUserCommandOutput extends AdminLinkProvider
|
|
|
29
29
|
* user account to an external federated user identity that has not yet been used to sign
|
|
30
30
|
* in. You can then use the federated user identity to sign in as the existing user
|
|
31
31
|
* account. </p>
|
|
32
|
-
*
|
|
32
|
+
* <p> For example, if there is an existing user with a username and password, this API
|
|
33
33
|
* links that user to a federated user identity. When the user signs in with a federated
|
|
34
34
|
* user identity, they sign in as the existing user account.</p>
|
|
35
|
-
*
|
|
35
|
+
* <note>
|
|
36
36
|
* <p>The maximum number of federated identities linked to a user is five.</p>
|
|
37
|
-
*
|
|
38
|
-
*
|
|
37
|
+
* </note>
|
|
38
|
+
* <important>
|
|
39
39
|
* <p>Because this API allows a user with an external federated identity to sign in as
|
|
40
40
|
* an existing user in the user pool, it is critical that it only be used with external
|
|
41
41
|
* IdPs and provider attributes that have been trusted by the application owner.</p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* <p>This action is administrative and requires developer credentials.</p>
|
|
42
|
+
* </important>
|
|
43
|
+
* <p>This action is administrative and requires developer credentials.</p>
|
|
45
44
|
* @example
|
|
46
45
|
* Use a bare-bones client and the command you need to make an API call.
|
|
47
46
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminListDevicesCommandOutput extends AdminListDevicesResponse,
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists devices, as an administrator.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminListGroupsForUserCommandOutput extends AdminListGroupsForU
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lists the groups that the user belongs to.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ export interface AdminRemoveUserFromGroupCommandOutput extends __MetadataBearer
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Removes the specified user from the specified group.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -25,7 +25,7 @@ export interface AdminResetUserPasswordCommandOutput extends AdminResetUserPassw
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Resets the specified user's password in a user pool as an administrator. Works on any
|
|
27
27
|
* user.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>When a developer calls this API, the current password is invalidated, so it must be
|
|
29
29
|
* changed. If a user tries to sign in after the API is called, the app will get a
|
|
30
30
|
* PasswordResetRequiredException exception back and should direct the user down the flow
|
|
31
31
|
* to reset the password, which is the same as the forgot password flow. In addition, if
|
|
@@ -33,7 +33,6 @@ export interface AdminResetUserPasswordCommandOutput extends AdminResetUserPassw
|
|
|
33
33
|
* user, or if email verification is selected and a verified email exists for the user,
|
|
34
34
|
* calling this API will also result in sending a message to the end user with the code to
|
|
35
35
|
* change their password.</p>
|
|
36
|
-
*
|
|
37
36
|
* <note>
|
|
38
37
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
39
38
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -51,8 +50,7 @@ export interface AdminResetUserPasswordCommandOutput extends AdminResetUserPassw
|
|
|
51
50
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
52
51
|
* Developer Guide</i>.</p>
|
|
53
52
|
* </note>
|
|
54
|
-
*
|
|
55
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
53
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
56
54
|
* @example
|
|
57
55
|
* Use a bare-bones client and the command you need to make an API call.
|
|
58
56
|
* ```javascript
|
|
@@ -24,7 +24,6 @@ export interface AdminRespondToAuthChallengeCommandOutput extends AdminRespondTo
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Responds to an authentication challenge, as an administrator.</p>
|
|
27
|
-
*
|
|
28
27
|
* <note>
|
|
29
28
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
30
29
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -42,8 +41,7 @@ export interface AdminRespondToAuthChallengeCommandOutput extends AdminRespondTo
|
|
|
42
41
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
43
42
|
* Developer Guide</i>.</p>
|
|
44
43
|
* </note>
|
|
45
|
-
*
|
|
46
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
44
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
47
45
|
* @example
|
|
48
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
47
|
* ```javascript
|
|
@@ -25,13 +25,13 @@ export interface AdminSetUserPasswordCommandOutput extends AdminSetUserPasswordR
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Sets the specified user's password in a user pool as an administrator. Works on any
|
|
27
27
|
* user. </p>
|
|
28
|
-
*
|
|
28
|
+
* <p>The password can be temporary or permanent. If it is temporary, the user status enters
|
|
29
29
|
* the <code>FORCE_CHANGE_PASSWORD</code> state. When the user next tries to sign in, the
|
|
30
30
|
* InitiateAuth/AdminInitiateAuth response will contain the
|
|
31
31
|
* <code>NEW_PASSWORD_REQUIRED</code> challenge. If the user doesn't sign in before it
|
|
32
32
|
* expires, the user won't be able to sign in, and an administrator must reset their
|
|
33
33
|
* password. </p>
|
|
34
|
-
*
|
|
34
|
+
* <p>Once the user has set a new password, or the password is permanent, the user status is
|
|
35
35
|
* set to <code>Confirmed</code>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -24,7 +24,7 @@ export interface AdminUpdateDeviceStatusCommandOutput extends AdminUpdateDeviceS
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Updates the device status as an administrator.</p>
|
|
27
|
-
*
|
|
27
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -25,11 +25,10 @@ export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserA
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Updates the specified user's attributes, including developer attributes, as an
|
|
27
27
|
* administrator. Works on any user.</p>
|
|
28
|
-
*
|
|
28
|
+
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
29
29
|
* attribute name.</p>
|
|
30
|
-
*
|
|
30
|
+
* <p>In addition to updating user attributes, this API can also be used to mark phone and
|
|
31
31
|
* email as verified.</p>
|
|
32
|
-
*
|
|
33
32
|
* <note>
|
|
34
33
|
* <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
|
|
35
34
|
* require you to register an origination phone number before you can send SMS messages
|
|
@@ -47,8 +46,7 @@ export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserA
|
|
|
47
46
|
* of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
|
|
48
47
|
* Developer Guide</i>.</p>
|
|
49
48
|
* </note>
|
|
50
|
-
*
|
|
51
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
49
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
52
50
|
* @example
|
|
53
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
54
52
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ export interface AdminUserGlobalSignOutCommandOutput extends AdminUserGlobalSign
|
|
|
29
29
|
* default, access and ID tokens expire one hour after they're issued. A user can still use
|
|
30
30
|
* a hosted UI cookie to retrieve new tokens for the duration of the cookie validity period
|
|
31
31
|
* of 1 hour.</p>
|
|
32
|
-
*
|
|
32
|
+
* <p>Calling this action requires developer credentials.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -28,7 +28,7 @@ export interface AssociateSoftwareTokenCommandOutput extends AssociateSoftwareTo
|
|
|
28
28
|
* response. You can authorize an <code>AssociateSoftwareToken</code> request with either
|
|
29
29
|
* the user's access token, or a session string from a challenge response that you received
|
|
30
30
|
* from Amazon Cognito.</p>
|
|
31
|
-
*
|
|
31
|
+
* <note>
|
|
32
32
|
* <p>Amazon Cognito disassociates an existing software token when you verify the new token in a
|
|
33
33
|
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerifySoftwareToken.html"> VerifySoftwareToken</a> API request. If you don't verify the software
|
|
34
34
|
* token and your user pool doesn't require MFA, the user can then authenticate with
|
|
@@ -39,7 +39,7 @@ export interface AssociateSoftwareTokenCommandOutput extends AssociateSoftwareTo
|
|
|
39
39
|
* <p>After you set up software token MFA for your user, Amazon Cognito generates a
|
|
40
40
|
* <code>SOFTWARE_TOKEN_MFA</code> challenge when they authenticate. Respond to
|
|
41
41
|
* this challenge with your user's TOTP.</p>
|
|
42
|
-
*
|
|
42
|
+
* </note>
|
|
43
43
|
* @example
|
|
44
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
45
45
|
* ```javascript
|