@aws-sdk/client-batch 3.1113.0 → 3.1114.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 +29 -14
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +21 -13
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +3 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +52 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1113.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -303,7 +303,8 @@ const _EPPD = "EksPodPropertiesDetail";
|
|
|
303
303
|
const _EPPO = "EksPodPropertiesOverride";
|
|
304
304
|
const _EPVC = "EksPersistentVolumeClaim";
|
|
305
305
|
const _EPk = "EksProperties";
|
|
306
|
-
const _ES = "
|
|
306
|
+
const _ES = "EcsSettings";
|
|
307
|
+
const _ESk = "EksSecret";
|
|
307
308
|
const _ESp = "EphemeralStorage";
|
|
308
309
|
const _ETD = "EcsTaskDetails";
|
|
309
310
|
const _ETP = "EcsTaskProperties";
|
|
@@ -536,6 +537,7 @@ const _cEA = "computeEnvironmentArn";
|
|
|
536
537
|
const _cEN = "computeEnvironmentName";
|
|
537
538
|
const _cEO = "computeEnvironmentOrder";
|
|
538
539
|
const _cEo = "computeEnvironments";
|
|
540
|
+
const _cI = "containerInsights";
|
|
539
541
|
const _cIA = "containerInstanceArn";
|
|
540
542
|
const _cID = "containerID";
|
|
541
543
|
const _cL = "capacityLimits";
|
|
@@ -583,7 +585,8 @@ const _ePO = "ecsPropertiesOverride";
|
|
|
583
585
|
const _ePOk = "eksPropertiesOverride";
|
|
584
586
|
const _ePk = "eksProperties";
|
|
585
587
|
const _eRA = "executionRoleArn";
|
|
586
|
-
const _eS = "
|
|
588
|
+
const _eS = "ecsSettings";
|
|
589
|
+
const _eSp = "ephemeralStorage";
|
|
587
590
|
const _eTAP = "earliestTimeAtPosition";
|
|
588
591
|
const _eVC = "efsVolumeConfiguration";
|
|
589
592
|
const _en = "environment";
|
|
@@ -896,8 +899,8 @@ var CapacityLimit$ = [3, n0, _CL,
|
|
|
896
899
|
];
|
|
897
900
|
var ComputeEnvironmentDetail$ = [3, n0, _CED,
|
|
898
901
|
0,
|
|
899
|
-
[_cEN, _cEA, _uC, _eCA, _t, _ty, _st, _sta, _sR, _cR, _sRe, _uP, _eCk, _cOT, _u, _cont],
|
|
900
|
-
[0, 0, 1, 0, 128 | 0, 0, 0, 0, 0, () => ComputeResource$, 0, () => UpdatePolicy$, () => EksConfiguration$, 0, 0, 0], 2
|
|
902
|
+
[_cEN, _cEA, _uC, _eCA, _t, _ty, _st, _sta, _sR, _cR, _sRe, _uP, _eCk, _cOT, _u, _cont, _eS],
|
|
903
|
+
[0, 0, 1, 0, 128 | 0, 0, 0, 0, 0, () => ComputeResource$, 0, () => UpdatePolicy$, () => EksConfiguration$, 0, 0, 0, () => EcsSettings$], 2
|
|
901
904
|
];
|
|
902
905
|
var ComputeEnvironmentOrder$ = [3, n0, _CEO,
|
|
903
906
|
0,
|
|
@@ -936,7 +939,7 @@ var ConsumableResourceSummary$ = [3, n0, _CRS,
|
|
|
936
939
|
];
|
|
937
940
|
var ContainerDetail$ = [3, n0, _CD,
|
|
938
941
|
0,
|
|
939
|
-
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _ul, _p, _us, _eC, _r, _cIA, _tA, _lSN, _iTn, _nI, _rR, _lP, _lC, _sec, _nC, _fPC,
|
|
942
|
+
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _ul, _p, _us, _eC, _r, _cIA, _tA, _lSN, _iTn, _nI, _rR, _lP, _lC, _sec, _nC, _fPC, _eSp, _rP, _rC, _eEC],
|
|
940
943
|
[0, 1, 1, 64 | 0, 0, 0, () => Volumes, () => EnvironmentVariables, () => MountPoints, 2, () => Ulimits, 2, 0, 1, 0, 0, 0, 0, 0, () => NetworkInterfaceList, () => ResourceRequirements, () => LinuxParameters$, () => LogConfiguration$, () => SecretList, () => NetworkConfiguration$, () => FargatePlatformConfiguration$, () => EphemeralStorage$, () => RuntimePlatform$, () => RepositoryCredentials$, 2]
|
|
941
944
|
];
|
|
942
945
|
var ContainerOverrides$ = [3, n0, _CO,
|
|
@@ -946,7 +949,7 @@ var ContainerOverrides$ = [3, n0, _CO,
|
|
|
946
949
|
];
|
|
947
950
|
var ContainerProperties$ = [3, n0, _CP,
|
|
948
951
|
0,
|
|
949
|
-
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _p, _ul, _us, _iTn, _rR, _lP, _lC, _sec, _nC, _fPC, _eEC,
|
|
952
|
+
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _p, _ul, _us, _iTn, _rR, _lP, _lC, _sec, _nC, _fPC, _eEC, _eSp, _rP, _rC],
|
|
950
953
|
[0, 1, 1, 64 | 0, 0, 0, () => Volumes, () => EnvironmentVariables, () => MountPoints, 2, 2, () => Ulimits, 0, 0, () => ResourceRequirements, () => LinuxParameters$, () => LogConfiguration$, () => SecretList, () => NetworkConfiguration$, () => FargatePlatformConfiguration$, 2, () => EphemeralStorage$, () => RuntimePlatform$, () => RepositoryCredentials$]
|
|
951
954
|
];
|
|
952
955
|
var ContainerSummary$ = [3, n0, _CS,
|
|
@@ -956,8 +959,8 @@ var ContainerSummary$ = [3, n0, _CS,
|
|
|
956
959
|
];
|
|
957
960
|
var CreateComputeEnvironmentRequest$ = [3, n0, _CCER,
|
|
958
961
|
0,
|
|
959
|
-
[_cEN, _ty, _st, _uC, _cR, _sRe, _t, _eCk, _cont],
|
|
960
|
-
[0, 0, 0, 1, () => ComputeResource$, 0, 128 | 0, () => EksConfiguration$, 0], 2
|
|
962
|
+
[_cEN, _ty, _st, _uC, _cR, _sRe, _t, _eCk, _cont, _eS],
|
|
963
|
+
[0, 0, 0, 1, () => ComputeResource$, 0, 128 | 0, () => EksConfiguration$, 0, () => EcsSettings$], 2
|
|
961
964
|
];
|
|
962
965
|
var CreateComputeEnvironmentResponse$ = [3, n0, _CCERr,
|
|
963
966
|
0,
|
|
@@ -1199,14 +1202,19 @@ var EcsPropertiesOverride$ = [3, n0, _EPO,
|
|
|
1199
1202
|
[_tP],
|
|
1200
1203
|
[() => ListTaskPropertiesOverride]
|
|
1201
1204
|
];
|
|
1205
|
+
var EcsSettings$ = [3, n0, _ES,
|
|
1206
|
+
0,
|
|
1207
|
+
[_cI],
|
|
1208
|
+
[0]
|
|
1209
|
+
];
|
|
1202
1210
|
var EcsTaskDetails$ = [3, n0, _ETD,
|
|
1203
1211
|
0,
|
|
1204
|
-
[_con, _cIA, _tA,
|
|
1212
|
+
[_con, _cIA, _tA, _eSp, _eRA, _pV, _iM, _tRA, _pM, _nC, _rP, _vo, _eEC],
|
|
1205
1213
|
[() => ListTaskContainerDetails, 0, 0, () => EphemeralStorage$, 0, 0, 0, 0, 0, () => NetworkConfiguration$, () => RuntimePlatform$, () => Volumes, 2]
|
|
1206
1214
|
];
|
|
1207
1215
|
var EcsTaskProperties$ = [3, n0, _ETP,
|
|
1208
1216
|
0,
|
|
1209
|
-
[_con,
|
|
1217
|
+
[_con, _eSp, _eRA, _pV, _iM, _tRA, _pM, _nC, _rP, _vo, _eEC],
|
|
1210
1218
|
[() => ListTaskContainerProperties, () => EphemeralStorage$, 0, 0, 0, 0, 0, () => NetworkConfiguration$, () => RuntimePlatform$, () => Volumes, 2], 1
|
|
1211
1219
|
];
|
|
1212
1220
|
var EFSAuthorizationConfig$ = [3, n0, _EFSAC,
|
|
@@ -1319,7 +1327,7 @@ var EksPropertiesOverride$ = [3, n0, _EPOk,
|
|
|
1319
1327
|
[_pP],
|
|
1320
1328
|
[() => EksPodPropertiesOverride$]
|
|
1321
1329
|
];
|
|
1322
|
-
var EksSecret$ = [3, n0,
|
|
1330
|
+
var EksSecret$ = [3, n0, _ESk,
|
|
1323
1331
|
0,
|
|
1324
1332
|
[_sN, _op],
|
|
1325
1333
|
[0, 2], 1
|
|
@@ -1871,8 +1879,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
1871
1879
|
];
|
|
1872
1880
|
var UpdateComputeEnvironmentRequest$ = [3, n0, _UCER,
|
|
1873
1881
|
0,
|
|
1874
|
-
[_cE, _st, _uC, _cR, _sRe, _uP, _cont],
|
|
1875
|
-
[0, 0, 1, () => ComputeResourceUpdate$, 0, () => UpdatePolicy$, 0], 1
|
|
1882
|
+
[_cE, _st, _uC, _cR, _sRe, _uP, _cont, _eS],
|
|
1883
|
+
[0, 0, 1, () => ComputeResourceUpdate$, 0, () => UpdatePolicy$, 0, () => EcsSettings$], 1
|
|
1876
1884
|
];
|
|
1877
1885
|
var UpdateComputeEnvironmentResponse$ = [3, n0, _UCERp,
|
|
1878
1886
|
0,
|
|
@@ -2690,6 +2698,11 @@ const CRType = {
|
|
|
2690
2698
|
FARGATE_SPOT: "FARGATE_SPOT",
|
|
2691
2699
|
SPOT: "SPOT",
|
|
2692
2700
|
};
|
|
2701
|
+
const ContainerInsights = {
|
|
2702
|
+
DISABLED: "DISABLED",
|
|
2703
|
+
ENABLED: "ENABLED",
|
|
2704
|
+
ENHANCED: "ENHANCED",
|
|
2705
|
+
};
|
|
2693
2706
|
const CEState = {
|
|
2694
2707
|
DISABLED: "DISABLED",
|
|
2695
2708
|
ENABLED: "ENABLED",
|
|
@@ -2889,6 +2902,7 @@ exports.ConsumableResourceProperties$ = ConsumableResourceProperties$;
|
|
|
2889
2902
|
exports.ConsumableResourceRequirement$ = ConsumableResourceRequirement$;
|
|
2890
2903
|
exports.ConsumableResourceSummary$ = ConsumableResourceSummary$;
|
|
2891
2904
|
exports.ContainerDetail$ = ContainerDetail$;
|
|
2905
|
+
exports.ContainerInsights = ContainerInsights;
|
|
2892
2906
|
exports.ContainerOverrides$ = ContainerOverrides$;
|
|
2893
2907
|
exports.ContainerProperties$ = ContainerProperties$;
|
|
2894
2908
|
exports.ContainerSummary$ = ContainerSummary$;
|
|
@@ -2990,6 +3004,7 @@ exports.Ec2Configuration$ = Ec2Configuration$;
|
|
|
2990
3004
|
exports.EcsProperties$ = EcsProperties$;
|
|
2991
3005
|
exports.EcsPropertiesDetail$ = EcsPropertiesDetail$;
|
|
2992
3006
|
exports.EcsPropertiesOverride$ = EcsPropertiesOverride$;
|
|
3007
|
+
exports.EcsSettings$ = EcsSettings$;
|
|
2993
3008
|
exports.EcsTaskDetails$ = EcsTaskDetails$;
|
|
2994
3009
|
exports.EcsTaskProperties$ = EcsTaskProperties$;
|
|
2995
3010
|
exports.EksAttemptContainerDetail$ = EksAttemptContainerDetail$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -24,6 +24,11 @@ export const CRType = {
|
|
|
24
24
|
FARGATE_SPOT: "FARGATE_SPOT",
|
|
25
25
|
SPOT: "SPOT",
|
|
26
26
|
};
|
|
27
|
+
export const ContainerInsights = {
|
|
28
|
+
DISABLED: "DISABLED",
|
|
29
|
+
ENABLED: "ENABLED",
|
|
30
|
+
ENHANCED: "ENHANCED",
|
|
31
|
+
};
|
|
27
32
|
export const CEState = {
|
|
28
33
|
DISABLED: "DISABLED",
|
|
29
34
|
ENABLED: "ENABLED",
|
|
@@ -132,7 +132,8 @@ const _EPPD = "EksPodPropertiesDetail";
|
|
|
132
132
|
const _EPPO = "EksPodPropertiesOverride";
|
|
133
133
|
const _EPVC = "EksPersistentVolumeClaim";
|
|
134
134
|
const _EPk = "EksProperties";
|
|
135
|
-
const _ES = "
|
|
135
|
+
const _ES = "EcsSettings";
|
|
136
|
+
const _ESk = "EksSecret";
|
|
136
137
|
const _ESp = "EphemeralStorage";
|
|
137
138
|
const _ETD = "EcsTaskDetails";
|
|
138
139
|
const _ETP = "EcsTaskProperties";
|
|
@@ -365,6 +366,7 @@ const _cEA = "computeEnvironmentArn";
|
|
|
365
366
|
const _cEN = "computeEnvironmentName";
|
|
366
367
|
const _cEO = "computeEnvironmentOrder";
|
|
367
368
|
const _cEo = "computeEnvironments";
|
|
369
|
+
const _cI = "containerInsights";
|
|
368
370
|
const _cIA = "containerInstanceArn";
|
|
369
371
|
const _cID = "containerID";
|
|
370
372
|
const _cL = "capacityLimits";
|
|
@@ -412,7 +414,8 @@ const _ePO = "ecsPropertiesOverride";
|
|
|
412
414
|
const _ePOk = "eksPropertiesOverride";
|
|
413
415
|
const _ePk = "eksProperties";
|
|
414
416
|
const _eRA = "executionRoleArn";
|
|
415
|
-
const _eS = "
|
|
417
|
+
const _eS = "ecsSettings";
|
|
418
|
+
const _eSp = "ephemeralStorage";
|
|
416
419
|
const _eTAP = "earliestTimeAtPosition";
|
|
417
420
|
const _eVC = "efsVolumeConfiguration";
|
|
418
421
|
const _en = "environment";
|
|
@@ -728,8 +731,8 @@ export var CapacityLimit$ = [3, n0, _CL,
|
|
|
728
731
|
];
|
|
729
732
|
export var ComputeEnvironmentDetail$ = [3, n0, _CED,
|
|
730
733
|
0,
|
|
731
|
-
[_cEN, _cEA, _uC, _eCA, _t, _ty, _st, _sta, _sR, _cR, _sRe, _uP, _eCk, _cOT, _u, _cont],
|
|
732
|
-
[0, 0, 1, 0, 128 | 0, 0, 0, 0, 0, () => ComputeResource$, 0, () => UpdatePolicy$, () => EksConfiguration$, 0, 0, 0], 2
|
|
734
|
+
[_cEN, _cEA, _uC, _eCA, _t, _ty, _st, _sta, _sR, _cR, _sRe, _uP, _eCk, _cOT, _u, _cont, _eS],
|
|
735
|
+
[0, 0, 1, 0, 128 | 0, 0, 0, 0, 0, () => ComputeResource$, 0, () => UpdatePolicy$, () => EksConfiguration$, 0, 0, 0, () => EcsSettings$], 2
|
|
733
736
|
];
|
|
734
737
|
export var ComputeEnvironmentOrder$ = [3, n0, _CEO,
|
|
735
738
|
0,
|
|
@@ -768,7 +771,7 @@ export var ConsumableResourceSummary$ = [3, n0, _CRS,
|
|
|
768
771
|
];
|
|
769
772
|
export var ContainerDetail$ = [3, n0, _CD,
|
|
770
773
|
0,
|
|
771
|
-
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _ul, _p, _us, _eC, _r, _cIA, _tA, _lSN, _iTn, _nI, _rR, _lP, _lC, _sec, _nC, _fPC,
|
|
774
|
+
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _ul, _p, _us, _eC, _r, _cIA, _tA, _lSN, _iTn, _nI, _rR, _lP, _lC, _sec, _nC, _fPC, _eSp, _rP, _rC, _eEC],
|
|
772
775
|
[0, 1, 1, 64 | 0, 0, 0, () => Volumes, () => EnvironmentVariables, () => MountPoints, 2, () => Ulimits, 2, 0, 1, 0, 0, 0, 0, 0, () => NetworkInterfaceList, () => ResourceRequirements, () => LinuxParameters$, () => LogConfiguration$, () => SecretList, () => NetworkConfiguration$, () => FargatePlatformConfiguration$, () => EphemeralStorage$, () => RuntimePlatform$, () => RepositoryCredentials$, 2]
|
|
773
776
|
];
|
|
774
777
|
export var ContainerOverrides$ = [3, n0, _CO,
|
|
@@ -778,7 +781,7 @@ export var ContainerOverrides$ = [3, n0, _CO,
|
|
|
778
781
|
];
|
|
779
782
|
export var ContainerProperties$ = [3, n0, _CP,
|
|
780
783
|
0,
|
|
781
|
-
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _p, _ul, _us, _iTn, _rR, _lP, _lC, _sec, _nC, _fPC, _eEC,
|
|
784
|
+
[_im, _v, _me, _com, _jRA, _eRA, _vo, _en, _mP, _rRF, _p, _ul, _us, _iTn, _rR, _lP, _lC, _sec, _nC, _fPC, _eEC, _eSp, _rP, _rC],
|
|
782
785
|
[0, 1, 1, 64 | 0, 0, 0, () => Volumes, () => EnvironmentVariables, () => MountPoints, 2, 2, () => Ulimits, 0, 0, () => ResourceRequirements, () => LinuxParameters$, () => LogConfiguration$, () => SecretList, () => NetworkConfiguration$, () => FargatePlatformConfiguration$, 2, () => EphemeralStorage$, () => RuntimePlatform$, () => RepositoryCredentials$]
|
|
783
786
|
];
|
|
784
787
|
export var ContainerSummary$ = [3, n0, _CS,
|
|
@@ -788,8 +791,8 @@ export var ContainerSummary$ = [3, n0, _CS,
|
|
|
788
791
|
];
|
|
789
792
|
export var CreateComputeEnvironmentRequest$ = [3, n0, _CCER,
|
|
790
793
|
0,
|
|
791
|
-
[_cEN, _ty, _st, _uC, _cR, _sRe, _t, _eCk, _cont],
|
|
792
|
-
[0, 0, 0, 1, () => ComputeResource$, 0, 128 | 0, () => EksConfiguration$, 0], 2
|
|
794
|
+
[_cEN, _ty, _st, _uC, _cR, _sRe, _t, _eCk, _cont, _eS],
|
|
795
|
+
[0, 0, 0, 1, () => ComputeResource$, 0, 128 | 0, () => EksConfiguration$, 0, () => EcsSettings$], 2
|
|
793
796
|
];
|
|
794
797
|
export var CreateComputeEnvironmentResponse$ = [3, n0, _CCERr,
|
|
795
798
|
0,
|
|
@@ -1031,14 +1034,19 @@ export var EcsPropertiesOverride$ = [3, n0, _EPO,
|
|
|
1031
1034
|
[_tP],
|
|
1032
1035
|
[() => ListTaskPropertiesOverride]
|
|
1033
1036
|
];
|
|
1037
|
+
export var EcsSettings$ = [3, n0, _ES,
|
|
1038
|
+
0,
|
|
1039
|
+
[_cI],
|
|
1040
|
+
[0]
|
|
1041
|
+
];
|
|
1034
1042
|
export var EcsTaskDetails$ = [3, n0, _ETD,
|
|
1035
1043
|
0,
|
|
1036
|
-
[_con, _cIA, _tA,
|
|
1044
|
+
[_con, _cIA, _tA, _eSp, _eRA, _pV, _iM, _tRA, _pM, _nC, _rP, _vo, _eEC],
|
|
1037
1045
|
[() => ListTaskContainerDetails, 0, 0, () => EphemeralStorage$, 0, 0, 0, 0, 0, () => NetworkConfiguration$, () => RuntimePlatform$, () => Volumes, 2]
|
|
1038
1046
|
];
|
|
1039
1047
|
export var EcsTaskProperties$ = [3, n0, _ETP,
|
|
1040
1048
|
0,
|
|
1041
|
-
[_con,
|
|
1049
|
+
[_con, _eSp, _eRA, _pV, _iM, _tRA, _pM, _nC, _rP, _vo, _eEC],
|
|
1042
1050
|
[() => ListTaskContainerProperties, () => EphemeralStorage$, 0, 0, 0, 0, 0, () => NetworkConfiguration$, () => RuntimePlatform$, () => Volumes, 2], 1
|
|
1043
1051
|
];
|
|
1044
1052
|
export var EFSAuthorizationConfig$ = [3, n0, _EFSAC,
|
|
@@ -1151,7 +1159,7 @@ export var EksPropertiesOverride$ = [3, n0, _EPOk,
|
|
|
1151
1159
|
[_pP],
|
|
1152
1160
|
[() => EksPodPropertiesOverride$]
|
|
1153
1161
|
];
|
|
1154
|
-
export var EksSecret$ = [3, n0,
|
|
1162
|
+
export var EksSecret$ = [3, n0, _ESk,
|
|
1155
1163
|
0,
|
|
1156
1164
|
[_sN, _op],
|
|
1157
1165
|
[0, 2], 1
|
|
@@ -1703,8 +1711,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
1703
1711
|
];
|
|
1704
1712
|
export var UpdateComputeEnvironmentRequest$ = [3, n0, _UCER,
|
|
1705
1713
|
0,
|
|
1706
|
-
[_cE, _st, _uC, _cR, _sRe, _uP, _cont],
|
|
1707
|
-
[0, 0, 1, () => ComputeResourceUpdate$, 0, () => UpdatePolicy$, 0], 1
|
|
1714
|
+
[_cE, _st, _uC, _cR, _sRe, _uP, _cont, _eS],
|
|
1715
|
+
[0, 0, 1, () => ComputeResourceUpdate$, 0, () => UpdatePolicy$, 0, () => EcsSettings$], 1
|
|
1708
1716
|
];
|
|
1709
1717
|
export var UpdateComputeEnvironmentResponse$ = [3, n0, _UCERp,
|
|
1710
1718
|
0,
|
|
@@ -124,6 +124,9 @@ declare const CreateComputeEnvironmentCommand_base: {
|
|
|
124
124
|
* kubernetesNamespace: "STRING_VALUE", // required
|
|
125
125
|
* },
|
|
126
126
|
* context: "STRING_VALUE",
|
|
127
|
+
* ecsSettings: { // EcsSettings
|
|
128
|
+
* containerInsights: "ENABLED" || "ENHANCED" || "DISABLED",
|
|
129
|
+
* },
|
|
127
130
|
* };
|
|
128
131
|
* const command = new CreateComputeEnvironmentCommand(input);
|
|
129
132
|
* const response = await client.send(command);
|
|
@@ -124,6 +124,9 @@ declare const DescribeComputeEnvironmentsCommand_base: {
|
|
|
124
124
|
* // containerOrchestrationType: "ECS" || "EKS",
|
|
125
125
|
* // uuid: "STRING_VALUE",
|
|
126
126
|
* // context: "STRING_VALUE",
|
|
127
|
+
* // ecsSettings: { // EcsSettings
|
|
128
|
+
* // containerInsights: "ENABLED" || "ENHANCED" || "DISABLED",
|
|
129
|
+
* // },
|
|
127
130
|
* // },
|
|
128
131
|
* // ],
|
|
129
132
|
* // nextToken: "STRING_VALUE",
|
|
@@ -96,6 +96,9 @@ declare const UpdateComputeEnvironmentCommand_base: {
|
|
|
96
96
|
* jobExecutionTimeoutMinutes: Number("long"),
|
|
97
97
|
* },
|
|
98
98
|
* context: "STRING_VALUE",
|
|
99
|
+
* ecsSettings: { // EcsSettings
|
|
100
|
+
* containerInsights: "ENABLED" || "ENHANCED" || "DISABLED",
|
|
101
|
+
* },
|
|
99
102
|
* };
|
|
100
103
|
* const command = new UpdateComputeEnvironmentCommand(input);
|
|
101
104
|
* const response = await client.send(command);
|
|
@@ -64,6 +64,19 @@ export declare const CRType: {
|
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
66
|
export type CRType = (typeof CRType)[keyof typeof CRType];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const ContainerInsights: {
|
|
72
|
+
readonly DISABLED: "DISABLED";
|
|
73
|
+
readonly ENABLED: "ENABLED";
|
|
74
|
+
readonly ENHANCED: "ENHANCED";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export type ContainerInsights = (typeof ContainerInsights)[keyof typeof ContainerInsights];
|
|
67
80
|
/**
|
|
68
81
|
* @public
|
|
69
82
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArrayJobDependency, AssignPublicIp, CEState, CEStatus, CEType, CRAllocationStrategy, CRType, CRUpdateAllocationStrategy, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, FirelensConfigurationType, JobDefinitionType, JobQueueType, JobStateTimeLimitActionsAction, JobStateTimeLimitActionsState, JobStatus, JQState, JQStatus, LogDriver, OrchestrationType, PlatformCapability, QuotaShareIdleResourceAssignmentStrategy, QuotaShareInSharePreemptionState, QuotaShareResourceSharingStrategy, QuotaShareState, QuotaShareStatus, ResourceType, RetryAction, ServiceEnvironmentState, ServiceEnvironmentStatus, ServiceEnvironmentType, ServiceJobRetryAction, ServiceJobStatus, ServiceJobType, ServiceResourceIdName, UserdataType } from "./enums";
|
|
1
|
+
import type { ArrayJobDependency, AssignPublicIp, CEState, CEStatus, CEType, ContainerInsights, CRAllocationStrategy, CRType, CRUpdateAllocationStrategy, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, FirelensConfigurationType, JobDefinitionType, JobQueueType, JobStateTimeLimitActionsAction, JobStateTimeLimitActionsState, JobStatus, JQState, JQStatus, LogDriver, OrchestrationType, PlatformCapability, QuotaShareIdleResourceAssignmentStrategy, QuotaShareInSharePreemptionState, QuotaShareResourceSharingStrategy, QuotaShareState, QuotaShareStatus, ResourceType, RetryAction, ServiceEnvironmentState, ServiceEnvironmentStatus, ServiceEnvironmentType, ServiceJobRetryAction, ServiceJobStatus, ServiceJobType, ServiceResourceIdName, UserdataType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>An object that represents an Batch array job.</p>
|
|
4
4
|
* @public
|
|
@@ -959,6 +959,39 @@ export interface ComputeResource {
|
|
|
959
959
|
*/
|
|
960
960
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
961
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
* <p>The Amazon ECS settings for a compute environment, including the CloudWatch Container Insights
|
|
964
|
+
* mode. Use this structure with <code>CreateComputeEnvironment</code> and
|
|
965
|
+
* <code>UpdateComputeEnvironment</code>.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
export interface EcsSettings {
|
|
969
|
+
/**
|
|
970
|
+
* <p>Specifies the CloudWatch Container Insights mode for the compute environment. Valid values
|
|
971
|
+
* are:</p>
|
|
972
|
+
* <dl>
|
|
973
|
+
* <dt>ENABLED</dt>
|
|
974
|
+
* <dd>
|
|
975
|
+
* <p>Turns on standard Container Insights, which collects CPU, memory, disk, and network
|
|
976
|
+
* utilization metrics for the compute environment.</p>
|
|
977
|
+
* </dd>
|
|
978
|
+
* <dt>ENHANCED</dt>
|
|
979
|
+
* <dd>
|
|
980
|
+
* <p>Turns on enhanced Container Insights, which collects the standard metrics along with
|
|
981
|
+
* additional per-task observability metrics.</p>
|
|
982
|
+
* </dd>
|
|
983
|
+
* <dt>DISABLED</dt>
|
|
984
|
+
* <dd>
|
|
985
|
+
* <p>Turns off Container Insights for the compute environment.</p>
|
|
986
|
+
* </dd>
|
|
987
|
+
* </dl>
|
|
988
|
+
* <p>If you don't specify a value, the default is <code>DISABLED</code>. For more information,
|
|
989
|
+
* see <a href="https://docs.aws.amazon.com/batch/latest/userguide/cloudwatch-container-insights.html">Container Insights</a> in the
|
|
990
|
+
* <i>Batch User Guide</i>.</p>
|
|
991
|
+
* @public
|
|
992
|
+
*/
|
|
993
|
+
containerInsights?: ContainerInsights | undefined;
|
|
994
|
+
}
|
|
962
995
|
/**
|
|
963
996
|
* <p>Configuration for the Amazon EKS cluster that supports the Batch compute environment. The
|
|
964
997
|
* cluster must exist before the compute environment can be created.</p>
|
|
@@ -1095,6 +1128,12 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
1095
1128
|
* @public
|
|
1096
1129
|
*/
|
|
1097
1130
|
context?: string | undefined;
|
|
1131
|
+
/**
|
|
1132
|
+
* <p>The Amazon ECS settings for the compute environment. These settings control CloudWatch
|
|
1133
|
+
* Container Insights collection for the compute environment.</p>
|
|
1134
|
+
* @public
|
|
1135
|
+
*/
|
|
1136
|
+
ecsSettings?: EcsSettings | undefined;
|
|
1098
1137
|
}
|
|
1099
1138
|
/**
|
|
1100
1139
|
* @public
|
|
@@ -1935,6 +1974,12 @@ export interface ComputeEnvironmentDetail {
|
|
|
1935
1974
|
* @public
|
|
1936
1975
|
*/
|
|
1937
1976
|
context?: string | undefined;
|
|
1977
|
+
/**
|
|
1978
|
+
* <p>The Amazon ECS settings for the compute environment. These settings control CloudWatch
|
|
1979
|
+
* Container Insights collection.</p>
|
|
1980
|
+
* @public
|
|
1981
|
+
*/
|
|
1982
|
+
ecsSettings?: EcsSettings | undefined;
|
|
1938
1983
|
}
|
|
1939
1984
|
/**
|
|
1940
1985
|
* @public
|
|
@@ -8833,6 +8878,12 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
8833
8878
|
* @public
|
|
8834
8879
|
*/
|
|
8835
8880
|
context?: string | undefined;
|
|
8881
|
+
/**
|
|
8882
|
+
* <p>The Amazon ECS settings for the compute environment. These settings control CloudWatch
|
|
8883
|
+
* Container Insights collection for the compute environment.</p>
|
|
8884
|
+
* @public
|
|
8885
|
+
*/
|
|
8886
|
+
ecsSettings?: EcsSettings | undefined;
|
|
8836
8887
|
}
|
|
8837
8888
|
/**
|
|
8838
8889
|
* @public
|
|
@@ -80,6 +80,7 @@ export declare var Ec2Configuration$: StaticStructureSchema;
|
|
|
80
80
|
export declare var EcsProperties$: StaticStructureSchema;
|
|
81
81
|
export declare var EcsPropertiesDetail$: StaticStructureSchema;
|
|
82
82
|
export declare var EcsPropertiesOverride$: StaticStructureSchema;
|
|
83
|
+
export declare var EcsSettings$: StaticStructureSchema;
|
|
83
84
|
export declare var EcsTaskDetails$: StaticStructureSchema;
|
|
84
85
|
export declare var EcsTaskProperties$: StaticStructureSchema;
|
|
85
86
|
export declare var EFSAuthorizationConfig$: StaticStructureSchema;
|
|
@@ -29,6 +29,12 @@ export declare const CRType: {
|
|
|
29
29
|
readonly SPOT: "SPOT";
|
|
30
30
|
};
|
|
31
31
|
export type CRType = (typeof CRType)[keyof typeof CRType];
|
|
32
|
+
export declare const ContainerInsights: {
|
|
33
|
+
readonly DISABLED: "DISABLED";
|
|
34
|
+
readonly ENABLED: "ENABLED";
|
|
35
|
+
readonly ENHANCED: "ENHANCED";
|
|
36
|
+
};
|
|
37
|
+
export type ContainerInsights = (typeof ContainerInsights)[keyof typeof ContainerInsights];
|
|
32
38
|
export declare const CEState: {
|
|
33
39
|
readonly DISABLED: "DISABLED";
|
|
34
40
|
readonly ENABLED: "ENABLED";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
CEState,
|
|
5
5
|
CEStatus,
|
|
6
6
|
CEType,
|
|
7
|
+
ContainerInsights,
|
|
7
8
|
CRAllocationStrategy,
|
|
8
9
|
CRType,
|
|
9
10
|
CRUpdateAllocationStrategy,
|
|
@@ -132,6 +133,9 @@ export interface ComputeResource {
|
|
|
132
133
|
ec2Configuration?: Ec2Configuration[] | undefined;
|
|
133
134
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
134
135
|
}
|
|
136
|
+
export interface EcsSettings {
|
|
137
|
+
containerInsights?: ContainerInsights | undefined;
|
|
138
|
+
}
|
|
135
139
|
export interface EksConfiguration {
|
|
136
140
|
eksClusterArn: string | undefined;
|
|
137
141
|
kubernetesNamespace: string | undefined;
|
|
@@ -146,6 +150,7 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
146
150
|
tags?: Record<string, string> | undefined;
|
|
147
151
|
eksConfiguration?: EksConfiguration | undefined;
|
|
148
152
|
context?: string | undefined;
|
|
153
|
+
ecsSettings?: EcsSettings | undefined;
|
|
149
154
|
}
|
|
150
155
|
export interface CreateComputeEnvironmentResponse {
|
|
151
156
|
computeEnvironmentName?: string | undefined;
|
|
@@ -305,6 +310,7 @@ export interface ComputeEnvironmentDetail {
|
|
|
305
310
|
containerOrchestrationType?: OrchestrationType | undefined;
|
|
306
311
|
uuid?: string | undefined;
|
|
307
312
|
context?: string | undefined;
|
|
313
|
+
ecsSettings?: EcsSettings | undefined;
|
|
308
314
|
}
|
|
309
315
|
export interface DescribeComputeEnvironmentsResponse {
|
|
310
316
|
computeEnvironments?: ComputeEnvironmentDetail[] | undefined;
|
|
@@ -1297,6 +1303,7 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
1297
1303
|
serviceRole?: string | undefined;
|
|
1298
1304
|
updatePolicy?: UpdatePolicy | undefined;
|
|
1299
1305
|
context?: string | undefined;
|
|
1306
|
+
ecsSettings?: EcsSettings | undefined;
|
|
1300
1307
|
}
|
|
1301
1308
|
export interface UpdateComputeEnvironmentResponse {
|
|
1302
1309
|
computeEnvironmentName?: string | undefined;
|
|
@@ -75,6 +75,7 @@ export declare var Ec2Configuration$: StaticStructureSchema;
|
|
|
75
75
|
export declare var EcsProperties$: StaticStructureSchema;
|
|
76
76
|
export declare var EcsPropertiesDetail$: StaticStructureSchema;
|
|
77
77
|
export declare var EcsPropertiesOverride$: StaticStructureSchema;
|
|
78
|
+
export declare var EcsSettings$: StaticStructureSchema;
|
|
78
79
|
export declare var EcsTaskDetails$: StaticStructureSchema;
|
|
79
80
|
export declare var EcsTaskProperties$: StaticStructureSchema;
|
|
80
81
|
export declare var EFSAuthorizationConfig$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1114.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-batch",
|
|
6
6
|
"license": "Apache-2.0",
|