@aws-sdk/client-cognito-identity-provider 3.774.0 → 3.777.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 (120) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/CognitoIdentityProviderClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AddCustomAttributesCommand.d.ts +1 -0
  8. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -0
  9. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -0
  10. package/dist-types/commands/AdminCreateUserCommand.d.ts +30 -30
  11. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -0
  12. package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -0
  13. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +1 -0
  14. package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -0
  15. package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -0
  16. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -0
  17. package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -0
  18. package/dist-types/commands/AdminGetUserCommand.d.ts +1 -0
  19. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +1 -0
  20. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +1 -0
  21. package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -0
  22. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -0
  23. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -0
  24. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -0
  25. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +1 -0
  26. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +1 -0
  27. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +1 -0
  28. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +1 -0
  29. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +1 -0
  30. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +1 -0
  31. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -0
  32. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +1 -0
  33. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -0
  34. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -0
  35. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -0
  36. package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +1 -0
  37. package/dist-types/commands/ConfirmDeviceCommand.d.ts +1 -0
  38. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +1 -0
  39. package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -0
  40. package/dist-types/commands/CreateGroupCommand.d.ts +1 -0
  41. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -0
  42. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -0
  43. package/dist-types/commands/CreateResourceServerCommand.d.ts +1 -0
  44. package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -0
  45. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +62 -62
  46. package/dist-types/commands/CreateUserPoolCommand.d.ts +327 -327
  47. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +1 -0
  48. package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
  49. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -0
  50. package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +1 -0
  51. package/dist-types/commands/DeleteResourceServerCommand.d.ts +1 -0
  52. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +1 -0
  53. package/dist-types/commands/DeleteUserCommand.d.ts +1 -0
  54. package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -1
  55. package/dist-types/commands/DeleteUserPoolCommand.d.ts +1 -0
  56. package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +1 -0
  57. package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +1 -0
  58. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -0
  59. package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +1 -0
  60. package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +1 -0
  61. package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -0
  62. package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +1 -0
  63. package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -0
  64. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -0
  65. package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -0
  66. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
  67. package/dist-types/commands/ForgetDeviceCommand.d.ts +1 -0
  68. package/dist-types/commands/ForgotPasswordCommand.d.ts +1 -0
  69. package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -0
  70. package/dist-types/commands/GetDeviceCommand.d.ts +1 -0
  71. package/dist-types/commands/GetGroupCommand.d.ts +1 -0
  72. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -0
  73. package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +1 -0
  74. package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -0
  75. package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -0
  76. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -0
  77. package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +1 -0
  78. package/dist-types/commands/GetUserCommand.d.ts +1 -0
  79. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -0
  80. package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -0
  81. package/dist-types/commands/InitiateAuthCommand.d.ts +21 -21
  82. package/dist-types/commands/ListDevicesCommand.d.ts +1 -0
  83. package/dist-types/commands/ListGroupsCommand.d.ts +1 -0
  84. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -0
  85. package/dist-types/commands/ListResourceServersCommand.d.ts +1 -0
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  87. package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -0
  88. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -0
  89. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -0
  90. package/dist-types/commands/ListUsersCommand.d.ts +40 -40
  91. package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -0
  92. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +1 -0
  93. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +1 -0
  94. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +1 -0
  95. package/dist-types/commands/RevokeTokenCommand.d.ts +1 -0
  96. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -0
  97. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -0
  98. package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -0
  99. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +1 -0
  100. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +1 -0
  101. package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -0
  102. package/dist-types/commands/SignUpCommand.d.ts +1 -0
  103. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -0
  104. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +1 -0
  105. package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -0
  106. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  107. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  108. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -0
  109. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -0
  110. package/dist-types/commands/UpdateGroupCommand.d.ts +1 -0
  111. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -0
  112. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -0
  113. package/dist-types/commands/UpdateResourceServerCommand.d.ts +1 -0
  114. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -0
  115. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +1 -0
  116. package/dist-types/commands/UpdateUserPoolCommand.d.ts +1 -0
  117. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +1 -0
  118. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +1 -0
  119. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -0
  120. package/package.json +33 -33
@@ -208,135 +208,135 @@ declare const CreateUserPoolClientCommand_base: {
208
208
  * @throws {@link CognitoIdentityProviderServiceException}
209
209
  * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
210
210
  *
211
- * @public
211
+ *
212
212
  * @example Example user pool app client with email and username sign-in
213
213
  * ```javascript
214
214
  * // The following example creates an app client with all configurable properties set to an example value. The resulting user pool client connects to an analytics client, allows sign-in with username and password, and has two external identity providers associated with it.
215
215
  * const input = {
216
- * "AccessTokenValidity": 6,
217
- * "AllowedOAuthFlows": [
216
+ * AccessTokenValidity: 6,
217
+ * AllowedOAuthFlows: [
218
218
  * "code"
219
219
  * ],
220
- * "AllowedOAuthFlowsUserPoolClient": true,
221
- * "AllowedOAuthScopes": [
220
+ * AllowedOAuthFlowsUserPoolClient: true,
221
+ * AllowedOAuthScopes: [
222
222
  * "aws.cognito.signin.user.admin",
223
223
  * "openid"
224
224
  * ],
225
- * "AnalyticsConfiguration": {
226
- * "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12",
227
- * "ExternalId": "my-external-id",
228
- * "RoleArn": "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
229
- * "UserDataShared": true
225
+ * AnalyticsConfiguration: {
226
+ * ApplicationId: "d70b2ba36a8c4dc5a04a0451a31a1e12",
227
+ * ExternalId: "my-external-id",
228
+ * RoleArn: "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
229
+ * UserDataShared: true
230
230
  * },
231
- * "CallbackURLs": [
231
+ * CallbackURLs: [
232
232
  * "https://example.com",
233
233
  * "http://localhost",
234
234
  * "myapp://example"
235
235
  * ],
236
- * "ClientName": "my-test-app-client",
237
- * "DefaultRedirectURI": "https://example.com",
238
- * "ExplicitAuthFlows": [
236
+ * ClientName: "my-test-app-client",
237
+ * DefaultRedirectURI: "https://example.com",
238
+ * ExplicitAuthFlows: [
239
239
  * "ALLOW_ADMIN_USER_PASSWORD_AUTH",
240
240
  * "ALLOW_USER_PASSWORD_AUTH",
241
241
  * "ALLOW_REFRESH_TOKEN_AUTH"
242
242
  * ],
243
- * "GenerateSecret": true,
244
- * "IdTokenValidity": 6,
245
- * "LogoutURLs": [
243
+ * GenerateSecret: true,
244
+ * IdTokenValidity: 6,
245
+ * LogoutURLs: [
246
246
  * "https://example.com/logout"
247
247
  * ],
248
- * "PreventUserExistenceErrors": "ENABLED",
249
- * "ReadAttributes": [
248
+ * PreventUserExistenceErrors: "ENABLED",
249
+ * ReadAttributes: [
250
250
  * "email",
251
251
  * "address",
252
252
  * "preferred_username"
253
253
  * ],
254
- * "RefreshTokenValidity": 6,
255
- * "SupportedIdentityProviders": [
254
+ * RefreshTokenValidity: 6,
255
+ * SupportedIdentityProviders: [
256
256
  * "SignInWithApple",
257
257
  * "MySSO"
258
258
  * ],
259
- * "TokenValidityUnits": {
260
- * "AccessToken": "hours",
261
- * "IdToken": "minutes",
262
- * "RefreshToken": "days"
259
+ * TokenValidityUnits: {
260
+ * AccessToken: "hours",
261
+ * IdToken: "minutes",
262
+ * RefreshToken: "days"
263
263
  * },
264
- * "UserPoolId": "us-east-1_EXAMPLE",
265
- * "WriteAttributes": [
264
+ * UserPoolId: "us-east-1_EXAMPLE",
265
+ * WriteAttributes: [
266
266
  * "family_name",
267
267
  * "email"
268
268
  * ]
269
269
  * };
270
270
  * const command = new CreateUserPoolClientCommand(input);
271
271
  * const response = await client.send(command);
272
- * /* response ==
272
+ * /* response is
273
273
  * {
274
- * "UserPoolClient": {
275
- * "AccessTokenValidity": 6,
276
- * "AllowedOAuthFlows": [
274
+ * UserPoolClient: {
275
+ * AccessTokenValidity: 6,
276
+ * AllowedOAuthFlows: [
277
277
  * "code"
278
278
  * ],
279
- * "AllowedOAuthFlowsUserPoolClient": true,
280
- * "AllowedOAuthScopes": [
279
+ * AllowedOAuthFlowsUserPoolClient: true,
280
+ * AllowedOAuthScopes: [
281
281
  * "aws.cognito.signin.user.admin",
282
282
  * "openid"
283
283
  * ],
284
- * "AnalyticsConfiguration": {
285
- * "ApplicationId": "d70b2ba36a8c4dc5a04a0451a31a1e12",
286
- * "ExternalId": "my-external-id",
287
- * "RoleArn": "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
288
- * "UserDataShared": true
284
+ * AnalyticsConfiguration: {
285
+ * ApplicationId: "d70b2ba36a8c4dc5a04a0451a31a1e12",
286
+ * ExternalId: "my-external-id",
287
+ * RoleArn: "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
288
+ * UserDataShared: true
289
289
  * },
290
- * "AuthSessionValidity": 3,
291
- * "CallbackURLs": [
290
+ * AuthSessionValidity: 3,
291
+ * CallbackURLs: [
292
292
  * "https://example.com",
293
293
  * "http://localhost",
294
294
  * "myapp://example"
295
295
  * ],
296
- * "ClientId": "26cb2c60kq7nbmas7rbme9b6pp",
297
- * "ClientName": "my-test-app-client",
298
- * "ClientSecret": "13ka4h7u28d9oo44tqpq9djqsfvhvu8rk4d2ighvpu0k8fj1c2r9",
299
- * "CreationDate": 1689885426.107,
300
- * "DefaultRedirectURI": "https://example.com",
301
- * "EnablePropagateAdditionalUserContextData": false,
302
- * "EnableTokenRevocation": true,
303
- * "ExplicitAuthFlows": [
296
+ * ClientId: "26cb2c60kq7nbmas7rbme9b6pp",
297
+ * ClientName: "my-test-app-client",
298
+ * ClientSecret: "13ka4h7u28d9oo44tqpq9djqsfvhvu8rk4d2ighvpu0k8fj1c2r9",
299
+ * CreationDate: 1.689885426107E9,
300
+ * DefaultRedirectURI: "https://example.com",
301
+ * EnablePropagateAdditionalUserContextData: false,
302
+ * EnableTokenRevocation: true,
303
+ * ExplicitAuthFlows: [
304
304
  * "ALLOW_USER_PASSWORD_AUTH",
305
305
  * "ALLOW_ADMIN_USER_PASSWORD_AUTH",
306
306
  * "ALLOW_REFRESH_TOKEN_AUTH"
307
307
  * ],
308
- * "IdTokenValidity": 6,
309
- * "LastModifiedDate": 1689885426.107,
310
- * "LogoutURLs": [
308
+ * IdTokenValidity: 6,
309
+ * LastModifiedDate: 1.689885426107E9,
310
+ * LogoutURLs: [
311
311
  * "https://example.com/logout"
312
312
  * ],
313
- * "PreventUserExistenceErrors": "ENABLED",
314
- * "ReadAttributes": [
313
+ * PreventUserExistenceErrors: "ENABLED",
314
+ * ReadAttributes: [
315
315
  * "address",
316
316
  * "preferred_username",
317
317
  * "email"
318
318
  * ],
319
- * "RefreshTokenValidity": 6,
320
- * "SupportedIdentityProviders": [
319
+ * RefreshTokenValidity: 6,
320
+ * SupportedIdentityProviders: [
321
321
  * "SignInWithApple",
322
322
  * "MySSO"
323
323
  * ],
324
- * "TokenValidityUnits": {
325
- * "AccessToken": "hours",
326
- * "IdToken": "minutes",
327
- * "RefreshToken": "days"
324
+ * TokenValidityUnits: {
325
+ * AccessToken: "hours",
326
+ * IdToken: "minutes",
327
+ * RefreshToken: "days"
328
328
  * },
329
- * "UserPoolId": "us-east-1_EXAMPLE",
330
- * "WriteAttributes": [
329
+ * UserPoolId: "us-east-1_EXAMPLE",
330
+ * WriteAttributes: [
331
331
  * "family_name",
332
332
  * "email"
333
333
  * ]
334
334
  * }
335
335
  * }
336
336
  * *\/
337
- * // example id: example-user-pool-app-client-with-email-and-username-sign-in-1689885750745
338
337
  * ```
339
338
  *
339
+ * @public
340
340
  */
341
341
  export declare class CreateUserPoolClientCommand extends CreateUserPoolClientCommand_base {
342
342
  /** @internal type navigation helper, not in runtime. */