@aws-sdk/client-cognito-identity-provider 3.864.0 → 3.872.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 (54) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -0
  3. package/dist-cjs/index.js +361 -58
  4. package/dist-es/CognitoIdentityProvider.js +10 -0
  5. package/dist-es/auth/httpAuthSchemeProvider.js +4 -0
  6. package/dist-es/commands/CreateTermsCommand.js +23 -0
  7. package/dist-es/commands/DeleteTermsCommand.js +22 -0
  8. package/dist-es/commands/DescribeTermsCommand.js +23 -0
  9. package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +2 -1
  10. package/dist-es/commands/GetUICustomizationCommand.js +1 -1
  11. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -1
  12. package/dist-es/commands/GetUserCommand.js +1 -1
  13. package/dist-es/commands/ListTermsCommand.js +22 -0
  14. package/dist-es/commands/UpdateTermsCommand.js +23 -0
  15. package/dist-es/commands/index.js +5 -0
  16. package/dist-es/models/models_0.js +34 -45
  17. package/dist-es/models/models_1.js +50 -1
  18. package/dist-es/protocols/Aws_json1_1.js +157 -2
  19. package/dist-types/CognitoIdentityProvider.d.ts +35 -0
  20. package/dist-types/CognitoIdentityProviderClient.d.ts +7 -2
  21. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +6 -2
  22. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateTermsCommand.d.ts +151 -0
  24. package/dist-types/commands/DeleteTermsCommand.d.ts +113 -0
  25. package/dist-types/commands/DescribeTermsCommand.d.ts +123 -0
  26. package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -3
  27. package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -1
  28. package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
  29. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  30. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTermsCommand.d.ts +121 -0
  32. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateTermsCommand.d.ts +147 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +485 -366
  37. package/dist-types/models/models_1.d.ts +600 -119
  38. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  39. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +85 -0
  40. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/CreateTermsCommand.d.ts +47 -0
  42. package/dist-types/ts3.4/commands/DeleteTermsCommand.d.ts +45 -0
  43. package/dist-types/ts3.4/commands/DescribeTermsCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +47 -0
  49. package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +60 -65
  52. package/dist-types/ts3.4/models/models_1.d.ts +98 -1
  53. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  54. package/package.json +2 -2
package/README.md CHANGED
@@ -528,6 +528,14 @@ CreateResourceServer
528
528
 
529
529
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/CreateResourceServerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateResourceServerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateResourceServerCommandOutput/)
530
530
 
531
+ </details>
532
+ <details>
533
+ <summary>
534
+ CreateTerms
535
+ </summary>
536
+
537
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/CreateTermsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateTermsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/CreateTermsCommandOutput/)
538
+
531
539
  </details>
532
540
  <details>
533
541
  <summary>
@@ -592,6 +600,14 @@ DeleteResourceServer
592
600
 
593
601
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DeleteResourceServerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteResourceServerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteResourceServerCommandOutput/)
594
602
 
603
+ </details>
604
+ <details>
605
+ <summary>
606
+ DeleteTerms
607
+ </summary>
608
+
609
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DeleteTermsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteTermsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DeleteTermsCommandOutput/)
610
+
595
611
  </details>
596
612
  <details>
597
613
  <summary>
@@ -680,6 +696,14 @@ DescribeRiskConfiguration
680
696
 
681
697
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DescribeRiskConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeRiskConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeRiskConfigurationCommandOutput/)
682
698
 
699
+ </details>
700
+ <details>
701
+ <summary>
702
+ DescribeTerms
703
+ </summary>
704
+
705
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DescribeTermsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsCommandOutput/)
706
+
683
707
  </details>
684
708
  <details>
685
709
  <summary>
@@ -880,6 +904,14 @@ ListTagsForResource
880
904
 
881
905
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListTagsForResourceCommandOutput/)
882
906
 
907
+ </details>
908
+ <details>
909
+ <summary>
910
+ ListTerms
911
+ </summary>
912
+
913
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/ListTermsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListTermsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/ListTermsCommandOutput/)
914
+
883
915
  </details>
884
916
  <details>
885
917
  <summary>
@@ -1096,6 +1128,14 @@ UpdateResourceServer
1096
1128
 
1097
1129
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/UpdateResourceServerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateResourceServerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateResourceServerCommandOutput/)
1098
1130
 
1131
+ </details>
1132
+ <details>
1133
+ <summary>
1134
+ UpdateTerms
1135
+ </summary>
1136
+
1137
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/UpdateTermsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateTermsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/UpdateTermsCommandOutput/)
1138
+
1099
1139
  </details>
1100
1140
  <details>
1101
1141
  <summary>
@@ -84,6 +84,10 @@ const defaultCognitoIdentityProviderHttpAuthSchemeProvider = (authParameters) =>
84
84
  options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
85
85
  break;
86
86
  }
87
+ case "GetTokensFromRefreshToken": {
88
+ options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
89
+ break;
90
+ }
87
91
  case "GetUser": {
88
92
  options.push(createSmithyApiNoAuthHttpAuthOption(authParameters));
89
93
  break;