@aws-sdk/client-cognito-identity-provider 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4672 -5155
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CognitoIdentityProviderClient.js +2 -0
- package/dist-es/commands/AddCustomAttributesCommand.js +3 -9
- package/dist-es/commands/AdminAddUserToGroupCommand.js +3 -10
- package/dist-es/commands/AdminConfirmSignUpCommand.js +3 -10
- package/dist-es/commands/AdminCreateUserCommand.js +3 -10
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +3 -10
- package/dist-es/commands/AdminDeleteUserCommand.js +3 -10
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +3 -9
- package/dist-es/commands/AdminDisableUserCommand.js +3 -10
- package/dist-es/commands/AdminEnableUserCommand.js +3 -10
- package/dist-es/commands/AdminForgetDeviceCommand.js +3 -10
- package/dist-es/commands/AdminGetDeviceCommand.js +3 -10
- package/dist-es/commands/AdminGetUserCommand.js +3 -10
- package/dist-es/commands/AdminInitiateAuthCommand.js +3 -10
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +3 -9
- package/dist-es/commands/AdminListDevicesCommand.js +3 -10
- package/dist-es/commands/AdminListGroupsForUserCommand.js +3 -10
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +3 -10
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +3 -10
- package/dist-es/commands/AdminResetUserPasswordCommand.js +3 -10
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +3 -10
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +3 -10
- package/dist-es/commands/AdminSetUserPasswordCommand.js +3 -10
- package/dist-es/commands/AdminSetUserSettingsCommand.js +3 -10
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +3 -10
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +3 -10
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +3 -10
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +3 -10
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +3 -10
- package/dist-es/commands/ChangePasswordCommand.js +3 -10
- package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +3 -10
- package/dist-es/commands/ConfirmDeviceCommand.js +3 -10
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +3 -10
- package/dist-es/commands/ConfirmSignUpCommand.js +3 -10
- package/dist-es/commands/CreateGroupCommand.js +3 -9
- package/dist-es/commands/CreateIdentityProviderCommand.js +3 -9
- package/dist-es/commands/CreateManagedLoginBrandingCommand.js +3 -10
- package/dist-es/commands/CreateResourceServerCommand.js +3 -9
- package/dist-es/commands/CreateTermsCommand.js +3 -10
- package/dist-es/commands/CreateUserImportJobCommand.js +3 -9
- package/dist-es/commands/CreateUserPoolClientCommand.js +3 -10
- package/dist-es/commands/CreateUserPoolCommand.js +3 -9
- package/dist-es/commands/CreateUserPoolDomainCommand.js +3 -9
- package/dist-es/commands/DeleteGroupCommand.js +3 -9
- package/dist-es/commands/DeleteIdentityProviderCommand.js +3 -9
- package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +3 -9
- package/dist-es/commands/DeleteResourceServerCommand.js +3 -9
- package/dist-es/commands/DeleteTermsCommand.js +3 -9
- package/dist-es/commands/DeleteUserAttributesCommand.js +3 -10
- package/dist-es/commands/DeleteUserCommand.js +3 -10
- package/dist-es/commands/DeleteUserPoolClientCommand.js +3 -10
- package/dist-es/commands/DeleteUserPoolCommand.js +3 -9
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +3 -9
- package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +3 -10
- package/dist-es/commands/DescribeIdentityProviderCommand.js +3 -9
- package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +3 -10
- package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +3 -9
- package/dist-es/commands/DescribeResourceServerCommand.js +3 -9
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +3 -10
- package/dist-es/commands/DescribeTermsCommand.js +3 -10
- package/dist-es/commands/DescribeUserImportJobCommand.js +3 -9
- package/dist-es/commands/DescribeUserPoolClientCommand.js +3 -10
- package/dist-es/commands/DescribeUserPoolCommand.js +3 -9
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +3 -9
- package/dist-es/commands/ForgetDeviceCommand.js +3 -10
- package/dist-es/commands/ForgotPasswordCommand.js +3 -10
- package/dist-es/commands/GetCSVHeaderCommand.js +3 -9
- package/dist-es/commands/GetDeviceCommand.js +3 -10
- package/dist-es/commands/GetGroupCommand.js +3 -9
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +3 -9
- package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +3 -9
- package/dist-es/commands/GetSigningCertificateCommand.js +3 -9
- package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +3 -11
- package/dist-es/commands/GetUICustomizationCommand.js +3 -10
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +3 -10
- package/dist-es/commands/GetUserAuthFactorsCommand.js +3 -10
- package/dist-es/commands/GetUserCommand.js +3 -10
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +3 -9
- package/dist-es/commands/GlobalSignOutCommand.js +3 -10
- package/dist-es/commands/InitiateAuthCommand.js +3 -10
- package/dist-es/commands/ListDevicesCommand.js +3 -10
- package/dist-es/commands/ListGroupsCommand.js +3 -9
- package/dist-es/commands/ListIdentityProvidersCommand.js +3 -9
- package/dist-es/commands/ListResourceServersCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTermsCommand.js +3 -9
- package/dist-es/commands/ListUserImportJobsCommand.js +3 -9
- package/dist-es/commands/ListUserPoolClientsCommand.js +3 -10
- package/dist-es/commands/ListUserPoolsCommand.js +3 -9
- package/dist-es/commands/ListUsersCommand.js +3 -10
- package/dist-es/commands/ListUsersInGroupCommand.js +3 -10
- package/dist-es/commands/ListWebAuthnCredentialsCommand.js +3 -10
- package/dist-es/commands/ResendConfirmationCodeCommand.js +3 -10
- package/dist-es/commands/RespondToAuthChallengeCommand.js +3 -10
- package/dist-es/commands/RevokeTokenCommand.js +3 -10
- package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +3 -9
- package/dist-es/commands/SetRiskConfigurationCommand.js +3 -10
- package/dist-es/commands/SetUICustomizationCommand.js +3 -10
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +3 -10
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +3 -9
- package/dist-es/commands/SetUserSettingsCommand.js +3 -10
- package/dist-es/commands/SignUpCommand.js +3 -10
- package/dist-es/commands/StartUserImportJobCommand.js +3 -9
- package/dist-es/commands/StartWebAuthnRegistrationCommand.js +3 -10
- package/dist-es/commands/StopUserImportJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +3 -10
- package/dist-es/commands/UpdateDeviceStatusCommand.js +3 -10
- package/dist-es/commands/UpdateGroupCommand.js +3 -9
- package/dist-es/commands/UpdateIdentityProviderCommand.js +3 -9
- package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +3 -9
- package/dist-es/commands/UpdateResourceServerCommand.js +3 -9
- package/dist-es/commands/UpdateTermsCommand.js +3 -10
- package/dist-es/commands/UpdateUserAttributesCommand.js +3 -10
- package/dist-es/commands/UpdateUserPoolClientCommand.js +3 -10
- package/dist-es/commands/UpdateUserPoolCommand.js +3 -9
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +3 -9
- package/dist-es/commands/VerifySoftwareTokenCommand.js +3 -10
- package/dist-es/commands/VerifyUserAttributeCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -306
- package/dist-es/models/models_1.js +0 -205
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +4298 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -260
- package/dist-types/models/models_1.d.ts +0 -164
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +549 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -189
- package/dist-types/ts3.4/models/models_1.d.ts +0 -123
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +556 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -3548
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -1073
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1433
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateUserAttributesCommand, se_UpdateUserAttributesCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateUserAttributes } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateUserAttributesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSCognitoIdentityProviderService", "UpdateUserAttributes", {})
|
|
18
13
|
.n("CognitoIdentityProviderClient", "UpdateUserAttributesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateUserAttributesCommand)
|
|
21
|
-
.de(de_UpdateUserAttributesCommand)
|
|
14
|
+
.sc(UpdateUserAttributes)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateUserPoolClientCommand, se_UpdateUserPoolClientCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateUserPoolClient } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateUserPoolClientCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolClient", {})
|
|
18
13
|
.n("CognitoIdentityProviderClient", "UpdateUserPoolClientCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateUserPoolClientCommand)
|
|
21
|
-
.de(de_UpdateUserPoolClientCommand)
|
|
14
|
+
.sc(UpdateUserPoolClient)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateUserPool } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateUserPoolCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSCognitoIdentityProviderService", "UpdateUserPool", {})
|
|
17
13
|
.n("CognitoIdentityProviderClient", "UpdateUserPoolCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateUserPoolCommand)
|
|
20
|
-
.de(de_UpdateUserPoolCommand)
|
|
14
|
+
.sc(UpdateUserPool)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateUserPoolDomain } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateUserPoolDomainCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSCognitoIdentityProviderService", "UpdateUserPoolDomain", {})
|
|
17
13
|
.n("CognitoIdentityProviderClient", "UpdateUserPoolDomainCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateUserPoolDomainCommand)
|
|
20
|
-
.de(de_UpdateUserPoolDomainCommand)
|
|
14
|
+
.sc(UpdateUserPoolDomain)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_VerifySoftwareTokenCommand, se_VerifySoftwareTokenCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { VerifySoftwareToken } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class VerifySoftwareTokenCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSCognitoIdentityProviderService", "VerifySoftwareToken", {})
|
|
18
13
|
.n("CognitoIdentityProviderClient", "VerifySoftwareTokenCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_VerifySoftwareTokenCommand)
|
|
21
|
-
.de(de_VerifySoftwareTokenCommand)
|
|
14
|
+
.sc(VerifySoftwareToken)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_VerifyUserAttributeCommand, se_VerifyUserAttributeCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { VerifyUserAttribute } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class VerifyUserAttributeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSCognitoIdentityProviderService", "VerifyUserAttribute", {})
|
|
18
13
|
.n("CognitoIdentityProviderClient", "VerifyUserAttributeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_VerifyUserAttributeCommand)
|
|
21
|
-
.de(de_VerifyUserAttributeCommand)
|
|
14
|
+
.sc(VerifyUserAttribute)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
2
|
export const RecoveryOptionNameType = {
|
|
4
3
|
ADMIN_ONLY: "admin_only",
|
|
@@ -875,308 +874,3 @@ export const LogLevel = {
|
|
|
875
874
|
ERROR: "ERROR",
|
|
876
875
|
INFO: "INFO",
|
|
877
876
|
};
|
|
878
|
-
export const AdminAddUserToGroupRequestFilterSensitiveLog = (obj) => ({
|
|
879
|
-
...obj,
|
|
880
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
881
|
-
});
|
|
882
|
-
export const AdminConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
883
|
-
...obj,
|
|
884
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
885
|
-
});
|
|
886
|
-
export const AttributeTypeFilterSensitiveLog = (obj) => ({
|
|
887
|
-
...obj,
|
|
888
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
889
|
-
});
|
|
890
|
-
export const AdminCreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
891
|
-
...obj,
|
|
892
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
893
|
-
...(obj.UserAttributes && {
|
|
894
|
-
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
895
|
-
}),
|
|
896
|
-
...(obj.ValidationData && {
|
|
897
|
-
ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
898
|
-
}),
|
|
899
|
-
...(obj.TemporaryPassword && { TemporaryPassword: SENSITIVE_STRING }),
|
|
900
|
-
});
|
|
901
|
-
export const UserTypeFilterSensitiveLog = (obj) => ({
|
|
902
|
-
...obj,
|
|
903
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
904
|
-
...(obj.Attributes && { Attributes: obj.Attributes.map((item) => AttributeTypeFilterSensitiveLog(item)) }),
|
|
905
|
-
});
|
|
906
|
-
export const AdminCreateUserResponseFilterSensitiveLog = (obj) => ({
|
|
907
|
-
...obj,
|
|
908
|
-
...(obj.User && { User: UserTypeFilterSensitiveLog(obj.User) }),
|
|
909
|
-
});
|
|
910
|
-
export const AdminDeleteUserRequestFilterSensitiveLog = (obj) => ({
|
|
911
|
-
...obj,
|
|
912
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
913
|
-
});
|
|
914
|
-
export const AdminDeleteUserAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
915
|
-
...obj,
|
|
916
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
917
|
-
});
|
|
918
|
-
export const AdminDisableUserRequestFilterSensitiveLog = (obj) => ({
|
|
919
|
-
...obj,
|
|
920
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
921
|
-
});
|
|
922
|
-
export const AdminEnableUserRequestFilterSensitiveLog = (obj) => ({
|
|
923
|
-
...obj,
|
|
924
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
925
|
-
});
|
|
926
|
-
export const AdminForgetDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
927
|
-
...obj,
|
|
928
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
929
|
-
});
|
|
930
|
-
export const AdminGetDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
931
|
-
...obj,
|
|
932
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
933
|
-
});
|
|
934
|
-
export const DeviceTypeFilterSensitiveLog = (obj) => ({
|
|
935
|
-
...obj,
|
|
936
|
-
...(obj.DeviceAttributes && {
|
|
937
|
-
DeviceAttributes: obj.DeviceAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
938
|
-
}),
|
|
939
|
-
});
|
|
940
|
-
export const AdminGetDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
941
|
-
...obj,
|
|
942
|
-
...(obj.Device && { Device: DeviceTypeFilterSensitiveLog(obj.Device) }),
|
|
943
|
-
});
|
|
944
|
-
export const AdminGetUserRequestFilterSensitiveLog = (obj) => ({
|
|
945
|
-
...obj,
|
|
946
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
947
|
-
});
|
|
948
|
-
export const AdminGetUserResponseFilterSensitiveLog = (obj) => ({
|
|
949
|
-
...obj,
|
|
950
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
951
|
-
...(obj.UserAttributes && {
|
|
952
|
-
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
953
|
-
}),
|
|
954
|
-
});
|
|
955
|
-
export const AdminInitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
956
|
-
...obj,
|
|
957
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
958
|
-
...(obj.AuthParameters && { AuthParameters: SENSITIVE_STRING }),
|
|
959
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
960
|
-
});
|
|
961
|
-
export const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
962
|
-
...obj,
|
|
963
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
964
|
-
...(obj.RefreshToken && { RefreshToken: SENSITIVE_STRING }),
|
|
965
|
-
...(obj.IdToken && { IdToken: SENSITIVE_STRING }),
|
|
966
|
-
});
|
|
967
|
-
export const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
968
|
-
...obj,
|
|
969
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
970
|
-
...(obj.AuthenticationResult && {
|
|
971
|
-
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
972
|
-
}),
|
|
973
|
-
});
|
|
974
|
-
export const AdminListDevicesRequestFilterSensitiveLog = (obj) => ({
|
|
975
|
-
...obj,
|
|
976
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
977
|
-
});
|
|
978
|
-
export const AdminListDevicesResponseFilterSensitiveLog = (obj) => ({
|
|
979
|
-
...obj,
|
|
980
|
-
});
|
|
981
|
-
export const AdminListGroupsForUserRequestFilterSensitiveLog = (obj) => ({
|
|
982
|
-
...obj,
|
|
983
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
984
|
-
});
|
|
985
|
-
export const AdminListUserAuthEventsRequestFilterSensitiveLog = (obj) => ({
|
|
986
|
-
...obj,
|
|
987
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
988
|
-
});
|
|
989
|
-
export const AdminRemoveUserFromGroupRequestFilterSensitiveLog = (obj) => ({
|
|
990
|
-
...obj,
|
|
991
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
992
|
-
});
|
|
993
|
-
export const AdminResetUserPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
994
|
-
...obj,
|
|
995
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
996
|
-
});
|
|
997
|
-
export const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
998
|
-
...obj,
|
|
999
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1000
|
-
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
|
|
1001
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1002
|
-
});
|
|
1003
|
-
export const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1004
|
-
...obj,
|
|
1005
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1006
|
-
...(obj.AuthenticationResult && {
|
|
1007
|
-
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
1008
|
-
}),
|
|
1009
|
-
});
|
|
1010
|
-
export const AdminSetUserMFAPreferenceRequestFilterSensitiveLog = (obj) => ({
|
|
1011
|
-
...obj,
|
|
1012
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1013
|
-
});
|
|
1014
|
-
export const AdminSetUserPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
1015
|
-
...obj,
|
|
1016
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1017
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
1018
|
-
});
|
|
1019
|
-
export const AdminSetUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
1020
|
-
...obj,
|
|
1021
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1022
|
-
});
|
|
1023
|
-
export const AdminUpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
1024
|
-
...obj,
|
|
1025
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1026
|
-
});
|
|
1027
|
-
export const AdminUpdateDeviceStatusRequestFilterSensitiveLog = (obj) => ({
|
|
1028
|
-
...obj,
|
|
1029
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1030
|
-
});
|
|
1031
|
-
export const AdminUpdateUserAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
1032
|
-
...obj,
|
|
1033
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1034
|
-
...(obj.UserAttributes && {
|
|
1035
|
-
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
1036
|
-
}),
|
|
1037
|
-
});
|
|
1038
|
-
export const AdminUserGlobalSignOutRequestFilterSensitiveLog = (obj) => ({
|
|
1039
|
-
...obj,
|
|
1040
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1041
|
-
});
|
|
1042
|
-
export const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
1043
|
-
...obj,
|
|
1044
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1045
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1046
|
-
});
|
|
1047
|
-
export const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
1048
|
-
...obj,
|
|
1049
|
-
...(obj.SecretCode && { SecretCode: SENSITIVE_STRING }),
|
|
1050
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1051
|
-
});
|
|
1052
|
-
export const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
1053
|
-
...obj,
|
|
1054
|
-
...(obj.PreviousPassword && { PreviousPassword: SENSITIVE_STRING }),
|
|
1055
|
-
...(obj.ProposedPassword && { ProposedPassword: SENSITIVE_STRING }),
|
|
1056
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1057
|
-
});
|
|
1058
|
-
export const CompleteWebAuthnRegistrationRequestFilterSensitiveLog = (obj) => ({
|
|
1059
|
-
...obj,
|
|
1060
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1061
|
-
});
|
|
1062
|
-
export const ConfirmDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
1063
|
-
...obj,
|
|
1064
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1065
|
-
});
|
|
1066
|
-
export const UserContextDataTypeFilterSensitiveLog = (obj) => ({
|
|
1067
|
-
...obj,
|
|
1068
|
-
});
|
|
1069
|
-
export const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
1070
|
-
...obj,
|
|
1071
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1072
|
-
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
1073
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1074
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
1075
|
-
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
1076
|
-
});
|
|
1077
|
-
export const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
1078
|
-
...obj,
|
|
1079
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1080
|
-
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
1081
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1082
|
-
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
1083
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1084
|
-
});
|
|
1085
|
-
export const ConfirmSignUpResponseFilterSensitiveLog = (obj) => ({
|
|
1086
|
-
...obj,
|
|
1087
|
-
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1088
|
-
});
|
|
1089
|
-
export const CreateManagedLoginBrandingRequestFilterSensitiveLog = (obj) => ({
|
|
1090
|
-
...obj,
|
|
1091
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1092
|
-
});
|
|
1093
|
-
export const CreateTermsRequestFilterSensitiveLog = (obj) => ({
|
|
1094
|
-
...obj,
|
|
1095
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1096
|
-
});
|
|
1097
|
-
export const TermsTypeFilterSensitiveLog = (obj) => ({
|
|
1098
|
-
...obj,
|
|
1099
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1100
|
-
});
|
|
1101
|
-
export const CreateTermsResponseFilterSensitiveLog = (obj) => ({
|
|
1102
|
-
...obj,
|
|
1103
|
-
...(obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }),
|
|
1104
|
-
});
|
|
1105
|
-
export const UserPoolClientTypeFilterSensitiveLog = (obj) => ({
|
|
1106
|
-
...obj,
|
|
1107
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1108
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
1109
|
-
});
|
|
1110
|
-
export const CreateUserPoolClientResponseFilterSensitiveLog = (obj) => ({
|
|
1111
|
-
...obj,
|
|
1112
|
-
...(obj.UserPoolClient && { UserPoolClient: UserPoolClientTypeFilterSensitiveLog(obj.UserPoolClient) }),
|
|
1113
|
-
});
|
|
1114
|
-
export const DeleteUserRequestFilterSensitiveLog = (obj) => ({
|
|
1115
|
-
...obj,
|
|
1116
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1117
|
-
});
|
|
1118
|
-
export const DeleteUserAttributesRequestFilterSensitiveLog = (obj) => ({
|
|
1119
|
-
...obj,
|
|
1120
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1121
|
-
});
|
|
1122
|
-
export const DeleteUserPoolClientRequestFilterSensitiveLog = (obj) => ({
|
|
1123
|
-
...obj,
|
|
1124
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1125
|
-
});
|
|
1126
|
-
export const DeleteWebAuthnCredentialRequestFilterSensitiveLog = (obj) => ({
|
|
1127
|
-
...obj,
|
|
1128
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1129
|
-
});
|
|
1130
|
-
export const DescribeManagedLoginBrandingByClientRequestFilterSensitiveLog = (obj) => ({
|
|
1131
|
-
...obj,
|
|
1132
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1133
|
-
});
|
|
1134
|
-
export const DescribeRiskConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
1135
|
-
...obj,
|
|
1136
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1137
|
-
});
|
|
1138
|
-
export const RiskConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
1139
|
-
...obj,
|
|
1140
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1141
|
-
});
|
|
1142
|
-
export const DescribeRiskConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
1143
|
-
...obj,
|
|
1144
|
-
...(obj.RiskConfiguration && { RiskConfiguration: RiskConfigurationTypeFilterSensitiveLog(obj.RiskConfiguration) }),
|
|
1145
|
-
});
|
|
1146
|
-
export const DescribeTermsResponseFilterSensitiveLog = (obj) => ({
|
|
1147
|
-
...obj,
|
|
1148
|
-
...(obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }),
|
|
1149
|
-
});
|
|
1150
|
-
export const DescribeUserPoolClientRequestFilterSensitiveLog = (obj) => ({
|
|
1151
|
-
...obj,
|
|
1152
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1153
|
-
});
|
|
1154
|
-
export const DescribeUserPoolClientResponseFilterSensitiveLog = (obj) => ({
|
|
1155
|
-
...obj,
|
|
1156
|
-
...(obj.UserPoolClient && { UserPoolClient: UserPoolClientTypeFilterSensitiveLog(obj.UserPoolClient) }),
|
|
1157
|
-
});
|
|
1158
|
-
export const ForgetDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
1159
|
-
...obj,
|
|
1160
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1161
|
-
});
|
|
1162
|
-
export const ForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
1163
|
-
...obj,
|
|
1164
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1165
|
-
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
1166
|
-
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
1167
|
-
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1168
|
-
});
|
|
1169
|
-
export const GetDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
1170
|
-
...obj,
|
|
1171
|
-
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
1172
|
-
});
|
|
1173
|
-
export const GetDeviceResponseFilterSensitiveLog = (obj) => ({
|
|
1174
|
-
...obj,
|
|
1175
|
-
...(obj.Device && { Device: DeviceTypeFilterSensitiveLog(obj.Device) }),
|
|
1176
|
-
});
|
|
1177
|
-
export const GetTokensFromRefreshTokenRequestFilterSensitiveLog = (obj) => ({
|
|
1178
|
-
...obj,
|
|
1179
|
-
...(obj.RefreshToken && { RefreshToken: SENSITIVE_STRING }),
|
|
1180
|
-
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1181
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
1182
|
-
});
|