@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.
- package/README.md +40 -0
- package/dist-cjs/index.js +329 -16
- package/dist-es/CloudFront.js +10 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/UpdateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/index.js +6 -1
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +225 -7
- package/dist-types/CloudFront.d.ts +35 -0
- package/dist-types/CloudFrontClient.d.ts +7 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByOwnedResourceCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -2
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +106 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +6 -1
- package/dist-types/models/models_0.d.ts +38 -13
- package/dist-types/models/models_1.d.ts +122 -110
- package/dist-types/models/models_2.d.ts +177 -2
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/CloudFront.d.ts +85 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOwnedResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -6
- package/dist-types/ts3.4/models/models_1.d.ts +31 -31
- package/dist-types/ts3.4/models/models_2.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +14 -14
|
@@ -183,6 +183,10 @@ import {
|
|
|
183
183
|
DeleteRealtimeLogConfigCommandInput,
|
|
184
184
|
DeleteRealtimeLogConfigCommandOutput,
|
|
185
185
|
} from "../commands/DeleteRealtimeLogConfigCommand";
|
|
186
|
+
import {
|
|
187
|
+
DeleteResourcePolicyCommandInput,
|
|
188
|
+
DeleteResourcePolicyCommandOutput,
|
|
189
|
+
} from "../commands/DeleteResourcePolicyCommand";
|
|
186
190
|
import {
|
|
187
191
|
DeleteResponseHeadersPolicyCommandInput,
|
|
188
192
|
DeleteResponseHeadersPolicyCommandOutput,
|
|
@@ -335,6 +339,10 @@ import {
|
|
|
335
339
|
GetRealtimeLogConfigCommandInput,
|
|
336
340
|
GetRealtimeLogConfigCommandOutput,
|
|
337
341
|
} from "../commands/GetRealtimeLogConfigCommand";
|
|
342
|
+
import {
|
|
343
|
+
GetResourcePolicyCommandInput,
|
|
344
|
+
GetResourcePolicyCommandOutput,
|
|
345
|
+
} from "../commands/GetResourcePolicyCommand";
|
|
338
346
|
import {
|
|
339
347
|
GetResponseHeadersPolicyCommandInput,
|
|
340
348
|
GetResponseHeadersPolicyCommandOutput,
|
|
@@ -399,6 +407,10 @@ import {
|
|
|
399
407
|
ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
400
408
|
ListDistributionsByOriginRequestPolicyIdCommandOutput,
|
|
401
409
|
} from "../commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
410
|
+
import {
|
|
411
|
+
ListDistributionsByOwnedResourceCommandInput,
|
|
412
|
+
ListDistributionsByOwnedResourceCommandOutput,
|
|
413
|
+
} from "../commands/ListDistributionsByOwnedResourceCommand";
|
|
402
414
|
import {
|
|
403
415
|
ListDistributionsByRealtimeLogConfigCommandInput,
|
|
404
416
|
ListDistributionsByRealtimeLogConfigCommandOutput,
|
|
@@ -495,6 +507,10 @@ import {
|
|
|
495
507
|
PublishFunctionCommandInput,
|
|
496
508
|
PublishFunctionCommandOutput,
|
|
497
509
|
} from "../commands/PublishFunctionCommand";
|
|
510
|
+
import {
|
|
511
|
+
PutResourcePolicyCommandInput,
|
|
512
|
+
PutResourcePolicyCommandOutput,
|
|
513
|
+
} from "../commands/PutResourcePolicyCommand";
|
|
498
514
|
import {
|
|
499
515
|
TagResourceCommandInput,
|
|
500
516
|
TagResourceCommandOutput,
|
|
@@ -507,6 +523,10 @@ import {
|
|
|
507
523
|
UntagResourceCommandInput,
|
|
508
524
|
UntagResourceCommandOutput,
|
|
509
525
|
} from "../commands/UntagResourceCommand";
|
|
526
|
+
import {
|
|
527
|
+
UpdateAnycastIpListCommandInput,
|
|
528
|
+
UpdateAnycastIpListCommandOutput,
|
|
529
|
+
} from "../commands/UpdateAnycastIpListCommand";
|
|
510
530
|
import {
|
|
511
531
|
UpdateCachePolicyCommandInput,
|
|
512
532
|
UpdateCachePolicyCommandOutput,
|
|
@@ -771,6 +791,10 @@ export declare const se_DeleteRealtimeLogConfigCommand: (
|
|
|
771
791
|
input: DeleteRealtimeLogConfigCommandInput,
|
|
772
792
|
context: __SerdeContext
|
|
773
793
|
) => Promise<__HttpRequest>;
|
|
794
|
+
export declare const se_DeleteResourcePolicyCommand: (
|
|
795
|
+
input: DeleteResourcePolicyCommandInput,
|
|
796
|
+
context: __SerdeContext
|
|
797
|
+
) => Promise<__HttpRequest>;
|
|
774
798
|
export declare const se_DeleteResponseHeadersPolicyCommand: (
|
|
775
799
|
input: DeleteResponseHeadersPolicyCommandInput,
|
|
776
800
|
context: __SerdeContext
|
|
@@ -923,6 +947,10 @@ export declare const se_GetRealtimeLogConfigCommand: (
|
|
|
923
947
|
input: GetRealtimeLogConfigCommandInput,
|
|
924
948
|
context: __SerdeContext
|
|
925
949
|
) => Promise<__HttpRequest>;
|
|
950
|
+
export declare const se_GetResourcePolicyCommand: (
|
|
951
|
+
input: GetResourcePolicyCommandInput,
|
|
952
|
+
context: __SerdeContext
|
|
953
|
+
) => Promise<__HttpRequest>;
|
|
926
954
|
export declare const se_GetResponseHeadersPolicyCommand: (
|
|
927
955
|
input: GetResponseHeadersPolicyCommandInput,
|
|
928
956
|
context: __SerdeContext
|
|
@@ -991,6 +1019,10 @@ export declare const se_ListDistributionsByOriginRequestPolicyIdCommand: (
|
|
|
991
1019
|
input: ListDistributionsByOriginRequestPolicyIdCommandInput,
|
|
992
1020
|
context: __SerdeContext
|
|
993
1021
|
) => Promise<__HttpRequest>;
|
|
1022
|
+
export declare const se_ListDistributionsByOwnedResourceCommand: (
|
|
1023
|
+
input: ListDistributionsByOwnedResourceCommandInput,
|
|
1024
|
+
context: __SerdeContext
|
|
1025
|
+
) => Promise<__HttpRequest>;
|
|
994
1026
|
export declare const se_ListDistributionsByRealtimeLogConfigCommand: (
|
|
995
1027
|
input: ListDistributionsByRealtimeLogConfigCommandInput,
|
|
996
1028
|
context: __SerdeContext
|
|
@@ -1083,6 +1115,10 @@ export declare const se_PublishFunctionCommand: (
|
|
|
1083
1115
|
input: PublishFunctionCommandInput,
|
|
1084
1116
|
context: __SerdeContext
|
|
1085
1117
|
) => Promise<__HttpRequest>;
|
|
1118
|
+
export declare const se_PutResourcePolicyCommand: (
|
|
1119
|
+
input: PutResourcePolicyCommandInput,
|
|
1120
|
+
context: __SerdeContext
|
|
1121
|
+
) => Promise<__HttpRequest>;
|
|
1086
1122
|
export declare const se_TagResourceCommand: (
|
|
1087
1123
|
input: TagResourceCommandInput,
|
|
1088
1124
|
context: __SerdeContext
|
|
@@ -1095,6 +1131,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
1095
1131
|
input: UntagResourceCommandInput,
|
|
1096
1132
|
context: __SerdeContext
|
|
1097
1133
|
) => Promise<__HttpRequest>;
|
|
1134
|
+
export declare const se_UpdateAnycastIpListCommand: (
|
|
1135
|
+
input: UpdateAnycastIpListCommandInput,
|
|
1136
|
+
context: __SerdeContext
|
|
1137
|
+
) => Promise<__HttpRequest>;
|
|
1098
1138
|
export declare const se_UpdateCachePolicyCommand: (
|
|
1099
1139
|
input: UpdateCachePolicyCommandInput,
|
|
1100
1140
|
context: __SerdeContext
|
|
@@ -1359,6 +1399,10 @@ export declare const de_DeleteRealtimeLogConfigCommand: (
|
|
|
1359
1399
|
output: __HttpResponse,
|
|
1360
1400
|
context: __SerdeContext
|
|
1361
1401
|
) => Promise<DeleteRealtimeLogConfigCommandOutput>;
|
|
1402
|
+
export declare const de_DeleteResourcePolicyCommand: (
|
|
1403
|
+
output: __HttpResponse,
|
|
1404
|
+
context: __SerdeContext
|
|
1405
|
+
) => Promise<DeleteResourcePolicyCommandOutput>;
|
|
1362
1406
|
export declare const de_DeleteResponseHeadersPolicyCommand: (
|
|
1363
1407
|
output: __HttpResponse,
|
|
1364
1408
|
context: __SerdeContext
|
|
@@ -1511,6 +1555,10 @@ export declare const de_GetRealtimeLogConfigCommand: (
|
|
|
1511
1555
|
output: __HttpResponse,
|
|
1512
1556
|
context: __SerdeContext
|
|
1513
1557
|
) => Promise<GetRealtimeLogConfigCommandOutput>;
|
|
1558
|
+
export declare const de_GetResourcePolicyCommand: (
|
|
1559
|
+
output: __HttpResponse,
|
|
1560
|
+
context: __SerdeContext
|
|
1561
|
+
) => Promise<GetResourcePolicyCommandOutput>;
|
|
1514
1562
|
export declare const de_GetResponseHeadersPolicyCommand: (
|
|
1515
1563
|
output: __HttpResponse,
|
|
1516
1564
|
context: __SerdeContext
|
|
@@ -1579,6 +1627,10 @@ export declare const de_ListDistributionsByOriginRequestPolicyIdCommand: (
|
|
|
1579
1627
|
output: __HttpResponse,
|
|
1580
1628
|
context: __SerdeContext
|
|
1581
1629
|
) => Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput>;
|
|
1630
|
+
export declare const de_ListDistributionsByOwnedResourceCommand: (
|
|
1631
|
+
output: __HttpResponse,
|
|
1632
|
+
context: __SerdeContext
|
|
1633
|
+
) => Promise<ListDistributionsByOwnedResourceCommandOutput>;
|
|
1582
1634
|
export declare const de_ListDistributionsByRealtimeLogConfigCommand: (
|
|
1583
1635
|
output: __HttpResponse,
|
|
1584
1636
|
context: __SerdeContext
|
|
@@ -1671,6 +1723,10 @@ export declare const de_PublishFunctionCommand: (
|
|
|
1671
1723
|
output: __HttpResponse,
|
|
1672
1724
|
context: __SerdeContext
|
|
1673
1725
|
) => Promise<PublishFunctionCommandOutput>;
|
|
1726
|
+
export declare const de_PutResourcePolicyCommand: (
|
|
1727
|
+
output: __HttpResponse,
|
|
1728
|
+
context: __SerdeContext
|
|
1729
|
+
) => Promise<PutResourcePolicyCommandOutput>;
|
|
1674
1730
|
export declare const de_TagResourceCommand: (
|
|
1675
1731
|
output: __HttpResponse,
|
|
1676
1732
|
context: __SerdeContext
|
|
@@ -1683,6 +1739,10 @@ export declare const de_UntagResourceCommand: (
|
|
|
1683
1739
|
output: __HttpResponse,
|
|
1684
1740
|
context: __SerdeContext
|
|
1685
1741
|
) => Promise<UntagResourceCommandOutput>;
|
|
1742
|
+
export declare const de_UpdateAnycastIpListCommand: (
|
|
1743
|
+
output: __HttpResponse,
|
|
1744
|
+
context: __SerdeContext
|
|
1745
|
+
) => Promise<UpdateAnycastIpListCommandOutput>;
|
|
1686
1746
|
export declare const de_UpdateCachePolicyCommand: (
|
|
1687
1747
|
output: __HttpResponse,
|
|
1688
1748
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.925.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.922.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.925.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.922.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
|
+
"@aws-sdk/types": "3.922.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.922.0",
|
|
34
34
|
"@aws-sdk/xml-builder": "3.921.0",
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
+
"@smithy/config-resolver": "^4.4.2",
|
|
36
36
|
"@smithy/core": "^3.17.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
38
38
|
"@smithy/hash-node": "^4.2.4",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^4.3.5",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.8",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.4",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.4",
|
|
58
58
|
"@smithy/util-retry": "^4.2.4",
|