@aws-sdk/client-sagemaker 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 +38 -38
- package/dist-es/waiters/waitForEndpointDeleted.js +2 -2
- package/dist-es/waiters/waitForEndpointInService.js +3 -3
- package/dist-es/waiters/waitForImageCreated.js +3 -3
- package/dist-es/waiters/waitForImageDeleted.js +2 -2
- package/dist-es/waiters/waitForImageUpdated.js +3 -3
- package/dist-es/waiters/waitForImageVersionCreated.js +3 -3
- package/dist-es/waiters/waitForImageVersionDeleted.js +2 -2
- package/dist-es/waiters/waitForNotebookInstanceDeleted.js +2 -2
- package/dist-es/waiters/waitForNotebookInstanceInService.js +3 -3
- package/dist-es/waiters/waitForNotebookInstanceStopped.js +3 -3
- package/dist-es/waiters/waitForProcessingJobCompletedOrStopped.js +4 -4
- package/dist-es/waiters/waitForTrainingJobCompletedOrStopped.js +4 -4
- package/dist-es/waiters/waitForTransformJobCompletedOrStopped.js +4 -4
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -17667,10 +17667,10 @@ const paginateSearch = core.createPaginator(SageMakerClient, SearchCommand, "Nex
|
|
|
17667
17667
|
const checkState$c = async (client, input) => {
|
|
17668
17668
|
let reason;
|
|
17669
17669
|
try {
|
|
17670
|
-
|
|
17670
|
+
let result = await client.send(new DescribeEndpointCommand(input));
|
|
17671
17671
|
reason = result;
|
|
17672
17672
|
try {
|
|
17673
|
-
|
|
17673
|
+
const returnComparator = () => {
|
|
17674
17674
|
return result.EndpointStatus;
|
|
17675
17675
|
};
|
|
17676
17676
|
if (returnComparator() === "Failed") {
|
|
@@ -17700,10 +17700,10 @@ const waitUntilEndpointDeleted = async (params, input) => {
|
|
|
17700
17700
|
const checkState$b = async (client, input) => {
|
|
17701
17701
|
let reason;
|
|
17702
17702
|
try {
|
|
17703
|
-
|
|
17703
|
+
let result = await client.send(new DescribeEndpointCommand(input));
|
|
17704
17704
|
reason = result;
|
|
17705
17705
|
try {
|
|
17706
|
-
|
|
17706
|
+
const returnComparator = () => {
|
|
17707
17707
|
return result.EndpointStatus;
|
|
17708
17708
|
};
|
|
17709
17709
|
if (returnComparator() === "InService") {
|
|
@@ -17712,7 +17712,7 @@ const checkState$b = async (client, input) => {
|
|
|
17712
17712
|
}
|
|
17713
17713
|
catch (e) { }
|
|
17714
17714
|
try {
|
|
17715
|
-
|
|
17715
|
+
const returnComparator = () => {
|
|
17716
17716
|
return result.EndpointStatus;
|
|
17717
17717
|
};
|
|
17718
17718
|
if (returnComparator() === "Failed") {
|
|
@@ -17742,10 +17742,10 @@ const waitUntilEndpointInService = async (params, input) => {
|
|
|
17742
17742
|
const checkState$a = async (client, input) => {
|
|
17743
17743
|
let reason;
|
|
17744
17744
|
try {
|
|
17745
|
-
|
|
17745
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
17746
17746
|
reason = result;
|
|
17747
17747
|
try {
|
|
17748
|
-
|
|
17748
|
+
const returnComparator = () => {
|
|
17749
17749
|
return result.ImageStatus;
|
|
17750
17750
|
};
|
|
17751
17751
|
if (returnComparator() === "CREATED") {
|
|
@@ -17754,7 +17754,7 @@ const checkState$a = async (client, input) => {
|
|
|
17754
17754
|
}
|
|
17755
17755
|
catch (e) { }
|
|
17756
17756
|
try {
|
|
17757
|
-
|
|
17757
|
+
const returnComparator = () => {
|
|
17758
17758
|
return result.ImageStatus;
|
|
17759
17759
|
};
|
|
17760
17760
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -17784,10 +17784,10 @@ const waitUntilImageCreated = async (params, input) => {
|
|
|
17784
17784
|
const checkState$9 = async (client, input) => {
|
|
17785
17785
|
let reason;
|
|
17786
17786
|
try {
|
|
17787
|
-
|
|
17787
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
17788
17788
|
reason = result;
|
|
17789
17789
|
try {
|
|
17790
|
-
|
|
17790
|
+
const returnComparator = () => {
|
|
17791
17791
|
return result.ImageStatus;
|
|
17792
17792
|
};
|
|
17793
17793
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -17820,10 +17820,10 @@ const waitUntilImageDeleted = async (params, input) => {
|
|
|
17820
17820
|
const checkState$8 = async (client, input) => {
|
|
17821
17821
|
let reason;
|
|
17822
17822
|
try {
|
|
17823
|
-
|
|
17823
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
17824
17824
|
reason = result;
|
|
17825
17825
|
try {
|
|
17826
|
-
|
|
17826
|
+
const returnComparator = () => {
|
|
17827
17827
|
return result.ImageStatus;
|
|
17828
17828
|
};
|
|
17829
17829
|
if (returnComparator() === "CREATED") {
|
|
@@ -17832,7 +17832,7 @@ const checkState$8 = async (client, input) => {
|
|
|
17832
17832
|
}
|
|
17833
17833
|
catch (e) { }
|
|
17834
17834
|
try {
|
|
17835
|
-
|
|
17835
|
+
const returnComparator = () => {
|
|
17836
17836
|
return result.ImageStatus;
|
|
17837
17837
|
};
|
|
17838
17838
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -17862,10 +17862,10 @@ const waitUntilImageUpdated = async (params, input) => {
|
|
|
17862
17862
|
const checkState$7 = async (client, input) => {
|
|
17863
17863
|
let reason;
|
|
17864
17864
|
try {
|
|
17865
|
-
|
|
17865
|
+
let result = await client.send(new DescribeImageVersionCommand(input));
|
|
17866
17866
|
reason = result;
|
|
17867
17867
|
try {
|
|
17868
|
-
|
|
17868
|
+
const returnComparator = () => {
|
|
17869
17869
|
return result.ImageVersionStatus;
|
|
17870
17870
|
};
|
|
17871
17871
|
if (returnComparator() === "CREATED") {
|
|
@@ -17874,7 +17874,7 @@ const checkState$7 = async (client, input) => {
|
|
|
17874
17874
|
}
|
|
17875
17875
|
catch (e) { }
|
|
17876
17876
|
try {
|
|
17877
|
-
|
|
17877
|
+
const returnComparator = () => {
|
|
17878
17878
|
return result.ImageVersionStatus;
|
|
17879
17879
|
};
|
|
17880
17880
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -17904,10 +17904,10 @@ const waitUntilImageVersionCreated = async (params, input) => {
|
|
|
17904
17904
|
const checkState$6 = async (client, input) => {
|
|
17905
17905
|
let reason;
|
|
17906
17906
|
try {
|
|
17907
|
-
|
|
17907
|
+
let result = await client.send(new DescribeImageVersionCommand(input));
|
|
17908
17908
|
reason = result;
|
|
17909
17909
|
try {
|
|
17910
|
-
|
|
17910
|
+
const returnComparator = () => {
|
|
17911
17911
|
return result.ImageVersionStatus;
|
|
17912
17912
|
};
|
|
17913
17913
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -17940,10 +17940,10 @@ const waitUntilImageVersionDeleted = async (params, input) => {
|
|
|
17940
17940
|
const checkState$5 = async (client, input) => {
|
|
17941
17941
|
let reason;
|
|
17942
17942
|
try {
|
|
17943
|
-
|
|
17943
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
17944
17944
|
reason = result;
|
|
17945
17945
|
try {
|
|
17946
|
-
|
|
17946
|
+
const returnComparator = () => {
|
|
17947
17947
|
return result.NotebookInstanceStatus;
|
|
17948
17948
|
};
|
|
17949
17949
|
if (returnComparator() === "Failed") {
|
|
@@ -17973,10 +17973,10 @@ const waitUntilNotebookInstanceDeleted = async (params, input) => {
|
|
|
17973
17973
|
const checkState$4 = async (client, input) => {
|
|
17974
17974
|
let reason;
|
|
17975
17975
|
try {
|
|
17976
|
-
|
|
17976
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
17977
17977
|
reason = result;
|
|
17978
17978
|
try {
|
|
17979
|
-
|
|
17979
|
+
const returnComparator = () => {
|
|
17980
17980
|
return result.NotebookInstanceStatus;
|
|
17981
17981
|
};
|
|
17982
17982
|
if (returnComparator() === "InService") {
|
|
@@ -17985,7 +17985,7 @@ const checkState$4 = async (client, input) => {
|
|
|
17985
17985
|
}
|
|
17986
17986
|
catch (e) { }
|
|
17987
17987
|
try {
|
|
17988
|
-
|
|
17988
|
+
const returnComparator = () => {
|
|
17989
17989
|
return result.NotebookInstanceStatus;
|
|
17990
17990
|
};
|
|
17991
17991
|
if (returnComparator() === "Failed") {
|
|
@@ -18012,10 +18012,10 @@ const waitUntilNotebookInstanceInService = async (params, input) => {
|
|
|
18012
18012
|
const checkState$3 = async (client, input) => {
|
|
18013
18013
|
let reason;
|
|
18014
18014
|
try {
|
|
18015
|
-
|
|
18015
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
18016
18016
|
reason = result;
|
|
18017
18017
|
try {
|
|
18018
|
-
|
|
18018
|
+
const returnComparator = () => {
|
|
18019
18019
|
return result.NotebookInstanceStatus;
|
|
18020
18020
|
};
|
|
18021
18021
|
if (returnComparator() === "Stopped") {
|
|
@@ -18024,7 +18024,7 @@ const checkState$3 = async (client, input) => {
|
|
|
18024
18024
|
}
|
|
18025
18025
|
catch (e) { }
|
|
18026
18026
|
try {
|
|
18027
|
-
|
|
18027
|
+
const returnComparator = () => {
|
|
18028
18028
|
return result.NotebookInstanceStatus;
|
|
18029
18029
|
};
|
|
18030
18030
|
if (returnComparator() === "Failed") {
|
|
@@ -18051,10 +18051,10 @@ const waitUntilNotebookInstanceStopped = async (params, input) => {
|
|
|
18051
18051
|
const checkState$2 = async (client, input) => {
|
|
18052
18052
|
let reason;
|
|
18053
18053
|
try {
|
|
18054
|
-
|
|
18054
|
+
let result = await client.send(new DescribeProcessingJobCommand(input));
|
|
18055
18055
|
reason = result;
|
|
18056
18056
|
try {
|
|
18057
|
-
|
|
18057
|
+
const returnComparator = () => {
|
|
18058
18058
|
return result.ProcessingJobStatus;
|
|
18059
18059
|
};
|
|
18060
18060
|
if (returnComparator() === "Completed") {
|
|
@@ -18063,7 +18063,7 @@ const checkState$2 = async (client, input) => {
|
|
|
18063
18063
|
}
|
|
18064
18064
|
catch (e) { }
|
|
18065
18065
|
try {
|
|
18066
|
-
|
|
18066
|
+
const returnComparator = () => {
|
|
18067
18067
|
return result.ProcessingJobStatus;
|
|
18068
18068
|
};
|
|
18069
18069
|
if (returnComparator() === "Stopped") {
|
|
@@ -18072,7 +18072,7 @@ const checkState$2 = async (client, input) => {
|
|
|
18072
18072
|
}
|
|
18073
18073
|
catch (e) { }
|
|
18074
18074
|
try {
|
|
18075
|
-
|
|
18075
|
+
const returnComparator = () => {
|
|
18076
18076
|
return result.ProcessingJobStatus;
|
|
18077
18077
|
};
|
|
18078
18078
|
if (returnComparator() === "Failed") {
|
|
@@ -18102,10 +18102,10 @@ const waitUntilProcessingJobCompletedOrStopped = async (params, input) => {
|
|
|
18102
18102
|
const checkState$1 = async (client, input) => {
|
|
18103
18103
|
let reason;
|
|
18104
18104
|
try {
|
|
18105
|
-
|
|
18105
|
+
let result = await client.send(new DescribeTrainingJobCommand(input));
|
|
18106
18106
|
reason = result;
|
|
18107
18107
|
try {
|
|
18108
|
-
|
|
18108
|
+
const returnComparator = () => {
|
|
18109
18109
|
return result.TrainingJobStatus;
|
|
18110
18110
|
};
|
|
18111
18111
|
if (returnComparator() === "Completed") {
|
|
@@ -18114,7 +18114,7 @@ const checkState$1 = async (client, input) => {
|
|
|
18114
18114
|
}
|
|
18115
18115
|
catch (e) { }
|
|
18116
18116
|
try {
|
|
18117
|
-
|
|
18117
|
+
const returnComparator = () => {
|
|
18118
18118
|
return result.TrainingJobStatus;
|
|
18119
18119
|
};
|
|
18120
18120
|
if (returnComparator() === "Stopped") {
|
|
@@ -18123,7 +18123,7 @@ const checkState$1 = async (client, input) => {
|
|
|
18123
18123
|
}
|
|
18124
18124
|
catch (e) { }
|
|
18125
18125
|
try {
|
|
18126
|
-
|
|
18126
|
+
const returnComparator = () => {
|
|
18127
18127
|
return result.TrainingJobStatus;
|
|
18128
18128
|
};
|
|
18129
18129
|
if (returnComparator() === "Failed") {
|
|
@@ -18153,10 +18153,10 @@ const waitUntilTrainingJobCompletedOrStopped = async (params, input) => {
|
|
|
18153
18153
|
const checkState = async (client, input) => {
|
|
18154
18154
|
let reason;
|
|
18155
18155
|
try {
|
|
18156
|
-
|
|
18156
|
+
let result = await client.send(new DescribeTransformJobCommand(input));
|
|
18157
18157
|
reason = result;
|
|
18158
18158
|
try {
|
|
18159
|
-
|
|
18159
|
+
const returnComparator = () => {
|
|
18160
18160
|
return result.TransformJobStatus;
|
|
18161
18161
|
};
|
|
18162
18162
|
if (returnComparator() === "Completed") {
|
|
@@ -18165,7 +18165,7 @@ const checkState = async (client, input) => {
|
|
|
18165
18165
|
}
|
|
18166
18166
|
catch (e) { }
|
|
18167
18167
|
try {
|
|
18168
|
-
|
|
18168
|
+
const returnComparator = () => {
|
|
18169
18169
|
return result.TransformJobStatus;
|
|
18170
18170
|
};
|
|
18171
18171
|
if (returnComparator() === "Stopped") {
|
|
@@ -18174,7 +18174,7 @@ const checkState = async (client, input) => {
|
|
|
18174
18174
|
}
|
|
18175
18175
|
catch (e) { }
|
|
18176
18176
|
try {
|
|
18177
|
-
|
|
18177
|
+
const returnComparator = () => {
|
|
18178
18178
|
return result.TransformJobStatus;
|
|
18179
18179
|
};
|
|
18180
18180
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeEndpointCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.EndpointStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeEndpointCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.EndpointStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "InService") {
|
|
@@ -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.EndpointStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ImageStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATED") {
|
|
@@ -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.ImageStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ImageStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ImageStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATED") {
|
|
@@ -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.ImageStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "UPDATE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageVersionCommand } from "../commands/DescribeImageVersionCom
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageVersionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ImageVersionStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "CREATED") {
|
|
@@ -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.ImageVersionStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "CREATE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeImageVersionCommand } from "../commands/DescribeImageVersionCom
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeImageVersionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ImageVersionStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "DELETE_FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookIn
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.NotebookInstanceStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookIn
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.NotebookInstanceStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "InService") {
|
|
@@ -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.NotebookInstanceStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookIn
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeNotebookInstanceCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.NotebookInstanceStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Stopped") {
|
|
@@ -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.NotebookInstanceStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeProcessingJobCommand, } from "../commands/DescribeProcessingJob
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeProcessingJobCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.ProcessingJobStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -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.ProcessingJobStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Stopped") {
|
|
@@ -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.ProcessingJobStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeTrainingJobCommand } from "../commands/DescribeTrainingJobComma
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeTrainingJobCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.TrainingJobStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -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.TrainingJobStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Stopped") {
|
|
@@ -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.TrainingJobStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -3,10 +3,10 @@ import { DescribeTransformJobCommand } from "../commands/DescribeTransformJobCom
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeTransformJobCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.TransformJobStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -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.TransformJobStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Stopped") {
|
|
@@ -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.TransformJobStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker 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-sagemaker",
|
|
@@ -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",
|