@aws-sdk/client-batch 3.301.0 → 3.303.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/models/models_0.js +103 -123
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/models/models_0.js +103 -123
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/models/models_0.d.ts +233 -105
- package/dist-types/ts3.4/models/models_0.d.ts +134 -103
- package/package.json +34 -34
|
@@ -2,16 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CRUpdateAllocationStrategy = exports.JobDefinitionType = exports.JobStatus = exports.JQStatus = exports.RetryAction = exports.PlatformCapability = exports.EFSTransitEncryption = exports.EFSAuthorizationConfigIAM = exports.ResourceType = exports.LogDriver = exports.DeviceCgroupPermission = exports.CEStatus = exports.OrchestrationType = exports.JQState = exports.CEType = exports.CEState = exports.CRType = exports.CRAllocationStrategy = exports.ServerException = exports.ClientException = exports.AssignPublicIp = exports.ArrayJobDependency = void 0;
|
|
4
4
|
const BatchServiceException_1 = require("./BatchServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
AssignPublicIp["ENABLED"] = "ENABLED";
|
|
14
|
-
})(AssignPublicIp = exports.AssignPublicIp || (exports.AssignPublicIp = {}));
|
|
5
|
+
exports.ArrayJobDependency = {
|
|
6
|
+
N_TO_N: "N_TO_N",
|
|
7
|
+
SEQUENTIAL: "SEQUENTIAL",
|
|
8
|
+
};
|
|
9
|
+
exports.AssignPublicIp = {
|
|
10
|
+
DISABLED: "DISABLED",
|
|
11
|
+
ENABLED: "ENABLED",
|
|
12
|
+
};
|
|
15
13
|
class ClientException extends BatchServiceException_1.BatchServiceException {
|
|
16
14
|
constructor(opts) {
|
|
17
15
|
super({
|
|
@@ -38,116 +36,98 @@ class ServerException extends BatchServiceException_1.BatchServiceException {
|
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
38
|
exports.ServerException = ServerException;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
JobStatus["FAILED"] = "FAILED";
|
|
137
|
-
JobStatus["PENDING"] = "PENDING";
|
|
138
|
-
JobStatus["RUNNABLE"] = "RUNNABLE";
|
|
139
|
-
JobStatus["RUNNING"] = "RUNNING";
|
|
140
|
-
JobStatus["STARTING"] = "STARTING";
|
|
141
|
-
JobStatus["SUBMITTED"] = "SUBMITTED";
|
|
142
|
-
JobStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
143
|
-
})(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
|
|
144
|
-
var JobDefinitionType;
|
|
145
|
-
(function (JobDefinitionType) {
|
|
146
|
-
JobDefinitionType["Container"] = "container";
|
|
147
|
-
JobDefinitionType["Multinode"] = "multinode";
|
|
148
|
-
})(JobDefinitionType = exports.JobDefinitionType || (exports.JobDefinitionType = {}));
|
|
149
|
-
var CRUpdateAllocationStrategy;
|
|
150
|
-
(function (CRUpdateAllocationStrategy) {
|
|
151
|
-
CRUpdateAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
|
|
152
|
-
CRUpdateAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
|
|
153
|
-
})(CRUpdateAllocationStrategy = exports.CRUpdateAllocationStrategy || (exports.CRUpdateAllocationStrategy = {}));
|
|
39
|
+
exports.CRAllocationStrategy = {
|
|
40
|
+
BEST_FIT: "BEST_FIT",
|
|
41
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
42
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
43
|
+
};
|
|
44
|
+
exports.CRType = {
|
|
45
|
+
EC2: "EC2",
|
|
46
|
+
FARGATE: "FARGATE",
|
|
47
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
48
|
+
SPOT: "SPOT",
|
|
49
|
+
};
|
|
50
|
+
exports.CEState = {
|
|
51
|
+
DISABLED: "DISABLED",
|
|
52
|
+
ENABLED: "ENABLED",
|
|
53
|
+
};
|
|
54
|
+
exports.CEType = {
|
|
55
|
+
MANAGED: "MANAGED",
|
|
56
|
+
UNMANAGED: "UNMANAGED",
|
|
57
|
+
};
|
|
58
|
+
exports.JQState = {
|
|
59
|
+
DISABLED: "DISABLED",
|
|
60
|
+
ENABLED: "ENABLED",
|
|
61
|
+
};
|
|
62
|
+
exports.OrchestrationType = {
|
|
63
|
+
ECS: "ECS",
|
|
64
|
+
EKS: "EKS",
|
|
65
|
+
};
|
|
66
|
+
exports.CEStatus = {
|
|
67
|
+
CREATING: "CREATING",
|
|
68
|
+
DELETED: "DELETED",
|
|
69
|
+
DELETING: "DELETING",
|
|
70
|
+
INVALID: "INVALID",
|
|
71
|
+
UPDATING: "UPDATING",
|
|
72
|
+
VALID: "VALID",
|
|
73
|
+
};
|
|
74
|
+
exports.DeviceCgroupPermission = {
|
|
75
|
+
MKNOD: "MKNOD",
|
|
76
|
+
READ: "READ",
|
|
77
|
+
WRITE: "WRITE",
|
|
78
|
+
};
|
|
79
|
+
exports.LogDriver = {
|
|
80
|
+
AWSLOGS: "awslogs",
|
|
81
|
+
FLUENTD: "fluentd",
|
|
82
|
+
GELF: "gelf",
|
|
83
|
+
JOURNALD: "journald",
|
|
84
|
+
JSON_FILE: "json-file",
|
|
85
|
+
SPLUNK: "splunk",
|
|
86
|
+
SYSLOG: "syslog",
|
|
87
|
+
};
|
|
88
|
+
exports.ResourceType = {
|
|
89
|
+
GPU: "GPU",
|
|
90
|
+
MEMORY: "MEMORY",
|
|
91
|
+
VCPU: "VCPU",
|
|
92
|
+
};
|
|
93
|
+
exports.EFSAuthorizationConfigIAM = {
|
|
94
|
+
DISABLED: "DISABLED",
|
|
95
|
+
ENABLED: "ENABLED",
|
|
96
|
+
};
|
|
97
|
+
exports.EFSTransitEncryption = {
|
|
98
|
+
DISABLED: "DISABLED",
|
|
99
|
+
ENABLED: "ENABLED",
|
|
100
|
+
};
|
|
101
|
+
exports.PlatformCapability = {
|
|
102
|
+
EC2: "EC2",
|
|
103
|
+
FARGATE: "FARGATE",
|
|
104
|
+
};
|
|
105
|
+
exports.RetryAction = {
|
|
106
|
+
EXIT: "EXIT",
|
|
107
|
+
RETRY: "RETRY",
|
|
108
|
+
};
|
|
109
|
+
exports.JQStatus = {
|
|
110
|
+
CREATING: "CREATING",
|
|
111
|
+
DELETED: "DELETED",
|
|
112
|
+
DELETING: "DELETING",
|
|
113
|
+
INVALID: "INVALID",
|
|
114
|
+
UPDATING: "UPDATING",
|
|
115
|
+
VALID: "VALID",
|
|
116
|
+
};
|
|
117
|
+
exports.JobStatus = {
|
|
118
|
+
FAILED: "FAILED",
|
|
119
|
+
PENDING: "PENDING",
|
|
120
|
+
RUNNABLE: "RUNNABLE",
|
|
121
|
+
RUNNING: "RUNNING",
|
|
122
|
+
STARTING: "STARTING",
|
|
123
|
+
SUBMITTED: "SUBMITTED",
|
|
124
|
+
SUCCEEDED: "SUCCEEDED",
|
|
125
|
+
};
|
|
126
|
+
exports.JobDefinitionType = {
|
|
127
|
+
Container: "container",
|
|
128
|
+
Multinode: "multinode",
|
|
129
|
+
};
|
|
130
|
+
exports.CRUpdateAllocationStrategy = {
|
|
131
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
132
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
133
|
+
};
|
|
@@ -2732,6 +2732,7 @@ const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
|
|
|
2732
2732
|
containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
|
|
2733
2733
|
dnsPolicy: (0, smithy_client_1.expectString)(output.dnsPolicy),
|
|
2734
2734
|
hostNetwork: (0, smithy_client_1.expectBoolean)(output.hostNetwork),
|
|
2735
|
+
metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
|
|
2735
2736
|
nodeName: (0, smithy_client_1.expectString)(output.nodeName),
|
|
2736
2737
|
podName: (0, smithy_client_1.expectString)(output.podName),
|
|
2737
2738
|
serviceAccountName: (0, smithy_client_1.expectString)(output.serviceAccountName),
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
AssignPublicIp["ENABLED"] = "ENABLED";
|
|
11
|
-
})(AssignPublicIp || (AssignPublicIp = {}));
|
|
2
|
+
export const ArrayJobDependency = {
|
|
3
|
+
N_TO_N: "N_TO_N",
|
|
4
|
+
SEQUENTIAL: "SEQUENTIAL",
|
|
5
|
+
};
|
|
6
|
+
export const AssignPublicIp = {
|
|
7
|
+
DISABLED: "DISABLED",
|
|
8
|
+
ENABLED: "ENABLED",
|
|
9
|
+
};
|
|
12
10
|
export class ClientException extends __BaseException {
|
|
13
11
|
constructor(opts) {
|
|
14
12
|
super({
|
|
@@ -33,116 +31,98 @@ export class ServerException extends __BaseException {
|
|
|
33
31
|
Object.setPrototypeOf(this, ServerException.prototype);
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
export
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
JobStatus["FAILED"] = "FAILED";
|
|
132
|
-
JobStatus["PENDING"] = "PENDING";
|
|
133
|
-
JobStatus["RUNNABLE"] = "RUNNABLE";
|
|
134
|
-
JobStatus["RUNNING"] = "RUNNING";
|
|
135
|
-
JobStatus["STARTING"] = "STARTING";
|
|
136
|
-
JobStatus["SUBMITTED"] = "SUBMITTED";
|
|
137
|
-
JobStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
138
|
-
})(JobStatus || (JobStatus = {}));
|
|
139
|
-
export var JobDefinitionType;
|
|
140
|
-
(function (JobDefinitionType) {
|
|
141
|
-
JobDefinitionType["Container"] = "container";
|
|
142
|
-
JobDefinitionType["Multinode"] = "multinode";
|
|
143
|
-
})(JobDefinitionType || (JobDefinitionType = {}));
|
|
144
|
-
export var CRUpdateAllocationStrategy;
|
|
145
|
-
(function (CRUpdateAllocationStrategy) {
|
|
146
|
-
CRUpdateAllocationStrategy["BEST_FIT_PROGRESSIVE"] = "BEST_FIT_PROGRESSIVE";
|
|
147
|
-
CRUpdateAllocationStrategy["SPOT_CAPACITY_OPTIMIZED"] = "SPOT_CAPACITY_OPTIMIZED";
|
|
148
|
-
})(CRUpdateAllocationStrategy || (CRUpdateAllocationStrategy = {}));
|
|
34
|
+
export const CRAllocationStrategy = {
|
|
35
|
+
BEST_FIT: "BEST_FIT",
|
|
36
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
37
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
38
|
+
};
|
|
39
|
+
export const CRType = {
|
|
40
|
+
EC2: "EC2",
|
|
41
|
+
FARGATE: "FARGATE",
|
|
42
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
43
|
+
SPOT: "SPOT",
|
|
44
|
+
};
|
|
45
|
+
export const CEState = {
|
|
46
|
+
DISABLED: "DISABLED",
|
|
47
|
+
ENABLED: "ENABLED",
|
|
48
|
+
};
|
|
49
|
+
export const CEType = {
|
|
50
|
+
MANAGED: "MANAGED",
|
|
51
|
+
UNMANAGED: "UNMANAGED",
|
|
52
|
+
};
|
|
53
|
+
export const JQState = {
|
|
54
|
+
DISABLED: "DISABLED",
|
|
55
|
+
ENABLED: "ENABLED",
|
|
56
|
+
};
|
|
57
|
+
export const OrchestrationType = {
|
|
58
|
+
ECS: "ECS",
|
|
59
|
+
EKS: "EKS",
|
|
60
|
+
};
|
|
61
|
+
export const CEStatus = {
|
|
62
|
+
CREATING: "CREATING",
|
|
63
|
+
DELETED: "DELETED",
|
|
64
|
+
DELETING: "DELETING",
|
|
65
|
+
INVALID: "INVALID",
|
|
66
|
+
UPDATING: "UPDATING",
|
|
67
|
+
VALID: "VALID",
|
|
68
|
+
};
|
|
69
|
+
export const DeviceCgroupPermission = {
|
|
70
|
+
MKNOD: "MKNOD",
|
|
71
|
+
READ: "READ",
|
|
72
|
+
WRITE: "WRITE",
|
|
73
|
+
};
|
|
74
|
+
export const LogDriver = {
|
|
75
|
+
AWSLOGS: "awslogs",
|
|
76
|
+
FLUENTD: "fluentd",
|
|
77
|
+
GELF: "gelf",
|
|
78
|
+
JOURNALD: "journald",
|
|
79
|
+
JSON_FILE: "json-file",
|
|
80
|
+
SPLUNK: "splunk",
|
|
81
|
+
SYSLOG: "syslog",
|
|
82
|
+
};
|
|
83
|
+
export const ResourceType = {
|
|
84
|
+
GPU: "GPU",
|
|
85
|
+
MEMORY: "MEMORY",
|
|
86
|
+
VCPU: "VCPU",
|
|
87
|
+
};
|
|
88
|
+
export const EFSAuthorizationConfigIAM = {
|
|
89
|
+
DISABLED: "DISABLED",
|
|
90
|
+
ENABLED: "ENABLED",
|
|
91
|
+
};
|
|
92
|
+
export const EFSTransitEncryption = {
|
|
93
|
+
DISABLED: "DISABLED",
|
|
94
|
+
ENABLED: "ENABLED",
|
|
95
|
+
};
|
|
96
|
+
export const PlatformCapability = {
|
|
97
|
+
EC2: "EC2",
|
|
98
|
+
FARGATE: "FARGATE",
|
|
99
|
+
};
|
|
100
|
+
export const RetryAction = {
|
|
101
|
+
EXIT: "EXIT",
|
|
102
|
+
RETRY: "RETRY",
|
|
103
|
+
};
|
|
104
|
+
export const JQStatus = {
|
|
105
|
+
CREATING: "CREATING",
|
|
106
|
+
DELETED: "DELETED",
|
|
107
|
+
DELETING: "DELETING",
|
|
108
|
+
INVALID: "INVALID",
|
|
109
|
+
UPDATING: "UPDATING",
|
|
110
|
+
VALID: "VALID",
|
|
111
|
+
};
|
|
112
|
+
export const JobStatus = {
|
|
113
|
+
FAILED: "FAILED",
|
|
114
|
+
PENDING: "PENDING",
|
|
115
|
+
RUNNABLE: "RUNNABLE",
|
|
116
|
+
RUNNING: "RUNNING",
|
|
117
|
+
STARTING: "STARTING",
|
|
118
|
+
SUBMITTED: "SUBMITTED",
|
|
119
|
+
SUCCEEDED: "SUCCEEDED",
|
|
120
|
+
};
|
|
121
|
+
export const JobDefinitionType = {
|
|
122
|
+
Container: "container",
|
|
123
|
+
Multinode: "multinode",
|
|
124
|
+
};
|
|
125
|
+
export const CRUpdateAllocationStrategy = {
|
|
126
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
127
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
128
|
+
};
|
|
@@ -2681,6 +2681,7 @@ const deserializeAws_restJson1EksPodPropertiesDetail = (output, context) => {
|
|
|
2681
2681
|
containers: output.containers != null ? deserializeAws_restJson1EksContainerDetails(output.containers, context) : undefined,
|
|
2682
2682
|
dnsPolicy: __expectString(output.dnsPolicy),
|
|
2683
2683
|
hostNetwork: __expectBoolean(output.hostNetwork),
|
|
2684
|
+
metadata: output.metadata != null ? deserializeAws_restJson1EksMetadata(output.metadata, context) : undefined,
|
|
2684
2685
|
nodeName: __expectString(output.nodeName),
|
|
2685
2686
|
podName: __expectString(output.podName),
|
|
2686
2687
|
serviceAccountName: __expectString(output.serviceAccountName),
|