@aws-sdk/client-cognito-identity-provider 3.1119.0 → 3.1121.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 (39) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +94 -13
  3. package/dist-es/CognitoIdentityProvider.js +6 -0
  4. package/dist-es/commands/AdminDeleteSoftwareTokenCommand.js +4 -0
  5. package/dist-es/commands/DescribeTermsByClientCommand.js +4 -0
  6. package/dist-es/commands/GetClientTokenCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/errors.js +12 -12
  9. package/dist-es/schemas/schemas_0.js +56 -0
  10. package/dist-types/CognitoIdentityProvider.d.ts +21 -0
  11. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
  12. package/dist-types/commands/AdminDeleteSoftwareTokenCommand.d.ts +122 -0
  13. package/dist-types/commands/DescribeTermsByClientCommand.d.ts +134 -0
  14. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +6 -0
  15. package/dist-types/commands/GetClientTokenCommand.d.ts +144 -0
  16. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
  17. package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
  18. package/dist-types/commands/SignUpCommand.d.ts +1 -1
  19. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/errors.d.ts +12 -12
  22. package/dist-types/models/models_0.d.ts +147 -237
  23. package/dist-types/models/models_1.d.ts +233 -1
  24. package/dist-types/schemas/schemas_0.d.ts +10 -0
  25. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +51 -0
  26. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +18 -0
  27. package/dist-types/ts3.4/commands/AdminDeleteSoftwareTokenCommand.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/DescribeTermsByClientCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/GetClientTokenCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
  31. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  35. package/dist-types/ts3.4/models/errors.d.ts +5 -5
  36. package/dist-types/ts3.4/models/models_0.d.ts +27 -36
  37. package/dist-types/ts3.4/models/models_1.d.ts +43 -0
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  39. package/package.json +1 -1
package/README.md CHANGED
@@ -246,6 +246,13 @@ AdminCreateUser
246
246
  </details>
247
247
  <details>
248
248
  <summary>
249
+ AdminDeleteSoftwareToken
250
+ </summary>
251
+
252
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminDeleteSoftwareTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/AdminDeleteSoftwareTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/AdminDeleteSoftwareTokenCommandOutput/)
253
+ </details>
254
+ <details>
255
+ <summary>
249
256
  AdminDeleteUser
250
257
  </summary>
251
258
 
@@ -659,6 +666,13 @@ DescribeTerms
659
666
  </details>
660
667
  <details>
661
668
  <summary>
669
+ DescribeTermsByClient
670
+ </summary>
671
+
672
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DescribeTermsByClientCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsByClientCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsByClientCommandOutput/)
673
+ </details>
674
+ <details>
675
+ <summary>
662
676
  DescribeUserImportJob
663
677
  </summary>
664
678
 
@@ -701,6 +715,13 @@ ForgotPassword
701
715
  </details>
702
716
  <details>
703
717
  <summary>
718
+ GetClientToken
719
+ </summary>
720
+
721
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/GetClientTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/GetClientTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/GetClientTokenCommandOutput/)
722
+ </details>
723
+ <details>
724
+ <summary>
704
725
  GetCSVHeader
705
726
  </summary>
706
727
 
package/dist-cjs/index.js CHANGED
@@ -234,7 +234,7 @@ const commonParams = {
234
234
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
235
235
  };
236
236
 
237
- var version = "3.1118.0";
237
+ var version = "3.1120.0";
238
238
  var packageInfo = {
239
239
  version: version};
240
240
 
@@ -584,6 +584,18 @@ class UsernameExistsException extends CognitoIdentityProviderServiceException {
584
584
  Object.setPrototypeOf(this, UsernameExistsException.prototype);
585
585
  }
586
586
  }
587
+ class UserNotConfirmedException extends CognitoIdentityProviderServiceException {
588
+ name = "UserNotConfirmedException";
589
+ $fault = "client";
590
+ constructor(opts) {
591
+ super({
592
+ name: "UserNotConfirmedException",
593
+ $fault: "client",
594
+ ...opts,
595
+ });
596
+ Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
597
+ }
598
+ }
587
599
  class AliasExistsException extends CognitoIdentityProviderServiceException {
588
600
  name = "AliasExistsException";
589
601
  $fault = "client";
@@ -656,18 +668,6 @@ class UnsupportedOperationException extends CognitoIdentityProviderServiceExcept
656
668
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
657
669
  }
658
670
  }
659
- class UserNotConfirmedException extends CognitoIdentityProviderServiceException {
660
- name = "UserNotConfirmedException";
661
- $fault = "client";
662
- constructor(opts) {
663
- super({
664
- name: "UserNotConfirmedException",
665
- $fault: "client",
666
- ...opts,
667
- });
668
- Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
669
- }
670
- }
671
671
  class UserPoolAddOnNotEnabledException extends CognitoIdentityProviderServiceException {
672
672
  name = "UserPoolAddOnNotEnabledException";
673
673
  $fault = "client";
@@ -1054,6 +1054,9 @@ const _ADE = "AccessDeniedException";
1054
1054
  const _ADPFU = "AdminDisableProviderForUser";
1055
1055
  const _ADPFUR = "AdminDisableProviderForUserRequest";
1056
1056
  const _ADPFURd = "AdminDisableProviderForUserResponse";
1057
+ const _ADST = "AdminDeleteSoftwareToken";
1058
+ const _ADSTR = "AdminDeleteSoftwareTokenRequest";
1059
+ const _ADSTRd = "AdminDeleteSoftwareTokenResponse";
1057
1060
  const _ADT = "AttributeDataType";
1058
1061
  const _ADU = "AdminDeleteUser";
1059
1062
  const _ADUA = "AdminDeleteUserAttributes";
@@ -1180,6 +1183,8 @@ const _CA = "CustomAttributes";
1180
1183
  const _CAC = "CreateAuthChallenge";
1181
1184
  const _CALT = "CustomAttributesListType";
1182
1185
  const _CAM = "CustomAuthMode";
1186
+ const _CAR = "ClientAuthenticationResult";
1187
+ const _CART = "ClientAuthenticationResultType";
1183
1188
  const _CAa = "CallerArn";
1184
1189
  const _CAe = "CertificateArn";
1185
1190
  const _CAr = "CreatedAt";
@@ -1346,6 +1351,9 @@ const _DRURI = "DefaultRedirectURI";
1346
1351
  const _DSVC = "DeviceSecretVerifierConfig";
1347
1352
  const _DSVCT = "DeviceSecretVerifierConfigType";
1348
1353
  const _DT = "DeviceType";
1354
+ const _DTBC = "DescribeTermsByClient";
1355
+ const _DTBCR = "DescribeTermsByClientRequest";
1356
+ const _DTBCRe = "DescribeTermsByClientResponse";
1349
1357
  const _DTR = "DeleteTermsRequest";
1350
1358
  const _DTRe = "DescribeTermsRequest";
1351
1359
  const _DTRes = "DescribeTermsResponse";
@@ -1456,6 +1464,9 @@ const _G = "Groups";
1456
1464
  const _GCSVH = "GetCSVHeader";
1457
1465
  const _GCSVHR = "GetCSVHeaderRequest";
1458
1466
  const _GCSVHRe = "GetCSVHeaderResponse";
1467
+ const _GCT = "GetClientToken";
1468
+ const _GCTR = "GetClientTokenRequest";
1469
+ const _GCTRe = "GetClientTokenResponse";
1459
1470
  const _GD = "GetDevice";
1460
1471
  const _GDR = "GetDeviceRequest";
1461
1472
  const _GDRe = "GetDeviceResponse";
@@ -1820,6 +1831,7 @@ const _Sa = "Salt";
1820
1831
  const _Sc = "Scopes";
1821
1832
  const _Sch = "Schema";
1822
1833
  const _Se = "Settings";
1834
+ const _Sec = "Secret";
1823
1835
  const _St = "Status";
1824
1836
  const _Su = "Subject";
1825
1837
  const _T = "Terms";
@@ -2436,6 +2448,16 @@ var AdminCreateUserResponse$ = [3, n0, _ACURd,
2436
2448
  [_Us],
2437
2449
  [[() => UserType$, 0]]
2438
2450
  ];
2451
+ var AdminDeleteSoftwareTokenRequest$ = [3, n0, _ADSTR,
2452
+ 0,
2453
+ [_UPI, _U],
2454
+ [0, [() => UsernameType, 0]], 2
2455
+ ];
2456
+ var AdminDeleteSoftwareTokenResponse$ = [3, n0, _ADSTRd,
2457
+ 0,
2458
+ [],
2459
+ []
2460
+ ];
2439
2461
  var AdminDeleteUserAttributesRequest$ = [3, n0, _ADUAR,
2440
2462
  0,
2441
2463
  [_UPI, _U, _UAN],
@@ -2721,6 +2743,11 @@ var ChangePasswordResponse$ = [3, n0, _CPRh,
2721
2743
  [],
2722
2744
  []
2723
2745
  ];
2746
+ var ClientAuthenticationResultType$ = [3, n0, _CART,
2747
+ 0,
2748
+ [_ATc, _EIxp, _TT],
2749
+ [[() => TokenModelType, 0], 1, 0]
2750
+ ];
2724
2751
  var ClientSecretDescriptorType$ = [3, n0, _CSDT,
2725
2752
  0,
2726
2753
  [_CSI, _CSV, _CSCD],
@@ -3046,6 +3073,16 @@ var DescribeRiskConfigurationResponse$ = [3, n0, _DRCRe,
3046
3073
  [_RC],
3047
3074
  [[() => RiskConfigurationType$, 0]], 1
3048
3075
  ];
3076
+ var DescribeTermsByClientRequest$ = [3, n0, _DTBCR,
3077
+ 0,
3078
+ [_CI, _UPI, _TN],
3079
+ [[() => ClientIdType, 0], 0, 0], 3
3080
+ ];
3081
+ var DescribeTermsByClientResponse$ = [3, n0, _DTBCRe,
3082
+ 0,
3083
+ [_T],
3084
+ [[() => TermsType$, 0]]
3085
+ ];
3049
3086
  var DescribeTermsRequest$ = [3, n0, _DTRe,
3050
3087
  0,
3051
3088
  [_TI, _UPI],
@@ -3176,6 +3213,16 @@ var ForgotPasswordResponse$ = [3, n0, _FPRo,
3176
3213
  [_CDD],
3177
3214
  [() => CodeDeliveryDetailsType$]
3178
3215
  ];
3216
+ var GetClientTokenRequest$ = [3, n0, _GCTR,
3217
+ 0,
3218
+ [_CI, _Sec, _Sc, _CM],
3219
+ [[() => ClientIdType, 0], [() => ClientSecretType, 0], 64 | 0, 128 | 0], 2
3220
+ ];
3221
+ var GetClientTokenResponse$ = [3, n0, _GCTRe,
3222
+ 0,
3223
+ [_CAR],
3224
+ [[() => ClientAuthenticationResultType$, 0]]
3225
+ ];
3179
3226
  var GetCSVHeaderRequest$ = [3, n0, _GCSVHR,
3180
3227
  0,
3181
3228
  [_UPI],
@@ -4155,6 +4202,9 @@ var AdminConfirmSignUp$ = [9, n0, _ACSU,
4155
4202
  var AdminCreateUser$ = [9, n0, _ACU,
4156
4203
  0, () => AdminCreateUserRequest$, () => AdminCreateUserResponse$
4157
4204
  ];
4205
+ var AdminDeleteSoftwareToken$ = [9, n0, _ADST,
4206
+ 0, () => AdminDeleteSoftwareTokenRequest$, () => AdminDeleteSoftwareTokenResponse$
4207
+ ];
4158
4208
  var AdminDeleteUser$ = [9, n0, _ADU,
4159
4209
  0, () => AdminDeleteUserRequest$, () => __Unit
4160
4210
  ];
@@ -4332,6 +4382,9 @@ var DescribeRiskConfiguration$ = [9, n0, _DRC,
4332
4382
  var DescribeTerms$ = [9, n0, _DTes,
4333
4383
  0, () => DescribeTermsRequest$, () => DescribeTermsResponse$
4334
4384
  ];
4385
+ var DescribeTermsByClient$ = [9, n0, _DTBC,
4386
+ 0, () => DescribeTermsByClientRequest$, () => DescribeTermsByClientResponse$
4387
+ ];
4335
4388
  var DescribeUserImportJob$ = [9, n0, _DUIJ,
4336
4389
  0, () => DescribeUserImportJobRequest$, () => DescribeUserImportJobResponse$
4337
4390
  ];
@@ -4350,6 +4403,9 @@ var ForgetDevice$ = [9, n0, _FDo,
4350
4403
  var ForgotPassword$ = [9, n0, _FP,
4351
4404
  0, () => ForgotPasswordRequest$, () => ForgotPasswordResponse$
4352
4405
  ];
4406
+ var GetClientToken$ = [9, n0, _GCT,
4407
+ 0, () => GetClientTokenRequest$, () => GetClientTokenResponse$
4408
+ ];
4353
4409
  var GetCSVHeader$ = [9, n0, _GCSVH,
4354
4410
  0, () => GetCSVHeaderRequest$, () => GetCSVHeaderResponse$
4355
4411
  ];
@@ -4699,6 +4755,9 @@ class AdminConfirmSignUpCommand extends command(_ep0, _mw0, "AdminConfirmSignUp"
4699
4755
  class AdminCreateUserCommand extends command(_ep0, _mw0, "AdminCreateUser", AdminCreateUser$) {
4700
4756
  }
4701
4757
 
4758
+ class AdminDeleteSoftwareTokenCommand extends command(_ep0, _mw0, "AdminDeleteSoftwareToken", AdminDeleteSoftwareToken$) {
4759
+ }
4760
+
4702
4761
  class AdminDeleteUserAttributesCommand extends command(_ep0, _mw0, "AdminDeleteUserAttributes", AdminDeleteUserAttributes$) {
4703
4762
  }
4704
4763
 
@@ -4873,6 +4932,9 @@ class DescribeResourceServerCommand extends command(_ep0, _mw0, "DescribeResourc
4873
4932
  class DescribeRiskConfigurationCommand extends command(_ep0, _mw0, "DescribeRiskConfiguration", DescribeRiskConfiguration$) {
4874
4933
  }
4875
4934
 
4935
+ class DescribeTermsByClientCommand extends command(_ep0, _mw0, "DescribeTermsByClient", DescribeTermsByClient$) {
4936
+ }
4937
+
4876
4938
  class DescribeTermsCommand extends command(_ep0, _mw0, "DescribeTerms", DescribeTerms$) {
4877
4939
  }
4878
4940
 
@@ -4894,6 +4956,9 @@ class ForgetDeviceCommand extends command(_ep0, _mw0, "ForgetDevice", ForgetDevi
4894
4956
  class ForgotPasswordCommand extends command(_ep0, _mw0, "ForgotPassword", ForgotPassword$) {
4895
4957
  }
4896
4958
 
4959
+ class GetClientTokenCommand extends command(_ep0, _mw0, "GetClientToken", GetClientToken$) {
4960
+ }
4961
+
4897
4962
  class GetCSVHeaderCommand extends command(_ep0, _mw0, "GetCSVHeader", GetCSVHeader$) {
4898
4963
  }
4899
4964
 
@@ -5095,6 +5160,7 @@ const commands = {
5095
5160
  AdminAddUserToGroupCommand,
5096
5161
  AdminConfirmSignUpCommand,
5097
5162
  AdminCreateUserCommand,
5163
+ AdminDeleteSoftwareTokenCommand,
5098
5164
  AdminDeleteUserCommand,
5099
5165
  AdminDeleteUserAttributesCommand,
5100
5166
  AdminDisableProviderForUserCommand,
@@ -5154,12 +5220,14 @@ const commands = {
5154
5220
  DescribeResourceServerCommand,
5155
5221
  DescribeRiskConfigurationCommand,
5156
5222
  DescribeTermsCommand,
5223
+ DescribeTermsByClientCommand,
5157
5224
  DescribeUserImportJobCommand,
5158
5225
  DescribeUserPoolCommand,
5159
5226
  DescribeUserPoolClientCommand,
5160
5227
  DescribeUserPoolDomainCommand,
5161
5228
  ForgetDeviceCommand,
5162
5229
  ForgotPasswordCommand,
5230
+ GetClientTokenCommand,
5163
5231
  GetCSVHeaderCommand,
5164
5232
  GetDeviceCommand,
5165
5233
  GetGroupCommand,
@@ -5588,6 +5656,10 @@ exports.AdminCreateUserCommand = AdminCreateUserCommand;
5588
5656
  exports.AdminCreateUserConfigType$ = AdminCreateUserConfigType$;
5589
5657
  exports.AdminCreateUserRequest$ = AdminCreateUserRequest$;
5590
5658
  exports.AdminCreateUserResponse$ = AdminCreateUserResponse$;
5659
+ exports.AdminDeleteSoftwareToken$ = AdminDeleteSoftwareToken$;
5660
+ exports.AdminDeleteSoftwareTokenCommand = AdminDeleteSoftwareTokenCommand;
5661
+ exports.AdminDeleteSoftwareTokenRequest$ = AdminDeleteSoftwareTokenRequest$;
5662
+ exports.AdminDeleteSoftwareTokenResponse$ = AdminDeleteSoftwareTokenResponse$;
5591
5663
  exports.AdminDeleteUser$ = AdminDeleteUser$;
5592
5664
  exports.AdminDeleteUserAttributes$ = AdminDeleteUserAttributes$;
5593
5665
  exports.AdminDeleteUserAttributesCommand = AdminDeleteUserAttributesCommand;
@@ -5710,6 +5782,7 @@ exports.ChangePassword$ = ChangePassword$;
5710
5782
  exports.ChangePasswordCommand = ChangePasswordCommand;
5711
5783
  exports.ChangePasswordRequest$ = ChangePasswordRequest$;
5712
5784
  exports.ChangePasswordResponse$ = ChangePasswordResponse$;
5785
+ exports.ClientAuthenticationResultType$ = ClientAuthenticationResultType$;
5713
5786
  exports.ClientSecretDescriptorType$ = ClientSecretDescriptorType$;
5714
5787
  exports.CloudWatchLogsConfigurationType$ = CloudWatchLogsConfigurationType$;
5715
5788
  exports.CodeDeliveryDetailsType$ = CodeDeliveryDetailsType$;
@@ -5857,6 +5930,10 @@ exports.DescribeRiskConfigurationCommand = DescribeRiskConfigurationCommand;
5857
5930
  exports.DescribeRiskConfigurationRequest$ = DescribeRiskConfigurationRequest$;
5858
5931
  exports.DescribeRiskConfigurationResponse$ = DescribeRiskConfigurationResponse$;
5859
5932
  exports.DescribeTerms$ = DescribeTerms$;
5933
+ exports.DescribeTermsByClient$ = DescribeTermsByClient$;
5934
+ exports.DescribeTermsByClientCommand = DescribeTermsByClientCommand;
5935
+ exports.DescribeTermsByClientRequest$ = DescribeTermsByClientRequest$;
5936
+ exports.DescribeTermsByClientResponse$ = DescribeTermsByClientResponse$;
5860
5937
  exports.DescribeTermsCommand = DescribeTermsCommand;
5861
5938
  exports.DescribeTermsRequest$ = DescribeTermsRequest$;
5862
5939
  exports.DescribeTermsResponse$ = DescribeTermsResponse$;
@@ -5923,6 +6000,10 @@ exports.GetCSVHeader$ = GetCSVHeader$;
5923
6000
  exports.GetCSVHeaderCommand = GetCSVHeaderCommand;
5924
6001
  exports.GetCSVHeaderRequest$ = GetCSVHeaderRequest$;
5925
6002
  exports.GetCSVHeaderResponse$ = GetCSVHeaderResponse$;
6003
+ exports.GetClientToken$ = GetClientToken$;
6004
+ exports.GetClientTokenCommand = GetClientTokenCommand;
6005
+ exports.GetClientTokenRequest$ = GetClientTokenRequest$;
6006
+ exports.GetClientTokenResponse$ = GetClientTokenResponse$;
5926
6007
  exports.GetDevice$ = GetDevice$;
5927
6008
  exports.GetDeviceCommand = GetDeviceCommand;
5928
6009
  exports.GetDeviceRequest$ = GetDeviceRequest$;
@@ -5,6 +5,7 @@ import { AddUserPoolClientSecretCommand, } from "./commands/AddUserPoolClientSec
5
5
  import { AdminAddUserToGroupCommand, } from "./commands/AdminAddUserToGroupCommand";
6
6
  import { AdminConfirmSignUpCommand, } from "./commands/AdminConfirmSignUpCommand";
7
7
  import { AdminCreateUserCommand, } from "./commands/AdminCreateUserCommand";
8
+ import { AdminDeleteSoftwareTokenCommand, } from "./commands/AdminDeleteSoftwareTokenCommand";
8
9
  import { AdminDeleteUserAttributesCommand, } from "./commands/AdminDeleteUserAttributesCommand";
9
10
  import { AdminDeleteUserCommand, } from "./commands/AdminDeleteUserCommand";
10
11
  import { AdminDisableProviderForUserCommand, } from "./commands/AdminDisableProviderForUserCommand";
@@ -63,6 +64,7 @@ import { DescribeManagedLoginBrandingByClientCommand, } from "./commands/Describ
63
64
  import { DescribeManagedLoginBrandingCommand, } from "./commands/DescribeManagedLoginBrandingCommand";
64
65
  import { DescribeResourceServerCommand, } from "./commands/DescribeResourceServerCommand";
65
66
  import { DescribeRiskConfigurationCommand, } from "./commands/DescribeRiskConfigurationCommand";
67
+ import { DescribeTermsByClientCommand, } from "./commands/DescribeTermsByClientCommand";
66
68
  import { DescribeTermsCommand, } from "./commands/DescribeTermsCommand";
67
69
  import { DescribeUserImportJobCommand, } from "./commands/DescribeUserImportJobCommand";
68
70
  import { DescribeUserPoolClientCommand, } from "./commands/DescribeUserPoolClientCommand";
@@ -70,6 +72,7 @@ import { DescribeUserPoolCommand, } from "./commands/DescribeUserPoolCommand";
70
72
  import { DescribeUserPoolDomainCommand, } from "./commands/DescribeUserPoolDomainCommand";
71
73
  import { ForgetDeviceCommand, } from "./commands/ForgetDeviceCommand";
72
74
  import { ForgotPasswordCommand, } from "./commands/ForgotPasswordCommand";
75
+ import { GetClientTokenCommand, } from "./commands/GetClientTokenCommand";
73
76
  import { GetCSVHeaderCommand, } from "./commands/GetCSVHeaderCommand";
74
77
  import { GetDeviceCommand } from "./commands/GetDeviceCommand";
75
78
  import { GetGroupCommand } from "./commands/GetGroupCommand";
@@ -144,6 +147,7 @@ const commands = {
144
147
  AdminAddUserToGroupCommand,
145
148
  AdminConfirmSignUpCommand,
146
149
  AdminCreateUserCommand,
150
+ AdminDeleteSoftwareTokenCommand,
147
151
  AdminDeleteUserCommand,
148
152
  AdminDeleteUserAttributesCommand,
149
153
  AdminDisableProviderForUserCommand,
@@ -203,12 +207,14 @@ const commands = {
203
207
  DescribeResourceServerCommand,
204
208
  DescribeRiskConfigurationCommand,
205
209
  DescribeTermsCommand,
210
+ DescribeTermsByClientCommand,
206
211
  DescribeUserImportJobCommand,
207
212
  DescribeUserPoolCommand,
208
213
  DescribeUserPoolClientCommand,
209
214
  DescribeUserPoolDomainCommand,
210
215
  ForgetDeviceCommand,
211
216
  ForgotPasswordCommand,
217
+ GetClientTokenCommand,
212
218
  GetCSVHeaderCommand,
213
219
  GetDeviceCommand,
214
220
  GetGroupCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { AdminDeleteSoftwareToken$ } from "../schemas/schemas_0";
3
+ export class AdminDeleteSoftwareTokenCommand extends command(_ep0, _mw0, "AdminDeleteSoftwareToken", AdminDeleteSoftwareToken$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DescribeTermsByClient$ } from "../schemas/schemas_0";
3
+ export class DescribeTermsByClientCommand extends command(_ep0, _mw0, "DescribeTermsByClient", DescribeTermsByClient$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetClientToken$ } from "../schemas/schemas_0";
3
+ export class GetClientTokenCommand extends command(_ep0, _mw0, "GetClientToken", GetClientToken$) {
4
+ }
@@ -3,6 +3,7 @@ export * from "./AddUserPoolClientSecretCommand";
3
3
  export * from "./AdminAddUserToGroupCommand";
4
4
  export * from "./AdminConfirmSignUpCommand";
5
5
  export * from "./AdminCreateUserCommand";
6
+ export * from "./AdminDeleteSoftwareTokenCommand";
6
7
  export * from "./AdminDeleteUserAttributesCommand";
7
8
  export * from "./AdminDeleteUserCommand";
8
9
  export * from "./AdminDisableProviderForUserCommand";
@@ -61,6 +62,7 @@ export * from "./DescribeManagedLoginBrandingByClientCommand";
61
62
  export * from "./DescribeManagedLoginBrandingCommand";
62
63
  export * from "./DescribeResourceServerCommand";
63
64
  export * from "./DescribeRiskConfigurationCommand";
65
+ export * from "./DescribeTermsByClientCommand";
64
66
  export * from "./DescribeTermsCommand";
65
67
  export * from "./DescribeUserImportJobCommand";
66
68
  export * from "./DescribeUserPoolClientCommand";
@@ -69,6 +71,7 @@ export * from "./DescribeUserPoolDomainCommand";
69
71
  export * from "./ForgetDeviceCommand";
70
72
  export * from "./ForgotPasswordCommand";
71
73
  export * from "./GetCSVHeaderCommand";
74
+ export * from "./GetClientTokenCommand";
72
75
  export * from "./GetDeviceCommand";
73
76
  export * from "./GetGroupCommand";
74
77
  export * from "./GetIdentityProviderByIdentifierCommand";
@@ -265,6 +265,18 @@ export class UsernameExistsException extends __BaseException {
265
265
  Object.setPrototypeOf(this, UsernameExistsException.prototype);
266
266
  }
267
267
  }
268
+ export class UserNotConfirmedException extends __BaseException {
269
+ name = "UserNotConfirmedException";
270
+ $fault = "client";
271
+ constructor(opts) {
272
+ super({
273
+ name: "UserNotConfirmedException",
274
+ $fault: "client",
275
+ ...opts,
276
+ });
277
+ Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
278
+ }
279
+ }
268
280
  export class AliasExistsException extends __BaseException {
269
281
  name = "AliasExistsException";
270
282
  $fault = "client";
@@ -337,18 +349,6 @@ export class UnsupportedOperationException extends __BaseException {
337
349
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
338
350
  }
339
351
  }
340
- export class UserNotConfirmedException extends __BaseException {
341
- name = "UserNotConfirmedException";
342
- $fault = "client";
343
- constructor(opts) {
344
- super({
345
- name: "UserNotConfirmedException",
346
- $fault: "client",
347
- ...opts,
348
- });
349
- Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
350
- }
351
- }
352
352
  export class UserPoolAddOnNotEnabledException extends __BaseException {
353
353
  name = "UserPoolAddOnNotEnabledException";
354
354
  $fault = "client";
@@ -23,6 +23,9 @@ const _ADE = "AccessDeniedException";
23
23
  const _ADPFU = "AdminDisableProviderForUser";
24
24
  const _ADPFUR = "AdminDisableProviderForUserRequest";
25
25
  const _ADPFURd = "AdminDisableProviderForUserResponse";
26
+ const _ADST = "AdminDeleteSoftwareToken";
27
+ const _ADSTR = "AdminDeleteSoftwareTokenRequest";
28
+ const _ADSTRd = "AdminDeleteSoftwareTokenResponse";
26
29
  const _ADT = "AttributeDataType";
27
30
  const _ADU = "AdminDeleteUser";
28
31
  const _ADUA = "AdminDeleteUserAttributes";
@@ -149,6 +152,8 @@ const _CA = "CustomAttributes";
149
152
  const _CAC = "CreateAuthChallenge";
150
153
  const _CALT = "CustomAttributesListType";
151
154
  const _CAM = "CustomAuthMode";
155
+ const _CAR = "ClientAuthenticationResult";
156
+ const _CART = "ClientAuthenticationResultType";
152
157
  const _CAa = "CallerArn";
153
158
  const _CAe = "CertificateArn";
154
159
  const _CAr = "CreatedAt";
@@ -315,6 +320,9 @@ const _DRURI = "DefaultRedirectURI";
315
320
  const _DSVC = "DeviceSecretVerifierConfig";
316
321
  const _DSVCT = "DeviceSecretVerifierConfigType";
317
322
  const _DT = "DeviceType";
323
+ const _DTBC = "DescribeTermsByClient";
324
+ const _DTBCR = "DescribeTermsByClientRequest";
325
+ const _DTBCRe = "DescribeTermsByClientResponse";
318
326
  const _DTR = "DeleteTermsRequest";
319
327
  const _DTRe = "DescribeTermsRequest";
320
328
  const _DTRes = "DescribeTermsResponse";
@@ -425,6 +433,9 @@ const _G = "Groups";
425
433
  const _GCSVH = "GetCSVHeader";
426
434
  const _GCSVHR = "GetCSVHeaderRequest";
427
435
  const _GCSVHRe = "GetCSVHeaderResponse";
436
+ const _GCT = "GetClientToken";
437
+ const _GCTR = "GetClientTokenRequest";
438
+ const _GCTRe = "GetClientTokenResponse";
428
439
  const _GD = "GetDevice";
429
440
  const _GDR = "GetDeviceRequest";
430
441
  const _GDRe = "GetDeviceResponse";
@@ -789,6 +800,7 @@ const _Sa = "Salt";
789
800
  const _Sc = "Scopes";
790
801
  const _Sch = "Schema";
791
802
  const _Se = "Settings";
803
+ const _Sec = "Secret";
792
804
  const _St = "Status";
793
805
  const _Su = "Subject";
794
806
  const _T = "Terms";
@@ -1408,6 +1420,16 @@ export var AdminCreateUserResponse$ = [3, n0, _ACURd,
1408
1420
  [_Us],
1409
1421
  [[() => UserType$, 0]]
1410
1422
  ];
1423
+ export var AdminDeleteSoftwareTokenRequest$ = [3, n0, _ADSTR,
1424
+ 0,
1425
+ [_UPI, _U],
1426
+ [0, [() => UsernameType, 0]], 2
1427
+ ];
1428
+ export var AdminDeleteSoftwareTokenResponse$ = [3, n0, _ADSTRd,
1429
+ 0,
1430
+ [],
1431
+ []
1432
+ ];
1411
1433
  export var AdminDeleteUserAttributesRequest$ = [3, n0, _ADUAR,
1412
1434
  0,
1413
1435
  [_UPI, _U, _UAN],
@@ -1693,6 +1715,11 @@ export var ChangePasswordResponse$ = [3, n0, _CPRh,
1693
1715
  [],
1694
1716
  []
1695
1717
  ];
1718
+ export var ClientAuthenticationResultType$ = [3, n0, _CART,
1719
+ 0,
1720
+ [_ATc, _EIxp, _TT],
1721
+ [[() => TokenModelType, 0], 1, 0]
1722
+ ];
1696
1723
  export var ClientSecretDescriptorType$ = [3, n0, _CSDT,
1697
1724
  0,
1698
1725
  [_CSI, _CSV, _CSCD],
@@ -2018,6 +2045,16 @@ export var DescribeRiskConfigurationResponse$ = [3, n0, _DRCRe,
2018
2045
  [_RC],
2019
2046
  [[() => RiskConfigurationType$, 0]], 1
2020
2047
  ];
2048
+ export var DescribeTermsByClientRequest$ = [3, n0, _DTBCR,
2049
+ 0,
2050
+ [_CI, _UPI, _TN],
2051
+ [[() => ClientIdType, 0], 0, 0], 3
2052
+ ];
2053
+ export var DescribeTermsByClientResponse$ = [3, n0, _DTBCRe,
2054
+ 0,
2055
+ [_T],
2056
+ [[() => TermsType$, 0]]
2057
+ ];
2021
2058
  export var DescribeTermsRequest$ = [3, n0, _DTRe,
2022
2059
  0,
2023
2060
  [_TI, _UPI],
@@ -2148,6 +2185,16 @@ export var ForgotPasswordResponse$ = [3, n0, _FPRo,
2148
2185
  [_CDD],
2149
2186
  [() => CodeDeliveryDetailsType$]
2150
2187
  ];
2188
+ export var GetClientTokenRequest$ = [3, n0, _GCTR,
2189
+ 0,
2190
+ [_CI, _Sec, _Sc, _CM],
2191
+ [[() => ClientIdType, 0], [() => ClientSecretType, 0], 64 | 0, 128 | 0], 2
2192
+ ];
2193
+ export var GetClientTokenResponse$ = [3, n0, _GCTRe,
2194
+ 0,
2195
+ [_CAR],
2196
+ [[() => ClientAuthenticationResultType$, 0]]
2197
+ ];
2151
2198
  export var GetCSVHeaderRequest$ = [3, n0, _GCSVHR,
2152
2199
  0,
2153
2200
  [_UPI],
@@ -3160,6 +3207,9 @@ export var AdminConfirmSignUp$ = [9, n0, _ACSU,
3160
3207
  export var AdminCreateUser$ = [9, n0, _ACU,
3161
3208
  0, () => AdminCreateUserRequest$, () => AdminCreateUserResponse$
3162
3209
  ];
3210
+ export var AdminDeleteSoftwareToken$ = [9, n0, _ADST,
3211
+ 0, () => AdminDeleteSoftwareTokenRequest$, () => AdminDeleteSoftwareTokenResponse$
3212
+ ];
3163
3213
  export var AdminDeleteUser$ = [9, n0, _ADU,
3164
3214
  0, () => AdminDeleteUserRequest$, () => __Unit
3165
3215
  ];
@@ -3337,6 +3387,9 @@ export var DescribeRiskConfiguration$ = [9, n0, _DRC,
3337
3387
  export var DescribeTerms$ = [9, n0, _DTes,
3338
3388
  0, () => DescribeTermsRequest$, () => DescribeTermsResponse$
3339
3389
  ];
3390
+ export var DescribeTermsByClient$ = [9, n0, _DTBC,
3391
+ 0, () => DescribeTermsByClientRequest$, () => DescribeTermsByClientResponse$
3392
+ ];
3340
3393
  export var DescribeUserImportJob$ = [9, n0, _DUIJ,
3341
3394
  0, () => DescribeUserImportJobRequest$, () => DescribeUserImportJobResponse$
3342
3395
  ];
@@ -3355,6 +3408,9 @@ export var ForgetDevice$ = [9, n0, _FDo,
3355
3408
  export var ForgotPassword$ = [9, n0, _FP,
3356
3409
  0, () => ForgotPasswordRequest$, () => ForgotPasswordResponse$
3357
3410
  ];
3411
+ export var GetClientToken$ = [9, n0, _GCT,
3412
+ 0, () => GetClientTokenRequest$, () => GetClientTokenResponse$
3413
+ ];
3358
3414
  export var GetCSVHeader$ = [9, n0, _GCSVH,
3359
3415
  0, () => GetCSVHeaderRequest$, () => GetCSVHeaderResponse$
3360
3416
  ];
@@ -5,6 +5,7 @@ import { type AddUserPoolClientSecretCommandInput, type AddUserPoolClientSecretC
5
5
  import { type AdminAddUserToGroupCommandInput, type AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
6
6
  import { type AdminConfirmSignUpCommandInput, type AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
7
7
  import { type AdminCreateUserCommandInput, type AdminCreateUserCommandOutput } from "./commands/AdminCreateUserCommand";
8
+ import { type AdminDeleteSoftwareTokenCommandInput, type AdminDeleteSoftwareTokenCommandOutput } from "./commands/AdminDeleteSoftwareTokenCommand";
8
9
  import { type AdminDeleteUserAttributesCommandInput, type AdminDeleteUserAttributesCommandOutput } from "./commands/AdminDeleteUserAttributesCommand";
9
10
  import { type AdminDeleteUserCommandInput, type AdminDeleteUserCommandOutput } from "./commands/AdminDeleteUserCommand";
10
11
  import { type AdminDisableProviderForUserCommandInput, type AdminDisableProviderForUserCommandOutput } from "./commands/AdminDisableProviderForUserCommand";
@@ -63,6 +64,7 @@ import { type DescribeManagedLoginBrandingByClientCommandInput, type DescribeMan
63
64
  import { type DescribeManagedLoginBrandingCommandInput, type DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
64
65
  import { type DescribeResourceServerCommandInput, type DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
65
66
  import { type DescribeRiskConfigurationCommandInput, type DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
67
+ import { type DescribeTermsByClientCommandInput, type DescribeTermsByClientCommandOutput } from "./commands/DescribeTermsByClientCommand";
66
68
  import { type DescribeTermsCommandInput, type DescribeTermsCommandOutput } from "./commands/DescribeTermsCommand";
67
69
  import { type DescribeUserImportJobCommandInput, type DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
68
70
  import { type DescribeUserPoolClientCommandInput, type DescribeUserPoolClientCommandOutput } from "./commands/DescribeUserPoolClientCommand";
@@ -70,6 +72,7 @@ import { type DescribeUserPoolCommandInput, type DescribeUserPoolCommandOutput }
70
72
  import { type DescribeUserPoolDomainCommandInput, type DescribeUserPoolDomainCommandOutput } from "./commands/DescribeUserPoolDomainCommand";
71
73
  import { type ForgetDeviceCommandInput, type ForgetDeviceCommandOutput } from "./commands/ForgetDeviceCommand";
72
74
  import { type ForgotPasswordCommandInput, type ForgotPasswordCommandOutput } from "./commands/ForgotPasswordCommand";
75
+ import { type GetClientTokenCommandInput, type GetClientTokenCommandOutput } from "./commands/GetClientTokenCommand";
73
76
  import { type GetCSVHeaderCommandInput, type GetCSVHeaderCommandOutput } from "./commands/GetCSVHeaderCommand";
74
77
  import { type GetDeviceCommandInput, type GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
75
78
  import { type GetGroupCommandInput, type GetGroupCommandOutput } from "./commands/GetGroupCommand";
@@ -160,6 +163,12 @@ export interface CognitoIdentityProvider {
160
163
  adminCreateUser(args: AdminCreateUserCommandInput, options?: __HttpHandlerOptions): Promise<AdminCreateUserCommandOutput>;
161
164
  adminCreateUser(args: AdminCreateUserCommandInput, cb: (err: any, data?: AdminCreateUserCommandOutput) => void): void;
162
165
  adminCreateUser(args: AdminCreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminCreateUserCommandOutput) => void): void;
166
+ /**
167
+ * @see {@link AdminDeleteSoftwareTokenCommand}
168
+ */
169
+ adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, options?: __HttpHandlerOptions): Promise<AdminDeleteSoftwareTokenCommandOutput>;
170
+ adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void): void;
171
+ adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void): void;
163
172
  /**
164
173
  * @see {@link AdminDeleteUserCommand}
165
174
  */
@@ -515,6 +524,12 @@ export interface CognitoIdentityProvider {
515
524
  describeTerms(args: DescribeTermsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTermsCommandOutput>;
516
525
  describeTerms(args: DescribeTermsCommandInput, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
517
526
  describeTerms(args: DescribeTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
527
+ /**
528
+ * @see {@link DescribeTermsByClientCommand}
529
+ */
530
+ describeTermsByClient(args: DescribeTermsByClientCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTermsByClientCommandOutput>;
531
+ describeTermsByClient(args: DescribeTermsByClientCommandInput, cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void): void;
532
+ describeTermsByClient(args: DescribeTermsByClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void): void;
518
533
  /**
519
534
  * @see {@link DescribeUserImportJobCommand}
520
535
  */
@@ -551,6 +566,12 @@ export interface CognitoIdentityProvider {
551
566
  forgotPassword(args: ForgotPasswordCommandInput, options?: __HttpHandlerOptions): Promise<ForgotPasswordCommandOutput>;
552
567
  forgotPassword(args: ForgotPasswordCommandInput, cb: (err: any, data?: ForgotPasswordCommandOutput) => void): void;
553
568
  forgotPassword(args: ForgotPasswordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ForgotPasswordCommandOutput) => void): void;
569
+ /**
570
+ * @see {@link GetClientTokenCommand}
571
+ */
572
+ getClientToken(args: GetClientTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetClientTokenCommandOutput>;
573
+ getClientToken(args: GetClientTokenCommandInput, cb: (err: any, data?: GetClientTokenCommandOutput) => void): void;
574
+ getClientToken(args: GetClientTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClientTokenCommandOutput) => void): void;
554
575
  /**
555
576
  * @see {@link GetCSVHeaderCommand}
556
577
  */