@aws-sdk/client-cognito-identity-provider 3.490.0 → 3.496.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.
Files changed (127) hide show
  1. package/dist-cjs/CognitoIdentityProvider.js +1 -217
  2. package/dist-cjs/CognitoIdentityProviderClient.js +1 -42
  3. package/dist-cjs/commands/AddCustomAttributesCommand.js +1 -30
  4. package/dist-cjs/commands/AdminAddUserToGroupCommand.js +1 -31
  5. package/dist-cjs/commands/AdminConfirmSignUpCommand.js +1 -31
  6. package/dist-cjs/commands/AdminCreateUserCommand.js +1 -31
  7. package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +1 -31
  8. package/dist-cjs/commands/AdminDeleteUserCommand.js +1 -31
  9. package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +1 -30
  10. package/dist-cjs/commands/AdminDisableUserCommand.js +1 -31
  11. package/dist-cjs/commands/AdminEnableUserCommand.js +1 -31
  12. package/dist-cjs/commands/AdminForgetDeviceCommand.js +1 -31
  13. package/dist-cjs/commands/AdminGetDeviceCommand.js +1 -31
  14. package/dist-cjs/commands/AdminGetUserCommand.js +1 -31
  15. package/dist-cjs/commands/AdminInitiateAuthCommand.js +1 -31
  16. package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +1 -30
  17. package/dist-cjs/commands/AdminListDevicesCommand.js +1 -31
  18. package/dist-cjs/commands/AdminListGroupsForUserCommand.js +1 -31
  19. package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +1 -31
  20. package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +1 -31
  21. package/dist-cjs/commands/AdminResetUserPasswordCommand.js +1 -31
  22. package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +1 -31
  23. package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +1 -31
  24. package/dist-cjs/commands/AdminSetUserPasswordCommand.js +1 -31
  25. package/dist-cjs/commands/AdminSetUserSettingsCommand.js +1 -31
  26. package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +1 -31
  27. package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +1 -31
  28. package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +1 -31
  29. package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +1 -31
  30. package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +1 -29
  31. package/dist-cjs/commands/ChangePasswordCommand.js +1 -29
  32. package/dist-cjs/commands/ConfirmDeviceCommand.js +1 -29
  33. package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +1 -29
  34. package/dist-cjs/commands/ConfirmSignUpCommand.js +1 -29
  35. package/dist-cjs/commands/CreateGroupCommand.js +1 -30
  36. package/dist-cjs/commands/CreateIdentityProviderCommand.js +1 -30
  37. package/dist-cjs/commands/CreateResourceServerCommand.js +1 -30
  38. package/dist-cjs/commands/CreateUserImportJobCommand.js +1 -30
  39. package/dist-cjs/commands/CreateUserPoolClientCommand.js +1 -31
  40. package/dist-cjs/commands/CreateUserPoolCommand.js +1 -30
  41. package/dist-cjs/commands/CreateUserPoolDomainCommand.js +1 -30
  42. package/dist-cjs/commands/DeleteGroupCommand.js +1 -30
  43. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +1 -30
  44. package/dist-cjs/commands/DeleteResourceServerCommand.js +1 -30
  45. package/dist-cjs/commands/DeleteUserAttributesCommand.js +1 -29
  46. package/dist-cjs/commands/DeleteUserCommand.js +1 -29
  47. package/dist-cjs/commands/DeleteUserPoolClientCommand.js +1 -31
  48. package/dist-cjs/commands/DeleteUserPoolCommand.js +1 -30
  49. package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +1 -30
  50. package/dist-cjs/commands/DescribeIdentityProviderCommand.js +1 -30
  51. package/dist-cjs/commands/DescribeResourceServerCommand.js +1 -30
  52. package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +1 -31
  53. package/dist-cjs/commands/DescribeUserImportJobCommand.js +1 -30
  54. package/dist-cjs/commands/DescribeUserPoolClientCommand.js +1 -31
  55. package/dist-cjs/commands/DescribeUserPoolCommand.js +1 -30
  56. package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +1 -30
  57. package/dist-cjs/commands/ForgetDeviceCommand.js +1 -29
  58. package/dist-cjs/commands/ForgotPasswordCommand.js +1 -29
  59. package/dist-cjs/commands/GetCSVHeaderCommand.js +1 -30
  60. package/dist-cjs/commands/GetDeviceCommand.js +1 -29
  61. package/dist-cjs/commands/GetGroupCommand.js +1 -30
  62. package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +1 -30
  63. package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +1 -30
  64. package/dist-cjs/commands/GetSigningCertificateCommand.js +1 -30
  65. package/dist-cjs/commands/GetUICustomizationCommand.js +1 -31
  66. package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +1 -29
  67. package/dist-cjs/commands/GetUserCommand.js +1 -29
  68. package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +1 -30
  69. package/dist-cjs/commands/GlobalSignOutCommand.js +1 -29
  70. package/dist-cjs/commands/InitiateAuthCommand.js +1 -29
  71. package/dist-cjs/commands/ListDevicesCommand.js +1 -29
  72. package/dist-cjs/commands/ListGroupsCommand.js +1 -30
  73. package/dist-cjs/commands/ListIdentityProvidersCommand.js +1 -30
  74. package/dist-cjs/commands/ListResourceServersCommand.js +1 -30
  75. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -30
  76. package/dist-cjs/commands/ListUserImportJobsCommand.js +1 -30
  77. package/dist-cjs/commands/ListUserPoolClientsCommand.js +1 -31
  78. package/dist-cjs/commands/ListUserPoolsCommand.js +1 -30
  79. package/dist-cjs/commands/ListUsersCommand.js +1 -31
  80. package/dist-cjs/commands/ListUsersInGroupCommand.js +1 -31
  81. package/dist-cjs/commands/ResendConfirmationCodeCommand.js +1 -29
  82. package/dist-cjs/commands/RespondToAuthChallengeCommand.js +1 -29
  83. package/dist-cjs/commands/RevokeTokenCommand.js +1 -29
  84. package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +1 -30
  85. package/dist-cjs/commands/SetRiskConfigurationCommand.js +1 -31
  86. package/dist-cjs/commands/SetUICustomizationCommand.js +1 -31
  87. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +1 -29
  88. package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +1 -30
  89. package/dist-cjs/commands/SetUserSettingsCommand.js +1 -29
  90. package/dist-cjs/commands/SignUpCommand.js +1 -29
  91. package/dist-cjs/commands/StartUserImportJobCommand.js +1 -30
  92. package/dist-cjs/commands/StopUserImportJobCommand.js +1 -30
  93. package/dist-cjs/commands/TagResourceCommand.js +1 -30
  94. package/dist-cjs/commands/UntagResourceCommand.js +1 -30
  95. package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +1 -29
  96. package/dist-cjs/commands/UpdateDeviceStatusCommand.js +1 -29
  97. package/dist-cjs/commands/UpdateGroupCommand.js +1 -30
  98. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +1 -30
  99. package/dist-cjs/commands/UpdateResourceServerCommand.js +1 -30
  100. package/dist-cjs/commands/UpdateUserAttributesCommand.js +1 -29
  101. package/dist-cjs/commands/UpdateUserPoolClientCommand.js +1 -31
  102. package/dist-cjs/commands/UpdateUserPoolCommand.js +1 -30
  103. package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +1 -30
  104. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -29
  105. package/dist-cjs/commands/VerifyUserAttributeCommand.js +1 -29
  106. package/dist-cjs/commands/index.js +1 -106
  107. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  108. package/dist-cjs/extensionConfiguration.js +1 -2
  109. package/dist-cjs/index.js +10994 -11
  110. package/dist-cjs/models/CognitoIdentityProviderServiceException.js +1 -12
  111. package/dist-cjs/models/index.js +1 -5
  112. package/dist-cjs/models/models_0.js +1 -1166
  113. package/dist-cjs/models/models_1.js +1 -114
  114. package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +1 -7
  115. package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +1 -7
  116. package/dist-cjs/pagination/Interfaces.js +1 -2
  117. package/dist-cjs/pagination/ListGroupsPaginator.js +1 -7
  118. package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +1 -7
  119. package/dist-cjs/pagination/ListResourceServersPaginator.js +1 -7
  120. package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +1 -7
  121. package/dist-cjs/pagination/ListUserPoolsPaginator.js +1 -7
  122. package/dist-cjs/pagination/ListUsersInGroupPaginator.js +1 -7
  123. package/dist-cjs/pagination/ListUsersPaginator.js +1 -7
  124. package/dist-cjs/pagination/index.js +1 -13
  125. package/dist-cjs/protocols/Aws_json1_1.js +1 -7112
  126. package/dist-cjs/runtimeExtensions.js +1 -22
  127. package/package.json +40 -40
@@ -1,1166 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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.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.PreTokenGenerationLambdaVersionType = exports.CustomSMSSenderLambdaVersionType = exports.CustomEmailSenderLambdaVersionType = exports.EmailSendingAccountType = exports.DeletionProtectionType = exports.UserImportJobStatusType = exports.DuplicateProviderException = exports.IdentityProviderTypeType = exports.GroupExistsException = void 0;
5
- 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 = exports.AdminListGroupsForUserRequestFilterSensitiveLog = void 0;
6
- exports.RevokeTokenRequestFilterSensitiveLog = exports.RespondToAuthChallengeResponseFilterSensitiveLog = exports.RespondToAuthChallengeRequestFilterSensitiveLog = void 0;
7
- const smithy_client_1 = require("@smithy/smithy-client");
8
- const CognitoIdentityProviderServiceException_1 = require("./CognitoIdentityProviderServiceException");
9
- exports.RecoveryOptionNameType = {
10
- ADMIN_ONLY: "admin_only",
11
- VERIFIED_EMAIL: "verified_email",
12
- VERIFIED_PHONE_NUMBER: "verified_phone_number",
13
- };
14
- exports.AccountTakeoverEventActionType = {
15
- BLOCK: "BLOCK",
16
- MFA_IF_CONFIGURED: "MFA_IF_CONFIGURED",
17
- MFA_REQUIRED: "MFA_REQUIRED",
18
- NO_ACTION: "NO_ACTION",
19
- };
20
- exports.AttributeDataType = {
21
- BOOLEAN: "Boolean",
22
- DATETIME: "DateTime",
23
- NUMBER: "Number",
24
- STRING: "String",
25
- };
26
- class InternalErrorException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
27
- constructor(opts) {
28
- super({
29
- name: "InternalErrorException",
30
- $fault: "server",
31
- ...opts,
32
- });
33
- this.name = "InternalErrorException";
34
- this.$fault = "server";
35
- Object.setPrototypeOf(this, InternalErrorException.prototype);
36
- }
37
- }
38
- exports.InternalErrorException = InternalErrorException;
39
- class InvalidParameterException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
40
- constructor(opts) {
41
- super({
42
- name: "InvalidParameterException",
43
- $fault: "client",
44
- ...opts,
45
- });
46
- this.name = "InvalidParameterException";
47
- this.$fault = "client";
48
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
49
- }
50
- }
51
- exports.InvalidParameterException = InvalidParameterException;
52
- class NotAuthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
53
- constructor(opts) {
54
- super({
55
- name: "NotAuthorizedException",
56
- $fault: "client",
57
- ...opts,
58
- });
59
- this.name = "NotAuthorizedException";
60
- this.$fault = "client";
61
- Object.setPrototypeOf(this, NotAuthorizedException.prototype);
62
- }
63
- }
64
- exports.NotAuthorizedException = NotAuthorizedException;
65
- class ResourceNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
66
- constructor(opts) {
67
- super({
68
- name: "ResourceNotFoundException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- this.name = "ResourceNotFoundException";
73
- this.$fault = "client";
74
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
75
- }
76
- }
77
- exports.ResourceNotFoundException = ResourceNotFoundException;
78
- class TooManyRequestsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "TooManyRequestsException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "TooManyRequestsException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
88
- }
89
- }
90
- exports.TooManyRequestsException = TooManyRequestsException;
91
- class UserImportInProgressException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
92
- constructor(opts) {
93
- super({
94
- name: "UserImportInProgressException",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- this.name = "UserImportInProgressException";
99
- this.$fault = "client";
100
- Object.setPrototypeOf(this, UserImportInProgressException.prototype);
101
- }
102
- }
103
- exports.UserImportInProgressException = UserImportInProgressException;
104
- class UserNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
105
- constructor(opts) {
106
- super({
107
- name: "UserNotFoundException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- this.name = "UserNotFoundException";
112
- this.$fault = "client";
113
- Object.setPrototypeOf(this, UserNotFoundException.prototype);
114
- }
115
- }
116
- exports.UserNotFoundException = UserNotFoundException;
117
- class InvalidLambdaResponseException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
118
- constructor(opts) {
119
- super({
120
- name: "InvalidLambdaResponseException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- this.name = "InvalidLambdaResponseException";
125
- this.$fault = "client";
126
- Object.setPrototypeOf(this, InvalidLambdaResponseException.prototype);
127
- }
128
- }
129
- exports.InvalidLambdaResponseException = InvalidLambdaResponseException;
130
- class LimitExceededException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
131
- constructor(opts) {
132
- super({
133
- name: "LimitExceededException",
134
- $fault: "client",
135
- ...opts,
136
- });
137
- this.name = "LimitExceededException";
138
- this.$fault = "client";
139
- Object.setPrototypeOf(this, LimitExceededException.prototype);
140
- }
141
- }
142
- exports.LimitExceededException = LimitExceededException;
143
- class TooManyFailedAttemptsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
144
- constructor(opts) {
145
- super({
146
- name: "TooManyFailedAttemptsException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- this.name = "TooManyFailedAttemptsException";
151
- this.$fault = "client";
152
- Object.setPrototypeOf(this, TooManyFailedAttemptsException.prototype);
153
- }
154
- }
155
- exports.TooManyFailedAttemptsException = TooManyFailedAttemptsException;
156
- class UnexpectedLambdaException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
157
- constructor(opts) {
158
- super({
159
- name: "UnexpectedLambdaException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- this.name = "UnexpectedLambdaException";
164
- this.$fault = "client";
165
- Object.setPrototypeOf(this, UnexpectedLambdaException.prototype);
166
- }
167
- }
168
- exports.UnexpectedLambdaException = UnexpectedLambdaException;
169
- class UserLambdaValidationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
170
- constructor(opts) {
171
- super({
172
- name: "UserLambdaValidationException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- this.name = "UserLambdaValidationException";
177
- this.$fault = "client";
178
- Object.setPrototypeOf(this, UserLambdaValidationException.prototype);
179
- }
180
- }
181
- exports.UserLambdaValidationException = UserLambdaValidationException;
182
- exports.DeliveryMediumType = {
183
- EMAIL: "EMAIL",
184
- SMS: "SMS",
185
- };
186
- exports.MessageActionType = {
187
- RESEND: "RESEND",
188
- SUPPRESS: "SUPPRESS",
189
- };
190
- exports.UserStatusType = {
191
- ARCHIVED: "ARCHIVED",
192
- COMPROMISED: "COMPROMISED",
193
- CONFIRMED: "CONFIRMED",
194
- FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
195
- RESET_REQUIRED: "RESET_REQUIRED",
196
- UNCONFIRMED: "UNCONFIRMED",
197
- UNKNOWN: "UNKNOWN",
198
- };
199
- class CodeDeliveryFailureException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
200
- constructor(opts) {
201
- super({
202
- name: "CodeDeliveryFailureException",
203
- $fault: "client",
204
- ...opts,
205
- });
206
- this.name = "CodeDeliveryFailureException";
207
- this.$fault = "client";
208
- Object.setPrototypeOf(this, CodeDeliveryFailureException.prototype);
209
- }
210
- }
211
- exports.CodeDeliveryFailureException = CodeDeliveryFailureException;
212
- class InvalidPasswordException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
213
- constructor(opts) {
214
- super({
215
- name: "InvalidPasswordException",
216
- $fault: "client",
217
- ...opts,
218
- });
219
- this.name = "InvalidPasswordException";
220
- this.$fault = "client";
221
- Object.setPrototypeOf(this, InvalidPasswordException.prototype);
222
- }
223
- }
224
- exports.InvalidPasswordException = InvalidPasswordException;
225
- class InvalidSmsRoleAccessPolicyException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
226
- constructor(opts) {
227
- super({
228
- name: "InvalidSmsRoleAccessPolicyException",
229
- $fault: "client",
230
- ...opts,
231
- });
232
- this.name = "InvalidSmsRoleAccessPolicyException";
233
- this.$fault = "client";
234
- Object.setPrototypeOf(this, InvalidSmsRoleAccessPolicyException.prototype);
235
- }
236
- }
237
- exports.InvalidSmsRoleAccessPolicyException = InvalidSmsRoleAccessPolicyException;
238
- class InvalidSmsRoleTrustRelationshipException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
239
- constructor(opts) {
240
- super({
241
- name: "InvalidSmsRoleTrustRelationshipException",
242
- $fault: "client",
243
- ...opts,
244
- });
245
- this.name = "InvalidSmsRoleTrustRelationshipException";
246
- this.$fault = "client";
247
- Object.setPrototypeOf(this, InvalidSmsRoleTrustRelationshipException.prototype);
248
- }
249
- }
250
- exports.InvalidSmsRoleTrustRelationshipException = InvalidSmsRoleTrustRelationshipException;
251
- class PreconditionNotMetException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
252
- constructor(opts) {
253
- super({
254
- name: "PreconditionNotMetException",
255
- $fault: "client",
256
- ...opts,
257
- });
258
- this.name = "PreconditionNotMetException";
259
- this.$fault = "client";
260
- Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
261
- }
262
- }
263
- exports.PreconditionNotMetException = PreconditionNotMetException;
264
- class UnsupportedUserStateException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
265
- constructor(opts) {
266
- super({
267
- name: "UnsupportedUserStateException",
268
- $fault: "client",
269
- ...opts,
270
- });
271
- this.name = "UnsupportedUserStateException";
272
- this.$fault = "client";
273
- Object.setPrototypeOf(this, UnsupportedUserStateException.prototype);
274
- }
275
- }
276
- exports.UnsupportedUserStateException = UnsupportedUserStateException;
277
- class UsernameExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
278
- constructor(opts) {
279
- super({
280
- name: "UsernameExistsException",
281
- $fault: "client",
282
- ...opts,
283
- });
284
- this.name = "UsernameExistsException";
285
- this.$fault = "client";
286
- Object.setPrototypeOf(this, UsernameExistsException.prototype);
287
- }
288
- }
289
- exports.UsernameExistsException = UsernameExistsException;
290
- class AliasExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
291
- constructor(opts) {
292
- super({
293
- name: "AliasExistsException",
294
- $fault: "client",
295
- ...opts,
296
- });
297
- this.name = "AliasExistsException";
298
- this.$fault = "client";
299
- Object.setPrototypeOf(this, AliasExistsException.prototype);
300
- }
301
- }
302
- exports.AliasExistsException = AliasExistsException;
303
- class InvalidUserPoolConfigurationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
304
- constructor(opts) {
305
- super({
306
- name: "InvalidUserPoolConfigurationException",
307
- $fault: "client",
308
- ...opts,
309
- });
310
- this.name = "InvalidUserPoolConfigurationException";
311
- this.$fault = "client";
312
- Object.setPrototypeOf(this, InvalidUserPoolConfigurationException.prototype);
313
- }
314
- }
315
- exports.InvalidUserPoolConfigurationException = InvalidUserPoolConfigurationException;
316
- exports.AuthFlowType = {
317
- ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
318
- ADMIN_USER_PASSWORD_AUTH: "ADMIN_USER_PASSWORD_AUTH",
319
- CUSTOM_AUTH: "CUSTOM_AUTH",
320
- REFRESH_TOKEN: "REFRESH_TOKEN",
321
- REFRESH_TOKEN_AUTH: "REFRESH_TOKEN_AUTH",
322
- USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
323
- USER_SRP_AUTH: "USER_SRP_AUTH",
324
- };
325
- exports.ChallengeNameType = {
326
- ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
327
- CUSTOM_CHALLENGE: "CUSTOM_CHALLENGE",
328
- DEVICE_PASSWORD_VERIFIER: "DEVICE_PASSWORD_VERIFIER",
329
- DEVICE_SRP_AUTH: "DEVICE_SRP_AUTH",
330
- MFA_SETUP: "MFA_SETUP",
331
- NEW_PASSWORD_REQUIRED: "NEW_PASSWORD_REQUIRED",
332
- PASSWORD_VERIFIER: "PASSWORD_VERIFIER",
333
- SELECT_MFA_TYPE: "SELECT_MFA_TYPE",
334
- SMS_MFA: "SMS_MFA",
335
- SOFTWARE_TOKEN_MFA: "SOFTWARE_TOKEN_MFA",
336
- };
337
- class MFAMethodNotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
338
- constructor(opts) {
339
- super({
340
- name: "MFAMethodNotFoundException",
341
- $fault: "client",
342
- ...opts,
343
- });
344
- this.name = "MFAMethodNotFoundException";
345
- this.$fault = "client";
346
- Object.setPrototypeOf(this, MFAMethodNotFoundException.prototype);
347
- }
348
- }
349
- exports.MFAMethodNotFoundException = MFAMethodNotFoundException;
350
- class PasswordResetRequiredException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
351
- constructor(opts) {
352
- super({
353
- name: "PasswordResetRequiredException",
354
- $fault: "client",
355
- ...opts,
356
- });
357
- this.name = "PasswordResetRequiredException";
358
- this.$fault = "client";
359
- Object.setPrototypeOf(this, PasswordResetRequiredException.prototype);
360
- }
361
- }
362
- exports.PasswordResetRequiredException = PasswordResetRequiredException;
363
- class UserNotConfirmedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
364
- constructor(opts) {
365
- super({
366
- name: "UserNotConfirmedException",
367
- $fault: "client",
368
- ...opts,
369
- });
370
- this.name = "UserNotConfirmedException";
371
- this.$fault = "client";
372
- Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
373
- }
374
- }
375
- exports.UserNotConfirmedException = UserNotConfirmedException;
376
- exports.ChallengeName = {
377
- Mfa: "Mfa",
378
- Password: "Password",
379
- };
380
- exports.ChallengeResponse = {
381
- Failure: "Failure",
382
- Success: "Success",
383
- };
384
- exports.FeedbackValueType = {
385
- INVALID: "Invalid",
386
- VALID: "Valid",
387
- };
388
- exports.EventResponseType = {
389
- Fail: "Fail",
390
- InProgress: "InProgress",
391
- Pass: "Pass",
392
- };
393
- exports.RiskDecisionType = {
394
- AccountTakeover: "AccountTakeover",
395
- Block: "Block",
396
- NoRisk: "NoRisk",
397
- };
398
- exports.RiskLevelType = {
399
- High: "High",
400
- Low: "Low",
401
- Medium: "Medium",
402
- };
403
- exports.EventType = {
404
- ForgotPassword: "ForgotPassword",
405
- PasswordChange: "PasswordChange",
406
- ResendCode: "ResendCode",
407
- SignIn: "SignIn",
408
- SignUp: "SignUp",
409
- };
410
- class UserPoolAddOnNotEnabledException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
411
- constructor(opts) {
412
- super({
413
- name: "UserPoolAddOnNotEnabledException",
414
- $fault: "client",
415
- ...opts,
416
- });
417
- this.name = "UserPoolAddOnNotEnabledException";
418
- this.$fault = "client";
419
- Object.setPrototypeOf(this, UserPoolAddOnNotEnabledException.prototype);
420
- }
421
- }
422
- exports.UserPoolAddOnNotEnabledException = UserPoolAddOnNotEnabledException;
423
- class InvalidEmailRoleAccessPolicyException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
424
- constructor(opts) {
425
- super({
426
- name: "InvalidEmailRoleAccessPolicyException",
427
- $fault: "client",
428
- ...opts,
429
- });
430
- this.name = "InvalidEmailRoleAccessPolicyException";
431
- this.$fault = "client";
432
- Object.setPrototypeOf(this, InvalidEmailRoleAccessPolicyException.prototype);
433
- }
434
- }
435
- exports.InvalidEmailRoleAccessPolicyException = InvalidEmailRoleAccessPolicyException;
436
- class CodeMismatchException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
437
- constructor(opts) {
438
- super({
439
- name: "CodeMismatchException",
440
- $fault: "client",
441
- ...opts,
442
- });
443
- this.name = "CodeMismatchException";
444
- this.$fault = "client";
445
- Object.setPrototypeOf(this, CodeMismatchException.prototype);
446
- }
447
- }
448
- exports.CodeMismatchException = CodeMismatchException;
449
- class ExpiredCodeException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
450
- constructor(opts) {
451
- super({
452
- name: "ExpiredCodeException",
453
- $fault: "client",
454
- ...opts,
455
- });
456
- this.name = "ExpiredCodeException";
457
- this.$fault = "client";
458
- Object.setPrototypeOf(this, ExpiredCodeException.prototype);
459
- }
460
- }
461
- exports.ExpiredCodeException = ExpiredCodeException;
462
- class SoftwareTokenMFANotFoundException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
463
- constructor(opts) {
464
- super({
465
- name: "SoftwareTokenMFANotFoundException",
466
- $fault: "client",
467
- ...opts,
468
- });
469
- this.name = "SoftwareTokenMFANotFoundException";
470
- this.$fault = "client";
471
- Object.setPrototypeOf(this, SoftwareTokenMFANotFoundException.prototype);
472
- }
473
- }
474
- exports.SoftwareTokenMFANotFoundException = SoftwareTokenMFANotFoundException;
475
- exports.DeviceRememberedStatusType = {
476
- NOT_REMEMBERED: "not_remembered",
477
- REMEMBERED: "remembered",
478
- };
479
- exports.AdvancedSecurityModeType = {
480
- AUDIT: "AUDIT",
481
- ENFORCED: "ENFORCED",
482
- OFF: "OFF",
483
- };
484
- exports.AliasAttributeType = {
485
- EMAIL: "email",
486
- PHONE_NUMBER: "phone_number",
487
- PREFERRED_USERNAME: "preferred_username",
488
- };
489
- class ConcurrentModificationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
490
- constructor(opts) {
491
- super({
492
- name: "ConcurrentModificationException",
493
- $fault: "client",
494
- ...opts,
495
- });
496
- this.name = "ConcurrentModificationException";
497
- this.$fault = "client";
498
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
499
- }
500
- }
501
- exports.ConcurrentModificationException = ConcurrentModificationException;
502
- class ForbiddenException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
503
- constructor(opts) {
504
- super({
505
- name: "ForbiddenException",
506
- $fault: "client",
507
- ...opts,
508
- });
509
- this.name = "ForbiddenException";
510
- this.$fault = "client";
511
- Object.setPrototypeOf(this, ForbiddenException.prototype);
512
- }
513
- }
514
- exports.ForbiddenException = ForbiddenException;
515
- exports.VerifiedAttributeType = {
516
- EMAIL: "email",
517
- PHONE_NUMBER: "phone_number",
518
- };
519
- class GroupExistsException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
520
- constructor(opts) {
521
- super({
522
- name: "GroupExistsException",
523
- $fault: "client",
524
- ...opts,
525
- });
526
- this.name = "GroupExistsException";
527
- this.$fault = "client";
528
- Object.setPrototypeOf(this, GroupExistsException.prototype);
529
- }
530
- }
531
- exports.GroupExistsException = GroupExistsException;
532
- exports.IdentityProviderTypeType = {
533
- Facebook: "Facebook",
534
- Google: "Google",
535
- LoginWithAmazon: "LoginWithAmazon",
536
- OIDC: "OIDC",
537
- SAML: "SAML",
538
- SignInWithApple: "SignInWithApple",
539
- };
540
- class DuplicateProviderException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
541
- constructor(opts) {
542
- super({
543
- name: "DuplicateProviderException",
544
- $fault: "client",
545
- ...opts,
546
- });
547
- this.name = "DuplicateProviderException";
548
- this.$fault = "client";
549
- Object.setPrototypeOf(this, DuplicateProviderException.prototype);
550
- }
551
- }
552
- exports.DuplicateProviderException = DuplicateProviderException;
553
- exports.UserImportJobStatusType = {
554
- Created: "Created",
555
- Expired: "Expired",
556
- Failed: "Failed",
557
- InProgress: "InProgress",
558
- Pending: "Pending",
559
- Stopped: "Stopped",
560
- Stopping: "Stopping",
561
- Succeeded: "Succeeded",
562
- };
563
- exports.DeletionProtectionType = {
564
- ACTIVE: "ACTIVE",
565
- INACTIVE: "INACTIVE",
566
- };
567
- exports.EmailSendingAccountType = {
568
- COGNITO_DEFAULT: "COGNITO_DEFAULT",
569
- DEVELOPER: "DEVELOPER",
570
- };
571
- exports.CustomEmailSenderLambdaVersionType = {
572
- V1_0: "V1_0",
573
- };
574
- exports.CustomSMSSenderLambdaVersionType = {
575
- V1_0: "V1_0",
576
- };
577
- exports.PreTokenGenerationLambdaVersionType = {
578
- V1_0: "V1_0",
579
- V2_0: "V2_0",
580
- };
581
- exports.UserPoolMfaType = {
582
- OFF: "OFF",
583
- ON: "ON",
584
- OPTIONAL: "OPTIONAL",
585
- };
586
- exports.UsernameAttributeType = {
587
- EMAIL: "email",
588
- PHONE_NUMBER: "phone_number",
589
- };
590
- exports.DefaultEmailOptionType = {
591
- CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE",
592
- CONFIRM_WITH_LINK: "CONFIRM_WITH_LINK",
593
- };
594
- exports.StatusType = {
595
- Disabled: "Disabled",
596
- Enabled: "Enabled",
597
- };
598
- class UserPoolTaggingException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
599
- constructor(opts) {
600
- super({
601
- name: "UserPoolTaggingException",
602
- $fault: "client",
603
- ...opts,
604
- });
605
- this.name = "UserPoolTaggingException";
606
- this.$fault = "client";
607
- Object.setPrototypeOf(this, UserPoolTaggingException.prototype);
608
- }
609
- }
610
- exports.UserPoolTaggingException = UserPoolTaggingException;
611
- exports.OAuthFlowType = {
612
- client_credentials: "client_credentials",
613
- code: "code",
614
- implicit: "implicit",
615
- };
616
- exports.ExplicitAuthFlowsType = {
617
- ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH",
618
- ALLOW_ADMIN_USER_PASSWORD_AUTH: "ALLOW_ADMIN_USER_PASSWORD_AUTH",
619
- ALLOW_CUSTOM_AUTH: "ALLOW_CUSTOM_AUTH",
620
- ALLOW_REFRESH_TOKEN_AUTH: "ALLOW_REFRESH_TOKEN_AUTH",
621
- ALLOW_USER_PASSWORD_AUTH: "ALLOW_USER_PASSWORD_AUTH",
622
- ALLOW_USER_SRP_AUTH: "ALLOW_USER_SRP_AUTH",
623
- CUSTOM_AUTH_FLOW_ONLY: "CUSTOM_AUTH_FLOW_ONLY",
624
- USER_PASSWORD_AUTH: "USER_PASSWORD_AUTH",
625
- };
626
- exports.PreventUserExistenceErrorTypes = {
627
- ENABLED: "ENABLED",
628
- LEGACY: "LEGACY",
629
- };
630
- exports.TimeUnitsType = {
631
- DAYS: "days",
632
- HOURS: "hours",
633
- MINUTES: "minutes",
634
- SECONDS: "seconds",
635
- };
636
- class InvalidOAuthFlowException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
637
- constructor(opts) {
638
- super({
639
- name: "InvalidOAuthFlowException",
640
- $fault: "client",
641
- ...opts,
642
- });
643
- this.name = "InvalidOAuthFlowException";
644
- this.$fault = "client";
645
- Object.setPrototypeOf(this, InvalidOAuthFlowException.prototype);
646
- }
647
- }
648
- exports.InvalidOAuthFlowException = InvalidOAuthFlowException;
649
- class ScopeDoesNotExistException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
650
- constructor(opts) {
651
- super({
652
- name: "ScopeDoesNotExistException",
653
- $fault: "client",
654
- ...opts,
655
- });
656
- this.name = "ScopeDoesNotExistException";
657
- this.$fault = "client";
658
- Object.setPrototypeOf(this, ScopeDoesNotExistException.prototype);
659
- }
660
- }
661
- exports.ScopeDoesNotExistException = ScopeDoesNotExistException;
662
- class UnsupportedIdentityProviderException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
663
- constructor(opts) {
664
- super({
665
- name: "UnsupportedIdentityProviderException",
666
- $fault: "client",
667
- ...opts,
668
- });
669
- this.name = "UnsupportedIdentityProviderException";
670
- this.$fault = "client";
671
- Object.setPrototypeOf(this, UnsupportedIdentityProviderException.prototype);
672
- }
673
- }
674
- exports.UnsupportedIdentityProviderException = UnsupportedIdentityProviderException;
675
- exports.CompromisedCredentialsEventActionType = {
676
- BLOCK: "BLOCK",
677
- NO_ACTION: "NO_ACTION",
678
- };
679
- exports.EventFilterType = {
680
- PASSWORD_CHANGE: "PASSWORD_CHANGE",
681
- SIGN_IN: "SIGN_IN",
682
- SIGN_UP: "SIGN_UP",
683
- };
684
- exports.DomainStatusType = {
685
- ACTIVE: "ACTIVE",
686
- CREATING: "CREATING",
687
- DELETING: "DELETING",
688
- FAILED: "FAILED",
689
- UPDATING: "UPDATING",
690
- };
691
- exports.EventSourceName = {
692
- USER_NOTIFICATION: "userNotification",
693
- };
694
- exports.LogLevel = {
695
- ERROR: "ERROR",
696
- };
697
- class UnauthorizedException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
698
- constructor(opts) {
699
- super({
700
- name: "UnauthorizedException",
701
- $fault: "client",
702
- ...opts,
703
- });
704
- this.name = "UnauthorizedException";
705
- this.$fault = "client";
706
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
707
- }
708
- }
709
- exports.UnauthorizedException = UnauthorizedException;
710
- class UnsupportedOperationException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
711
- constructor(opts) {
712
- super({
713
- name: "UnsupportedOperationException",
714
- $fault: "client",
715
- ...opts,
716
- });
717
- this.name = "UnsupportedOperationException";
718
- this.$fault = "client";
719
- Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
720
- }
721
- }
722
- exports.UnsupportedOperationException = UnsupportedOperationException;
723
- class UnsupportedTokenTypeException extends CognitoIdentityProviderServiceException_1.CognitoIdentityProviderServiceException {
724
- constructor(opts) {
725
- super({
726
- name: "UnsupportedTokenTypeException",
727
- $fault: "client",
728
- ...opts,
729
- });
730
- this.name = "UnsupportedTokenTypeException";
731
- this.$fault = "client";
732
- Object.setPrototypeOf(this, UnsupportedTokenTypeException.prototype);
733
- }
734
- }
735
- exports.UnsupportedTokenTypeException = UnsupportedTokenTypeException;
736
- const AdminAddUserToGroupRequestFilterSensitiveLog = (obj) => ({
737
- ...obj,
738
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
739
- });
740
- exports.AdminAddUserToGroupRequestFilterSensitiveLog = AdminAddUserToGroupRequestFilterSensitiveLog;
741
- const AdminConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
742
- ...obj,
743
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
744
- });
745
- exports.AdminConfirmSignUpRequestFilterSensitiveLog = AdminConfirmSignUpRequestFilterSensitiveLog;
746
- const AttributeTypeFilterSensitiveLog = (obj) => ({
747
- ...obj,
748
- ...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }),
749
- });
750
- exports.AttributeTypeFilterSensitiveLog = AttributeTypeFilterSensitiveLog;
751
- const AdminCreateUserRequestFilterSensitiveLog = (obj) => ({
752
- ...obj,
753
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
754
- ...(obj.UserAttributes && {
755
- UserAttributes: obj.UserAttributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
756
- }),
757
- ...(obj.ValidationData && {
758
- ValidationData: obj.ValidationData.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
759
- }),
760
- ...(obj.TemporaryPassword && { TemporaryPassword: smithy_client_1.SENSITIVE_STRING }),
761
- });
762
- exports.AdminCreateUserRequestFilterSensitiveLog = AdminCreateUserRequestFilterSensitiveLog;
763
- const UserTypeFilterSensitiveLog = (obj) => ({
764
- ...obj,
765
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
766
- ...(obj.Attributes && { Attributes: obj.Attributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)) }),
767
- });
768
- exports.UserTypeFilterSensitiveLog = UserTypeFilterSensitiveLog;
769
- const AdminCreateUserResponseFilterSensitiveLog = (obj) => ({
770
- ...obj,
771
- ...(obj.User && { User: (0, exports.UserTypeFilterSensitiveLog)(obj.User) }),
772
- });
773
- exports.AdminCreateUserResponseFilterSensitiveLog = AdminCreateUserResponseFilterSensitiveLog;
774
- const AdminDeleteUserRequestFilterSensitiveLog = (obj) => ({
775
- ...obj,
776
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
777
- });
778
- exports.AdminDeleteUserRequestFilterSensitiveLog = AdminDeleteUserRequestFilterSensitiveLog;
779
- const AdminDeleteUserAttributesRequestFilterSensitiveLog = (obj) => ({
780
- ...obj,
781
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
782
- });
783
- exports.AdminDeleteUserAttributesRequestFilterSensitiveLog = AdminDeleteUserAttributesRequestFilterSensitiveLog;
784
- const AdminDisableUserRequestFilterSensitiveLog = (obj) => ({
785
- ...obj,
786
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
787
- });
788
- exports.AdminDisableUserRequestFilterSensitiveLog = AdminDisableUserRequestFilterSensitiveLog;
789
- const AdminEnableUserRequestFilterSensitiveLog = (obj) => ({
790
- ...obj,
791
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
792
- });
793
- exports.AdminEnableUserRequestFilterSensitiveLog = AdminEnableUserRequestFilterSensitiveLog;
794
- const AdminForgetDeviceRequestFilterSensitiveLog = (obj) => ({
795
- ...obj,
796
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
797
- });
798
- exports.AdminForgetDeviceRequestFilterSensitiveLog = AdminForgetDeviceRequestFilterSensitiveLog;
799
- const AdminGetDeviceRequestFilterSensitiveLog = (obj) => ({
800
- ...obj,
801
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
802
- });
803
- exports.AdminGetDeviceRequestFilterSensitiveLog = AdminGetDeviceRequestFilterSensitiveLog;
804
- const DeviceTypeFilterSensitiveLog = (obj) => ({
805
- ...obj,
806
- ...(obj.DeviceAttributes && {
807
- DeviceAttributes: obj.DeviceAttributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
808
- }),
809
- });
810
- exports.DeviceTypeFilterSensitiveLog = DeviceTypeFilterSensitiveLog;
811
- const AdminGetDeviceResponseFilterSensitiveLog = (obj) => ({
812
- ...obj,
813
- ...(obj.Device && { Device: (0, exports.DeviceTypeFilterSensitiveLog)(obj.Device) }),
814
- });
815
- exports.AdminGetDeviceResponseFilterSensitiveLog = AdminGetDeviceResponseFilterSensitiveLog;
816
- const AdminGetUserRequestFilterSensitiveLog = (obj) => ({
817
- ...obj,
818
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
819
- });
820
- exports.AdminGetUserRequestFilterSensitiveLog = AdminGetUserRequestFilterSensitiveLog;
821
- const AdminGetUserResponseFilterSensitiveLog = (obj) => ({
822
- ...obj,
823
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
824
- ...(obj.UserAttributes && {
825
- UserAttributes: obj.UserAttributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
826
- }),
827
- });
828
- exports.AdminGetUserResponseFilterSensitiveLog = AdminGetUserResponseFilterSensitiveLog;
829
- const AdminInitiateAuthRequestFilterSensitiveLog = (obj) => ({
830
- ...obj,
831
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
832
- ...(obj.AuthParameters && { AuthParameters: smithy_client_1.SENSITIVE_STRING }),
833
- });
834
- exports.AdminInitiateAuthRequestFilterSensitiveLog = AdminInitiateAuthRequestFilterSensitiveLog;
835
- const AuthenticationResultTypeFilterSensitiveLog = (obj) => ({
836
- ...obj,
837
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
838
- ...(obj.RefreshToken && { RefreshToken: smithy_client_1.SENSITIVE_STRING }),
839
- ...(obj.IdToken && { IdToken: smithy_client_1.SENSITIVE_STRING }),
840
- });
841
- exports.AuthenticationResultTypeFilterSensitiveLog = AuthenticationResultTypeFilterSensitiveLog;
842
- const AdminInitiateAuthResponseFilterSensitiveLog = (obj) => ({
843
- ...obj,
844
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
845
- ...(obj.AuthenticationResult && {
846
- AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
847
- }),
848
- });
849
- exports.AdminInitiateAuthResponseFilterSensitiveLog = AdminInitiateAuthResponseFilterSensitiveLog;
850
- const AdminListDevicesRequestFilterSensitiveLog = (obj) => ({
851
- ...obj,
852
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
853
- });
854
- exports.AdminListDevicesRequestFilterSensitiveLog = AdminListDevicesRequestFilterSensitiveLog;
855
- const AdminListDevicesResponseFilterSensitiveLog = (obj) => ({
856
- ...obj,
857
- });
858
- exports.AdminListDevicesResponseFilterSensitiveLog = AdminListDevicesResponseFilterSensitiveLog;
859
- const AdminListGroupsForUserRequestFilterSensitiveLog = (obj) => ({
860
- ...obj,
861
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
862
- });
863
- exports.AdminListGroupsForUserRequestFilterSensitiveLog = AdminListGroupsForUserRequestFilterSensitiveLog;
864
- const AdminListUserAuthEventsRequestFilterSensitiveLog = (obj) => ({
865
- ...obj,
866
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
867
- });
868
- exports.AdminListUserAuthEventsRequestFilterSensitiveLog = AdminListUserAuthEventsRequestFilterSensitiveLog;
869
- const AdminRemoveUserFromGroupRequestFilterSensitiveLog = (obj) => ({
870
- ...obj,
871
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
872
- });
873
- exports.AdminRemoveUserFromGroupRequestFilterSensitiveLog = AdminRemoveUserFromGroupRequestFilterSensitiveLog;
874
- const AdminResetUserPasswordRequestFilterSensitiveLog = (obj) => ({
875
- ...obj,
876
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
877
- });
878
- exports.AdminResetUserPasswordRequestFilterSensitiveLog = AdminResetUserPasswordRequestFilterSensitiveLog;
879
- const AdminRespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
880
- ...obj,
881
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
882
- ...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
883
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
884
- });
885
- exports.AdminRespondToAuthChallengeRequestFilterSensitiveLog = AdminRespondToAuthChallengeRequestFilterSensitiveLog;
886
- const AdminRespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
887
- ...obj,
888
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
889
- ...(obj.AuthenticationResult && {
890
- AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
891
- }),
892
- });
893
- exports.AdminRespondToAuthChallengeResponseFilterSensitiveLog = AdminRespondToAuthChallengeResponseFilterSensitiveLog;
894
- const AdminSetUserMFAPreferenceRequestFilterSensitiveLog = (obj) => ({
895
- ...obj,
896
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
897
- });
898
- exports.AdminSetUserMFAPreferenceRequestFilterSensitiveLog = AdminSetUserMFAPreferenceRequestFilterSensitiveLog;
899
- const AdminSetUserPasswordRequestFilterSensitiveLog = (obj) => ({
900
- ...obj,
901
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
902
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
903
- });
904
- exports.AdminSetUserPasswordRequestFilterSensitiveLog = AdminSetUserPasswordRequestFilterSensitiveLog;
905
- const AdminSetUserSettingsRequestFilterSensitiveLog = (obj) => ({
906
- ...obj,
907
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
908
- });
909
- exports.AdminSetUserSettingsRequestFilterSensitiveLog = AdminSetUserSettingsRequestFilterSensitiveLog;
910
- const AdminUpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
911
- ...obj,
912
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
913
- });
914
- exports.AdminUpdateAuthEventFeedbackRequestFilterSensitiveLog = AdminUpdateAuthEventFeedbackRequestFilterSensitiveLog;
915
- const AdminUpdateDeviceStatusRequestFilterSensitiveLog = (obj) => ({
916
- ...obj,
917
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
918
- });
919
- exports.AdminUpdateDeviceStatusRequestFilterSensitiveLog = AdminUpdateDeviceStatusRequestFilterSensitiveLog;
920
- const AdminUpdateUserAttributesRequestFilterSensitiveLog = (obj) => ({
921
- ...obj,
922
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
923
- ...(obj.UserAttributes && {
924
- UserAttributes: obj.UserAttributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
925
- }),
926
- });
927
- exports.AdminUpdateUserAttributesRequestFilterSensitiveLog = AdminUpdateUserAttributesRequestFilterSensitiveLog;
928
- const AdminUserGlobalSignOutRequestFilterSensitiveLog = (obj) => ({
929
- ...obj,
930
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
931
- });
932
- exports.AdminUserGlobalSignOutRequestFilterSensitiveLog = AdminUserGlobalSignOutRequestFilterSensitiveLog;
933
- const AssociateSoftwareTokenRequestFilterSensitiveLog = (obj) => ({
934
- ...obj,
935
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
936
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
937
- });
938
- exports.AssociateSoftwareTokenRequestFilterSensitiveLog = AssociateSoftwareTokenRequestFilterSensitiveLog;
939
- const AssociateSoftwareTokenResponseFilterSensitiveLog = (obj) => ({
940
- ...obj,
941
- ...(obj.SecretCode && { SecretCode: smithy_client_1.SENSITIVE_STRING }),
942
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
943
- });
944
- exports.AssociateSoftwareTokenResponseFilterSensitiveLog = AssociateSoftwareTokenResponseFilterSensitiveLog;
945
- const ChangePasswordRequestFilterSensitiveLog = (obj) => ({
946
- ...obj,
947
- ...(obj.PreviousPassword && { PreviousPassword: smithy_client_1.SENSITIVE_STRING }),
948
- ...(obj.ProposedPassword && { ProposedPassword: smithy_client_1.SENSITIVE_STRING }),
949
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
950
- });
951
- exports.ChangePasswordRequestFilterSensitiveLog = ChangePasswordRequestFilterSensitiveLog;
952
- const ConfirmDeviceRequestFilterSensitiveLog = (obj) => ({
953
- ...obj,
954
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
955
- });
956
- exports.ConfirmDeviceRequestFilterSensitiveLog = ConfirmDeviceRequestFilterSensitiveLog;
957
- const UserContextDataTypeFilterSensitiveLog = (obj) => ({
958
- ...obj,
959
- });
960
- exports.UserContextDataTypeFilterSensitiveLog = UserContextDataTypeFilterSensitiveLog;
961
- const ConfirmForgotPasswordRequestFilterSensitiveLog = (obj) => ({
962
- ...obj,
963
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
964
- ...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
965
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
966
- ...(obj.Password && { Password: smithy_client_1.SENSITIVE_STRING }),
967
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
968
- });
969
- exports.ConfirmForgotPasswordRequestFilterSensitiveLog = ConfirmForgotPasswordRequestFilterSensitiveLog;
970
- const ConfirmSignUpRequestFilterSensitiveLog = (obj) => ({
971
- ...obj,
972
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
973
- ...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
974
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
975
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
976
- });
977
- exports.ConfirmSignUpRequestFilterSensitiveLog = ConfirmSignUpRequestFilterSensitiveLog;
978
- const UserPoolClientTypeFilterSensitiveLog = (obj) => ({
979
- ...obj,
980
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
981
- ...(obj.ClientSecret && { ClientSecret: smithy_client_1.SENSITIVE_STRING }),
982
- });
983
- exports.UserPoolClientTypeFilterSensitiveLog = UserPoolClientTypeFilterSensitiveLog;
984
- const CreateUserPoolClientResponseFilterSensitiveLog = (obj) => ({
985
- ...obj,
986
- ...(obj.UserPoolClient && { UserPoolClient: (0, exports.UserPoolClientTypeFilterSensitiveLog)(obj.UserPoolClient) }),
987
- });
988
- exports.CreateUserPoolClientResponseFilterSensitiveLog = CreateUserPoolClientResponseFilterSensitiveLog;
989
- const DeleteUserRequestFilterSensitiveLog = (obj) => ({
990
- ...obj,
991
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
992
- });
993
- exports.DeleteUserRequestFilterSensitiveLog = DeleteUserRequestFilterSensitiveLog;
994
- const DeleteUserAttributesRequestFilterSensitiveLog = (obj) => ({
995
- ...obj,
996
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
997
- });
998
- exports.DeleteUserAttributesRequestFilterSensitiveLog = DeleteUserAttributesRequestFilterSensitiveLog;
999
- const DeleteUserPoolClientRequestFilterSensitiveLog = (obj) => ({
1000
- ...obj,
1001
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1002
- });
1003
- exports.DeleteUserPoolClientRequestFilterSensitiveLog = DeleteUserPoolClientRequestFilterSensitiveLog;
1004
- const DescribeRiskConfigurationRequestFilterSensitiveLog = (obj) => ({
1005
- ...obj,
1006
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1007
- });
1008
- exports.DescribeRiskConfigurationRequestFilterSensitiveLog = DescribeRiskConfigurationRequestFilterSensitiveLog;
1009
- const RiskConfigurationTypeFilterSensitiveLog = (obj) => ({
1010
- ...obj,
1011
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1012
- });
1013
- exports.RiskConfigurationTypeFilterSensitiveLog = RiskConfigurationTypeFilterSensitiveLog;
1014
- const DescribeRiskConfigurationResponseFilterSensitiveLog = (obj) => ({
1015
- ...obj,
1016
- ...(obj.RiskConfiguration && { RiskConfiguration: (0, exports.RiskConfigurationTypeFilterSensitiveLog)(obj.RiskConfiguration) }),
1017
- });
1018
- exports.DescribeRiskConfigurationResponseFilterSensitiveLog = DescribeRiskConfigurationResponseFilterSensitiveLog;
1019
- const DescribeUserPoolClientRequestFilterSensitiveLog = (obj) => ({
1020
- ...obj,
1021
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1022
- });
1023
- exports.DescribeUserPoolClientRequestFilterSensitiveLog = DescribeUserPoolClientRequestFilterSensitiveLog;
1024
- const DescribeUserPoolClientResponseFilterSensitiveLog = (obj) => ({
1025
- ...obj,
1026
- ...(obj.UserPoolClient && { UserPoolClient: (0, exports.UserPoolClientTypeFilterSensitiveLog)(obj.UserPoolClient) }),
1027
- });
1028
- exports.DescribeUserPoolClientResponseFilterSensitiveLog = DescribeUserPoolClientResponseFilterSensitiveLog;
1029
- const ForgetDeviceRequestFilterSensitiveLog = (obj) => ({
1030
- ...obj,
1031
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1032
- });
1033
- exports.ForgetDeviceRequestFilterSensitiveLog = ForgetDeviceRequestFilterSensitiveLog;
1034
- const ForgotPasswordRequestFilterSensitiveLog = (obj) => ({
1035
- ...obj,
1036
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1037
- ...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
1038
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
1039
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
1040
- });
1041
- exports.ForgotPasswordRequestFilterSensitiveLog = ForgotPasswordRequestFilterSensitiveLog;
1042
- const GetDeviceRequestFilterSensitiveLog = (obj) => ({
1043
- ...obj,
1044
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1045
- });
1046
- exports.GetDeviceRequestFilterSensitiveLog = GetDeviceRequestFilterSensitiveLog;
1047
- const GetDeviceResponseFilterSensitiveLog = (obj) => ({
1048
- ...obj,
1049
- ...(obj.Device && { Device: (0, exports.DeviceTypeFilterSensitiveLog)(obj.Device) }),
1050
- });
1051
- exports.GetDeviceResponseFilterSensitiveLog = GetDeviceResponseFilterSensitiveLog;
1052
- const GetUICustomizationRequestFilterSensitiveLog = (obj) => ({
1053
- ...obj,
1054
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1055
- });
1056
- exports.GetUICustomizationRequestFilterSensitiveLog = GetUICustomizationRequestFilterSensitiveLog;
1057
- const UICustomizationTypeFilterSensitiveLog = (obj) => ({
1058
- ...obj,
1059
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1060
- });
1061
- exports.UICustomizationTypeFilterSensitiveLog = UICustomizationTypeFilterSensitiveLog;
1062
- const GetUICustomizationResponseFilterSensitiveLog = (obj) => ({
1063
- ...obj,
1064
- ...(obj.UICustomization && { UICustomization: (0, exports.UICustomizationTypeFilterSensitiveLog)(obj.UICustomization) }),
1065
- });
1066
- exports.GetUICustomizationResponseFilterSensitiveLog = GetUICustomizationResponseFilterSensitiveLog;
1067
- const GetUserRequestFilterSensitiveLog = (obj) => ({
1068
- ...obj,
1069
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1070
- });
1071
- exports.GetUserRequestFilterSensitiveLog = GetUserRequestFilterSensitiveLog;
1072
- const GetUserResponseFilterSensitiveLog = (obj) => ({
1073
- ...obj,
1074
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
1075
- ...(obj.UserAttributes && {
1076
- UserAttributes: obj.UserAttributes.map((item) => (0, exports.AttributeTypeFilterSensitiveLog)(item)),
1077
- }),
1078
- });
1079
- exports.GetUserResponseFilterSensitiveLog = GetUserResponseFilterSensitiveLog;
1080
- const GetUserAttributeVerificationCodeRequestFilterSensitiveLog = (obj) => ({
1081
- ...obj,
1082
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1083
- });
1084
- exports.GetUserAttributeVerificationCodeRequestFilterSensitiveLog = GetUserAttributeVerificationCodeRequestFilterSensitiveLog;
1085
- const GlobalSignOutRequestFilterSensitiveLog = (obj) => ({
1086
- ...obj,
1087
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1088
- });
1089
- exports.GlobalSignOutRequestFilterSensitiveLog = GlobalSignOutRequestFilterSensitiveLog;
1090
- const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
1091
- ...obj,
1092
- ...(obj.AuthParameters && { AuthParameters: smithy_client_1.SENSITIVE_STRING }),
1093
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1094
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
1095
- });
1096
- exports.InitiateAuthRequestFilterSensitiveLog = InitiateAuthRequestFilterSensitiveLog;
1097
- const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
1098
- ...obj,
1099
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
1100
- ...(obj.AuthenticationResult && {
1101
- AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
1102
- }),
1103
- });
1104
- exports.InitiateAuthResponseFilterSensitiveLog = InitiateAuthResponseFilterSensitiveLog;
1105
- const ListDevicesRequestFilterSensitiveLog = (obj) => ({
1106
- ...obj,
1107
- ...(obj.AccessToken && { AccessToken: smithy_client_1.SENSITIVE_STRING }),
1108
- });
1109
- exports.ListDevicesRequestFilterSensitiveLog = ListDevicesRequestFilterSensitiveLog;
1110
- const ListDevicesResponseFilterSensitiveLog = (obj) => ({
1111
- ...obj,
1112
- });
1113
- exports.ListDevicesResponseFilterSensitiveLog = ListDevicesResponseFilterSensitiveLog;
1114
- const UserPoolClientDescriptionFilterSensitiveLog = (obj) => ({
1115
- ...obj,
1116
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1117
- });
1118
- exports.UserPoolClientDescriptionFilterSensitiveLog = UserPoolClientDescriptionFilterSensitiveLog;
1119
- const ListUserPoolClientsResponseFilterSensitiveLog = (obj) => ({
1120
- ...obj,
1121
- ...(obj.UserPoolClients && {
1122
- UserPoolClients: obj.UserPoolClients.map((item) => (0, exports.UserPoolClientDescriptionFilterSensitiveLog)(item)),
1123
- }),
1124
- });
1125
- exports.ListUserPoolClientsResponseFilterSensitiveLog = ListUserPoolClientsResponseFilterSensitiveLog;
1126
- const ListUsersResponseFilterSensitiveLog = (obj) => ({
1127
- ...obj,
1128
- ...(obj.Users && { Users: obj.Users.map((item) => (0, exports.UserTypeFilterSensitiveLog)(item)) }),
1129
- });
1130
- exports.ListUsersResponseFilterSensitiveLog = ListUsersResponseFilterSensitiveLog;
1131
- const ListUsersInGroupResponseFilterSensitiveLog = (obj) => ({
1132
- ...obj,
1133
- ...(obj.Users && { Users: obj.Users.map((item) => (0, exports.UserTypeFilterSensitiveLog)(item)) }),
1134
- });
1135
- exports.ListUsersInGroupResponseFilterSensitiveLog = ListUsersInGroupResponseFilterSensitiveLog;
1136
- const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
1137
- ...obj,
1138
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1139
- ...(obj.SecretHash && { SecretHash: smithy_client_1.SENSITIVE_STRING }),
1140
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
1141
- ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
1142
- });
1143
- exports.ResendConfirmationCodeRequestFilterSensitiveLog = ResendConfirmationCodeRequestFilterSensitiveLog;
1144
- const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
1145
- ...obj,
1146
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1147
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
1148
- ...(obj.ChallengeResponses && { ChallengeResponses: smithy_client_1.SENSITIVE_STRING }),
1149
- ...(obj.UserContextData && { UserContextData: smithy_client_1.SENSITIVE_STRING }),
1150
- });
1151
- exports.RespondToAuthChallengeRequestFilterSensitiveLog = RespondToAuthChallengeRequestFilterSensitiveLog;
1152
- const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
1153
- ...obj,
1154
- ...(obj.Session && { Session: smithy_client_1.SENSITIVE_STRING }),
1155
- ...(obj.AuthenticationResult && {
1156
- AuthenticationResult: (0, exports.AuthenticationResultTypeFilterSensitiveLog)(obj.AuthenticationResult),
1157
- }),
1158
- });
1159
- exports.RespondToAuthChallengeResponseFilterSensitiveLog = RespondToAuthChallengeResponseFilterSensitiveLog;
1160
- const RevokeTokenRequestFilterSensitiveLog = (obj) => ({
1161
- ...obj,
1162
- ...(obj.Token && { Token: smithy_client_1.SENSITIVE_STRING }),
1163
- ...(obj.ClientId && { ClientId: smithy_client_1.SENSITIVE_STRING }),
1164
- ...(obj.ClientSecret && { ClientSecret: smithy_client_1.SENSITIVE_STRING }),
1165
- });
1166
- exports.RevokeTokenRequestFilterSensitiveLog = RevokeTokenRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");