@aws-sdk/client-cloudfront 3.958.0 → 3.964.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/dist-cjs/index.js +8 -8
- package/dist-es/waiters/waitForDistributionDeployed.js +2 -2
- package/dist-es/waiters/waitForInvalidationCompleted.js +2 -2
- package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +2 -2
- package/dist-es/waiters/waitForStreamingDistributionDeployed.js +2 -2
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -9933,10 +9933,10 @@ const paginateListTrustStores = core.createPaginator(CloudFrontClient, ListTrust
|
|
|
9933
9933
|
const checkState$3 = async (client, input) => {
|
|
9934
9934
|
let reason;
|
|
9935
9935
|
try {
|
|
9936
|
-
|
|
9936
|
+
let result = await client.send(new GetDistributionCommand(input));
|
|
9937
9937
|
reason = result;
|
|
9938
9938
|
try {
|
|
9939
|
-
|
|
9939
|
+
const returnComparator = () => {
|
|
9940
9940
|
return result.Distribution.Status;
|
|
9941
9941
|
};
|
|
9942
9942
|
if (returnComparator() === "Deployed") {
|
|
@@ -9963,10 +9963,10 @@ const waitUntilDistributionDeployed = async (params, input) => {
|
|
|
9963
9963
|
const checkState$2 = async (client, input) => {
|
|
9964
9964
|
let reason;
|
|
9965
9965
|
try {
|
|
9966
|
-
|
|
9966
|
+
let result = await client.send(new GetInvalidationCommand(input));
|
|
9967
9967
|
reason = result;
|
|
9968
9968
|
try {
|
|
9969
|
-
|
|
9969
|
+
const returnComparator = () => {
|
|
9970
9970
|
return result.Invalidation.Status;
|
|
9971
9971
|
};
|
|
9972
9972
|
if (returnComparator() === "Completed") {
|
|
@@ -9993,10 +9993,10 @@ const waitUntilInvalidationCompleted = async (params, input) => {
|
|
|
9993
9993
|
const checkState$1 = async (client, input) => {
|
|
9994
9994
|
let reason;
|
|
9995
9995
|
try {
|
|
9996
|
-
|
|
9996
|
+
let result = await client.send(new GetInvalidationForDistributionTenantCommand(input));
|
|
9997
9997
|
reason = result;
|
|
9998
9998
|
try {
|
|
9999
|
-
|
|
9999
|
+
const returnComparator = () => {
|
|
10000
10000
|
return result.Invalidation.Status;
|
|
10001
10001
|
};
|
|
10002
10002
|
if (returnComparator() === "Completed") {
|
|
@@ -10023,10 +10023,10 @@ const waitUntilInvalidationForDistributionTenantCompleted = async (params, input
|
|
|
10023
10023
|
const checkState = async (client, input) => {
|
|
10024
10024
|
let reason;
|
|
10025
10025
|
try {
|
|
10026
|
-
|
|
10026
|
+
let result = await client.send(new GetStreamingDistributionCommand(input));
|
|
10027
10027
|
reason = result;
|
|
10028
10028
|
try {
|
|
10029
|
-
|
|
10029
|
+
const returnComparator = () => {
|
|
10030
10030
|
return result.StreamingDistribution.Status;
|
|
10031
10031
|
};
|
|
10032
10032
|
if (returnComparator() === "Deployed") {
|
|
@@ -3,10 +3,10 @@ import { GetDistributionCommand } from "../commands/GetDistributionCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetDistributionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Distribution.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Deployed") {
|
|
@@ -3,10 +3,10 @@ import { GetInvalidationCommand } from "../commands/GetInvalidationCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetInvalidationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Invalidation.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -3,10 +3,10 @@ import { GetInvalidationForDistributionTenantCommand, } from "../commands/GetInv
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetInvalidationForDistributionTenantCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Invalidation.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -3,10 +3,10 @@ import { GetStreamingDistributionCommand, } from "../commands/GetStreamingDistri
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetStreamingDistributionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.StreamingDistribution.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Deployed") {
|
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.964.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",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.964.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.964.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.964.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
33
33
|
"@aws-sdk/types": "3.957.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.957.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.964.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
38
38
|
"@smithy/core": "^3.20.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|