@aws-sdk/client-cloudfront 3.921.0 → 3.925.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 (66) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +329 -16
  3. package/dist-es/CloudFront.js +10 -0
  4. package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
  5. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  6. package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +22 -0
  7. package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
  8. package/dist-es/commands/UpdateAnycastIpListCommand.js +22 -0
  9. package/dist-es/commands/index.js +6 -1
  10. package/dist-es/models/models_0.js +5 -5
  11. package/dist-es/models/models_1.js +0 -4
  12. package/dist-es/models/models_2.js +4 -0
  13. package/dist-es/protocols/Aws_restXml.js +225 -7
  14. package/dist-types/CloudFront.d.ts +35 -0
  15. package/dist-types/CloudFrontClient.d.ts +7 -2
  16. package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
  17. package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +2 -0
  19. package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
  20. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
  21. package/dist-types/commands/CreateVpcOriginCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +90 -0
  24. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -0
  25. package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -0
  26. package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
  27. package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
  28. package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
  29. package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -0
  30. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +2 -0
  31. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
  32. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -0
  33. package/dist-types/commands/ListDistributionsByOwnedResourceCommand.d.ts +100 -0
  34. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -0
  35. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -0
  36. package/dist-types/commands/ListDistributionsCommand.d.ts +1 -0
  37. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -1
  38. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -2
  40. package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -0
  41. package/dist-types/commands/PutResourcePolicyCommand.d.ts +93 -0
  42. package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +106 -0
  43. package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
  44. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
  45. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -0
  46. package/dist-types/commands/index.d.ts +6 -1
  47. package/dist-types/models/models_0.d.ts +38 -13
  48. package/dist-types/models/models_1.d.ts +122 -110
  49. package/dist-types/models/models_2.d.ts +177 -2
  50. package/dist-types/protocols/Aws_restXml.d.ts +45 -0
  51. package/dist-types/ts3.4/CloudFront.d.ts +85 -0
  52. package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
  53. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
  54. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/ListDistributionsByOwnedResourceCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/UpdateAnycastIpListCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +6 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +11 -6
  63. package/dist-types/ts3.4/models/models_1.d.ts +31 -31
  64. package/dist-types/ts3.4/models/models_2.d.ts +51 -0
  65. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
  66. package/package.json +14 -14
package/README.md CHANGED
@@ -562,6 +562,14 @@ DeleteRealtimeLogConfig
562
562
 
563
563
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/DeleteRealtimeLogConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/DeleteRealtimeLogConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/DeleteRealtimeLogConfigCommandOutput/)
564
564
 
565
+ </details>
566
+ <details>
567
+ <summary>
568
+ DeleteResourcePolicy
569
+ </summary>
570
+
571
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/DeleteResourcePolicyCommandOutput/)
572
+
565
573
  </details>
566
574
  <details>
567
575
  <summary>
@@ -866,6 +874,14 @@ GetRealtimeLogConfig
866
874
 
867
875
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/GetRealtimeLogConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/GetRealtimeLogConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/GetRealtimeLogConfigCommandOutput/)
868
876
 
877
+ </details>
878
+ <details>
879
+ <summary>
880
+ GetResourcePolicy
881
+ </summary>
882
+
883
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/GetResourcePolicyCommandOutput/)
884
+
869
885
  </details>
870
886
  <details>
871
887
  <summary>
@@ -1002,6 +1018,14 @@ ListDistributionsByOriginRequestPolicyId
1002
1018
 
1003
1019
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/ListDistributionsByOriginRequestPolicyIdCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/ListDistributionsByOriginRequestPolicyIdCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/ListDistributionsByOriginRequestPolicyIdCommandOutput/)
1004
1020
 
1021
+ </details>
1022
+ <details>
1023
+ <summary>
1024
+ ListDistributionsByOwnedResource
1025
+ </summary>
1026
+
1027
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/ListDistributionsByOwnedResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/ListDistributionsByOwnedResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/ListDistributionsByOwnedResourceCommandOutput/)
1028
+
1005
1029
  </details>
1006
1030
  <details>
1007
1031
  <summary>
@@ -1186,6 +1210,14 @@ PublishFunction
1186
1210
 
1187
1211
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/PublishFunctionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/PublishFunctionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/PublishFunctionCommandOutput/)
1188
1212
 
1213
+ </details>
1214
+ <details>
1215
+ <summary>
1216
+ PutResourcePolicy
1217
+ </summary>
1218
+
1219
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/PutResourcePolicyCommandOutput/)
1220
+
1189
1221
  </details>
1190
1222
  <details>
1191
1223
  <summary>
@@ -1210,6 +1242,14 @@ UntagResource
1210
1242
 
1211
1243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/UntagResourceCommandOutput/)
1212
1244
 
1245
+ </details>
1246
+ <details>
1247
+ <summary>
1248
+ UpdateAnycastIpList
1249
+ </summary>
1250
+
1251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudfront/command/UpdateAnycastIpListCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/UpdateAnycastIpListCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudfront/Interface/UpdateAnycastIpListCommandOutput/)
1252
+
1213
1253
  </details>
1214
1254
  <details>
1215
1255
  <summary>