@aws-sdk/client-cognito-identity-provider 3.169.0 → 3.170.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 (128) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +1822 -510
  3. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +736 -174
  4. package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +38 -17
  5. package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +33 -17
  6. package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +38 -17
  7. package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +37 -17
  8. package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +32 -17
  10. package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +37 -17
  12. package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +37 -17
  13. package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +33 -17
  14. package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +37 -17
  15. package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +38 -17
  17. package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +41 -17
  18. package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +37 -17
  19. package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +37 -17
  22. package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +41 -17
  23. package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +41 -17
  29. package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +41 -17
  30. package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +41 -17
  31. package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +41 -17
  32. package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +37 -17
  33. package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +37 -17
  34. package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +41 -17
  35. package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +37 -17
  36. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +34 -17
  37. package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +41 -17
  38. package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +41 -17
  39. package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +38 -17
  40. package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +41 -17
  41. package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +37 -17
  42. package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +41 -17
  43. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +32 -17
  44. package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +36 -17
  45. package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +36 -17
  46. package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +41 -17
  47. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +32 -17
  48. package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +36 -17
  49. package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +32 -17
  50. package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +41 -17
  51. package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +41 -17
  52. package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +41 -17
  53. package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +41 -17
  54. package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +41 -17
  55. package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +41 -17
  56. package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +37 -17
  57. package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +41 -17
  58. package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +32 -17
  59. package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +37 -17
  60. package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +34 -17
  61. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +34 -17
  62. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +34 -17
  63. package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +41 -17
  64. package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +41 -17
  65. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +38 -17
  66. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +41 -17
  67. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +34 -17
  68. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +41 -17
  69. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +37 -17
  70. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +34 -17
  71. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +34 -17
  72. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +34 -17
  73. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +41 -17
  74. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +38 -17
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  76. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +38 -17
  77. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +38 -17
  78. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +37 -17
  79. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +34 -17
  80. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +37 -17
  81. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +41 -17
  82. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +41 -17
  83. package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +34 -17
  84. package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +41 -17
  85. package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +38 -17
  86. package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +41 -17
  87. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +41 -17
  88. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +37 -17
  89. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +33 -18
  90. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +38 -17
  91. package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +38 -17
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  94. package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +41 -17
  95. package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +38 -17
  96. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +34 -17
  97. package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +41 -17
  98. package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +41 -17
  99. package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +41 -17
  100. package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +41 -17
  101. package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +37 -17
  102. package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +41 -17
  103. package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +38 -17
  104. package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +38 -17
  105. package/dist-types/ts3.4/commands/index.d.ts +101 -101
  106. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  107. package/dist-types/ts3.4/index.d.ts +6 -6
  108. package/dist-types/ts3.4/models/CognitoIdentityProviderServiceException.d.ts +8 -6
  109. package/dist-types/ts3.4/models/index.d.ts +2 -2
  110. package/dist-types/ts3.4/models/models_0.d.ts +3245 -2925
  111. package/dist-types/ts3.4/models/models_1.d.ts +412 -347
  112. package/dist-types/ts3.4/pagination/AdminListGroupsForUserPaginator.d.ts +11 -4
  113. package/dist-types/ts3.4/pagination/AdminListUserAuthEventsPaginator.d.ts +11 -4
  114. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  115. package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +11 -4
  116. package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +11 -4
  117. package/dist-types/ts3.4/pagination/ListResourceServersPaginator.d.ts +11 -4
  118. package/dist-types/ts3.4/pagination/ListUserPoolClientsPaginator.d.ts +11 -4
  119. package/dist-types/ts3.4/pagination/ListUserPoolsPaginator.d.ts +11 -4
  120. package/dist-types/ts3.4/pagination/ListUsersInGroupPaginator.d.ts +11 -4
  121. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -4
  122. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  123. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +1217 -305
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
  128. package/package.json +34 -34
@@ -1,347 +1,412 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
- import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
4
-
5
- export interface SignUpResponse {
6
-
7
- UserConfirmed: boolean | undefined;
8
-
9
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
10
-
11
- UserSub: string | undefined;
12
- }
13
-
14
- export interface StartUserImportJobRequest {
15
-
16
- UserPoolId: string | undefined;
17
-
18
- JobId: string | undefined;
19
- }
20
-
21
- export interface StartUserImportJobResponse {
22
-
23
- UserImportJob?: UserImportJobType;
24
- }
25
-
26
- export interface StopUserImportJobRequest {
27
-
28
- UserPoolId: string | undefined;
29
-
30
- JobId: string | undefined;
31
- }
32
-
33
- export interface StopUserImportJobResponse {
34
-
35
- UserImportJob?: UserImportJobType;
36
- }
37
- export interface TagResourceRequest {
38
-
39
- ResourceArn: string | undefined;
40
-
41
- Tags: Record<string, string> | undefined;
42
- }
43
- export interface TagResourceResponse {
44
- }
45
- export interface UntagResourceRequest {
46
-
47
- ResourceArn: string | undefined;
48
-
49
- TagKeys: string[] | undefined;
50
- }
51
- export interface UntagResourceResponse {
52
- }
53
- export interface UpdateAuthEventFeedbackRequest {
54
-
55
- UserPoolId: string | undefined;
56
-
57
- Username: string | undefined;
58
-
59
- EventId: string | undefined;
60
-
61
- FeedbackToken: string | undefined;
62
-
63
- FeedbackValue: FeedbackValueType | string | undefined;
64
- }
65
- export interface UpdateAuthEventFeedbackResponse {
66
- }
67
-
68
- export interface UpdateDeviceStatusRequest {
69
-
70
- AccessToken: string | undefined;
71
-
72
- DeviceKey: string | undefined;
73
-
74
- DeviceRememberedStatus?: DeviceRememberedStatusType | string;
75
- }
76
-
77
- export interface UpdateDeviceStatusResponse {
78
- }
79
- export interface UpdateGroupRequest {
80
-
81
- GroupName: string | undefined;
82
-
83
- UserPoolId: string | undefined;
84
-
85
- Description?: string;
86
-
87
- RoleArn?: string;
88
-
89
- Precedence?: number;
90
- }
91
- export interface UpdateGroupResponse {
92
-
93
- Group?: GroupType;
94
- }
95
- export interface UpdateIdentityProviderRequest {
96
-
97
- UserPoolId: string | undefined;
98
-
99
- ProviderName: string | undefined;
100
-
101
- ProviderDetails?: Record<string, string>;
102
-
103
- AttributeMapping?: Record<string, string>;
104
-
105
- IdpIdentifiers?: string[];
106
- }
107
- export interface UpdateIdentityProviderResponse {
108
-
109
- IdentityProvider: IdentityProviderType | undefined;
110
- }
111
- export interface UpdateResourceServerRequest {
112
-
113
- UserPoolId: string | undefined;
114
-
115
- Identifier: string | undefined;
116
-
117
- Name: string | undefined;
118
-
119
- Scopes?: ResourceServerScopeType[];
120
- }
121
- export interface UpdateResourceServerResponse {
122
-
123
- ResourceServer: ResourceServerType | undefined;
124
- }
125
-
126
- export interface UpdateUserAttributesRequest {
127
-
128
- UserAttributes: AttributeType[] | undefined;
129
-
130
- AccessToken: string | undefined;
131
-
132
- ClientMetadata?: Record<string, string>;
133
- }
134
-
135
- export interface UpdateUserAttributesResponse {
136
-
137
- CodeDeliveryDetailsList?: CodeDeliveryDetailsType[];
138
- }
139
-
140
- export interface UpdateUserPoolRequest {
141
-
142
- UserPoolId: string | undefined;
143
-
144
- Policies?: UserPoolPolicyType;
145
-
146
- LambdaConfig?: LambdaConfigType;
147
-
148
- AutoVerifiedAttributes?: (VerifiedAttributeType | string)[];
149
-
150
- SmsVerificationMessage?: string;
151
-
152
- EmailVerificationMessage?: string;
153
-
154
- EmailVerificationSubject?: string;
155
-
156
- VerificationMessageTemplate?: VerificationMessageTemplateType;
157
-
158
- SmsAuthenticationMessage?: string;
159
-
160
- UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
161
-
162
- MfaConfiguration?: UserPoolMfaType | string;
163
-
164
- DeviceConfiguration?: DeviceConfigurationType;
165
-
166
- EmailConfiguration?: EmailConfigurationType;
167
-
168
- SmsConfiguration?: SmsConfigurationType;
169
-
170
- UserPoolTags?: Record<string, string>;
171
-
172
- AdminCreateUserConfig?: AdminCreateUserConfigType;
173
-
174
- UserPoolAddOns?: UserPoolAddOnsType;
175
-
176
- AccountRecoverySetting?: AccountRecoverySettingType;
177
- }
178
-
179
- export interface UpdateUserPoolResponse {
180
- }
181
-
182
- export interface UpdateUserPoolClientRequest {
183
-
184
- UserPoolId: string | undefined;
185
-
186
- ClientId: string | undefined;
187
-
188
- ClientName?: string;
189
-
190
- RefreshTokenValidity?: number;
191
-
192
- AccessTokenValidity?: number;
193
-
194
- IdTokenValidity?: number;
195
-
196
- TokenValidityUnits?: TokenValidityUnitsType;
197
-
198
- ReadAttributes?: string[];
199
-
200
- WriteAttributes?: string[];
201
-
202
- ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
203
-
204
- SupportedIdentityProviders?: string[];
205
-
206
- CallbackURLs?: string[];
207
-
208
- LogoutURLs?: string[];
209
-
210
- DefaultRedirectURI?: string;
211
-
212
- AllowedOAuthFlows?: (OAuthFlowType | string)[];
213
-
214
- AllowedOAuthScopes?: string[];
215
-
216
- AllowedOAuthFlowsUserPoolClient?: boolean;
217
-
218
- AnalyticsConfiguration?: AnalyticsConfigurationType;
219
-
220
- PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
221
-
222
- EnableTokenRevocation?: boolean;
223
-
224
- EnablePropagateAdditionalUserContextData?: boolean;
225
-
226
- AuthSessionValidity?: number;
227
- }
228
-
229
- export interface UpdateUserPoolClientResponse {
230
-
231
- UserPoolClient?: UserPoolClientType;
232
- }
233
-
234
- export interface UpdateUserPoolDomainRequest {
235
-
236
- Domain: string | undefined;
237
-
238
- UserPoolId: string | undefined;
239
-
240
- CustomDomainConfig: CustomDomainConfigType | undefined;
241
- }
242
-
243
- export interface UpdateUserPoolDomainResponse {
244
-
245
- CloudFrontDomain?: string;
246
- }
247
-
248
- export declare class EnableSoftwareTokenMFAException extends __BaseException {
249
- readonly name: "EnableSoftwareTokenMFAException";
250
- readonly $fault: "client";
251
-
252
- constructor(opts: __ExceptionOptionType<EnableSoftwareTokenMFAException, __BaseException>);
253
- }
254
- export interface VerifySoftwareTokenRequest {
255
-
256
- AccessToken?: string;
257
-
258
- Session?: string;
259
-
260
- UserCode: string | undefined;
261
-
262
- FriendlyDeviceName?: string;
263
- }
264
- export declare enum VerifySoftwareTokenResponseType {
265
- ERROR = "ERROR",
266
- SUCCESS = "SUCCESS"
267
- }
268
- export interface VerifySoftwareTokenResponse {
269
-
270
- Status?: VerifySoftwareTokenResponseType | string;
271
-
272
- Session?: string;
273
- }
274
-
275
- export interface VerifyUserAttributeRequest {
276
-
277
- AccessToken: string | undefined;
278
-
279
- AttributeName: string | undefined;
280
-
281
- Code: string | undefined;
282
- }
283
-
284
- export interface VerifyUserAttributeResponse {
285
- }
286
-
287
- export declare const SignUpResponseFilterSensitiveLog: (obj: SignUpResponse) => any;
288
-
289
- export declare const StartUserImportJobRequestFilterSensitiveLog: (obj: StartUserImportJobRequest) => any;
290
-
291
- export declare const StartUserImportJobResponseFilterSensitiveLog: (obj: StartUserImportJobResponse) => any;
292
-
293
- export declare const StopUserImportJobRequestFilterSensitiveLog: (obj: StopUserImportJobRequest) => any;
294
-
295
- export declare const StopUserImportJobResponseFilterSensitiveLog: (obj: StopUserImportJobResponse) => any;
296
-
297
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
298
-
299
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
300
-
301
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
302
-
303
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
304
-
305
- export declare const UpdateAuthEventFeedbackRequestFilterSensitiveLog: (obj: UpdateAuthEventFeedbackRequest) => any;
306
-
307
- export declare const UpdateAuthEventFeedbackResponseFilterSensitiveLog: (obj: UpdateAuthEventFeedbackResponse) => any;
308
-
309
- export declare const UpdateDeviceStatusRequestFilterSensitiveLog: (obj: UpdateDeviceStatusRequest) => any;
310
-
311
- export declare const UpdateDeviceStatusResponseFilterSensitiveLog: (obj: UpdateDeviceStatusResponse) => any;
312
-
313
- export declare const UpdateGroupRequestFilterSensitiveLog: (obj: UpdateGroupRequest) => any;
314
-
315
- export declare const UpdateGroupResponseFilterSensitiveLog: (obj: UpdateGroupResponse) => any;
316
-
317
- export declare const UpdateIdentityProviderRequestFilterSensitiveLog: (obj: UpdateIdentityProviderRequest) => any;
318
-
319
- export declare const UpdateIdentityProviderResponseFilterSensitiveLog: (obj: UpdateIdentityProviderResponse) => any;
320
-
321
- export declare const UpdateResourceServerRequestFilterSensitiveLog: (obj: UpdateResourceServerRequest) => any;
322
-
323
- export declare const UpdateResourceServerResponseFilterSensitiveLog: (obj: UpdateResourceServerResponse) => any;
324
-
325
- export declare const UpdateUserAttributesRequestFilterSensitiveLog: (obj: UpdateUserAttributesRequest) => any;
326
-
327
- export declare const UpdateUserAttributesResponseFilterSensitiveLog: (obj: UpdateUserAttributesResponse) => any;
328
-
329
- export declare const UpdateUserPoolRequestFilterSensitiveLog: (obj: UpdateUserPoolRequest) => any;
330
-
331
- export declare const UpdateUserPoolResponseFilterSensitiveLog: (obj: UpdateUserPoolResponse) => any;
332
-
333
- export declare const UpdateUserPoolClientRequestFilterSensitiveLog: (obj: UpdateUserPoolClientRequest) => any;
334
-
335
- export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (obj: UpdateUserPoolClientResponse) => any;
336
-
337
- export declare const UpdateUserPoolDomainRequestFilterSensitiveLog: (obj: UpdateUserPoolDomainRequest) => any;
338
-
339
- export declare const UpdateUserPoolDomainResponseFilterSensitiveLog: (obj: UpdateUserPoolDomainResponse) => any;
340
-
341
- export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (obj: VerifySoftwareTokenRequest) => any;
342
-
343
- export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (obj: VerifySoftwareTokenResponse) => any;
344
-
345
- export declare const VerifyUserAttributeRequestFilterSensitiveLog: (obj: VerifyUserAttributeRequest) => any;
346
-
347
- export declare const VerifyUserAttributeResponseFilterSensitiveLog: (obj: VerifyUserAttributeResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
+ import {
4
+ AccountRecoverySettingType,
5
+ AdminCreateUserConfigType,
6
+ AnalyticsConfigurationType,
7
+ AttributeType,
8
+ CodeDeliveryDetailsType,
9
+ CustomDomainConfigType,
10
+ DeviceConfigurationType,
11
+ DeviceRememberedStatusType,
12
+ EmailConfigurationType,
13
+ ExplicitAuthFlowsType,
14
+ FeedbackValueType,
15
+ GroupType,
16
+ IdentityProviderType,
17
+ LambdaConfigType,
18
+ OAuthFlowType,
19
+ PreventUserExistenceErrorTypes,
20
+ ResourceServerScopeType,
21
+ ResourceServerType,
22
+ SmsConfigurationType,
23
+ TokenValidityUnitsType,
24
+ UserAttributeUpdateSettingsType,
25
+ UserImportJobType,
26
+ UserPoolAddOnsType,
27
+ UserPoolClientType,
28
+ UserPoolMfaType,
29
+ UserPoolPolicyType,
30
+ VerificationMessageTemplateType,
31
+ VerifiedAttributeType,
32
+ } from "./models_0";
33
+
34
+ export interface SignUpResponse {
35
+ UserConfirmed: boolean | undefined;
36
+
37
+ CodeDeliveryDetails?: CodeDeliveryDetailsType;
38
+
39
+ UserSub: string | undefined;
40
+ }
41
+
42
+ export interface StartUserImportJobRequest {
43
+ UserPoolId: string | undefined;
44
+
45
+ JobId: string | undefined;
46
+ }
47
+
48
+ export interface StartUserImportJobResponse {
49
+ UserImportJob?: UserImportJobType;
50
+ }
51
+
52
+ export interface StopUserImportJobRequest {
53
+ UserPoolId: string | undefined;
54
+
55
+ JobId: string | undefined;
56
+ }
57
+
58
+ export interface StopUserImportJobResponse {
59
+ UserImportJob?: UserImportJobType;
60
+ }
61
+ export interface TagResourceRequest {
62
+ ResourceArn: string | undefined;
63
+
64
+ Tags: Record<string, string> | undefined;
65
+ }
66
+ export interface TagResourceResponse {}
67
+ export interface UntagResourceRequest {
68
+ ResourceArn: string | undefined;
69
+
70
+ TagKeys: string[] | undefined;
71
+ }
72
+ export interface UntagResourceResponse {}
73
+ export interface UpdateAuthEventFeedbackRequest {
74
+ UserPoolId: string | undefined;
75
+
76
+ Username: string | undefined;
77
+
78
+ EventId: string | undefined;
79
+
80
+ FeedbackToken: string | undefined;
81
+
82
+ FeedbackValue: FeedbackValueType | string | undefined;
83
+ }
84
+ export interface UpdateAuthEventFeedbackResponse {}
85
+
86
+ export interface UpdateDeviceStatusRequest {
87
+ AccessToken: string | undefined;
88
+
89
+ DeviceKey: string | undefined;
90
+
91
+ DeviceRememberedStatus?: DeviceRememberedStatusType | string;
92
+ }
93
+
94
+ export interface UpdateDeviceStatusResponse {}
95
+ export interface UpdateGroupRequest {
96
+ GroupName: string | undefined;
97
+
98
+ UserPoolId: string | undefined;
99
+
100
+ Description?: string;
101
+
102
+ RoleArn?: string;
103
+
104
+ Precedence?: number;
105
+ }
106
+ export interface UpdateGroupResponse {
107
+ Group?: GroupType;
108
+ }
109
+ export interface UpdateIdentityProviderRequest {
110
+ UserPoolId: string | undefined;
111
+
112
+ ProviderName: string | undefined;
113
+
114
+ ProviderDetails?: Record<string, string>;
115
+
116
+ AttributeMapping?: Record<string, string>;
117
+
118
+ IdpIdentifiers?: string[];
119
+ }
120
+ export interface UpdateIdentityProviderResponse {
121
+ IdentityProvider: IdentityProviderType | undefined;
122
+ }
123
+ export interface UpdateResourceServerRequest {
124
+ UserPoolId: string | undefined;
125
+
126
+ Identifier: string | undefined;
127
+
128
+ Name: string | undefined;
129
+
130
+ Scopes?: ResourceServerScopeType[];
131
+ }
132
+ export interface UpdateResourceServerResponse {
133
+ ResourceServer: ResourceServerType | undefined;
134
+ }
135
+
136
+ export interface UpdateUserAttributesRequest {
137
+ UserAttributes: AttributeType[] | undefined;
138
+
139
+ AccessToken: string | undefined;
140
+
141
+ ClientMetadata?: Record<string, string>;
142
+ }
143
+
144
+ export interface UpdateUserAttributesResponse {
145
+ CodeDeliveryDetailsList?: CodeDeliveryDetailsType[];
146
+ }
147
+
148
+ export interface UpdateUserPoolRequest {
149
+ UserPoolId: string | undefined;
150
+
151
+ Policies?: UserPoolPolicyType;
152
+
153
+ LambdaConfig?: LambdaConfigType;
154
+
155
+ AutoVerifiedAttributes?: (VerifiedAttributeType | string)[];
156
+
157
+ SmsVerificationMessage?: string;
158
+
159
+ EmailVerificationMessage?: string;
160
+
161
+ EmailVerificationSubject?: string;
162
+
163
+ VerificationMessageTemplate?: VerificationMessageTemplateType;
164
+
165
+ SmsAuthenticationMessage?: string;
166
+
167
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
168
+
169
+ MfaConfiguration?: UserPoolMfaType | string;
170
+
171
+ DeviceConfiguration?: DeviceConfigurationType;
172
+
173
+ EmailConfiguration?: EmailConfigurationType;
174
+
175
+ SmsConfiguration?: SmsConfigurationType;
176
+
177
+ UserPoolTags?: Record<string, string>;
178
+
179
+ AdminCreateUserConfig?: AdminCreateUserConfigType;
180
+
181
+ UserPoolAddOns?: UserPoolAddOnsType;
182
+
183
+ AccountRecoverySetting?: AccountRecoverySettingType;
184
+ }
185
+
186
+ export interface UpdateUserPoolResponse {}
187
+
188
+ export interface UpdateUserPoolClientRequest {
189
+ UserPoolId: string | undefined;
190
+
191
+ ClientId: string | undefined;
192
+
193
+ ClientName?: string;
194
+
195
+ RefreshTokenValidity?: number;
196
+
197
+ AccessTokenValidity?: number;
198
+
199
+ IdTokenValidity?: number;
200
+
201
+ TokenValidityUnits?: TokenValidityUnitsType;
202
+
203
+ ReadAttributes?: string[];
204
+
205
+ WriteAttributes?: string[];
206
+
207
+ ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
208
+
209
+ SupportedIdentityProviders?: string[];
210
+
211
+ CallbackURLs?: string[];
212
+
213
+ LogoutURLs?: string[];
214
+
215
+ DefaultRedirectURI?: string;
216
+
217
+ AllowedOAuthFlows?: (OAuthFlowType | string)[];
218
+
219
+ AllowedOAuthScopes?: string[];
220
+
221
+ AllowedOAuthFlowsUserPoolClient?: boolean;
222
+
223
+ AnalyticsConfiguration?: AnalyticsConfigurationType;
224
+
225
+ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
226
+
227
+ EnableTokenRevocation?: boolean;
228
+
229
+ EnablePropagateAdditionalUserContextData?: boolean;
230
+
231
+ AuthSessionValidity?: number;
232
+ }
233
+
234
+ export interface UpdateUserPoolClientResponse {
235
+ UserPoolClient?: UserPoolClientType;
236
+ }
237
+
238
+ export interface UpdateUserPoolDomainRequest {
239
+ Domain: string | undefined;
240
+
241
+ UserPoolId: string | undefined;
242
+
243
+ CustomDomainConfig: CustomDomainConfigType | undefined;
244
+ }
245
+
246
+ export interface UpdateUserPoolDomainResponse {
247
+ CloudFrontDomain?: string;
248
+ }
249
+
250
+ export declare class EnableSoftwareTokenMFAException extends __BaseException {
251
+ readonly name: "EnableSoftwareTokenMFAException";
252
+ readonly $fault: "client";
253
+
254
+ constructor(
255
+ opts: __ExceptionOptionType<
256
+ EnableSoftwareTokenMFAException,
257
+ __BaseException
258
+ >
259
+ );
260
+ }
261
+ export interface VerifySoftwareTokenRequest {
262
+ AccessToken?: string;
263
+
264
+ Session?: string;
265
+
266
+ UserCode: string | undefined;
267
+
268
+ FriendlyDeviceName?: string;
269
+ }
270
+ export declare enum VerifySoftwareTokenResponseType {
271
+ ERROR = "ERROR",
272
+ SUCCESS = "SUCCESS",
273
+ }
274
+ export interface VerifySoftwareTokenResponse {
275
+ Status?: VerifySoftwareTokenResponseType | string;
276
+
277
+ Session?: string;
278
+ }
279
+
280
+ export interface VerifyUserAttributeRequest {
281
+ AccessToken: string | undefined;
282
+
283
+ AttributeName: string | undefined;
284
+
285
+ Code: string | undefined;
286
+ }
287
+
288
+ export interface VerifyUserAttributeResponse {}
289
+
290
+ export declare const SignUpResponseFilterSensitiveLog: (
291
+ obj: SignUpResponse
292
+ ) => any;
293
+
294
+ export declare const StartUserImportJobRequestFilterSensitiveLog: (
295
+ obj: StartUserImportJobRequest
296
+ ) => any;
297
+
298
+ export declare const StartUserImportJobResponseFilterSensitiveLog: (
299
+ obj: StartUserImportJobResponse
300
+ ) => any;
301
+
302
+ export declare const StopUserImportJobRequestFilterSensitiveLog: (
303
+ obj: StopUserImportJobRequest
304
+ ) => any;
305
+
306
+ export declare const StopUserImportJobResponseFilterSensitiveLog: (
307
+ obj: StopUserImportJobResponse
308
+ ) => any;
309
+
310
+ export declare const TagResourceRequestFilterSensitiveLog: (
311
+ obj: TagResourceRequest
312
+ ) => any;
313
+
314
+ export declare const TagResourceResponseFilterSensitiveLog: (
315
+ obj: TagResourceResponse
316
+ ) => any;
317
+
318
+ export declare const UntagResourceRequestFilterSensitiveLog: (
319
+ obj: UntagResourceRequest
320
+ ) => any;
321
+
322
+ export declare const UntagResourceResponseFilterSensitiveLog: (
323
+ obj: UntagResourceResponse
324
+ ) => any;
325
+
326
+ export declare const UpdateAuthEventFeedbackRequestFilterSensitiveLog: (
327
+ obj: UpdateAuthEventFeedbackRequest
328
+ ) => any;
329
+
330
+ export declare const UpdateAuthEventFeedbackResponseFilterSensitiveLog: (
331
+ obj: UpdateAuthEventFeedbackResponse
332
+ ) => any;
333
+
334
+ export declare const UpdateDeviceStatusRequestFilterSensitiveLog: (
335
+ obj: UpdateDeviceStatusRequest
336
+ ) => any;
337
+
338
+ export declare const UpdateDeviceStatusResponseFilterSensitiveLog: (
339
+ obj: UpdateDeviceStatusResponse
340
+ ) => any;
341
+
342
+ export declare const UpdateGroupRequestFilterSensitiveLog: (
343
+ obj: UpdateGroupRequest
344
+ ) => any;
345
+
346
+ export declare const UpdateGroupResponseFilterSensitiveLog: (
347
+ obj: UpdateGroupResponse
348
+ ) => any;
349
+
350
+ export declare const UpdateIdentityProviderRequestFilterSensitiveLog: (
351
+ obj: UpdateIdentityProviderRequest
352
+ ) => any;
353
+
354
+ export declare const UpdateIdentityProviderResponseFilterSensitiveLog: (
355
+ obj: UpdateIdentityProviderResponse
356
+ ) => any;
357
+
358
+ export declare const UpdateResourceServerRequestFilterSensitiveLog: (
359
+ obj: UpdateResourceServerRequest
360
+ ) => any;
361
+
362
+ export declare const UpdateResourceServerResponseFilterSensitiveLog: (
363
+ obj: UpdateResourceServerResponse
364
+ ) => any;
365
+
366
+ export declare const UpdateUserAttributesRequestFilterSensitiveLog: (
367
+ obj: UpdateUserAttributesRequest
368
+ ) => any;
369
+
370
+ export declare const UpdateUserAttributesResponseFilterSensitiveLog: (
371
+ obj: UpdateUserAttributesResponse
372
+ ) => any;
373
+
374
+ export declare const UpdateUserPoolRequestFilterSensitiveLog: (
375
+ obj: UpdateUserPoolRequest
376
+ ) => any;
377
+
378
+ export declare const UpdateUserPoolResponseFilterSensitiveLog: (
379
+ obj: UpdateUserPoolResponse
380
+ ) => any;
381
+
382
+ export declare const UpdateUserPoolClientRequestFilterSensitiveLog: (
383
+ obj: UpdateUserPoolClientRequest
384
+ ) => any;
385
+
386
+ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (
387
+ obj: UpdateUserPoolClientResponse
388
+ ) => any;
389
+
390
+ export declare const UpdateUserPoolDomainRequestFilterSensitiveLog: (
391
+ obj: UpdateUserPoolDomainRequest
392
+ ) => any;
393
+
394
+ export declare const UpdateUserPoolDomainResponseFilterSensitiveLog: (
395
+ obj: UpdateUserPoolDomainResponse
396
+ ) => any;
397
+
398
+ export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (
399
+ obj: VerifySoftwareTokenRequest
400
+ ) => any;
401
+
402
+ export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (
403
+ obj: VerifySoftwareTokenResponse
404
+ ) => any;
405
+
406
+ export declare const VerifyUserAttributeRequestFilterSensitiveLog: (
407
+ obj: VerifyUserAttributeRequest
408
+ ) => any;
409
+
410
+ export declare const VerifyUserAttributeResponseFilterSensitiveLog: (
411
+ obj: VerifyUserAttributeResponse
412
+ ) => any;