@aws-sdk/client-cognito-identity-provider 3.379.1 → 3.383.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/README.md +83 -6
  2. package/dist-cjs/CognitoIdentityProvider.js +4 -0
  3. package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +48 -0
  4. package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +48 -0
  5. package/dist-cjs/commands/SetRiskConfigurationCommand.js +2 -1
  6. package/dist-cjs/commands/SetUICustomizationCommand.js +3 -3
  7. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +2 -2
  8. package/dist-cjs/commands/SetUserSettingsCommand.js +2 -2
  9. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -1
  10. package/dist-cjs/commands/index.js +2 -0
  11. package/dist-cjs/models/models_0.js +9 -48
  12. package/dist-cjs/models/models_1.js +26 -9
  13. package/dist-cjs/protocols/Aws_json1_1.js +108 -4
  14. package/dist-es/CognitoIdentityProvider.js +4 -0
  15. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +44 -0
  16. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +44 -0
  17. package/dist-es/commands/SetRiskConfigurationCommand.js +2 -1
  18. package/dist-es/commands/SetUICustomizationCommand.js +1 -1
  19. package/dist-es/commands/SetUserMFAPreferenceCommand.js +1 -1
  20. package/dist-es/commands/SetUserSettingsCommand.js +1 -1
  21. package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
  22. package/dist-es/commands/index.js +2 -0
  23. package/dist-es/models/models_0.js +6 -39
  24. package/dist-es/models/models_1.js +21 -8
  25. package/dist-es/protocols/Aws_json1_1.js +100 -0
  26. package/dist-types/CognitoIdentityProvider.d.ts +81 -6
  27. package/dist-types/CognitoIdentityProviderClient.d.ts +71 -8
  28. package/dist-types/commands/AddCustomAttributesCommand.d.ts +20 -0
  29. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +20 -1
  30. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +20 -1
  31. package/dist-types/commands/AdminCreateUserCommand.d.ts +22 -4
  32. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +20 -1
  33. package/dist-types/commands/AdminDeleteUserCommand.d.ts +20 -1
  34. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +22 -4
  35. package/dist-types/commands/AdminDisableUserCommand.d.ts +23 -3
  36. package/dist-types/commands/AdminEnableUserCommand.d.ts +20 -1
  37. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +20 -1
  38. package/dist-types/commands/AdminGetDeviceCommand.d.ts +20 -1
  39. package/dist-types/commands/AdminGetUserCommand.d.ts +20 -1
  40. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +22 -3
  41. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +22 -3
  42. package/dist-types/commands/AdminListDevicesCommand.d.ts +20 -1
  43. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +20 -1
  44. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +20 -0
  45. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +20 -1
  46. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +30 -11
  47. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +24 -5
  48. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +20 -0
  49. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +31 -0
  50. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +20 -0
  51. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +20 -0
  52. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +20 -1
  53. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +31 -12
  54. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +28 -7
  55. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +8 -1
  56. package/dist-types/commands/ChangePasswordCommand.d.ts +8 -1
  57. package/dist-types/commands/ConfirmDeviceCommand.d.ts +8 -1
  58. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +8 -1
  59. package/dist-types/commands/ConfirmSignUpCommand.d.ts +10 -3
  60. package/dist-types/commands/CreateGroupCommand.d.ts +20 -1
  61. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +20 -0
  62. package/dist-types/commands/CreateResourceServerCommand.d.ts +20 -0
  63. package/dist-types/commands/CreateUserImportJobCommand.d.ts +21 -1
  64. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +23 -0
  65. package/dist-types/commands/CreateUserPoolCommand.d.ts +28 -5
  66. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +20 -0
  67. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +8 -1
  68. package/dist-types/commands/DeleteUserCommand.d.ts +9 -2
  69. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +20 -0
  70. package/dist-types/commands/DescribeUserPoolCommand.d.ts +20 -0
  71. package/dist-types/commands/ForgetDeviceCommand.d.ts +8 -1
  72. package/dist-types/commands/ForgotPasswordCommand.d.ts +16 -7
  73. package/dist-types/commands/GetDeviceCommand.d.ts +8 -1
  74. package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +102 -0
  75. package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -3
  76. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +10 -3
  77. package/dist-types/commands/GetUserCommand.d.ts +8 -1
  78. package/dist-types/commands/GlobalSignOutCommand.d.ts +16 -4
  79. package/dist-types/commands/InitiateAuthCommand.d.ts +10 -3
  80. package/dist-types/commands/ListDevicesCommand.d.ts +8 -1
  81. package/dist-types/commands/ListGroupsCommand.d.ts +20 -1
  82. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +20 -0
  83. package/dist-types/commands/ListResourceServersCommand.d.ts +20 -0
  84. package/dist-types/commands/ListUserImportJobsCommand.d.ts +21 -1
  85. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +20 -0
  86. package/dist-types/commands/ListUserPoolsCommand.d.ts +20 -0
  87. package/dist-types/commands/ListUsersCommand.d.ts +21 -1
  88. package/dist-types/commands/ListUsersInGroupCommand.d.ts +20 -1
  89. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +10 -3
  90. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +12 -5
  91. package/dist-types/commands/RevokeTokenCommand.d.ts +10 -3
  92. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +111 -0
  93. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -1
  94. package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
  95. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +9 -2
  96. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +3 -3
  97. package/dist-types/commands/SetUserSettingsCommand.d.ts +9 -2
  98. package/dist-types/commands/SignUpCommand.d.ts +10 -3
  99. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +6 -0
  100. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +8 -1
  101. package/dist-types/commands/UpdateGroupCommand.d.ts +20 -1
  102. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +20 -0
  103. package/dist-types/commands/UpdateResourceServerCommand.d.ts +20 -0
  104. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +12 -5
  105. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +21 -2
  106. package/dist-types/commands/UpdateUserPoolCommand.d.ts +28 -7
  107. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +20 -0
  108. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +8 -1
  109. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +13 -9
  110. package/dist-types/commands/index.d.ts +2 -0
  111. package/dist-types/index.d.ts +67 -6
  112. package/dist-types/models/models_0.d.ts +1045 -304
  113. package/dist-types/models/models_1.d.ts +348 -18
  114. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  115. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +34 -0
  116. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +12 -0
  117. package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +42 -0
  118. package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +42 -0
  119. package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -4
  120. package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +34 -52
  126. package/dist-types/ts3.4/models/models_1.d.ts +56 -3
  127. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  128. package/package.json +5 -5
@@ -1,50 +1,231 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
- import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
3
+ import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, MFAOptionType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, RiskConfigurationType, SmsConfigurationType, SmsMfaConfigType, SMSMfaSettingsType, SoftwareTokenMfaConfigType, SoftwareTokenMfaSettingsType, TokenValidityUnitsType, UICustomizationType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface SetRiskConfigurationResponse {
8
+ /**
9
+ * @public
10
+ * <p>The risk configuration.</p>
11
+ */
12
+ RiskConfiguration: RiskConfigurationType | undefined;
13
+ }
14
+ /**
15
+ * @public
16
+ */
17
+ export interface SetUICustomizationRequest {
18
+ /**
19
+ * @public
20
+ * <p>The user pool ID for the user pool.</p>
21
+ */
22
+ UserPoolId: string | undefined;
23
+ /**
24
+ * @public
25
+ * <p>The client ID for the client app.</p>
26
+ */
27
+ ClientId?: string;
28
+ /**
29
+ * @public
30
+ * <p>The CSS values in the UI customization.</p>
31
+ */
32
+ CSS?: string;
33
+ /**
34
+ * @public
35
+ * <p>The uploaded logo image for the UI customization.</p>
36
+ */
37
+ ImageFile?: Uint8Array;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface SetUICustomizationResponse {
43
+ /**
44
+ * @public
45
+ * <p>The UI customization information.</p>
46
+ */
47
+ UICustomization: UICustomizationType | undefined;
48
+ }
49
+ /**
50
+ * @public
51
+ */
52
+ export interface SetUserMFAPreferenceRequest {
53
+ /**
54
+ * @public
55
+ * <p>The SMS text message multi-factor authentication (MFA) settings.</p>
56
+ */
57
+ SMSMfaSettings?: SMSMfaSettingsType;
58
+ /**
59
+ * @public
60
+ * <p>The time-based one-time password (TOTP) software token MFA settings.</p>
61
+ */
62
+ SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
63
+ /**
64
+ * @public
65
+ * <p>A valid access token that Amazon Cognito issued to the user whose MFA preference you want to
66
+ * set.</p>
67
+ */
68
+ AccessToken: string | undefined;
69
+ }
70
+ /**
71
+ * @public
72
+ */
73
+ export interface SetUserMFAPreferenceResponse {
74
+ }
75
+ /**
76
+ * @public
77
+ */
78
+ export interface SetUserPoolMfaConfigRequest {
79
+ /**
80
+ * @public
81
+ * <p>The user pool ID.</p>
82
+ */
83
+ UserPoolId: string | undefined;
84
+ /**
85
+ * @public
86
+ * <p>The SMS text message MFA configuration.</p>
87
+ */
88
+ SmsMfaConfiguration?: SmsMfaConfigType;
89
+ /**
90
+ * @public
91
+ * <p>The software token MFA configuration.</p>
92
+ */
93
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
94
+ /**
95
+ * @public
96
+ * <p>The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who
97
+ * have set up an MFA factor can sign in. To learn more, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
98
+ * Authentication (MFA) to a user pool</a>. Valid values include:</p>
99
+ * <ul>
100
+ * <li>
101
+ * <p>
102
+ * <code>OFF</code> MFA won't be used for any users.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>
106
+ * <code>ON</code> MFA is required for all users to sign in.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>
110
+ * <code>OPTIONAL</code> MFA will be required only for individual users who have
111
+ * an MFA factor activated.</p>
112
+ * </li>
113
+ * </ul>
114
+ */
115
+ MfaConfiguration?: UserPoolMfaType | string;
116
+ }
117
+ /**
118
+ * @public
119
+ */
120
+ export interface SetUserPoolMfaConfigResponse {
121
+ /**
122
+ * @public
123
+ * <p>The SMS text message MFA configuration.</p>
124
+ */
125
+ SmsMfaConfiguration?: SmsMfaConfigType;
126
+ /**
127
+ * @public
128
+ * <p>The software token MFA configuration.</p>
129
+ */
130
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
131
+ /**
132
+ * @public
133
+ * <p>The MFA configuration. Valid values include:</p>
134
+ * <ul>
135
+ * <li>
136
+ * <p>
137
+ * <code>OFF</code> MFA won't be used for any users.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>
141
+ * <code>ON</code> MFA is required for all users to sign in.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>
145
+ * <code>OPTIONAL</code> MFA will be required only for individual users who have
146
+ * an MFA factor enabled.</p>
147
+ * </li>
148
+ * </ul>
149
+ */
150
+ MfaConfiguration?: UserPoolMfaType | string;
151
+ }
152
+ /**
153
+ * @public
154
+ * <p>Represents the request to set user settings.</p>
155
+ */
156
+ export interface SetUserSettingsRequest {
157
+ /**
158
+ * @public
159
+ * <p>A valid access token that Amazon Cognito issued to the user whose user settings you want to
160
+ * configure.</p>
161
+ */
162
+ AccessToken: string | undefined;
163
+ /**
164
+ * @public
165
+ * <p>You can use this parameter only to set an SMS configuration that uses SMS for
166
+ * delivery.</p>
167
+ */
168
+ MFAOptions: MFAOptionType[] | undefined;
169
+ }
170
+ /**
171
+ * @public
172
+ * <p>The response from the server for a set user settings request.</p>
173
+ */
174
+ export interface SetUserSettingsResponse {
175
+ }
4
176
  /**
5
177
  * @public
6
178
  * <p>Represents the request to register a user.</p>
7
179
  */
8
180
  export interface SignUpRequest {
9
181
  /**
182
+ * @public
10
183
  * <p>The ID of the client associated with the user pool.</p>
11
184
  */
12
185
  ClientId: string | undefined;
13
186
  /**
187
+ * @public
14
188
  * <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
15
189
  * user pool client and username plus the client ID in the message.</p>
16
190
  */
17
191
  SecretHash?: string;
18
192
  /**
193
+ * @public
19
194
  * <p>The user name of the user you want to register.</p>
20
195
  */
21
196
  Username: string | undefined;
22
197
  /**
198
+ * @public
23
199
  * <p>The password of the user you want to register.</p>
24
200
  */
25
201
  Password: string | undefined;
26
202
  /**
203
+ * @public
27
204
  * <p>An array of name-value pairs representing user attributes.</p>
28
205
  * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
29
206
  * attribute name.</p>
30
207
  */
31
208
  UserAttributes?: AttributeType[];
32
209
  /**
210
+ * @public
33
211
  * <p>The validation data in the request to register a user.</p>
34
212
  */
35
213
  ValidationData?: AttributeType[];
36
214
  /**
215
+ * @public
37
216
  * <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
38
217
  * <code>SignUp</code> calls.</p>
39
218
  */
40
219
  AnalyticsMetadata?: AnalyticsMetadataType;
41
220
  /**
221
+ * @public
42
222
  * <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
43
223
  * security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
44
224
  * when it makes API requests.</p>
45
225
  */
46
226
  UserContextData?: UserContextDataType;
47
227
  /**
228
+ * @public
48
229
  * <p>A map of custom key-value pairs that you can provide as input for any custom workflows
49
230
  * that this action triggers.</p>
50
231
  * <p>You create custom workflows by assigning Lambda functions to user pool triggers.
@@ -86,16 +267,19 @@ export interface SignUpRequest {
86
267
  */
87
268
  export interface SignUpResponse {
88
269
  /**
270
+ * @public
89
271
  * <p>A response from the server indicating that a user registration has been
90
272
  * confirmed.</p>
91
273
  */
92
274
  UserConfirmed: boolean | undefined;
93
275
  /**
276
+ * @public
94
277
  * <p>The code delivery details returned by the server response to the user registration
95
278
  * request.</p>
96
279
  */
97
280
  CodeDeliveryDetails?: CodeDeliveryDetailsType;
98
281
  /**
282
+ * @public
99
283
  * <p>The UUID of the authenticated user. This isn't the same as
100
284
  * <code>username</code>.</p>
101
285
  */
@@ -107,10 +291,12 @@ export interface SignUpResponse {
107
291
  */
108
292
  export interface StartUserImportJobRequest {
109
293
  /**
294
+ * @public
110
295
  * <p>The user pool ID for the user pool that the users are being imported into.</p>
111
296
  */
112
297
  UserPoolId: string | undefined;
113
298
  /**
299
+ * @public
114
300
  * <p>The job ID for the user import job.</p>
115
301
  */
116
302
  JobId: string | undefined;
@@ -122,6 +308,7 @@ export interface StartUserImportJobRequest {
122
308
  */
123
309
  export interface StartUserImportJobResponse {
124
310
  /**
311
+ * @public
125
312
  * <p>The job object that represents the user import job.</p>
126
313
  */
127
314
  UserImportJob?: UserImportJobType;
@@ -132,10 +319,12 @@ export interface StartUserImportJobResponse {
132
319
  */
133
320
  export interface StopUserImportJobRequest {
134
321
  /**
322
+ * @public
135
323
  * <p>The user pool ID for the user pool that the users are being imported into.</p>
136
324
  */
137
325
  UserPoolId: string | undefined;
138
326
  /**
327
+ * @public
139
328
  * <p>The job ID for the user import job.</p>
140
329
  */
141
330
  JobId: string | undefined;
@@ -147,6 +336,7 @@ export interface StopUserImportJobRequest {
147
336
  */
148
337
  export interface StopUserImportJobResponse {
149
338
  /**
339
+ * @public
150
340
  * <p>The job object that represents the user import job.</p>
151
341
  */
152
342
  UserImportJob?: UserImportJobType;
@@ -156,10 +346,12 @@ export interface StopUserImportJobResponse {
156
346
  */
157
347
  export interface TagResourceRequest {
158
348
  /**
349
+ * @public
159
350
  * <p>The Amazon Resource Name (ARN) of the user pool to assign the tags to.</p>
160
351
  */
161
352
  ResourceArn: string | undefined;
162
353
  /**
354
+ * @public
163
355
  * <p>The tags to assign to the user pool.</p>
164
356
  */
165
357
  Tags: Record<string, string> | undefined;
@@ -174,10 +366,12 @@ export interface TagResourceResponse {
174
366
  */
175
367
  export interface UntagResourceRequest {
176
368
  /**
369
+ * @public
177
370
  * <p>The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.</p>
178
371
  */
179
372
  ResourceArn: string | undefined;
180
373
  /**
374
+ * @public
181
375
  * <p>The keys of the tags to remove from the user pool.</p>
182
376
  */
183
377
  TagKeys: string[] | undefined;
@@ -192,23 +386,32 @@ export interface UntagResourceResponse {
192
386
  */
193
387
  export interface UpdateAuthEventFeedbackRequest {
194
388
  /**
389
+ * @public
195
390
  * <p>The user pool ID.</p>
196
391
  */
197
392
  UserPoolId: string | undefined;
198
393
  /**
394
+ * @public
199
395
  * <p>The user pool username.</p>
200
396
  */
201
397
  Username: string | undefined;
202
398
  /**
399
+ * @public
203
400
  * <p>The event ID.</p>
204
401
  */
205
402
  EventId: string | undefined;
206
403
  /**
404
+ * @public
207
405
  * <p>The feedback token.</p>
208
406
  */
209
407
  FeedbackToken: string | undefined;
210
408
  /**
211
- * <p>The authentication event feedback value.</p>
409
+ * @public
410
+ * <p>The authentication event feedback value. When you provide a <code>FeedbackValue</code>
411
+ * value of <code>valid</code>, you tell Amazon Cognito that you trust a user session where Amazon Cognito
412
+ * has evaluated some level of risk. When you provide a <code>FeedbackValue</code> value of
413
+ * <code>invalid</code>, you tell Amazon Cognito that you don't trust a user session, or you
414
+ * don't believe that Amazon Cognito evaluated a high-enough risk level.</p>
212
415
  */
213
416
  FeedbackValue: FeedbackValueType | string | undefined;
214
417
  }
@@ -223,15 +426,18 @@ export interface UpdateAuthEventFeedbackResponse {
223
426
  */
224
427
  export interface UpdateDeviceStatusRequest {
225
428
  /**
429
+ * @public
226
430
  * <p>A valid access token that Amazon Cognito issued to the user whose device status you want to
227
431
  * update.</p>
228
432
  */
229
433
  AccessToken: string | undefined;
230
434
  /**
435
+ * @public
231
436
  * <p>The device key.</p>
232
437
  */
233
438
  DeviceKey: string | undefined;
234
439
  /**
440
+ * @public
235
441
  * <p>The status of whether a device is remembered.</p>
236
442
  */
237
443
  DeviceRememberedStatus?: DeviceRememberedStatusType | string;
@@ -247,24 +453,29 @@ export interface UpdateDeviceStatusResponse {
247
453
  */
248
454
  export interface UpdateGroupRequest {
249
455
  /**
456
+ * @public
250
457
  * <p>The name of the group.</p>
251
458
  */
252
459
  GroupName: string | undefined;
253
460
  /**
461
+ * @public
254
462
  * <p>The user pool ID for the user pool.</p>
255
463
  */
256
464
  UserPoolId: string | undefined;
257
465
  /**
466
+ * @public
258
467
  * <p>A string containing the new description of the group.</p>
259
468
  */
260
469
  Description?: string;
261
470
  /**
471
+ * @public
262
472
  * <p>The new role Amazon Resource Name (ARN) for the group. This is used for setting the
263
473
  * <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the
264
474
  * token.</p>
265
475
  */
266
476
  RoleArn?: string;
267
477
  /**
478
+ * @public
268
479
  * <p>The new precedence value for the group. For more information about this parameter, see
269
480
  * <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html">CreateGroup</a>.</p>
270
481
  */
@@ -275,6 +486,7 @@ export interface UpdateGroupRequest {
275
486
  */
276
487
  export interface UpdateGroupResponse {
277
488
  /**
489
+ * @public
278
490
  * <p>The group object for the group.</p>
279
491
  */
280
492
  Group?: GroupType;
@@ -284,23 +496,28 @@ export interface UpdateGroupResponse {
284
496
  */
285
497
  export interface UpdateIdentityProviderRequest {
286
498
  /**
499
+ * @public
287
500
  * <p>The user pool ID.</p>
288
501
  */
289
502
  UserPoolId: string | undefined;
290
503
  /**
504
+ * @public
291
505
  * <p>The IdP name.</p>
292
506
  */
293
507
  ProviderName: string | undefined;
294
508
  /**
509
+ * @public
295
510
  * <p>The IdP details to be updated, such as <code>MetadataURL</code> and
296
511
  * <code>MetadataFile</code>.</p>
297
512
  */
298
513
  ProviderDetails?: Record<string, string>;
299
514
  /**
515
+ * @public
300
516
  * <p>The IdP attribute mapping to be changed.</p>
301
517
  */
302
518
  AttributeMapping?: Record<string, string>;
303
519
  /**
520
+ * @public
304
521
  * <p>A list of IdP identifiers.</p>
305
522
  */
306
523
  IdpIdentifiers?: string[];
@@ -310,6 +527,7 @@ export interface UpdateIdentityProviderRequest {
310
527
  */
311
528
  export interface UpdateIdentityProviderResponse {
312
529
  /**
530
+ * @public
313
531
  * <p>The identity provider details.</p>
314
532
  */
315
533
  IdentityProvider: IdentityProviderType | undefined;
@@ -319,18 +537,22 @@ export interface UpdateIdentityProviderResponse {
319
537
  */
320
538
  export interface UpdateResourceServerRequest {
321
539
  /**
540
+ * @public
322
541
  * <p>The user pool ID for the user pool.</p>
323
542
  */
324
543
  UserPoolId: string | undefined;
325
544
  /**
545
+ * @public
326
546
  * <p>The identifier for the resource server.</p>
327
547
  */
328
548
  Identifier: string | undefined;
329
549
  /**
550
+ * @public
330
551
  * <p>The name of the resource server.</p>
331
552
  */
332
553
  Name: string | undefined;
333
554
  /**
555
+ * @public
334
556
  * <p>The scope values to be set for the resource server.</p>
335
557
  */
336
558
  Scopes?: ResourceServerScopeType[];
@@ -340,6 +562,7 @@ export interface UpdateResourceServerRequest {
340
562
  */
341
563
  export interface UpdateResourceServerResponse {
342
564
  /**
565
+ * @public
343
566
  * <p>The resource server.</p>
344
567
  */
345
568
  ResourceServer: ResourceServerType | undefined;
@@ -350,6 +573,7 @@ export interface UpdateResourceServerResponse {
350
573
  */
351
574
  export interface UpdateUserAttributesRequest {
352
575
  /**
576
+ * @public
353
577
  * <p>An array of name-value pairs representing user attributes.</p>
354
578
  * <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
355
579
  * attribute name.</p>
@@ -361,11 +585,13 @@ export interface UpdateUserAttributesRequest {
361
585
  */
362
586
  UserAttributes: AttributeType[] | undefined;
363
587
  /**
588
+ * @public
364
589
  * <p>A valid access token that Amazon Cognito issued to the user whose user attributes you want to
365
590
  * update.</p>
366
591
  */
367
592
  AccessToken: string | undefined;
368
593
  /**
594
+ * @public
369
595
  * <p>A map of custom key-value pairs that you can provide as input for any custom workflows
370
596
  * that this action initiates. </p>
371
597
  * <p>You create custom workflows by assigning Lambda functions to user pool triggers. When
@@ -407,6 +633,7 @@ export interface UpdateUserAttributesRequest {
407
633
  */
408
634
  export interface UpdateUserAttributesResponse {
409
635
  /**
636
+ * @public
410
637
  * <p>The code delivery details list from the server for the request to update user
411
638
  * attributes.</p>
412
639
  */
@@ -418,14 +645,17 @@ export interface UpdateUserAttributesResponse {
418
645
  */
419
646
  export interface UpdateUserPoolRequest {
420
647
  /**
648
+ * @public
421
649
  * <p>The user pool ID for the user pool you want to update.</p>
422
650
  */
423
651
  UserPoolId: string | undefined;
424
652
  /**
653
+ * @public
425
654
  * <p>A container with the policies you want to update in a user pool.</p>
426
655
  */
427
656
  Policies?: UserPoolPolicyType;
428
657
  /**
658
+ * @public
429
659
  * <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
430
660
  * pool. Before you can delete a user pool that you have protected against deletion, you
431
661
  * must deactivate this feature.</p>
@@ -436,35 +666,43 @@ export interface UpdateUserPoolRequest {
436
666
  */
437
667
  DeletionProtection?: DeletionProtectionType | string;
438
668
  /**
669
+ * @public
439
670
  * <p>The Lambda configuration information from the request to update the user pool.</p>
440
671
  */
441
672
  LambdaConfig?: LambdaConfigType;
442
673
  /**
674
+ * @public
443
675
  * <p>The attributes that are automatically verified when Amazon Cognito requests to update user
444
676
  * pools.</p>
445
677
  */
446
678
  AutoVerifiedAttributes?: (VerifiedAttributeType | string)[];
447
679
  /**
680
+ * @public
448
681
  * <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
449
682
  */
450
683
  SmsVerificationMessage?: string;
451
684
  /**
685
+ * @public
452
686
  * <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
453
687
  */
454
688
  EmailVerificationMessage?: string;
455
689
  /**
690
+ * @public
456
691
  * <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
457
692
  */
458
693
  EmailVerificationSubject?: string;
459
694
  /**
695
+ * @public
460
696
  * <p>The template for verification messages.</p>
461
697
  */
462
698
  VerificationMessageTemplate?: VerificationMessageTemplateType;
463
699
  /**
700
+ * @public
464
701
  * <p>The contents of the SMS authentication message.</p>
465
702
  */
466
703
  SmsAuthenticationMessage?: string;
467
704
  /**
705
+ * @public
468
706
  * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
469
707
  * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
470
708
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
@@ -472,6 +710,7 @@ export interface UpdateUserPoolRequest {
472
710
  */
473
711
  UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
474
712
  /**
713
+ * @public
475
714
  * <p>Possible values include:</p>
476
715
  * <ul>
477
716
  * <li>
@@ -495,19 +734,24 @@ export interface UpdateUserPoolRequest {
495
734
  */
496
735
  MfaConfiguration?: UserPoolMfaType | string;
497
736
  /**
498
- * <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
737
+ * @public
738
+ * <p>The device-remembering configuration for a user pool. A null value indicates that you
739
+ * have deactivated device remembering in your user pool.</p>
499
740
  * <note>
500
- * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
741
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
742
+ * activate the Amazon Cognito device-remembering feature.</p>
501
743
  * </note>
502
744
  */
503
745
  DeviceConfiguration?: DeviceConfigurationType;
504
746
  /**
747
+ * @public
505
748
  * <p>The email configuration of your user pool. The email configuration type sets your
506
749
  * preferred sending method, Amazon Web Services Region, and sender for email invitation and verification
507
750
  * messages from your user pool.</p>
508
751
  */
509
752
  EmailConfiguration?: EmailConfigurationType;
510
753
  /**
754
+ * @public
511
755
  * <p>The SMS configuration with the settings that your Amazon Cognito user pool must use to send an
512
756
  * SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages
513
757
  * with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management
@@ -515,21 +759,28 @@ export interface UpdateUserPoolRequest {
515
759
  */
516
760
  SmsConfiguration?: SmsConfigurationType;
517
761
  /**
762
+ * @public
518
763
  * <p>The tag keys and values to assign to the user pool. A tag is a label that you can use
519
764
  * to categorize and manage user pools in different ways, such as by purpose, owner,
520
765
  * environment, or other criteria.</p>
521
766
  */
522
767
  UserPoolTags?: Record<string, string>;
523
768
  /**
769
+ * @public
524
770
  * <p>The configuration for <code>AdminCreateUser</code> requests.</p>
525
771
  */
526
772
  AdminCreateUserConfig?: AdminCreateUserConfigType;
527
773
  /**
528
- * <p>Enables advanced security risk detection. Set the key
529
- * <code>AdvancedSecurityMode</code> to the value "AUDIT".</p>
774
+ * @public
775
+ * <p>User pool add-ons. Contains settings for activation of advanced security features. To
776
+ * log user security information but take no action, set to <code>AUDIT</code>. To
777
+ * configure automatic security responses to risky traffic to your user pool, set to
778
+ * <code>ENFORCED</code>.</p>
779
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html">Adding advanced security to a user pool</a>.</p>
530
780
  */
531
781
  UserPoolAddOns?: UserPoolAddOnsType;
532
782
  /**
783
+ * @public
533
784
  * <p>The available verified method a user can use to recover their password when they call
534
785
  * <code>ForgotPassword</code>. You can use this setting to define a preferred method
535
786
  * when a user has more than one method available. With this setting, SMS doesn't qualify
@@ -552,19 +803,23 @@ export interface UpdateUserPoolResponse {
552
803
  */
553
804
  export interface UpdateUserPoolClientRequest {
554
805
  /**
806
+ * @public
555
807
  * <p>The user pool ID for the user pool where you want to update the user pool
556
808
  * client.</p>
557
809
  */
558
810
  UserPoolId: string | undefined;
559
811
  /**
812
+ * @public
560
813
  * <p>The ID of the client associated with the user pool.</p>
561
814
  */
562
815
  ClientId: string | undefined;
563
816
  /**
817
+ * @public
564
818
  * <p>The client name from the update user pool client request.</p>
565
819
  */
566
820
  ClientName?: string;
567
821
  /**
822
+ * @public
568
823
  * <p>The refresh token time limit. After this limit expires, your user can't use
569
824
  * their refresh token. To specify the time unit for <code>RefreshTokenValidity</code> as
570
825
  * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
@@ -581,6 +836,7 @@ export interface UpdateUserPoolClientRequest {
581
836
  */
582
837
  RefreshTokenValidity?: number;
583
838
  /**
839
+ * @public
584
840
  * <p>The access token time limit. After this limit expires, your user can't use
585
841
  * their access token. To specify the time unit for <code>AccessTokenValidity</code> as
586
842
  * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
@@ -595,6 +851,7 @@ export interface UpdateUserPoolClientRequest {
595
851
  */
596
852
  AccessTokenValidity?: number;
597
853
  /**
854
+ * @public
598
855
  * <p>The ID token time limit. After this limit expires, your user can't use
599
856
  * their ID token. To specify the time unit for <code>IdTokenValidity</code> as
600
857
  * <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
@@ -602,26 +859,31 @@ export interface UpdateUserPoolClientRequest {
602
859
  * <p>For example, when you set <code>IdTokenValidity</code> as <code>10</code> and
603
860
  * <code>TokenValidityUnits</code> as <code>hours</code>, your user can authenticate their
604
861
  * session with their ID token for 10 hours.</p>
605
- * <p>The default time unit for <code>AccessTokenValidity</code> in an API request is hours.
862
+ * <p>The default time unit for <code>IdTokenValidity</code> in an API request is hours.
606
863
  * <i>Valid range</i> is displayed below in seconds.</p>
607
864
  * <p>If you don't specify otherwise in the configuration of your app client, your ID
608
865
  * tokens are valid for one hour.</p>
609
866
  */
610
867
  IdTokenValidity?: number;
611
868
  /**
612
- * <p>The units in which the validity times are represented. The default unit for
613
- * RefreshToken is days, and the default for ID and access tokens is hours.</p>
869
+ * @public
870
+ * <p>The time units you use when you set the duration of ID, access, and refresh tokens.
871
+ * The default unit for RefreshToken is days, and the default for ID and access tokens is
872
+ * hours.</p>
614
873
  */
615
874
  TokenValidityUnits?: TokenValidityUnitsType;
616
875
  /**
876
+ * @public
617
877
  * <p>The read-only attributes of the user pool.</p>
618
878
  */
619
879
  ReadAttributes?: string[];
620
880
  /**
881
+ * @public
621
882
  * <p>The writeable attributes of the user pool.</p>
622
883
  */
623
884
  WriteAttributes?: string[];
624
885
  /**
886
+ * @public
625
887
  * <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
626
888
  * your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
627
889
  * password, or a custom authentication process that you define with Lambda functions.</p>
@@ -665,12 +927,15 @@ export interface UpdateUserPoolClientRequest {
665
927
  */
666
928
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
667
929
  /**
930
+ * @public
668
931
  * <p>A list of provider names for the IdPs that this client supports. The following are
669
- * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>, <code>SignInWithApple</code>,
670
- * <code>LoginWithAmazon</code>, and the names of your own SAML and OIDC providers.</p>
932
+ * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>,
933
+ * <code>SignInWithApple</code>, <code>LoginWithAmazon</code>, and the names of your
934
+ * own SAML and OIDC providers.</p>
671
935
  */
672
936
  SupportedIdentityProviders?: string[];
673
937
  /**
938
+ * @public
674
939
  * <p>A list of allowed redirect (callback) URLs for the IdPs.</p>
675
940
  * <p>A redirect URI must:</p>
676
941
  * <ul>
@@ -692,10 +957,12 @@ export interface UpdateUserPoolClientRequest {
692
957
  */
693
958
  CallbackURLs?: string[];
694
959
  /**
960
+ * @public
695
961
  * <p>A list of allowed logout URLs for the IdPs.</p>
696
962
  */
697
963
  LogoutURLs?: string[];
698
964
  /**
965
+ * @public
699
966
  * <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>
700
967
  * <p>A redirect URI must:</p>
701
968
  * <ul>
@@ -717,6 +984,7 @@ export interface UpdateUserPoolClientRequest {
717
984
  */
718
985
  DefaultRedirectURI?: string;
719
986
  /**
987
+ * @public
720
988
  * <p>The allowed OAuth flows.</p>
721
989
  * <dl>
722
990
  * <dt>code</dt>
@@ -740,6 +1008,7 @@ export interface UpdateUserPoolClientRequest {
740
1008
  */
741
1009
  AllowedOAuthFlows?: (OAuthFlowType | string)[];
742
1010
  /**
1011
+ * @public
743
1012
  * <p>The allowed OAuth scopes. Possible values provided by OAuth are <code>phone</code>,
744
1013
  * <code>email</code>, <code>openid</code>, and <code>profile</code>. Possible values
745
1014
  * provided by Amazon Web Services are <code>aws.cognito.signin.user.admin</code>. Custom scopes created
@@ -747,11 +1016,38 @@ export interface UpdateUserPoolClientRequest {
747
1016
  */
748
1017
  AllowedOAuthScopes?: string[];
749
1018
  /**
750
- * <p>Set to true if the client is allowed to follow the OAuth protocol when interacting
751
- * with Amazon Cognito user pools.</p>
1019
+ * @public
1020
+ * <p>Set to <code>true</code> to use OAuth 2.0 features in your user pool app client.</p>
1021
+ * <p>
1022
+ * <code>AllowedOAuthFlowsUserPoolClient</code> must be <code>true</code> before you can configure
1023
+ * the following features in your app client.</p>
1024
+ * <ul>
1025
+ * <li>
1026
+ * <p>
1027
+ * <code>CallBackURLs</code>: Callback URLs.</p>
1028
+ * </li>
1029
+ * <li>
1030
+ * <p>
1031
+ * <code>LogoutURLs</code>: Sign-out redirect URLs.</p>
1032
+ * </li>
1033
+ * <li>
1034
+ * <p>
1035
+ * <code>AllowedOAuthScopes</code>: OAuth 2.0 scopes.</p>
1036
+ * </li>
1037
+ * <li>
1038
+ * <p>
1039
+ * <code>AllowedOAuthFlows</code>: Support for authorization code, implicit, and client credentials OAuth 2.0 grants.</p>
1040
+ * </li>
1041
+ * </ul>
1042
+ * <p>To use OAuth 2.0 features, configure one of these features in the Amazon Cognito console or set
1043
+ * <code>AllowedOAuthFlowsUserPoolClient</code> to <code>true</code> in a <code>CreateUserPoolClient</code> or
1044
+ * <code>UpdateUserPoolClient</code> API request. If you don't set a value for
1045
+ * <code>AllowedOAuthFlowsUserPoolClient</code> in a request with the CLI or SDKs, it defaults
1046
+ * to <code>false</code>.</p>
752
1047
  */
753
1048
  AllowedOAuthFlowsUserPoolClient?: boolean;
754
1049
  /**
1050
+ * @public
755
1051
  * <p>The Amazon Pinpoint analytics configuration necessary to collect metrics for this user
756
1052
  * pool.</p>
757
1053
  * <note>
@@ -762,6 +1058,7 @@ export interface UpdateUserPoolClientRequest {
762
1058
  */
763
1059
  AnalyticsConfiguration?: AnalyticsConfigurationType;
764
1060
  /**
1061
+ * @public
765
1062
  * <p>Errors and responses that you want Amazon Cognito APIs to return during authentication, account
766
1063
  * confirmation, and password recovery when the user doesn't exist in the user pool. When
767
1064
  * set to <code>ENABLED</code> and the user doesn't exist, authentication returns an error
@@ -785,20 +1082,23 @@ export interface UpdateUserPoolClientRequest {
785
1082
  */
786
1083
  PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | string;
787
1084
  /**
1085
+ * @public
788
1086
  * <p>Activates or deactivates token revocation. For more information about revoking tokens,
789
1087
  * see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
790
1088
  */
791
1089
  EnableTokenRevocation?: boolean;
792
1090
  /**
1091
+ * @public
793
1092
  * <p>Activates the propagation of additional user context data. For more information about
794
1093
  * propagation of user context data, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html"> Adding advanced security to a user pool</a>. If you don’t include this
795
1094
  * parameter, you can't send device fingerprint information, including source IP address,
796
1095
  * to Amazon Cognito advanced security. You can only activate
797
- * <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
1096
+ * <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
798
1097
  * client secret.</p>
799
1098
  */
800
1099
  EnablePropagateAdditionalUserContextData?: boolean;
801
1100
  /**
1101
+ * @public
802
1102
  * <p>Amazon Cognito creates a session token for each API request in an authentication flow. <code>AuthSessionValidity</code> is the duration,
803
1103
  * in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.</p>
804
1104
  */
@@ -811,6 +1111,7 @@ export interface UpdateUserPoolClientRequest {
811
1111
  */
812
1112
  export interface UpdateUserPoolClientResponse {
813
1113
  /**
1114
+ * @public
814
1115
  * <p>The user pool client value from the response from the server when you request to
815
1116
  * update the user pool client.</p>
816
1117
  */
@@ -822,6 +1123,7 @@ export interface UpdateUserPoolClientResponse {
822
1123
  */
823
1124
  export interface UpdateUserPoolDomainRequest {
824
1125
  /**
1126
+ * @public
825
1127
  * <p>The domain name for the custom domain that hosts the sign-up and sign-in pages for
826
1128
  * your application. One example might be <code>auth.example.com</code>. </p>
827
1129
  * <p>This string can include only lowercase letters, numbers, and hyphens. Don't use a
@@ -829,11 +1131,13 @@ export interface UpdateUserPoolDomainRequest {
829
1131
  */
830
1132
  Domain: string | undefined;
831
1133
  /**
1134
+ * @public
832
1135
  * <p>The ID of the user pool that is associated with the custom domain whose certificate
833
1136
  * you're updating.</p>
834
1137
  */
835
1138
  UserPoolId: string | undefined;
836
1139
  /**
1140
+ * @public
837
1141
  * <p>The configuration for a custom domain that hosts the sign-up and sign-in pages for
838
1142
  * your application. Use this object to specify an SSL certificate that is managed by
839
1143
  * ACM.</p>
@@ -846,6 +1150,7 @@ export interface UpdateUserPoolDomainRequest {
846
1150
  */
847
1151
  export interface UpdateUserPoolDomainResponse {
848
1152
  /**
1153
+ * @public
849
1154
  * <p>The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user
850
1155
  * pool.</p>
851
1156
  */
@@ -869,20 +1174,24 @@ export declare class EnableSoftwareTokenMFAException extends __BaseException {
869
1174
  */
870
1175
  export interface VerifySoftwareTokenRequest {
871
1176
  /**
1177
+ * @public
872
1178
  * <p>A valid access token that Amazon Cognito issued to the user whose software token you want to
873
1179
  * verify.</p>
874
1180
  */
875
1181
  AccessToken?: string;
876
1182
  /**
1183
+ * @public
877
1184
  * <p>The session that should be passed both ways in challenge-response calls to the
878
1185
  * service.</p>
879
1186
  */
880
1187
  Session?: string;
881
1188
  /**
1189
+ * @public
882
1190
  * <p>The one- time password computed using the secret code returned by <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html">AssociateSoftwareToken</a>.</p>
883
1191
  */
884
1192
  UserCode: string | undefined;
885
1193
  /**
1194
+ * @public
886
1195
  * <p>The friendly device name.</p>
887
1196
  */
888
1197
  FriendlyDeviceName?: string;
@@ -904,10 +1213,12 @@ export type VerifySoftwareTokenResponseType = (typeof VerifySoftwareTokenRespons
904
1213
  */
905
1214
  export interface VerifySoftwareTokenResponse {
906
1215
  /**
1216
+ * @public
907
1217
  * <p>The status of the verify software token.</p>
908
1218
  */
909
1219
  Status?: VerifySoftwareTokenResponseType | string;
910
1220
  /**
1221
+ * @public
911
1222
  * <p>The session that should be passed both ways in challenge-response calls to the
912
1223
  * service.</p>
913
1224
  */
@@ -919,15 +1230,18 @@ export interface VerifySoftwareTokenResponse {
919
1230
  */
920
1231
  export interface VerifyUserAttributeRequest {
921
1232
  /**
1233
+ * @public
922
1234
  * <p>A valid access token that Amazon Cognito issued to the user whose user attributes you want to
923
1235
  * verify.</p>
924
1236
  */
925
1237
  AccessToken: string | undefined;
926
1238
  /**
1239
+ * @public
927
1240
  * <p>The attribute name in the request to verify user attributes.</p>
928
1241
  */
929
1242
  AttributeName: string | undefined;
930
1243
  /**
1244
+ * @public
931
1245
  * <p>The verification code in the request to verify user attributes.</p>
932
1246
  */
933
1247
  Code: string | undefined;
@@ -939,6 +1253,26 @@ export interface VerifyUserAttributeRequest {
939
1253
  */
940
1254
  export interface VerifyUserAttributeResponse {
941
1255
  }
1256
+ /**
1257
+ * @internal
1258
+ */
1259
+ export declare const SetRiskConfigurationResponseFilterSensitiveLog: (obj: SetRiskConfigurationResponse) => any;
1260
+ /**
1261
+ * @internal
1262
+ */
1263
+ export declare const SetUICustomizationRequestFilterSensitiveLog: (obj: SetUICustomizationRequest) => any;
1264
+ /**
1265
+ * @internal
1266
+ */
1267
+ export declare const SetUICustomizationResponseFilterSensitiveLog: (obj: SetUICustomizationResponse) => any;
1268
+ /**
1269
+ * @internal
1270
+ */
1271
+ export declare const SetUserMFAPreferenceRequestFilterSensitiveLog: (obj: SetUserMFAPreferenceRequest) => any;
1272
+ /**
1273
+ * @internal
1274
+ */
1275
+ export declare const SetUserSettingsRequestFilterSensitiveLog: (obj: SetUserSettingsRequest) => any;
942
1276
  /**
943
1277
  * @internal
944
1278
  */
@@ -967,10 +1301,6 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (obj: Updat
967
1301
  * @internal
968
1302
  */
969
1303
  export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (obj: VerifySoftwareTokenRequest) => any;
970
- /**
971
- * @internal
972
- */
973
- export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (obj: VerifySoftwareTokenResponse) => any;
974
1304
  /**
975
1305
  * @internal
976
1306
  */