@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
@@ -60,6 +60,7 @@ import { GetCSVHeaderCommandInput, GetCSVHeaderCommandOutput } from "../commands
60
60
  import { GetDeviceCommandInput, GetDeviceCommandOutput } from "../commands/GetDeviceCommand";
61
61
  import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGroupCommand";
62
62
  import { GetIdentityProviderByIdentifierCommandInput, GetIdentityProviderByIdentifierCommandOutput } from "../commands/GetIdentityProviderByIdentifierCommand";
63
+ import { GetLogDeliveryConfigurationCommandInput, GetLogDeliveryConfigurationCommandOutput } from "../commands/GetLogDeliveryConfigurationCommand";
63
64
  import { GetSigningCertificateCommandInput, GetSigningCertificateCommandOutput } from "../commands/GetSigningCertificateCommand";
64
65
  import { GetUICustomizationCommandInput, GetUICustomizationCommandOutput } from "../commands/GetUICustomizationCommand";
65
66
  import { GetUserAttributeVerificationCodeCommandInput, GetUserAttributeVerificationCodeCommandOutput } from "../commands/GetUserAttributeVerificationCodeCommand";
@@ -80,6 +81,7 @@ import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "../
80
81
  import { ResendConfirmationCodeCommandInput, ResendConfirmationCodeCommandOutput } from "../commands/ResendConfirmationCodeCommand";
81
82
  import { RespondToAuthChallengeCommandInput, RespondToAuthChallengeCommandOutput } from "../commands/RespondToAuthChallengeCommand";
82
83
  import { RevokeTokenCommandInput, RevokeTokenCommandOutput } from "../commands/RevokeTokenCommand";
84
+ import { SetLogDeliveryConfigurationCommandInput, SetLogDeliveryConfigurationCommandOutput } from "../commands/SetLogDeliveryConfigurationCommand";
83
85
  import { SetRiskConfigurationCommandInput, SetRiskConfigurationCommandOutput } from "../commands/SetRiskConfigurationCommand";
84
86
  import { SetUICustomizationCommandInput, SetUICustomizationCommandOutput } from "../commands/SetUICustomizationCommand";
85
87
  import { SetUserMFAPreferenceCommandInput, SetUserMFAPreferenceCommandOutput } from "../commands/SetUserMFAPreferenceCommand";
@@ -341,6 +343,10 @@ export declare const se_GetGroupCommand: (input: GetGroupCommandInput, context:
341
343
  * serializeAws_json1_1GetIdentityProviderByIdentifierCommand
342
344
  */
343
345
  export declare const se_GetIdentityProviderByIdentifierCommand: (input: GetIdentityProviderByIdentifierCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
346
+ /**
347
+ * serializeAws_json1_1GetLogDeliveryConfigurationCommand
348
+ */
349
+ export declare const se_GetLogDeliveryConfigurationCommand: (input: GetLogDeliveryConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
344
350
  /**
345
351
  * serializeAws_json1_1GetSigningCertificateCommand
346
352
  */
@@ -421,6 +427,10 @@ export declare const se_RespondToAuthChallengeCommand: (input: RespondToAuthChal
421
427
  * serializeAws_json1_1RevokeTokenCommand
422
428
  */
423
429
  export declare const se_RevokeTokenCommand: (input: RevokeTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
430
+ /**
431
+ * serializeAws_json1_1SetLogDeliveryConfigurationCommand
432
+ */
433
+ export declare const se_SetLogDeliveryConfigurationCommand: (input: SetLogDeliveryConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
424
434
  /**
425
435
  * serializeAws_json1_1SetRiskConfigurationCommand
426
436
  */
@@ -745,6 +755,10 @@ export declare const de_GetGroupCommand: (output: __HttpResponse, context: __Ser
745
755
  * deserializeAws_json1_1GetIdentityProviderByIdentifierCommand
746
756
  */
747
757
  export declare const de_GetIdentityProviderByIdentifierCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIdentityProviderByIdentifierCommandOutput>;
758
+ /**
759
+ * deserializeAws_json1_1GetLogDeliveryConfigurationCommand
760
+ */
761
+ export declare const de_GetLogDeliveryConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLogDeliveryConfigurationCommandOutput>;
748
762
  /**
749
763
  * deserializeAws_json1_1GetSigningCertificateCommand
750
764
  */
@@ -825,6 +839,10 @@ export declare const de_RespondToAuthChallengeCommand: (output: __HttpResponse,
825
839
  * deserializeAws_json1_1RevokeTokenCommand
826
840
  */
827
841
  export declare const de_RevokeTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RevokeTokenCommandOutput>;
842
+ /**
843
+ * deserializeAws_json1_1SetLogDeliveryConfigurationCommand
844
+ */
845
+ export declare const de_SetLogDeliveryConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetLogDeliveryConfigurationCommandOutput>;
828
846
  /**
829
847
  * deserializeAws_json1_1SetRiskConfigurationCommand
830
848
  */
@@ -240,6 +240,10 @@ import {
240
240
  GetIdentityProviderByIdentifierCommandInput,
241
241
  GetIdentityProviderByIdentifierCommandOutput,
242
242
  } from "./commands/GetIdentityProviderByIdentifierCommand";
243
+ import {
244
+ GetLogDeliveryConfigurationCommandInput,
245
+ GetLogDeliveryConfigurationCommandOutput,
246
+ } from "./commands/GetLogDeliveryConfigurationCommand";
243
247
  import {
244
248
  GetSigningCertificateCommandInput,
245
249
  GetSigningCertificateCommandOutput,
@@ -320,6 +324,10 @@ import {
320
324
  RevokeTokenCommandInput,
321
325
  RevokeTokenCommandOutput,
322
326
  } from "./commands/RevokeTokenCommand";
327
+ import {
328
+ SetLogDeliveryConfigurationCommandInput,
329
+ SetLogDeliveryConfigurationCommandOutput,
330
+ } from "./commands/SetLogDeliveryConfigurationCommand";
323
331
  import {
324
332
  SetRiskConfigurationCommandInput,
325
333
  SetRiskConfigurationCommandOutput,
@@ -1185,6 +1193,19 @@ export interface CognitoIdentityProvider {
1185
1193
  options: __HttpHandlerOptions,
1186
1194
  cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void
1187
1195
  ): void;
1196
+ getLogDeliveryConfiguration(
1197
+ args: GetLogDeliveryConfigurationCommandInput,
1198
+ options?: __HttpHandlerOptions
1199
+ ): Promise<GetLogDeliveryConfigurationCommandOutput>;
1200
+ getLogDeliveryConfiguration(
1201
+ args: GetLogDeliveryConfigurationCommandInput,
1202
+ cb: (err: any, data?: GetLogDeliveryConfigurationCommandOutput) => void
1203
+ ): void;
1204
+ getLogDeliveryConfiguration(
1205
+ args: GetLogDeliveryConfigurationCommandInput,
1206
+ options: __HttpHandlerOptions,
1207
+ cb: (err: any, data?: GetLogDeliveryConfigurationCommandOutput) => void
1208
+ ): void;
1188
1209
  getSigningCertificate(
1189
1210
  args: GetSigningCertificateCommandInput,
1190
1211
  options?: __HttpHandlerOptions
@@ -1445,6 +1466,19 @@ export interface CognitoIdentityProvider {
1445
1466
  options: __HttpHandlerOptions,
1446
1467
  cb: (err: any, data?: RevokeTokenCommandOutput) => void
1447
1468
  ): void;
1469
+ setLogDeliveryConfiguration(
1470
+ args: SetLogDeliveryConfigurationCommandInput,
1471
+ options?: __HttpHandlerOptions
1472
+ ): Promise<SetLogDeliveryConfigurationCommandOutput>;
1473
+ setLogDeliveryConfiguration(
1474
+ args: SetLogDeliveryConfigurationCommandInput,
1475
+ cb: (err: any, data?: SetLogDeliveryConfigurationCommandOutput) => void
1476
+ ): void;
1477
+ setLogDeliveryConfiguration(
1478
+ args: SetLogDeliveryConfigurationCommandInput,
1479
+ options: __HttpHandlerOptions,
1480
+ cb: (err: any, data?: SetLogDeliveryConfigurationCommandOutput) => void
1481
+ ): void;
1448
1482
  setRiskConfiguration(
1449
1483
  args: SetRiskConfigurationCommandInput,
1450
1484
  options?: __HttpHandlerOptions
@@ -284,6 +284,10 @@ import {
284
284
  GetIdentityProviderByIdentifierCommandInput,
285
285
  GetIdentityProviderByIdentifierCommandOutput,
286
286
  } from "./commands/GetIdentityProviderByIdentifierCommand";
287
+ import {
288
+ GetLogDeliveryConfigurationCommandInput,
289
+ GetLogDeliveryConfigurationCommandOutput,
290
+ } from "./commands/GetLogDeliveryConfigurationCommand";
287
291
  import {
288
292
  GetSigningCertificateCommandInput,
289
293
  GetSigningCertificateCommandOutput,
@@ -364,6 +368,10 @@ import {
364
368
  RevokeTokenCommandInput,
365
369
  RevokeTokenCommandOutput,
366
370
  } from "./commands/RevokeTokenCommand";
371
+ import {
372
+ SetLogDeliveryConfigurationCommandInput,
373
+ SetLogDeliveryConfigurationCommandOutput,
374
+ } from "./commands/SetLogDeliveryConfigurationCommand";
367
375
  import {
368
376
  SetRiskConfigurationCommandInput,
369
377
  SetRiskConfigurationCommandOutput,
@@ -515,6 +523,7 @@ export type ServiceInputTypes =
515
523
  | GetDeviceCommandInput
516
524
  | GetGroupCommandInput
517
525
  | GetIdentityProviderByIdentifierCommandInput
526
+ | GetLogDeliveryConfigurationCommandInput
518
527
  | GetSigningCertificateCommandInput
519
528
  | GetUICustomizationCommandInput
520
529
  | GetUserAttributeVerificationCodeCommandInput
@@ -535,6 +544,7 @@ export type ServiceInputTypes =
535
544
  | ResendConfirmationCodeCommandInput
536
545
  | RespondToAuthChallengeCommandInput
537
546
  | RevokeTokenCommandInput
547
+ | SetLogDeliveryConfigurationCommandInput
538
548
  | SetRiskConfigurationCommandInput
539
549
  | SetUICustomizationCommandInput
540
550
  | SetUserMFAPreferenceCommandInput
@@ -617,6 +627,7 @@ export type ServiceOutputTypes =
617
627
  | GetDeviceCommandOutput
618
628
  | GetGroupCommandOutput
619
629
  | GetIdentityProviderByIdentifierCommandOutput
630
+ | GetLogDeliveryConfigurationCommandOutput
620
631
  | GetSigningCertificateCommandOutput
621
632
  | GetUICustomizationCommandOutput
622
633
  | GetUserAttributeVerificationCodeCommandOutput
@@ -637,6 +648,7 @@ export type ServiceOutputTypes =
637
648
  | ResendConfirmationCodeCommandOutput
638
649
  | RespondToAuthChallengeCommandOutput
639
650
  | RevokeTokenCommandOutput
651
+ | SetLogDeliveryConfigurationCommandOutput
640
652
  | SetRiskConfigurationCommandOutput
641
653
  | SetUICustomizationCommandOutput
642
654
  | SetUserMFAPreferenceCommandOutput
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CognitoIdentityProviderClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CognitoIdentityProviderClient";
14
+ import {
15
+ GetLogDeliveryConfigurationRequest,
16
+ GetLogDeliveryConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetLogDeliveryConfigurationCommandInput
20
+ extends GetLogDeliveryConfigurationRequest {}
21
+ export interface GetLogDeliveryConfigurationCommandOutput
22
+ extends GetLogDeliveryConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetLogDeliveryConfigurationCommand extends $Command<
25
+ GetLogDeliveryConfigurationCommandInput,
26
+ GetLogDeliveryConfigurationCommandOutput,
27
+ CognitoIdentityProviderClientResolvedConfig
28
+ > {
29
+ readonly input: GetLogDeliveryConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetLogDeliveryConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: CognitoIdentityProviderClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetLogDeliveryConfigurationCommandInput,
38
+ GetLogDeliveryConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CognitoIdentityProviderClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CognitoIdentityProviderClient";
14
+ import {
15
+ SetLogDeliveryConfigurationRequest,
16
+ SetLogDeliveryConfigurationResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface SetLogDeliveryConfigurationCommandInput
20
+ extends SetLogDeliveryConfigurationRequest {}
21
+ export interface SetLogDeliveryConfigurationCommandOutput
22
+ extends SetLogDeliveryConfigurationResponse,
23
+ __MetadataBearer {}
24
+ export declare class SetLogDeliveryConfigurationCommand extends $Command<
25
+ SetLogDeliveryConfigurationCommandInput,
26
+ SetLogDeliveryConfigurationCommandOutput,
27
+ CognitoIdentityProviderClientResolvedConfig
28
+ > {
29
+ readonly input: SetLogDeliveryConfigurationCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: SetLogDeliveryConfigurationCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: CognitoIdentityProviderClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ SetLogDeliveryConfigurationCommandInput,
38
+ SetLogDeliveryConfigurationCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../CognitoIdentityProviderClient";
14
- import {
15
- SetRiskConfigurationRequest,
16
- SetRiskConfigurationResponse,
17
- } from "../models/models_0";
14
+ import { SetRiskConfigurationRequest } from "../models/models_0";
15
+ import { SetRiskConfigurationResponse } from "../models/models_1";
18
16
  export { __MetadataBearer, $Command };
19
17
  export interface SetRiskConfigurationCommandInput
20
18
  extends SetRiskConfigurationRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SetUICustomizationRequest,
16
16
  SetUICustomizationResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface SetUICustomizationCommandInput
20
20
  extends SetUICustomizationRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SetUserMFAPreferenceRequest,
16
16
  SetUserMFAPreferenceResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface SetUserMFAPreferenceCommandInput
20
20
  extends SetUserMFAPreferenceRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SetUserPoolMfaConfigRequest,
16
16
  SetUserPoolMfaConfigResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface SetUserPoolMfaConfigCommandInput
20
20
  extends SetUserPoolMfaConfigRequest {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  SetUserSettingsRequest,
16
16
  SetUserSettingsResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export { __MetadataBearer, $Command };
19
19
  export interface SetUserSettingsCommandInput extends SetUserSettingsRequest {}
20
20
  export interface SetUserSettingsCommandOutput
@@ -58,6 +58,7 @@ export * from "./GetCSVHeaderCommand";
58
58
  export * from "./GetDeviceCommand";
59
59
  export * from "./GetGroupCommand";
60
60
  export * from "./GetIdentityProviderByIdentifierCommand";
61
+ export * from "./GetLogDeliveryConfigurationCommand";
61
62
  export * from "./GetSigningCertificateCommand";
62
63
  export * from "./GetUICustomizationCommand";
63
64
  export * from "./GetUserAttributeVerificationCodeCommand";
@@ -78,6 +79,7 @@ export * from "./ListUsersInGroupCommand";
78
79
  export * from "./ResendConfirmationCodeCommand";
79
80
  export * from "./RespondToAuthChallengeCommand";
80
81
  export * from "./RevokeTokenCommand";
82
+ export * from "./SetLogDeliveryConfigurationCommand";
81
83
  export * from "./SetRiskConfigurationCommand";
82
84
  export * from "./SetUICustomizationCommand";
83
85
  export * from "./SetUserMFAPreferenceCommand";
@@ -1405,6 +1405,33 @@ export interface GetIdentityProviderByIdentifierRequest {
1405
1405
  export interface GetIdentityProviderByIdentifierResponse {
1406
1406
  IdentityProvider: IdentityProviderType | undefined;
1407
1407
  }
1408
+ export interface GetLogDeliveryConfigurationRequest {
1409
+ UserPoolId: string | undefined;
1410
+ }
1411
+ export interface CloudWatchLogsConfigurationType {
1412
+ LogGroupArn?: string;
1413
+ }
1414
+ export declare const EventSourceName: {
1415
+ readonly USER_NOTIFICATION: "userNotification";
1416
+ };
1417
+ export type EventSourceName =
1418
+ (typeof EventSourceName)[keyof typeof EventSourceName];
1419
+ export declare const LogLevel: {
1420
+ readonly ERROR: "ERROR";
1421
+ };
1422
+ export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
1423
+ export interface LogConfigurationType {
1424
+ LogLevel: LogLevel | string | undefined;
1425
+ EventSource: EventSourceName | string | undefined;
1426
+ CloudWatchLogsConfiguration?: CloudWatchLogsConfigurationType;
1427
+ }
1428
+ export interface LogDeliveryConfigurationType {
1429
+ UserPoolId: string | undefined;
1430
+ LogConfigurations: LogConfigurationType[] | undefined;
1431
+ }
1432
+ export interface GetLogDeliveryConfigurationResponse {
1433
+ LogDeliveryConfiguration?: LogDeliveryConfigurationType;
1434
+ }
1408
1435
  export interface GetSigningCertificateRequest {
1409
1436
  UserPoolId: string | undefined;
1410
1437
  }
@@ -1639,6 +1666,13 @@ export declare class UnsupportedTokenTypeException extends __BaseException {
1639
1666
  opts: __ExceptionOptionType<UnsupportedTokenTypeException, __BaseException>
1640
1667
  );
1641
1668
  }
1669
+ export interface SetLogDeliveryConfigurationRequest {
1670
+ UserPoolId: string | undefined;
1671
+ LogConfigurations: LogConfigurationType[] | undefined;
1672
+ }
1673
+ export interface SetLogDeliveryConfigurationResponse {
1674
+ LogDeliveryConfiguration?: LogDeliveryConfigurationType;
1675
+ }
1642
1676
  export interface SetRiskConfigurationRequest {
1643
1677
  UserPoolId: string | undefined;
1644
1678
  ClientId?: string;
@@ -1646,40 +1680,6 @@ export interface SetRiskConfigurationRequest {
1646
1680
  AccountTakeoverRiskConfiguration?: AccountTakeoverRiskConfigurationType;
1647
1681
  RiskExceptionConfiguration?: RiskExceptionConfigurationType;
1648
1682
  }
1649
- export interface SetRiskConfigurationResponse {
1650
- RiskConfiguration: RiskConfigurationType | undefined;
1651
- }
1652
- export interface SetUICustomizationRequest {
1653
- UserPoolId: string | undefined;
1654
- ClientId?: string;
1655
- CSS?: string;
1656
- ImageFile?: Uint8Array;
1657
- }
1658
- export interface SetUICustomizationResponse {
1659
- UICustomization: UICustomizationType | undefined;
1660
- }
1661
- export interface SetUserMFAPreferenceRequest {
1662
- SMSMfaSettings?: SMSMfaSettingsType;
1663
- SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
1664
- AccessToken: string | undefined;
1665
- }
1666
- export interface SetUserMFAPreferenceResponse {}
1667
- export interface SetUserPoolMfaConfigRequest {
1668
- UserPoolId: string | undefined;
1669
- SmsMfaConfiguration?: SmsMfaConfigType;
1670
- SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
1671
- MfaConfiguration?: UserPoolMfaType | string;
1672
- }
1673
- export interface SetUserPoolMfaConfigResponse {
1674
- SmsMfaConfiguration?: SmsMfaConfigType;
1675
- SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
1676
- MfaConfiguration?: UserPoolMfaType | string;
1677
- }
1678
- export interface SetUserSettingsRequest {
1679
- AccessToken: string | undefined;
1680
- MFAOptions: MFAOptionType[] | undefined;
1681
- }
1682
- export interface SetUserSettingsResponse {}
1683
1683
  export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
1684
1684
  obj: AdminAddUserToGroupRequest
1685
1685
  ) => any;
@@ -1790,9 +1790,6 @@ export declare const ChangePasswordRequestFilterSensitiveLog: (
1790
1790
  export declare const ConfirmDeviceRequestFilterSensitiveLog: (
1791
1791
  obj: ConfirmDeviceRequest
1792
1792
  ) => any;
1793
- export declare const UserContextDataTypeFilterSensitiveLog: (
1794
- obj: UserContextDataType
1795
- ) => any;
1796
1793
  export declare const ConfirmForgotPasswordRequestFilterSensitiveLog: (
1797
1794
  obj: ConfirmForgotPasswordRequest
1798
1795
  ) => any;
@@ -1901,18 +1898,3 @@ export declare const RevokeTokenRequestFilterSensitiveLog: (
1901
1898
  export declare const SetRiskConfigurationRequestFilterSensitiveLog: (
1902
1899
  obj: SetRiskConfigurationRequest
1903
1900
  ) => any;
1904
- export declare const SetRiskConfigurationResponseFilterSensitiveLog: (
1905
- obj: SetRiskConfigurationResponse
1906
- ) => any;
1907
- export declare const SetUICustomizationRequestFilterSensitiveLog: (
1908
- obj: SetUICustomizationRequest
1909
- ) => any;
1910
- export declare const SetUICustomizationResponseFilterSensitiveLog: (
1911
- obj: SetUICustomizationResponse
1912
- ) => any;
1913
- export declare const SetUserMFAPreferenceRequestFilterSensitiveLog: (
1914
- obj: SetUserMFAPreferenceRequest
1915
- ) => any;
1916
- export declare const SetUserSettingsRequestFilterSensitiveLog: (
1917
- obj: SetUserSettingsRequest
1918
- ) => any;
@@ -17,12 +17,19 @@ import {
17
17
  GroupType,
18
18
  IdentityProviderType,
19
19
  LambdaConfigType,
20
+ MFAOptionType,
20
21
  OAuthFlowType,
21
22
  PreventUserExistenceErrorTypes,
22
23
  ResourceServerScopeType,
23
24
  ResourceServerType,
25
+ RiskConfigurationType,
24
26
  SmsConfigurationType,
27
+ SmsMfaConfigType,
28
+ SMSMfaSettingsType,
29
+ SoftwareTokenMfaConfigType,
30
+ SoftwareTokenMfaSettingsType,
25
31
  TokenValidityUnitsType,
32
+ UICustomizationType,
26
33
  UserAttributeUpdateSettingsType,
27
34
  UserContextDataType,
28
35
  UserImportJobType,
@@ -33,6 +40,40 @@ import {
33
40
  VerificationMessageTemplateType,
34
41
  VerifiedAttributeType,
35
42
  } from "./models_0";
43
+ export interface SetRiskConfigurationResponse {
44
+ RiskConfiguration: RiskConfigurationType | undefined;
45
+ }
46
+ export interface SetUICustomizationRequest {
47
+ UserPoolId: string | undefined;
48
+ ClientId?: string;
49
+ CSS?: string;
50
+ ImageFile?: Uint8Array;
51
+ }
52
+ export interface SetUICustomizationResponse {
53
+ UICustomization: UICustomizationType | undefined;
54
+ }
55
+ export interface SetUserMFAPreferenceRequest {
56
+ SMSMfaSettings?: SMSMfaSettingsType;
57
+ SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
58
+ AccessToken: string | undefined;
59
+ }
60
+ export interface SetUserMFAPreferenceResponse {}
61
+ export interface SetUserPoolMfaConfigRequest {
62
+ UserPoolId: string | undefined;
63
+ SmsMfaConfiguration?: SmsMfaConfigType;
64
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
65
+ MfaConfiguration?: UserPoolMfaType | string;
66
+ }
67
+ export interface SetUserPoolMfaConfigResponse {
68
+ SmsMfaConfiguration?: SmsMfaConfigType;
69
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
70
+ MfaConfiguration?: UserPoolMfaType | string;
71
+ }
72
+ export interface SetUserSettingsRequest {
73
+ AccessToken: string | undefined;
74
+ MFAOptions: MFAOptionType[] | undefined;
75
+ }
76
+ export interface SetUserSettingsResponse {}
36
77
  export interface SignUpRequest {
37
78
  ClientId: string | undefined;
38
79
  SecretHash?: string;
@@ -213,6 +254,21 @@ export interface VerifyUserAttributeRequest {
213
254
  Code: string | undefined;
214
255
  }
215
256
  export interface VerifyUserAttributeResponse {}
257
+ export declare const SetRiskConfigurationResponseFilterSensitiveLog: (
258
+ obj: SetRiskConfigurationResponse
259
+ ) => any;
260
+ export declare const SetUICustomizationRequestFilterSensitiveLog: (
261
+ obj: SetUICustomizationRequest
262
+ ) => any;
263
+ export declare const SetUICustomizationResponseFilterSensitiveLog: (
264
+ obj: SetUICustomizationResponse
265
+ ) => any;
266
+ export declare const SetUserMFAPreferenceRequestFilterSensitiveLog: (
267
+ obj: SetUserMFAPreferenceRequest
268
+ ) => any;
269
+ export declare const SetUserSettingsRequestFilterSensitiveLog: (
270
+ obj: SetUserSettingsRequest
271
+ ) => any;
216
272
  export declare const SignUpRequestFilterSensitiveLog: (
217
273
  obj: SignUpRequest
218
274
  ) => any;
@@ -234,9 +290,6 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (
234
290
  export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (
235
291
  obj: VerifySoftwareTokenRequest
236
292
  ) => any;
237
- export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (
238
- obj: VerifySoftwareTokenResponse
239
- ) => any;
240
293
  export declare const VerifyUserAttributeRequestFilterSensitiveLog: (
241
294
  obj: VerifyUserAttributeRequest
242
295
  ) => any;
@@ -243,6 +243,10 @@ import {
243
243
  GetIdentityProviderByIdentifierCommandInput,
244
244
  GetIdentityProviderByIdentifierCommandOutput,
245
245
  } from "../commands/GetIdentityProviderByIdentifierCommand";
246
+ import {
247
+ GetLogDeliveryConfigurationCommandInput,
248
+ GetLogDeliveryConfigurationCommandOutput,
249
+ } from "../commands/GetLogDeliveryConfigurationCommand";
246
250
  import {
247
251
  GetSigningCertificateCommandInput,
248
252
  GetSigningCertificateCommandOutput,
@@ -323,6 +327,10 @@ import {
323
327
  RevokeTokenCommandInput,
324
328
  RevokeTokenCommandOutput,
325
329
  } from "../commands/RevokeTokenCommand";
330
+ import {
331
+ SetLogDeliveryConfigurationCommandInput,
332
+ SetLogDeliveryConfigurationCommandOutput,
333
+ } from "../commands/SetLogDeliveryConfigurationCommand";
326
334
  import {
327
335
  SetRiskConfigurationCommandInput,
328
336
  SetRiskConfigurationCommandOutput,
@@ -647,6 +655,10 @@ export declare const se_GetIdentityProviderByIdentifierCommand: (
647
655
  input: GetIdentityProviderByIdentifierCommandInput,
648
656
  context: __SerdeContext
649
657
  ) => Promise<__HttpRequest>;
658
+ export declare const se_GetLogDeliveryConfigurationCommand: (
659
+ input: GetLogDeliveryConfigurationCommandInput,
660
+ context: __SerdeContext
661
+ ) => Promise<__HttpRequest>;
650
662
  export declare const se_GetSigningCertificateCommand: (
651
663
  input: GetSigningCertificateCommandInput,
652
664
  context: __SerdeContext
@@ -727,6 +739,10 @@ export declare const se_RevokeTokenCommand: (
727
739
  input: RevokeTokenCommandInput,
728
740
  context: __SerdeContext
729
741
  ) => Promise<__HttpRequest>;
742
+ export declare const se_SetLogDeliveryConfigurationCommand: (
743
+ input: SetLogDeliveryConfigurationCommandInput,
744
+ context: __SerdeContext
745
+ ) => Promise<__HttpRequest>;
730
746
  export declare const se_SetRiskConfigurationCommand: (
731
747
  input: SetRiskConfigurationCommandInput,
732
748
  context: __SerdeContext
@@ -1051,6 +1067,10 @@ export declare const de_GetIdentityProviderByIdentifierCommand: (
1051
1067
  output: __HttpResponse,
1052
1068
  context: __SerdeContext
1053
1069
  ) => Promise<GetIdentityProviderByIdentifierCommandOutput>;
1070
+ export declare const de_GetLogDeliveryConfigurationCommand: (
1071
+ output: __HttpResponse,
1072
+ context: __SerdeContext
1073
+ ) => Promise<GetLogDeliveryConfigurationCommandOutput>;
1054
1074
  export declare const de_GetSigningCertificateCommand: (
1055
1075
  output: __HttpResponse,
1056
1076
  context: __SerdeContext
@@ -1131,6 +1151,10 @@ export declare const de_RevokeTokenCommand: (
1131
1151
  output: __HttpResponse,
1132
1152
  context: __SerdeContext
1133
1153
  ) => Promise<RevokeTokenCommandOutput>;
1154
+ export declare const de_SetLogDeliveryConfigurationCommand: (
1155
+ output: __HttpResponse,
1156
+ context: __SerdeContext
1157
+ ) => Promise<SetLogDeliveryConfigurationCommandOutput>;
1134
1158
  export declare const de_SetRiskConfigurationCommand: (
1135
1159
  output: __HttpResponse,
1136
1160
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.379.1",
4
+ "version": "3.383.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,15 +21,15 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.379.1",
25
- "@aws-sdk/credential-provider-node": "3.379.1",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
26
  "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
29
  "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",