@aws-sdk/client-cloudfront 3.956.0 → 3.958.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 +1 -172
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +3183 -4962
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/commands/index.js +3 -3
- package/dist-es/pagination/index.js +4 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +2930 -4709
- package/dist-es/waiters/waitForDistributionDeployed.js +1 -1
- package/dist-es/waiters/waitForInvalidationCompleted.js +1 -1
- package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +1 -1
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js +1 -1
- package/dist-types/commands/index.d.ts +3 -3
- package/dist-types/pagination/index.d.ts +4 -4
- package/dist-types/ts3.4/commands/index.d.ts +3 -3
- package/dist-types/ts3.4/pagination/index.d.ts +4 -4
- package/package.json +15 -13
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new GetDistributionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.Distribution.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Deployed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new GetInvalidationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.Invalidation.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new GetInvalidationForDistributionTenantCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.Invalidation.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new GetStreamingDistributionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.StreamingDistribution.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Deployed") {
|
|
@@ -102,21 +102,21 @@ export * from "./ListConflictingAliasesCommand";
|
|
|
102
102
|
export * from "./ListConnectionFunctionsCommand";
|
|
103
103
|
export * from "./ListConnectionGroupsCommand";
|
|
104
104
|
export * from "./ListContinuousDeploymentPoliciesCommand";
|
|
105
|
+
export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
106
|
+
export * from "./ListDistributionTenantsCommand";
|
|
105
107
|
export * from "./ListDistributionsByAnycastIpListIdCommand";
|
|
106
108
|
export * from "./ListDistributionsByCachePolicyIdCommand";
|
|
107
109
|
export * from "./ListDistributionsByConnectionFunctionCommand";
|
|
108
|
-
export * from "./ListDistributionTenantsCommand";
|
|
109
110
|
export * from "./ListDistributionsByConnectionModeCommand";
|
|
110
|
-
export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
111
111
|
export * from "./ListDistributionsByKeyGroupCommand";
|
|
112
112
|
export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
|
|
113
113
|
export * from "./ListDistributionsByOwnedResourceCommand";
|
|
114
114
|
export * from "./ListDistributionsByRealtimeLogConfigCommand";
|
|
115
|
-
export * from "./ListDistributionsCommand";
|
|
116
115
|
export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
117
116
|
export * from "./ListDistributionsByTrustStoreCommand";
|
|
118
117
|
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
119
118
|
export * from "./ListDistributionsByWebACLIdCommand";
|
|
119
|
+
export * from "./ListDistributionsCommand";
|
|
120
120
|
export * from "./ListDomainConflictsCommand";
|
|
121
121
|
export * from "./ListFieldLevelEncryptionConfigsCommand";
|
|
122
122
|
export * from "./ListFieldLevelEncryptionProfilesCommand";
|
|
@@ -2,15 +2,15 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
3
3
|
export * from "./ListConnectionFunctionsPaginator";
|
|
4
4
|
export * from "./ListConnectionGroupsPaginator";
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./ListDistributionTenantsPaginator";
|
|
5
|
+
export * from "./ListDistributionsPaginator";
|
|
7
6
|
export * from "./ListDistributionsByConnectionFunctionPaginator";
|
|
8
7
|
export * from "./ListDistributionsByConnectionModePaginator";
|
|
9
8
|
export * from "./ListDistributionsByTrustStorePaginator";
|
|
10
|
-
export * from "./
|
|
9
|
+
export * from "./ListDistributionTenantsPaginator";
|
|
10
|
+
export * from "./ListDistributionTenantsByCustomizationPaginator";
|
|
11
11
|
export * from "./ListDomainConflictsPaginator";
|
|
12
|
-
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
13
12
|
export * from "./ListInvalidationsPaginator";
|
|
13
|
+
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
14
14
|
export * from "./ListKeyValueStoresPaginator";
|
|
15
15
|
export * from "./ListOriginAccessControlsPaginator";
|
|
16
16
|
export * from "./ListPublicKeysPaginator";
|
|
@@ -102,21 +102,21 @@ export * from "./ListConflictingAliasesCommand";
|
|
|
102
102
|
export * from "./ListConnectionFunctionsCommand";
|
|
103
103
|
export * from "./ListConnectionGroupsCommand";
|
|
104
104
|
export * from "./ListContinuousDeploymentPoliciesCommand";
|
|
105
|
+
export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
106
|
+
export * from "./ListDistributionTenantsCommand";
|
|
105
107
|
export * from "./ListDistributionsByAnycastIpListIdCommand";
|
|
106
108
|
export * from "./ListDistributionsByCachePolicyIdCommand";
|
|
107
109
|
export * from "./ListDistributionsByConnectionFunctionCommand";
|
|
108
|
-
export * from "./ListDistributionTenantsCommand";
|
|
109
110
|
export * from "./ListDistributionsByConnectionModeCommand";
|
|
110
|
-
export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
111
111
|
export * from "./ListDistributionsByKeyGroupCommand";
|
|
112
112
|
export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
|
|
113
113
|
export * from "./ListDistributionsByOwnedResourceCommand";
|
|
114
114
|
export * from "./ListDistributionsByRealtimeLogConfigCommand";
|
|
115
|
-
export * from "./ListDistributionsCommand";
|
|
116
115
|
export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
117
116
|
export * from "./ListDistributionsByTrustStoreCommand";
|
|
118
117
|
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
119
118
|
export * from "./ListDistributionsByWebACLIdCommand";
|
|
119
|
+
export * from "./ListDistributionsCommand";
|
|
120
120
|
export * from "./ListDomainConflictsCommand";
|
|
121
121
|
export * from "./ListFieldLevelEncryptionConfigsCommand";
|
|
122
122
|
export * from "./ListFieldLevelEncryptionProfilesCommand";
|
|
@@ -2,15 +2,15 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
3
3
|
export * from "./ListConnectionFunctionsPaginator";
|
|
4
4
|
export * from "./ListConnectionGroupsPaginator";
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./ListDistributionTenantsPaginator";
|
|
5
|
+
export * from "./ListDistributionsPaginator";
|
|
7
6
|
export * from "./ListDistributionsByConnectionFunctionPaginator";
|
|
8
7
|
export * from "./ListDistributionsByConnectionModePaginator";
|
|
9
8
|
export * from "./ListDistributionsByTrustStorePaginator";
|
|
10
|
-
export * from "./
|
|
9
|
+
export * from "./ListDistributionTenantsPaginator";
|
|
10
|
+
export * from "./ListDistributionTenantsByCustomizationPaginator";
|
|
11
11
|
export * from "./ListDomainConflictsPaginator";
|
|
12
|
-
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
13
12
|
export * from "./ListInvalidationsPaginator";
|
|
13
|
+
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
14
14
|
export * from "./ListKeyValueStoresPaginator";
|
|
15
15
|
export * from "./ListOriginAccessControlsPaginator";
|
|
16
16
|
export * from "./ListPublicKeysPaginator";
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
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.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudfront",
|
|
15
|
+
"test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
|
|
16
|
+
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
15
17
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
18
|
},
|
|
17
19
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,17 +23,17 @@
|
|
|
21
23
|
"dependencies": {
|
|
22
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.957.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
33
|
+
"@aws-sdk/types": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
38
|
"@smithy/core": "^3.20.0",
|
|
37
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|