@aws-sdk/client-lambda 3.958.0 → 3.962.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 +21 -21
- package/dist-es/waiters/waitForFunctionActive.js +4 -4
- package/dist-es/waiters/waitForFunctionActiveV2.js +4 -4
- package/dist-es/waiters/waitForFunctionExists.js +1 -1
- package/dist-es/waiters/waitForFunctionUpdated.js +4 -4
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +4 -4
- package/dist-es/waiters/waitForPublishedVersionActive.js +4 -4
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -4582,10 +4582,10 @@ const paginateListVersionsByFunction = core.createPaginator(LambdaClient, ListVe
|
|
|
4582
4582
|
const checkState$5 = async (client, input) => {
|
|
4583
4583
|
let reason;
|
|
4584
4584
|
try {
|
|
4585
|
-
|
|
4585
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
4586
4586
|
reason = result;
|
|
4587
4587
|
try {
|
|
4588
|
-
|
|
4588
|
+
const returnComparator = () => {
|
|
4589
4589
|
return result.Configuration.State;
|
|
4590
4590
|
};
|
|
4591
4591
|
if (returnComparator() === "Active") {
|
|
@@ -4594,7 +4594,7 @@ const checkState$5 = async (client, input) => {
|
|
|
4594
4594
|
}
|
|
4595
4595
|
catch (e) { }
|
|
4596
4596
|
try {
|
|
4597
|
-
|
|
4597
|
+
const returnComparator = () => {
|
|
4598
4598
|
return result.Configuration.State;
|
|
4599
4599
|
};
|
|
4600
4600
|
if (returnComparator() === "Failed") {
|
|
@@ -4603,7 +4603,7 @@ const checkState$5 = async (client, input) => {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
catch (e) { }
|
|
4605
4605
|
try {
|
|
4606
|
-
|
|
4606
|
+
const returnComparator = () => {
|
|
4607
4607
|
return result.Configuration.State;
|
|
4608
4608
|
};
|
|
4609
4609
|
if (returnComparator() === "Pending") {
|
|
@@ -4630,7 +4630,7 @@ const waitUntilFunctionActiveV2 = async (params, input) => {
|
|
|
4630
4630
|
const checkState$4 = async (client, input) => {
|
|
4631
4631
|
let reason;
|
|
4632
4632
|
try {
|
|
4633
|
-
|
|
4633
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
4634
4634
|
reason = result;
|
|
4635
4635
|
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
4636
4636
|
}
|
|
@@ -4655,10 +4655,10 @@ const waitUntilFunctionExists = async (params, input) => {
|
|
|
4655
4655
|
const checkState$3 = async (client, input) => {
|
|
4656
4656
|
let reason;
|
|
4657
4657
|
try {
|
|
4658
|
-
|
|
4658
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
4659
4659
|
reason = result;
|
|
4660
4660
|
try {
|
|
4661
|
-
|
|
4661
|
+
const returnComparator = () => {
|
|
4662
4662
|
return result.Configuration.LastUpdateStatus;
|
|
4663
4663
|
};
|
|
4664
4664
|
if (returnComparator() === "Successful") {
|
|
@@ -4667,7 +4667,7 @@ const checkState$3 = async (client, input) => {
|
|
|
4667
4667
|
}
|
|
4668
4668
|
catch (e) { }
|
|
4669
4669
|
try {
|
|
4670
|
-
|
|
4670
|
+
const returnComparator = () => {
|
|
4671
4671
|
return result.Configuration.LastUpdateStatus;
|
|
4672
4672
|
};
|
|
4673
4673
|
if (returnComparator() === "Failed") {
|
|
@@ -4676,7 +4676,7 @@ const checkState$3 = async (client, input) => {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
catch (e) { }
|
|
4678
4678
|
try {
|
|
4679
|
-
|
|
4679
|
+
const returnComparator = () => {
|
|
4680
4680
|
return result.Configuration.LastUpdateStatus;
|
|
4681
4681
|
};
|
|
4682
4682
|
if (returnComparator() === "InProgress") {
|
|
@@ -4703,10 +4703,10 @@ const waitUntilFunctionUpdatedV2 = async (params, input) => {
|
|
|
4703
4703
|
const checkState$2 = async (client, input) => {
|
|
4704
4704
|
let reason;
|
|
4705
4705
|
try {
|
|
4706
|
-
|
|
4706
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
4707
4707
|
reason = result;
|
|
4708
4708
|
try {
|
|
4709
|
-
|
|
4709
|
+
const returnComparator = () => {
|
|
4710
4710
|
return result.State;
|
|
4711
4711
|
};
|
|
4712
4712
|
if (returnComparator() === "Active") {
|
|
@@ -4715,7 +4715,7 @@ const checkState$2 = async (client, input) => {
|
|
|
4715
4715
|
}
|
|
4716
4716
|
catch (e) { }
|
|
4717
4717
|
try {
|
|
4718
|
-
|
|
4718
|
+
const returnComparator = () => {
|
|
4719
4719
|
return result.State;
|
|
4720
4720
|
};
|
|
4721
4721
|
if (returnComparator() === "Failed") {
|
|
@@ -4724,7 +4724,7 @@ const checkState$2 = async (client, input) => {
|
|
|
4724
4724
|
}
|
|
4725
4725
|
catch (e) { }
|
|
4726
4726
|
try {
|
|
4727
|
-
|
|
4727
|
+
const returnComparator = () => {
|
|
4728
4728
|
return result.State;
|
|
4729
4729
|
};
|
|
4730
4730
|
if (returnComparator() === "Pending") {
|
|
@@ -4751,10 +4751,10 @@ const waitUntilFunctionActive = async (params, input) => {
|
|
|
4751
4751
|
const checkState$1 = async (client, input) => {
|
|
4752
4752
|
let reason;
|
|
4753
4753
|
try {
|
|
4754
|
-
|
|
4754
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
4755
4755
|
reason = result;
|
|
4756
4756
|
try {
|
|
4757
|
-
|
|
4757
|
+
const returnComparator = () => {
|
|
4758
4758
|
return result.LastUpdateStatus;
|
|
4759
4759
|
};
|
|
4760
4760
|
if (returnComparator() === "Successful") {
|
|
@@ -4763,7 +4763,7 @@ const checkState$1 = async (client, input) => {
|
|
|
4763
4763
|
}
|
|
4764
4764
|
catch (e) { }
|
|
4765
4765
|
try {
|
|
4766
|
-
|
|
4766
|
+
const returnComparator = () => {
|
|
4767
4767
|
return result.LastUpdateStatus;
|
|
4768
4768
|
};
|
|
4769
4769
|
if (returnComparator() === "Failed") {
|
|
@@ -4772,7 +4772,7 @@ const checkState$1 = async (client, input) => {
|
|
|
4772
4772
|
}
|
|
4773
4773
|
catch (e) { }
|
|
4774
4774
|
try {
|
|
4775
|
-
|
|
4775
|
+
const returnComparator = () => {
|
|
4776
4776
|
return result.LastUpdateStatus;
|
|
4777
4777
|
};
|
|
4778
4778
|
if (returnComparator() === "InProgress") {
|
|
@@ -4799,10 +4799,10 @@ const waitUntilFunctionUpdated = async (params, input) => {
|
|
|
4799
4799
|
const checkState = async (client, input) => {
|
|
4800
4800
|
let reason;
|
|
4801
4801
|
try {
|
|
4802
|
-
|
|
4802
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
4803
4803
|
reason = result;
|
|
4804
4804
|
try {
|
|
4805
|
-
|
|
4805
|
+
const returnComparator = () => {
|
|
4806
4806
|
return result.State;
|
|
4807
4807
|
};
|
|
4808
4808
|
if (returnComparator() === "Active") {
|
|
@@ -4811,7 +4811,7 @@ const checkState = async (client, input) => {
|
|
|
4811
4811
|
}
|
|
4812
4812
|
catch (e) { }
|
|
4813
4813
|
try {
|
|
4814
|
-
|
|
4814
|
+
const returnComparator = () => {
|
|
4815
4815
|
return result.State;
|
|
4816
4816
|
};
|
|
4817
4817
|
if (returnComparator() === "Failed") {
|
|
@@ -4820,7 +4820,7 @@ const checkState = async (client, input) => {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
catch (e) { }
|
|
4822
4822
|
try {
|
|
4823
|
-
|
|
4823
|
+
const returnComparator = () => {
|
|
4824
4824
|
return result.State;
|
|
4825
4825
|
};
|
|
4826
4826
|
if (returnComparator() === "Pending") {
|
|
@@ -3,10 +3,10 @@ import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigu
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Active") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Pending") {
|
|
@@ -3,10 +3,10 @@ import { GetFunctionCommand } from "../commands/GetFunctionCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Configuration.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Active") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Configuration.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.Configuration.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Pending") {
|
|
@@ -3,7 +3,7 @@ import { GetFunctionCommand } from "../commands/GetFunctionCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
return { state: WaiterState.SUCCESS, reason };
|
|
9
9
|
}
|
|
@@ -3,10 +3,10 @@ import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigu
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.LastUpdateStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Successful") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.LastUpdateStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.LastUpdateStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "InProgress") {
|
|
@@ -3,10 +3,10 @@ import { GetFunctionCommand } from "../commands/GetFunctionCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Configuration.LastUpdateStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Successful") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Configuration.LastUpdateStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.Configuration.LastUpdateStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "InProgress") {
|
|
@@ -3,10 +3,10 @@ import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigu
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetFunctionConfigurationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.State;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Active") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.State;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.State;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Pending") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.962.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-lambda",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
26
|
"@aws-sdk/core": "3.957.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.962.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",
|