@aws-sdk/client-cognito-identity-provider 3.382.0 → 3.383.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -6
- package/dist-cjs/CognitoIdentityProvider.js +4 -0
- package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +48 -0
- package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +48 -0
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +2 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js +3 -3
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +2 -2
- package/dist-cjs/commands/SetUserSettingsCommand.js +2 -2
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -1
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +9 -48
- package/dist-cjs/models/models_1.js +26 -9
- package/dist-cjs/protocols/Aws_json1_1.js +108 -4
- package/dist-es/CognitoIdentityProvider.js +4 -0
- package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +44 -0
- package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +44 -0
- package/dist-es/commands/SetRiskConfigurationCommand.js +2 -1
- package/dist-es/commands/SetUICustomizationCommand.js +1 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +1 -1
- package/dist-es/commands/SetUserSettingsCommand.js +1 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -39
- package/dist-es/models/models_1.js +21 -8
- package/dist-es/protocols/Aws_json1_1.js +100 -0
- package/dist-types/CognitoIdentityProvider.d.ts +81 -6
- package/dist-types/CognitoIdentityProviderClient.d.ts +71 -8
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +20 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +20 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +20 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +22 -4
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +20 -1
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +22 -4
- package/dist-types/commands/AdminDisableUserCommand.d.ts +23 -3
- package/dist-types/commands/AdminEnableUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +20 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +20 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +22 -3
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +22 -3
- package/dist-types/commands/AdminListDevicesCommand.d.ts +20 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +20 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +20 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +30 -11
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +24 -5
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +20 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +31 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +20 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +20 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +20 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +31 -12
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +28 -7
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +8 -1
- package/dist-types/commands/ChangePasswordCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +10 -3
- package/dist-types/commands/CreateGroupCommand.d.ts +20 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +20 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +20 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +21 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +23 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +28 -5
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +20 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +8 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +9 -2
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +20 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +20 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +8 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +16 -7
- package/dist-types/commands/GetDeviceCommand.d.ts +8 -1
- package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -3
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +10 -3
- package/dist-types/commands/GetUserCommand.d.ts +8 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +16 -4
- package/dist-types/commands/InitiateAuthCommand.d.ts +10 -3
- package/dist-types/commands/ListDevicesCommand.d.ts +8 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +20 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +20 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +20 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +21 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +20 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +20 -0
- package/dist-types/commands/ListUsersCommand.d.ts +21 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +20 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +10 -3
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +12 -5
- package/dist-types/commands/RevokeTokenCommand.d.ts +10 -3
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +9 -2
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +3 -3
- package/dist-types/commands/SetUserSettingsCommand.d.ts +9 -2
- package/dist-types/commands/SignUpCommand.d.ts +10 -3
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +8 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +20 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +20 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +20 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +12 -5
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +21 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +28 -7
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +20 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +8 -1
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +13 -9
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +67 -6
- package/dist-types/models/models_0.d.ts +371 -319
- package/dist-types/models/models_1.d.ts +242 -18
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +34 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -52
- package/dist-types/ts3.4/models/models_1.d.ts +56 -3
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,12 +6,73 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript CognitoIdentityProvider Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
10
|
-
users.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<p>
|
|
14
|
-
|
|
9
|
+
<p>With the Amazon Cognito user pools API, you can set up user pools and app clients, and
|
|
10
|
+
authenticate users. To authenticate users from third-party identity providers (IdPs) in
|
|
11
|
+
this API, you can <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
|
|
12
|
+
about the authentication and authorization of federated users in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">Using the Amazon Cognito user pools API and user pool endpoints</a>.</p>
|
|
13
|
+
<p>This API reference provides detailed information about API operations and object types
|
|
14
|
+
in Amazon Cognito. At the bottom of the page for each API operation and object, under
|
|
15
|
+
<i>See Also</i>, you can learn how to use it in an Amazon Web Services SDK in the
|
|
16
|
+
language of your choice.</p>
|
|
17
|
+
<p>Along with resource management operations, the Amazon Cognito user pools API includes classes
|
|
18
|
+
of operations and authorization models for client-side and server-side user operations.
|
|
19
|
+
For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito native and OIDC APIs</a> in the
|
|
20
|
+
<i>Amazon Cognito Developer Guide</i>.</p>
|
|
21
|
+
<p>You can also start reading about the <code>CognitoIdentityProvider</code> client in
|
|
22
|
+
the following SDK guides.</p>
|
|
23
|
+
<ul>
|
|
24
|
+
<li>
|
|
25
|
+
<p>
|
|
26
|
+
<a href="https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/index.html#cli-aws-cognito-idp">Amazon Web Services
|
|
27
|
+
Command Line Interface</a>
|
|
28
|
+
</p>
|
|
29
|
+
</li>
|
|
30
|
+
<li>
|
|
31
|
+
<p>
|
|
32
|
+
<a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CognitoIdentityProvider/TCognitoIdentityProviderClient.html">Amazon Web Services SDK for .NET</a>
|
|
33
|
+
</p>
|
|
34
|
+
</li>
|
|
35
|
+
<li>
|
|
36
|
+
<p>
|
|
37
|
+
<a href="https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-cognito-idp/html/class_aws_1_1_cognito_identity_provider_1_1_cognito_identity_provider_client.html">Amazon Web Services SDK for C++</a>
|
|
38
|
+
</p>
|
|
39
|
+
</li>
|
|
40
|
+
<li>
|
|
41
|
+
<p>
|
|
42
|
+
<a href="https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider">Amazon Web Services SDK for Go</a>
|
|
43
|
+
</p>
|
|
44
|
+
</li>
|
|
45
|
+
<li>
|
|
46
|
+
<p>
|
|
47
|
+
<a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/cognitoidentityprovider/CognitoIdentityProviderClient.html">Amazon Web Services SDK for Java V2</a>
|
|
48
|
+
</p>
|
|
49
|
+
</li>
|
|
50
|
+
<li>
|
|
51
|
+
<p>
|
|
52
|
+
<a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html">Amazon Web Services
|
|
53
|
+
SDK for JavaScript</a>
|
|
54
|
+
</p>
|
|
55
|
+
</li>
|
|
56
|
+
<li>
|
|
57
|
+
<p>
|
|
58
|
+
<a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html">Amazon Web Services SDK for PHP
|
|
59
|
+
V3</a>
|
|
60
|
+
</p>
|
|
61
|
+
</li>
|
|
62
|
+
<li>
|
|
63
|
+
<p>
|
|
64
|
+
<a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp.html">Amazon Web Services SDK for Python</a>
|
|
65
|
+
</p>
|
|
66
|
+
</li>
|
|
67
|
+
<li>
|
|
68
|
+
<p>
|
|
69
|
+
<a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html">Amazon Web Services SDK
|
|
70
|
+
for Ruby V3</a>
|
|
71
|
+
</p>
|
|
72
|
+
</li>
|
|
73
|
+
</ul>
|
|
74
|
+
<p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
|
|
75
|
+
SDKs</a>.</p>
|
|
15
76
|
|
|
16
77
|
## Installing
|
|
17
78
|
|
|
@@ -690,6 +751,14 @@ GetIdentityProviderByIdentifier
|
|
|
690
751
|
|
|
691
752
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/classes/getidentityproviderbyidentifiercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/getidentityproviderbyidentifiercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/getidentityproviderbyidentifiercommandoutput.html)
|
|
692
753
|
|
|
754
|
+
</details>
|
|
755
|
+
<details>
|
|
756
|
+
<summary>
|
|
757
|
+
GetLogDeliveryConfiguration
|
|
758
|
+
</summary>
|
|
759
|
+
|
|
760
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/classes/getlogdeliveryconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/getlogdeliveryconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/getlogdeliveryconfigurationcommandoutput.html)
|
|
761
|
+
|
|
693
762
|
</details>
|
|
694
763
|
<details>
|
|
695
764
|
<summary>
|
|
@@ -850,6 +919,14 @@ RevokeToken
|
|
|
850
919
|
|
|
851
920
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/classes/revoketokencommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/revoketokencommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/revoketokencommandoutput.html)
|
|
852
921
|
|
|
922
|
+
</details>
|
|
923
|
+
<details>
|
|
924
|
+
<summary>
|
|
925
|
+
SetLogDeliveryConfiguration
|
|
926
|
+
</summary>
|
|
927
|
+
|
|
928
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/classes/setlogdeliveryconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/setlogdeliveryconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/setlogdeliveryconfigurationcommandoutput.html)
|
|
929
|
+
|
|
853
930
|
</details>
|
|
854
931
|
<details>
|
|
855
932
|
<summary>
|
|
@@ -63,6 +63,7 @@ const GetCSVHeaderCommand_1 = require("./commands/GetCSVHeaderCommand");
|
|
|
63
63
|
const GetDeviceCommand_1 = require("./commands/GetDeviceCommand");
|
|
64
64
|
const GetGroupCommand_1 = require("./commands/GetGroupCommand");
|
|
65
65
|
const GetIdentityProviderByIdentifierCommand_1 = require("./commands/GetIdentityProviderByIdentifierCommand");
|
|
66
|
+
const GetLogDeliveryConfigurationCommand_1 = require("./commands/GetLogDeliveryConfigurationCommand");
|
|
66
67
|
const GetSigningCertificateCommand_1 = require("./commands/GetSigningCertificateCommand");
|
|
67
68
|
const GetUICustomizationCommand_1 = require("./commands/GetUICustomizationCommand");
|
|
68
69
|
const GetUserAttributeVerificationCodeCommand_1 = require("./commands/GetUserAttributeVerificationCodeCommand");
|
|
@@ -83,6 +84,7 @@ const ListUsersInGroupCommand_1 = require("./commands/ListUsersInGroupCommand");
|
|
|
83
84
|
const ResendConfirmationCodeCommand_1 = require("./commands/ResendConfirmationCodeCommand");
|
|
84
85
|
const RespondToAuthChallengeCommand_1 = require("./commands/RespondToAuthChallengeCommand");
|
|
85
86
|
const RevokeTokenCommand_1 = require("./commands/RevokeTokenCommand");
|
|
87
|
+
const SetLogDeliveryConfigurationCommand_1 = require("./commands/SetLogDeliveryConfigurationCommand");
|
|
86
88
|
const SetRiskConfigurationCommand_1 = require("./commands/SetRiskConfigurationCommand");
|
|
87
89
|
const SetUICustomizationCommand_1 = require("./commands/SetUICustomizationCommand");
|
|
88
90
|
const SetUserMFAPreferenceCommand_1 = require("./commands/SetUserMFAPreferenceCommand");
|
|
@@ -165,6 +167,7 @@ const commands = {
|
|
|
165
167
|
GetDeviceCommand: GetDeviceCommand_1.GetDeviceCommand,
|
|
166
168
|
GetGroupCommand: GetGroupCommand_1.GetGroupCommand,
|
|
167
169
|
GetIdentityProviderByIdentifierCommand: GetIdentityProviderByIdentifierCommand_1.GetIdentityProviderByIdentifierCommand,
|
|
170
|
+
GetLogDeliveryConfigurationCommand: GetLogDeliveryConfigurationCommand_1.GetLogDeliveryConfigurationCommand,
|
|
168
171
|
GetSigningCertificateCommand: GetSigningCertificateCommand_1.GetSigningCertificateCommand,
|
|
169
172
|
GetUICustomizationCommand: GetUICustomizationCommand_1.GetUICustomizationCommand,
|
|
170
173
|
GetUserCommand: GetUserCommand_1.GetUserCommand,
|
|
@@ -185,6 +188,7 @@ const commands = {
|
|
|
185
188
|
ResendConfirmationCodeCommand: ResendConfirmationCodeCommand_1.ResendConfirmationCodeCommand,
|
|
186
189
|
RespondToAuthChallengeCommand: RespondToAuthChallengeCommand_1.RespondToAuthChallengeCommand,
|
|
187
190
|
RevokeTokenCommand: RevokeTokenCommand_1.RevokeTokenCommand,
|
|
191
|
+
SetLogDeliveryConfigurationCommand: SetLogDeliveryConfigurationCommand_1.SetLogDeliveryConfigurationCommand,
|
|
188
192
|
SetRiskConfigurationCommand: SetRiskConfigurationCommand_1.SetRiskConfigurationCommand,
|
|
189
193
|
SetUICustomizationCommand: SetUICustomizationCommand_1.SetUICustomizationCommand,
|
|
190
194
|
SetUserMFAPreferenceCommand: SetUserMFAPreferenceCommand_1.SetUserMFAPreferenceCommand,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLogDeliveryConfigurationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class GetLogDeliveryConfigurationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLogDeliveryConfigurationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
30
|
+
const commandName = "GetLogDeliveryConfigurationCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.se_GetLogDeliveryConfigurationCommand)(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.de_GetLogDeliveryConfigurationCommand)(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.GetLogDeliveryConfigurationCommand = GetLogDeliveryConfigurationCommand;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetLogDeliveryConfigurationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
5
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
6
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class SetLogDeliveryConfigurationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SetLogDeliveryConfigurationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
27
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
28
|
+
const { logger } = configuration;
|
|
29
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
30
|
+
const commandName = "SetLogDeliveryConfigurationCommand";
|
|
31
|
+
const handlerExecutionContext = {
|
|
32
|
+
logger,
|
|
33
|
+
clientName,
|
|
34
|
+
commandName,
|
|
35
|
+
inputFilterSensitiveLog: (_) => _,
|
|
36
|
+
outputFilterSensitiveLog: (_) => _,
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.se_SetLogDeliveryConfigurationCommand)(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.de_SetLogDeliveryConfigurationCommand)(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.SetLogDeliveryConfigurationCommand = SetLogDeliveryConfigurationCommand;
|
|
@@ -7,6 +7,7 @@ const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
|
+
const models_1_1 = require("../models/models_1");
|
|
10
11
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
12
|
class SetRiskConfigurationCommand extends smithy_client_1.Command {
|
|
12
13
|
static getEndpointParameterInstructions() {
|
|
@@ -34,7 +35,7 @@ class SetRiskConfigurationCommand extends smithy_client_1.Command {
|
|
|
34
35
|
clientName,
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: models_0_1.SetRiskConfigurationRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog:
|
|
38
|
+
outputFilterSensitiveLog: models_1_1.SetRiskConfigurationResponseFilterSensitiveLog,
|
|
38
39
|
};
|
|
39
40
|
const { requestHandler } = configuration;
|
|
40
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,7 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const models_1_1 = require("../models/models_1");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
11
|
class SetUICustomizationCommand extends smithy_client_1.Command {
|
|
12
12
|
static getEndpointParameterInstructions() {
|
|
@@ -33,8 +33,8 @@ class SetUICustomizationCommand extends smithy_client_1.Command {
|
|
|
33
33
|
logger,
|
|
34
34
|
clientName,
|
|
35
35
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
37
|
-
outputFilterSensitiveLog:
|
|
36
|
+
inputFilterSensitiveLog: models_1_1.SetUICustomizationRequestFilterSensitiveLog,
|
|
37
|
+
outputFilterSensitiveLog: models_1_1.SetUICustomizationResponseFilterSensitiveLog,
|
|
38
38
|
};
|
|
39
39
|
const { requestHandler } = configuration;
|
|
40
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,7 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
-
const
|
|
9
|
+
const models_1_1 = require("../models/models_1");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
11
|
class SetUserMFAPreferenceCommand extends smithy_client_1.Command {
|
|
12
12
|
static getEndpointParameterInstructions() {
|
|
@@ -33,7 +33,7 @@ class SetUserMFAPreferenceCommand extends smithy_client_1.Command {
|
|
|
33
33
|
logger,
|
|
34
34
|
clientName,
|
|
35
35
|
commandName,
|
|
36
|
-
inputFilterSensitiveLog:
|
|
36
|
+
inputFilterSensitiveLog: models_1_1.SetUserMFAPreferenceRequestFilterSensitiveLog,
|
|
37
37
|
outputFilterSensitiveLog: (_) => _,
|
|
38
38
|
};
|
|
39
39
|
const { requestHandler } = configuration;
|
|
@@ -5,7 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const models_1_1 = require("../models/models_1");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
10
|
class SetUserSettingsCommand extends smithy_client_1.Command {
|
|
11
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +31,7 @@ class SetUserSettingsCommand extends smithy_client_1.Command {
|
|
|
31
31
|
logger,
|
|
32
32
|
clientName,
|
|
33
33
|
commandName,
|
|
34
|
-
inputFilterSensitiveLog:
|
|
34
|
+
inputFilterSensitiveLog: models_1_1.SetUserSettingsRequestFilterSensitiveLog,
|
|
35
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
36
|
};
|
|
37
37
|
const { requestHandler } = configuration;
|
|
@@ -34,7 +34,7 @@ class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
|
34
34
|
clientName,
|
|
35
35
|
commandName,
|
|
36
36
|
inputFilterSensitiveLog: models_1_1.VerifySoftwareTokenRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog:
|
|
37
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
38
|
};
|
|
39
39
|
const { requestHandler } = configuration;
|
|
40
40
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -61,6 +61,7 @@ tslib_1.__exportStar(require("./GetCSVHeaderCommand"), exports);
|
|
|
61
61
|
tslib_1.__exportStar(require("./GetDeviceCommand"), exports);
|
|
62
62
|
tslib_1.__exportStar(require("./GetGroupCommand"), exports);
|
|
63
63
|
tslib_1.__exportStar(require("./GetIdentityProviderByIdentifierCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./GetLogDeliveryConfigurationCommand"), exports);
|
|
64
65
|
tslib_1.__exportStar(require("./GetSigningCertificateCommand"), exports);
|
|
65
66
|
tslib_1.__exportStar(require("./GetUICustomizationCommand"), exports);
|
|
66
67
|
tslib_1.__exportStar(require("./GetUserAttributeVerificationCodeCommand"), exports);
|
|
@@ -81,6 +82,7 @@ tslib_1.__exportStar(require("./ListUsersInGroupCommand"), exports);
|
|
|
81
82
|
tslib_1.__exportStar(require("./ResendConfirmationCodeCommand"), exports);
|
|
82
83
|
tslib_1.__exportStar(require("./RespondToAuthChallengeCommand"), exports);
|
|
83
84
|
tslib_1.__exportStar(require("./RevokeTokenCommand"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./SetLogDeliveryConfigurationCommand"), exports);
|
|
84
86
|
tslib_1.__exportStar(require("./SetRiskConfigurationCommand"), exports);
|
|
85
87
|
tslib_1.__exportStar(require("./SetUICustomizationCommand"), exports);
|
|
86
88
|
tslib_1.__exportStar(require("./SetUserMFAPreferenceCommand"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
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.RespondToAuthChallengeResponseFilterSensitiveLog = 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.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 = void 0;
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
|
|
9
9
|
exports.RecoveryOptionNameType = {
|
|
@@ -684,6 +684,12 @@ exports.DomainStatusType = {
|
|
|
684
684
|
FAILED: "FAILED",
|
|
685
685
|
UPDATING: "UPDATING",
|
|
686
686
|
};
|
|
687
|
+
exports.EventSourceName = {
|
|
688
|
+
USER_NOTIFICATION: "userNotification",
|
|
689
|
+
};
|
|
690
|
+
exports.LogLevel = {
|
|
691
|
+
ERROR: "ERROR",
|
|
692
|
+
};
|
|
687
693
|
class UnauthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
|
|
688
694
|
constructor(opts) {
|
|
689
695
|
super({
|
|
@@ -831,7 +837,6 @@ const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
|
|
|
831
837
|
exports.AuthenticationResultTypeFilterSensitiveLog = AuthenticationResultTypeFilterSensitiveLog;
|
|
832
838
|
const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
833
839
|
...obj,
|
|
834
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
835
840
|
...(obj.AuthenticationResult && {
|
|
836
841
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
837
842
|
}),
|
|
@@ -869,13 +874,10 @@ exports.AdminResetUserPasswordRequestFilterSensitiveLog = AdminResetUserPassword
|
|
|
869
874
|
const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
870
875
|
...obj,
|
|
871
876
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
872
|
-
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
873
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
874
877
|
});
|
|
875
878
|
exports.AdminRespondToAuthChallengeRequestFilterSensitiveLog = AdminRespondToAuthChallengeRequestFilterSensitiveLog;
|
|
876
879
|
const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
877
880
|
...obj,
|
|
878
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
879
881
|
...(obj.AuthenticationResult && {
|
|
880
882
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
881
883
|
}),
|
|
@@ -923,13 +925,11 @@ exports.AdminUserGlobalSignOutRequestFilterSensitiveLog = AdminUserGlobalSignOut
|
|
|
923
925
|
const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
924
926
|
...obj,
|
|
925
927
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
926
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
927
928
|
});
|
|
928
929
|
exports.AssociateSoftwareTokenRequestFilterSensitiveLog = AssociateSoftwareTokenRequestFilterSensitiveLog;
|
|
929
930
|
const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
930
931
|
...obj,
|
|
931
932
|
...(obj.SecretCode && { SecretCode: smithy_client_1.SENSITIVE_STRING }),
|
|
932
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
933
933
|
});
|
|
934
934
|
exports.AssociateSoftwareTokenResponseFilterSensitiveLog = AssociateSoftwareTokenResponseFilterSensitiveLog;
|
|
935
935
|
const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -944,17 +944,12 @@ const ConfirmDeviceRequestFilterSensitiveLog = (obj) => ({
|
|
|
944
944
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
945
945
|
});
|
|
946
946
|
exports.ConfirmDeviceRequestFilterSensitiveLog = ConfirmDeviceRequestFilterSensitiveLog;
|
|
947
|
-
const UserContextDataTypeFilterSensitiveLog = (obj) => ({
|
|
948
|
-
...obj,
|
|
949
|
-
});
|
|
950
|
-
exports.UserContextDataTypeFilterSensitiveLog = UserContextDataTypeFilterSensitiveLog;
|
|
951
947
|
const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
952
948
|
...obj,
|
|
953
949
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
954
950
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
955
951
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
956
952
|
...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
|
|
957
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
958
953
|
});
|
|
959
954
|
exports.ConfirmForgotPasswordRequestFilterSensitiveLog = ConfirmForgotPasswordRequestFilterSensitiveLog;
|
|
960
955
|
const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -962,7 +957,6 @@ const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
|
|
|
962
957
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
963
958
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
964
959
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
965
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
966
960
|
});
|
|
967
961
|
exports.ConfirmSignUpRequestFilterSensitiveLog = ConfirmSignUpRequestFilterSensitiveLog;
|
|
968
962
|
const UserPoolClientTypeFilterSensitiveLog = (obj) => ({
|
|
@@ -1025,7 +1019,6 @@ const ForgotPasswordRequestFilterSensitiveLog = (obj) => ({
|
|
|
1025
1019
|
...obj,
|
|
1026
1020
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1027
1021
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
1028
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1029
1022
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
1030
1023
|
});
|
|
1031
1024
|
exports.ForgotPasswordRequestFilterSensitiveLog = ForgotPasswordRequestFilterSensitiveLog;
|
|
@@ -1081,12 +1074,10 @@ const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
|
|
|
1081
1074
|
...obj,
|
|
1082
1075
|
...(obj.AuthParameters && { AuthParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
1083
1076
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1084
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1085
1077
|
});
|
|
1086
1078
|
exports.InitiateAuthRequestFilterSensitiveLog = InitiateAuthRequestFilterSensitiveLog;
|
|
1087
1079
|
const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
|
|
1088
1080
|
...obj,
|
|
1089
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1090
1081
|
...(obj.AuthenticationResult && {
|
|
1091
1082
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1092
1083
|
}),
|
|
@@ -1127,21 +1118,16 @@ const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
|
|
|
1127
1118
|
...obj,
|
|
1128
1119
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1129
1120
|
...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
|
|
1130
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1131
1121
|
...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
|
|
1132
1122
|
});
|
|
1133
1123
|
exports.ResendConfirmationCodeRequestFilterSensitiveLog = ResendConfirmationCodeRequestFilterSensitiveLog;
|
|
1134
1124
|
const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
|
|
1135
1125
|
...obj,
|
|
1136
1126
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1137
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1138
|
-
...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
|
|
1139
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
1140
1127
|
});
|
|
1141
1128
|
exports.RespondToAuthChallengeRequestFilterSensitiveLog = RespondToAuthChallengeRequestFilterSensitiveLog;
|
|
1142
1129
|
const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
1143
1130
|
...obj,
|
|
1144
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
1145
1131
|
...(obj.AuthenticationResult && {
|
|
1146
1132
|
AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
|
|
1147
1133
|
}),
|
|
@@ -1159,28 +1145,3 @@ const SetRiskConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
|
1159
1145
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1160
1146
|
});
|
|
1161
1147
|
exports.SetRiskConfigurationRequestFilterSensitiveLog = SetRiskConfigurationRequestFilterSensitiveLog;
|
|
1162
|
-
const SetRiskConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
1163
|
-
...obj,
|
|
1164
|
-
...(obj.RiskConfiguration && { RiskConfiguration: (0, exports.RiskConfigurationTypeFilterSensitiveLog)(obj.RiskConfiguration) }),
|
|
1165
|
-
});
|
|
1166
|
-
exports.SetRiskConfigurationResponseFilterSensitiveLog = SetRiskConfigurationResponseFilterSensitiveLog;
|
|
1167
|
-
const SetUICustomizationRequestFilterSensitiveLog = (obj) => ({
|
|
1168
|
-
...obj,
|
|
1169
|
-
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
1170
|
-
});
|
|
1171
|
-
exports.SetUICustomizationRequestFilterSensitiveLog = SetUICustomizationRequestFilterSensitiveLog;
|
|
1172
|
-
const SetUICustomizationResponseFilterSensitiveLog = (obj) => ({
|
|
1173
|
-
...obj,
|
|
1174
|
-
...(obj.UICustomization && { UICustomization: (0, exports.UICustomizationTypeFilterSensitiveLog)(obj.UICustomization) }),
|
|
1175
|
-
});
|
|
1176
|
-
exports.SetUICustomizationResponseFilterSensitiveLog = SetUICustomizationResponseFilterSensitiveLog;
|
|
1177
|
-
const SetUserMFAPreferenceRequestFilterSensitiveLog = (obj) => ({
|
|
1178
|
-
...obj,
|
|
1179
|
-
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
1180
|
-
});
|
|
1181
|
-
exports.SetUserMFAPreferenceRequestFilterSensitiveLog = SetUserMFAPreferenceRequestFilterSensitiveLog;
|
|
1182
|
-
const SetUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
1183
|
-
...obj,
|
|
1184
|
-
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
1185
|
-
});
|
|
1186
|
-
exports.SetUserSettingsRequestFilterSensitiveLog = SetUserSettingsRequestFilterSensitiveLog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VerifyUserAttributeRequestFilterSensitiveLog = exports.
|
|
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;
|
|
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");
|
|
@@ -21,6 +21,31 @@ exports.VerifySoftwareTokenResponseType = {
|
|
|
21
21
|
ERROR: "ERROR",
|
|
22
22
|
SUCCESS: "SUCCESS",
|
|
23
23
|
};
|
|
24
|
+
const SetRiskConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
25
|
+
...obj,
|
|
26
|
+
...(obj.RiskConfiguration && { RiskConfiguration: (0, models_0_1.RiskConfigurationTypeFilterSensitiveLog)(obj.RiskConfiguration) }),
|
|
27
|
+
});
|
|
28
|
+
exports.SetRiskConfigurationResponseFilterSensitiveLog = SetRiskConfigurationResponseFilterSensitiveLog;
|
|
29
|
+
const SetUICustomizationRequestFilterSensitiveLog = (obj) => ({
|
|
30
|
+
...obj,
|
|
31
|
+
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
32
|
+
});
|
|
33
|
+
exports.SetUICustomizationRequestFilterSensitiveLog = SetUICustomizationRequestFilterSensitiveLog;
|
|
34
|
+
const SetUICustomizationResponseFilterSensitiveLog = (obj) => ({
|
|
35
|
+
...obj,
|
|
36
|
+
...(obj.UICustomization && { UICustomization: (0, models_0_1.UICustomizationTypeFilterSensitiveLog)(obj.UICustomization) }),
|
|
37
|
+
});
|
|
38
|
+
exports.SetUICustomizationResponseFilterSensitiveLog = SetUICustomizationResponseFilterSensitiveLog;
|
|
39
|
+
const SetUserMFAPreferenceRequestFilterSensitiveLog = (obj) => ({
|
|
40
|
+
...obj,
|
|
41
|
+
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
42
|
+
});
|
|
43
|
+
exports.SetUserMFAPreferenceRequestFilterSensitiveLog = SetUserMFAPreferenceRequestFilterSensitiveLog;
|
|
44
|
+
const SetUserSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
45
|
+
...obj,
|
|
46
|
+
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
47
|
+
});
|
|
48
|
+
exports.SetUserSettingsRequestFilterSensitiveLog = SetUserSettingsRequestFilterSensitiveLog;
|
|
24
49
|
const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
25
50
|
...obj,
|
|
26
51
|
...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -33,7 +58,6 @@ const SignUpRequestFilterSensitiveLog = (obj) => ({
|
|
|
33
58
|
...(obj.ValidationData && {
|
|
34
59
|
ValidationData: obj.ValidationData.map((item) => (0, models_0_1.AttributeTypeFilterSensitiveLog)(item)),
|
|
35
60
|
}),
|
|
36
|
-
...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
|
|
37
61
|
});
|
|
38
62
|
exports.SignUpRequestFilterSensitiveLog = SignUpRequestFilterSensitiveLog;
|
|
39
63
|
const UpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -68,15 +92,8 @@ exports.UpdateUserPoolClientResponseFilterSensitiveLog = UpdateUserPoolClientRes
|
|
|
68
92
|
const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
|
|
69
93
|
...obj,
|
|
70
94
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
71
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
72
|
-
...(obj.UserCode && { UserCode: smithy_client_1.SENSITIVE_STRING }),
|
|
73
95
|
});
|
|
74
96
|
exports.VerifySoftwareTokenRequestFilterSensitiveLog = VerifySoftwareTokenRequestFilterSensitiveLog;
|
|
75
|
-
const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
|
|
76
|
-
...obj,
|
|
77
|
-
...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
|
|
78
|
-
});
|
|
79
|
-
exports.VerifySoftwareTokenResponseFilterSensitiveLog = VerifySoftwareTokenResponseFilterSensitiveLog;
|
|
80
97
|
const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
|
|
81
98
|
...obj,
|
|
82
99
|
...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
|