@aws-sdk/client-cognito-identity-provider 3.395.0 → 3.402.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/AssociateSoftwareTokenCommand.js +0 -2
- package/dist-cjs/commands/ConfirmDeviceCommand.js +0 -2
- package/dist-cjs/commands/ForgetDeviceCommand.js +0 -2
- package/dist-cjs/commands/GetDeviceCommand.js +0 -2
- package/dist-cjs/commands/GlobalSignOutCommand.js +0 -2
- package/dist-cjs/commands/ListDevicesCommand.js +0 -2
- package/dist-cjs/commands/RevokeTokenCommand.js +0 -2
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +0 -2
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +0 -2
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +0 -2
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -3
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +22 -2
- package/dist-cjs/models/models_1.js +9 -1
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +0 -2
- package/dist-es/commands/ConfirmDeviceCommand.js +0 -2
- package/dist-es/commands/ForgetDeviceCommand.js +0 -2
- package/dist-es/commands/GetDeviceCommand.js +0 -2
- package/dist-es/commands/GlobalSignOutCommand.js +0 -2
- package/dist-es/commands/ListDevicesCommand.js +0 -2
- package/dist-es/commands/RevokeTokenCommand.js +0 -2
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +0 -2
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +0 -2
- package/dist-es/commands/UpdateDeviceStatusCommand.js +0 -2
- package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -4
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -1
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +18 -5
- package/dist-types/models/models_1.d.ts +4 -0
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -3
- package/package.json +29 -29
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AssociateSoftwareTokenCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class AssociateSoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateSoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConfirmDeviceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class ConfirmDeviceCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ConfirmDeviceCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ForgetDeviceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class ForgetDeviceCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ForgetDeviceCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetDeviceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class GetDeviceCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDeviceCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GlobalSignOutCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class GlobalSignOutCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GlobalSignOutCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListDevicesCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class ListDevicesCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDevicesCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RevokeTokenCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class RevokeTokenCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RevokeTokenCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUserMFAPreferenceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class SetUserMFAPreferenceCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SetUserMFAPreferenceCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateAuthEventFeedbackCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class UpdateAuthEventFeedbackCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAuthEventFeedbackCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateDeviceStatusCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class UpdateDeviceStatusCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDeviceStatusCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifySoftwareTokenCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
4
|
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -24,7 +23,6 @@ class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
24
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
25
24
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
26
25
|
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, VerifySoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
27
|
-
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
28
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
29
27
|
const { logger } = configuration;
|
|
30
28
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -34,7 +32,7 @@ class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
34
32
|
clientName,
|
|
35
33
|
commandName,
|
|
36
34
|
inputFilterSensitiveLog: models_1_1.VerifySoftwareTokenRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_1_1.VerifySoftwareTokenResponseFilterSensitiveLog,
|
|
38
36
|
};
|
|
39
37
|
const { requestHandler } = configuration;
|
|
40
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
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 }, {
|
|
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 }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { 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: [{ 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: [{ 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: [{ 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 }] }, { 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;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VerifiedAttributeType = exports.ForbiddenException = exports.ConcurrentModificationException = exports.AliasAttributeType = exports.AdvancedSecurityModeType = exports.DeviceRememberedStatusType = exports.SoftwareTokenMFANotFoundException = exports.ExpiredCodeException = exports.CodeMismatchException = exports.InvalidEmailRoleAccessPolicyException = exports.UserPoolAddOnNotEnabledException = exports.EventType = exports.RiskLevelType = exports.RiskDecisionType = exports.EventResponseType = exports.FeedbackValueType = exports.ChallengeResponse = exports.ChallengeName = exports.UserNotConfirmedException = exports.PasswordResetRequiredException = exports.MFAMethodNotFoundException = exports.ChallengeNameType = exports.AuthFlowType = exports.InvalidUserPoolConfigurationException = exports.AliasExistsException = exports.UsernameExistsException = exports.UnsupportedUserStateException = exports.PreconditionNotMetException = exports.InvalidSmsRoleTrustRelationshipException = exports.InvalidSmsRoleAccessPolicyException = exports.InvalidPasswordException = exports.CodeDeliveryFailureException = exports.UserStatusType = exports.MessageActionType = exports.DeliveryMediumType = exports.UserLambdaValidationException = exports.UnexpectedLambdaException = exports.TooManyFailedAttemptsException = exports.LimitExceededException = exports.InvalidLambdaResponseException = exports.UserNotFoundException = exports.UserImportInProgressException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidParameterException = exports.InternalErrorException = exports.AttributeDataType = exports.AccountTakeoverEventActionType = exports.RecoveryOptionNameType = void 0;
|
|
4
4
|
exports.AdminListGroupsForUserRequestFilterSensitiveLog = exports.AdminListDevicesResponseFilterSensitiveLog = exports.AdminListDevicesRequestFilterSensitiveLog = exports.AdminInitiateAuthResponseFilterSensitiveLog = exports.AuthenticationResultTypeFilterSensitiveLog = exports.AdminInitiateAuthRequestFilterSensitiveLog = exports.AdminGetUserResponseFilterSensitiveLog = exports.AdminGetUserRequestFilterSensitiveLog = exports.AdminGetDeviceResponseFilterSensitiveLog = exports.DeviceTypeFilterSensitiveLog = exports.AdminGetDeviceRequestFilterSensitiveLog = exports.AdminForgetDeviceRequestFilterSensitiveLog = exports.AdminEnableUserRequestFilterSensitiveLog = exports.AdminDisableUserRequestFilterSensitiveLog = exports.AdminDeleteUserAttributesRequestFilterSensitiveLog = exports.AdminDeleteUserRequestFilterSensitiveLog = exports.AdminCreateUserResponseFilterSensitiveLog = exports.UserTypeFilterSensitiveLog = exports.AdminCreateUserRequestFilterSensitiveLog = exports.AttributeTypeFilterSensitiveLog = exports.AdminConfirmSignUpRequestFilterSensitiveLog = exports.AdminAddUserToGroupRequestFilterSensitiveLog = exports.UnsupportedTokenTypeException = exports.UnsupportedOperationException = exports.UnauthorizedException = exports.LogLevel = exports.EventSourceName = exports.DomainStatusType = exports.EventFilterType = exports.CompromisedCredentialsEventActionType = exports.UnsupportedIdentityProviderException = exports.ScopeDoesNotExistException = exports.InvalidOAuthFlowException = exports.TimeUnitsType = exports.PreventUserExistenceErrorTypes = exports.ExplicitAuthFlowsType = exports.OAuthFlowType = exports.UserPoolTaggingException = exports.StatusType = exports.DefaultEmailOptionType = exports.UsernameAttributeType = exports.UserPoolMfaType = exports.CustomSMSSenderLambdaVersionType = exports.CustomEmailSenderLambdaVersionType = exports.EmailSendingAccountType = exports.DeletionProtectionType = exports.UserImportJobStatusType = exports.DuplicateProviderException = exports.IdentityProviderTypeType = exports.GroupExistsException = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.SetRiskConfigurationRequestFilterSensitiveLog = exports.RevokeTokenRequestFilterSensitiveLog = void 0;
|
|
5
|
+
exports.RespondToAuthChallengeRequestFilterSensitiveLog = exports.ResendConfirmationCodeRequestFilterSensitiveLog = exports.ListUsersInGroupResponseFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.ListUserPoolClientsResponseFilterSensitiveLog = exports.UserPoolClientDescriptionFilterSensitiveLog = exports.ListDevicesResponseFilterSensitiveLog = exports.ListDevicesRequestFilterSensitiveLog = exports.InitiateAuthResponseFilterSensitiveLog = exports.InitiateAuthRequestFilterSensitiveLog = exports.GlobalSignOutRequestFilterSensitiveLog = exports.GetUserAttributeVerificationCodeRequestFilterSensitiveLog = exports.GetUserResponseFilterSensitiveLog = exports.GetUserRequestFilterSensitiveLog = exports.GetUICustomizationResponseFilterSensitiveLog = exports.UICustomizationTypeFilterSensitiveLog = exports.GetUICustomizationRequestFilterSensitiveLog = exports.GetDeviceResponseFilterSensitiveLog = exports.GetDeviceRequestFilterSensitiveLog = exports.ForgotPasswordRequestFilterSensitiveLog = exports.ForgetDeviceRequestFilterSensitiveLog = exports.DescribeUserPoolClientResponseFilterSensitiveLog = exports.DescribeUserPoolClientRequestFilterSensitiveLog = exports.DescribeRiskConfigurationResponseFilterSensitiveLog = exports.RiskConfigurationTypeFilterSensitiveLog = exports.DescribeRiskConfigurationRequestFilterSensitiveLog = exports.DeleteUserPoolClientRequestFilterSensitiveLog = exports.DeleteUserAttributesRequestFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.CreateUserPoolClientResponseFilterSensitiveLog = exports.UserPoolClientTypeFilterSensitiveLog = exports.ConfirmSignUpRequestFilterSensitiveLog = exports.ConfirmForgotPasswordRequestFilterSensitiveLog = exports.UserContextDataTypeFilterSensitiveLog = exports.ConfirmDeviceRequestFilterSensitiveLog = exports.ChangePasswordRequestFilterSensitiveLog = exports.AssociateSoftwareTokenResponseFilterSensitiveLog = exports.AssociateSoftwareTokenRequestFilterSensitiveLog = exports.AdminUserGlobalSignOutRequestFilterSensitiveLog = exports.AdminUpdateUserAttributesRequestFilterSensitiveLog = exports.AdminUpdateDeviceStatusRequestFilterSensitiveLog = exports.AdminUpdateAuthEventFeedbackRequestFilterSensitiveLog = exports.AdminSetUserSettingsRequestFilterSensitiveLog = exports.AdminSetUserPasswordRequestFilterSensitiveLog = exports.AdminSetUserMFAPreferenceRequestFilterSensitiveLog = exports.AdminRespondToAuthChallengeResponseFilterSensitiveLog = exports.AdminRespondToAuthChallengeRequestFilterSensitiveLog = exports.AdminResetUserPasswordRequestFilterSensitiveLog = exports.AdminRemoveUserFromGroupRequestFilterSensitiveLog = exports.AdminListUserAuthEventsRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.SetRiskConfigurationRequestFilterSensitiveLog = exports.RevokeTokenRequestFilterSensitiveLog = exports.RespondToAuthChallengeResponseFilterSensitiveLog = void 0;
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
9
9
|
exports.RecoveryOptionNameType = {
|
|
@@ -837,6 +837,7 @@ const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
|
837
837
|
exports.AuthenticationResultTypeFilterSensitiveLog = AuthenticationResultTypeFilterSensitiveLog;
|
|
838
838
|
const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
839
839
|
...obj,
|
|
840
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
840
841
|
...(obj.AuthenticationResult && {
|
|
841
842
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
842
843
|
}),
|
|
@@ -874,10 +875,13 @@ exports.AdminResetUserPasswordRequestFilterSensitiveLog = AdminResetUserPassword
|
|
|
874
875
|
const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
875
876
|
...obj,
|
|
876
877
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
878
|
+
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
879
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
877
880
|
});
|
|
878
881
|
exports.AdminRespondToAuthChallengeRequestFilterSensitiveLog = AdminRespondToAuthChallengeRequestFilterSensitiveLog;
|
|
879
882
|
const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
880
883
|
...obj,
|
|
884
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
881
885
|
...(obj.AuthenticationResult && {
|
|
882
886
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
883
887
|
}),
|
|
@@ -925,11 +929,13 @@ exports.AdminUserGlobalSignOutRequestFilterSensitiveLog = AdminUserGlobalSignOut
|
|
|
925
929
|
const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
926
930
|
...obj,
|
|
927
931
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
932
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
928
933
|
});
|
|
929
934
|
exports.AssociateSoftwareTokenRequestFilterSensitiveLog = AssociateSoftwareTokenRequestFilterSensitiveLog;
|
|
930
935
|
const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
931
936
|
...obj,
|
|
932
937
|
...(obj.SecretCode && { SecretCode: smithy_client_1.SENSITIVE_STRING }),
|
|
938
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
933
939
|
});
|
|
934
940
|
exports.AssociateSoftwareTokenResponseFilterSensitiveLog = AssociateSoftwareTokenResponseFilterSensitiveLog;
|
|
935
941
|
const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -944,12 +950,17 @@ const ConfirmDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
|
944
950
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
945
951
|
});
|
|
946
952
|
exports.ConfirmDeviceRequestFilterSensitiveLog = ConfirmDeviceRequestFilterSensitiveLog;
|
|
953
|
+
const UserContextDataTypeFilterSensitiveLog = (obj) => ({
|
|
954
|
+
...obj,
|
|
955
|
+
});
|
|
956
|
+
exports.UserContextDataTypeFilterSensitiveLog = UserContextDataTypeFilterSensitiveLog;
|
|
947
957
|
const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
948
958
|
...obj,
|
|
949
959
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
950
960
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
951
961
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
952
962
|
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
963
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
953
964
|
});
|
|
954
965
|
exports.ConfirmForgotPasswordRequestFilterSensitiveLog = ConfirmForgotPasswordRequestFilterSensitiveLog;
|
|
955
966
|
const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -957,6 +968,7 @@ const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
|
957
968
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
958
969
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
959
970
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
971
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
960
972
|
});
|
|
961
973
|
exports.ConfirmSignUpRequestFilterSensitiveLog = ConfirmSignUpRequestFilterSensitiveLog;
|
|
962
974
|
const UserPoolClientTypeFilterSensitiveLog = (obj) => ({
|
|
@@ -1019,6 +1031,7 @@ const ForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
|
1019
1031
|
...obj,
|
|
1020
1032
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1021
1033
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
1034
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1022
1035
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
1023
1036
|
});
|
|
1024
1037
|
exports.ForgotPasswordRequestFilterSensitiveLog = ForgotPasswordRequestFilterSensitiveLog;
|
|
@@ -1074,10 +1087,12 @@ const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
|
1074
1087
|
...obj,
|
|
1075
1088
|
...(obj.AuthParameters && { AuthParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
1076
1089
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1090
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1077
1091
|
});
|
|
1078
1092
|
exports.InitiateAuthRequestFilterSensitiveLog = InitiateAuthRequestFilterSensitiveLog;
|
|
1079
1093
|
const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
1080
1094
|
...obj,
|
|
1095
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1081
1096
|
...(obj.AuthenticationResult && {
|
|
1082
1097
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1083
1098
|
}),
|
|
@@ -1118,16 +1133,21 @@ const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
|
|
|
1118
1133
|
...obj,
|
|
1119
1134
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1120
1135
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
1136
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1121
1137
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
1122
1138
|
});
|
|
1123
1139
|
exports.ResendConfirmationCodeRequestFilterSensitiveLog = ResendConfirmationCodeRequestFilterSensitiveLog;
|
|
1124
1140
|
const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
1125
1141
|
...obj,
|
|
1126
1142
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1143
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1144
|
+
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
1145
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1127
1146
|
});
|
|
1128
1147
|
exports.RespondToAuthChallengeRequestFilterSensitiveLog = RespondToAuthChallengeRequestFilterSensitiveLog;
|
|
1129
1148
|
const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1130
1149
|
...obj,
|
|
1150
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1131
1151
|
...(obj.AuthenticationResult && {
|
|
1132
1152
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1133
1153
|
}),
|
|
@@ -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.SetUserSettingsRequestFilterSensitiveLog = exports.SetUserMFAPreferenceRequestFilterSensitiveLog = exports.SetUICustomizationResponseFilterSensitiveLog = exports.SetUICustomizationRequestFilterSensitiveLog = exports.SetRiskConfigurationResponseFilterSensitiveLog = 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.SetUserSettingsRequestFilterSensitiveLog = exports.SetUserMFAPreferenceRequestFilterSensitiveLog = exports.SetUICustomizationResponseFilterSensitiveLog = exports.SetUICustomizationRequestFilterSensitiveLog = exports.SetRiskConfigurationResponseFilterSensitiveLog = 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");
|
|
@@ -58,6 +58,7 @@ const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
|
58
58
|
...(obj.ValidationData && {
|
|
59
59
|
ValidationData: obj.ValidationData.map((item) => (0, models_0_1.AttributeTypeFilterSensitiveLog)(item)),
|
|
60
60
|
}),
|
|
61
|
+
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
61
62
|
});
|
|
62
63
|
exports.SignUpRequestFilterSensitiveLog = SignUpRequestFilterSensitiveLog;
|
|
63
64
|
const UpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -92,8 +93,15 @@ exports.UpdateUserPoolClientResponseFilterSensitiveLog = UpdateUserPoolClientRes
|
|
|
92
93
|
const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
93
94
|
...obj,
|
|
94
95
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
96
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
97
|
+
...(obj.UserCode && { UserCode: smithy_client_1.SENSITIVE_STRING }),
|
|
95
98
|
});
|
|
96
99
|
exports.VerifySoftwareTokenRequestFilterSensitiveLog = VerifySoftwareTokenRequestFilterSensitiveLog;
|
|
100
|
+
const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
101
|
+
...obj,
|
|
102
|
+
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
103
|
+
});
|
|
104
|
+
exports.VerifySoftwareTokenResponseFilterSensitiveLog = VerifySoftwareTokenResponseFilterSensitiveLog;
|
|
97
105
|
const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
98
106
|
...obj,
|
|
99
107
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class AssociateSoftwareTokenCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, AssociateSoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class ConfirmDeviceCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, ConfirmDeviceCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class ForgetDeviceCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, ForgetDeviceCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class GetDeviceCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, GetDeviceCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class GlobalSignOutCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, GlobalSignOutCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class ListDevicesCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListDevicesCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class RevokeTokenCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, RevokeTokenCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class SetUserMFAPreferenceCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, SetUserMFAPreferenceCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class UpdateAuthEventFeedbackCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAuthEventFeedbackCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
@@ -21,7 +20,6 @@ export class UpdateDeviceStatusCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDeviceStatusCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
2
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
-
import { VerifySoftwareTokenRequestFilterSensitiveLog, } from "../models/models_1";
|
|
4
|
+
import { VerifySoftwareTokenRequestFilterSensitiveLog, VerifySoftwareTokenResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
5
|
import { de_VerifySoftwareTokenCommand, se_VerifySoftwareTokenCommand } from "../protocols/Aws_json1_1";
|
|
7
6
|
export { $Command };
|
|
8
7
|
export class VerifySoftwareTokenCommand extends $Command {
|
|
@@ -21,7 +20,6 @@ export class VerifySoftwareTokenCommand extends $Command {
|
|
|
21
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
22
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
22
|
this.middlewareStack.use(getEndpointPlugin(configuration, VerifySoftwareTokenCommand.getEndpointParameterInstructions()));
|
|
24
|
-
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
25
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
26
24
|
const { logger } = configuration;
|
|
27
25
|
const clientName = "CognitoIdentityProviderClient";
|
|
@@ -31,7 +29,7 @@ export class VerifySoftwareTokenCommand extends $Command {
|
|
|
31
29
|
clientName,
|
|
32
30
|
commandName,
|
|
33
31
|
inputFilterSensitiveLog: VerifySoftwareTokenRequestFilterSensitiveLog,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: VerifySoftwareTokenResponseFilterSensitiveLog,
|
|
35
33
|
};
|
|
36
34
|
const { requestHandler } = configuration;
|
|
37
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
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 }, {
|
|
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 }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { 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: [{ 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: [{ 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: [{ 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 }] }, { 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;
|
|
@@ -773,6 +773,7 @@ export const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
|
773
773
|
});
|
|
774
774
|
export const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
775
775
|
...obj,
|
|
776
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
776
777
|
...(obj.AuthenticationResult && {
|
|
777
778
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
778
779
|
}),
|
|
@@ -803,9 +804,12 @@ export const AdminResetUserPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
|
803
804
|
export const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
804
805
|
...obj,
|
|
805
806
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
807
|
+
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
|
|
808
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
806
809
|
});
|
|
807
810
|
export const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
808
811
|
...obj,
|
|
812
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
809
813
|
...(obj.AuthenticationResult && {
|
|
810
814
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
811
815
|
}),
|
|
@@ -845,10 +849,12 @@ export const AdminUserGlobalSignOutRequestFilterSensitiveLog = (obj) => ({
|
|
|
845
849
|
export const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
846
850
|
...obj,
|
|
847
851
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
852
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
848
853
|
});
|
|
849
854
|
export const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
850
855
|
...obj,
|
|
851
856
|
...(obj.SecretCode && { SecretCode: SENSITIVE_STRING }),
|
|
857
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
852
858
|
});
|
|
853
859
|
export const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
854
860
|
...obj,
|
|
@@ -860,18 +866,23 @@ export const ConfirmDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
|
860
866
|
...obj,
|
|
861
867
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
862
868
|
});
|
|
869
|
+
export const UserContextDataTypeFilterSensitiveLog = (obj) => ({
|
|
870
|
+
...obj,
|
|
871
|
+
});
|
|
863
872
|
export const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
864
873
|
...obj,
|
|
865
874
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
866
875
|
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
867
876
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
868
877
|
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
878
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
869
879
|
});
|
|
870
880
|
export const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
871
881
|
...obj,
|
|
872
882
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
873
883
|
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
874
884
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
885
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
875
886
|
});
|
|
876
887
|
export const UserPoolClientTypeFilterSensitiveLog = (obj) => ({
|
|
877
888
|
...obj,
|
|
@@ -922,6 +933,7 @@ export const ForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
|
922
933
|
...obj,
|
|
923
934
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
924
935
|
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
936
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
925
937
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
926
938
|
});
|
|
927
939
|
export const GetDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -967,9 +979,11 @@ export const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
|
967
979
|
...obj,
|
|
968
980
|
...(obj.AuthParameters && { AuthParameters: SENSITIVE_STRING }),
|
|
969
981
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
982
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
970
983
|
});
|
|
971
984
|
export const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
972
985
|
...obj,
|
|
986
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
973
987
|
...(obj.AuthenticationResult && {
|
|
974
988
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
975
989
|
}),
|
|
@@ -1003,14 +1017,19 @@ export const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
|
|
|
1003
1017
|
...obj,
|
|
1004
1018
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1005
1019
|
...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
|
|
1020
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
1006
1021
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
1007
1022
|
});
|
|
1008
1023
|
export const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
1009
1024
|
...obj,
|
|
1010
1025
|
...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
|
|
1026
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1027
|
+
...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
|
|
1028
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
1011
1029
|
});
|
|
1012
1030
|
export const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1013
1031
|
...obj,
|
|
1032
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
1014
1033
|
...(obj.AuthenticationResult && {
|
|
1015
1034
|
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
|
|
1016
1035
|
}),
|
|
@@ -49,6 +49,7 @@ export const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
|
49
49
|
...(obj.ValidationData && {
|
|
50
50
|
ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
|
|
51
51
|
}),
|
|
52
|
+
...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
|
|
52
53
|
});
|
|
53
54
|
export const UpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
54
55
|
...obj,
|
|
@@ -77,6 +78,12 @@ export const UpdateUserPoolClientResponseFilterSensitiveLog = (obj) => ({
|
|
|
77
78
|
export const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
78
79
|
...obj,
|
|
79
80
|
...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
|
|
81
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
82
|
+
...(obj.UserCode && { UserCode: SENSITIVE_STRING }),
|
|
83
|
+
});
|
|
84
|
+
export const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
85
|
+
...obj,
|
|
86
|
+
...(obj.Session && { Session: SENSITIVE_STRING }),
|
|
80
87
|
});
|
|
81
88
|
export const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
82
89
|
...obj,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -41,7 +41,8 @@ export interface AdminUpdateUserAttributesCommandOutput extends AdminUpdateUserA
|
|
|
41
41
|
* Developer Guide</i>.</p>
|
|
42
42
|
* </note>
|
|
43
43
|
* <p>Updates the specified user's attributes, including developer attributes, as an
|
|
44
|
-
* administrator. Works on any user
|
|
44
|
+
* administrator. Works on any user. To delete an attribute from your user, submit the
|
|
45
|
+
* attribute in your API request with a blank value.</p>
|
|
45
46
|
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
46
47
|
* attribute name.</p>
|
|
47
48
|
* <p>In addition to updating user attributes, this API can also be used to mark phone and
|
|
@@ -6637,13 +6637,15 @@ export interface GetIdentityProviderByIdentifierResponse {
|
|
|
6637
6637
|
export interface GetLogDeliveryConfigurationRequest {
|
|
6638
6638
|
/**
|
|
6639
6639
|
* @public
|
|
6640
|
-
* <p>The ID of the user pool where you want to view detailed activity logging
|
|
6640
|
+
* <p>The ID of the user pool where you want to view detailed activity logging
|
|
6641
|
+
* configuration.</p>
|
|
6641
6642
|
*/
|
|
6642
6643
|
UserPoolId: string | undefined;
|
|
6643
6644
|
}
|
|
6644
6645
|
/**
|
|
6645
6646
|
* @public
|
|
6646
|
-
* <p>The CloudWatch logging destination of a user pool detailed activity logging
|
|
6647
|
+
* <p>The CloudWatch logging destination of a user pool detailed activity logging
|
|
6648
|
+
* configuration.</p>
|
|
6647
6649
|
*/
|
|
6648
6650
|
export interface CloudWatchLogsConfigurationType {
|
|
6649
6651
|
/**
|
|
@@ -6651,6 +6653,10 @@ export interface CloudWatchLogsConfigurationType {
|
|
|
6651
6653
|
* <p>The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs.
|
|
6652
6654
|
* The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account
|
|
6653
6655
|
* as your user pool.</p>
|
|
6656
|
+
* <p>To send logs to log groups with a resource policy of a size greater than 5120
|
|
6657
|
+
* characters, configure a log group with a path that starts with
|
|
6658
|
+
* <code>/aws/vendedlogs</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html">Enabling
|
|
6659
|
+
* logging from certain Amazon Web Services services</a>.</p>
|
|
6654
6660
|
*/
|
|
6655
6661
|
LogGroupArn?: string;
|
|
6656
6662
|
}
|
|
@@ -6683,7 +6689,8 @@ export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
|
|
|
6683
6689
|
export interface LogConfigurationType {
|
|
6684
6690
|
/**
|
|
6685
6691
|
* @public
|
|
6686
|
-
* <p>The <code>errorlevel</code> selection of logs that a user pool sends for detailed
|
|
6692
|
+
* <p>The <code>errorlevel</code> selection of logs that a user pool sends for detailed
|
|
6693
|
+
* activity logging.</p>
|
|
6687
6694
|
*/
|
|
6688
6695
|
LogLevel: LogLevel | string | undefined;
|
|
6689
6696
|
/**
|
|
@@ -8197,7 +8204,8 @@ export interface SetLogDeliveryConfigurationRequest {
|
|
|
8197
8204
|
UserPoolId: string | undefined;
|
|
8198
8205
|
/**
|
|
8199
8206
|
* @public
|
|
8200
|
-
* <p>A collection of all of the detailed activity logging configurations for a user
|
|
8207
|
+
* <p>A collection of all of the detailed activity logging configurations for a user
|
|
8208
|
+
* pool.</p>
|
|
8201
8209
|
*/
|
|
8202
8210
|
LogConfigurations: LogConfigurationType[] | undefined;
|
|
8203
8211
|
}
|
|
@@ -8207,7 +8215,8 @@ export interface SetLogDeliveryConfigurationRequest {
|
|
|
8207
8215
|
export interface SetLogDeliveryConfigurationResponse {
|
|
8208
8216
|
/**
|
|
8209
8217
|
* @public
|
|
8210
|
-
* <p>The detailed activity logging configuration that you applied to the requested user
|
|
8218
|
+
* <p>The detailed activity logging configuration that you applied to the requested user
|
|
8219
|
+
* pool.</p>
|
|
8211
8220
|
*/
|
|
8212
8221
|
LogDeliveryConfiguration?: LogDeliveryConfigurationType;
|
|
8213
8222
|
}
|
|
@@ -8398,6 +8407,10 @@ export declare const ChangePasswordRequestFilterSensitiveLog: (obj: ChangePasswo
|
|
|
8398
8407
|
* @internal
|
|
8399
8408
|
*/
|
|
8400
8409
|
export declare const ConfirmDeviceRequestFilterSensitiveLog: (obj: ConfirmDeviceRequest) => any;
|
|
8410
|
+
/**
|
|
8411
|
+
* @internal
|
|
8412
|
+
*/
|
|
8413
|
+
export declare const UserContextDataTypeFilterSensitiveLog: (obj: UserContextDataType) => any;
|
|
8401
8414
|
/**
|
|
8402
8415
|
* @internal
|
|
8403
8416
|
*/
|
|
@@ -1301,6 +1301,10 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (obj: Updat
|
|
|
1301
1301
|
* @internal
|
|
1302
1302
|
*/
|
|
1303
1303
|
export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (obj: VerifySoftwareTokenRequest) => any;
|
|
1304
|
+
/**
|
|
1305
|
+
* @internal
|
|
1306
|
+
*/
|
|
1307
|
+
export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (obj: VerifySoftwareTokenResponse) => any;
|
|
1304
1308
|
/**
|
|
1305
1309
|
* @internal
|
|
1306
1310
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CognitoIdentityProviderExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
|
|
6
|
+
configure(clientConfiguration: CognitoIdentityProviderExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1790,6 +1790,9 @@ export declare const ChangePasswordRequestFilterSensitiveLog: (
|
|
|
1790
1790
|
export declare const ConfirmDeviceRequestFilterSensitiveLog: (
|
|
1791
1791
|
obj: ConfirmDeviceRequest
|
|
1792
1792
|
) => any;
|
|
1793
|
+
export declare const UserContextDataTypeFilterSensitiveLog: (
|
|
1794
|
+
obj: UserContextDataType
|
|
1795
|
+
) => any;
|
|
1793
1796
|
export declare const ConfirmForgotPasswordRequestFilterSensitiveLog: (
|
|
1794
1797
|
obj: ConfirmForgotPasswordRequest
|
|
1795
1798
|
) => any;
|
|
@@ -290,6 +290,9 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (
|
|
|
290
290
|
export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (
|
|
291
291
|
obj: VerifySoftwareTokenRequest
|
|
292
292
|
) => any;
|
|
293
|
+
export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (
|
|
294
|
+
obj: VerifySoftwareTokenResponse
|
|
295
|
+
) => any;
|
|
293
296
|
export declare const VerifyUserAttributeRequestFilterSensitiveLog: (
|
|
294
297
|
obj: VerifyUserAttributeRequest
|
|
295
298
|
) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CognitoIdentityProviderExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
|
|
4
|
-
clientConfiguration:
|
|
3
|
+
configure(
|
|
4
|
+
clientConfiguration: CognitoIdentityProviderExtensionConfiguration
|
|
5
5
|
): void;
|
|
6
6
|
}
|
|
7
7
|
export interface RuntimeExtensionsConfig {
|
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.402.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,37 +21,37 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.398.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.398.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.398.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.398.0",
|
|
31
|
+
"@aws-sdk/types": "3.398.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.398.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.398.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.5",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.5",
|
|
37
|
+
"@smithy/hash-node": "^2.0.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.5",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.5",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.5",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.5",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.5",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.5",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.5",
|
|
48
|
+
"@smithy/types": "^2.2.2",
|
|
49
|
+
"@smithy/url-parser": "^2.0.5",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
|
-
"@smithy/util-body-length-node": "^2.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
52
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.5",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.5",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
57
|
"tslib": "^2.5.0"
|
|
File without changes
|
|
File without changes
|