@aws-sdk/client-batch 3.300.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/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +9 -9
- package/dist-types/commands/CreateJobQueueCommand.d.ts +4 -4
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +5 -5
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListJobsCommand.d.ts +4 -4
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +65 -75
- package/dist-types/commands/SubmitJobCommand.d.ts +30 -30
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +8 -8
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +4 -4
- 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),
|
|
@@ -38,7 +38,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
38
38
|
* import { BatchClient, CancelJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
39
39
|
* // const { BatchClient, CancelJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
40
40
|
* const client = new BatchClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // CancelJobRequest
|
|
42
42
|
* jobId: "STRING_VALUE", // required
|
|
43
43
|
* reason: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
@@ -104,18 +104,18 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
104
104
|
* import { BatchClient, CreateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
105
105
|
* // const { BatchClient, CreateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
106
106
|
* const client = new BatchClient(config);
|
|
107
|
-
* const input = {
|
|
107
|
+
* const input = { // CreateComputeEnvironmentRequest
|
|
108
108
|
* computeEnvironmentName: "STRING_VALUE", // required
|
|
109
109
|
* type: "MANAGED" || "UNMANAGED", // required
|
|
110
110
|
* state: "ENABLED" || "DISABLED",
|
|
111
111
|
* unmanagedvCpus: Number("int"),
|
|
112
|
-
* computeResources: {
|
|
112
|
+
* computeResources: { // ComputeResource
|
|
113
113
|
* type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
|
|
114
114
|
* allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
|
|
115
115
|
* minvCpus: Number("int"),
|
|
116
116
|
* maxvCpus: Number("int"), // required
|
|
117
117
|
* desiredvCpus: Number("int"),
|
|
118
|
-
* instanceTypes: [
|
|
118
|
+
* instanceTypes: [ // StringList
|
|
119
119
|
* "STRING_VALUE",
|
|
120
120
|
* ],
|
|
121
121
|
* imageId: "STRING_VALUE",
|
|
@@ -127,19 +127,19 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
127
127
|
* ],
|
|
128
128
|
* ec2KeyPair: "STRING_VALUE",
|
|
129
129
|
* instanceRole: "STRING_VALUE",
|
|
130
|
-
* tags: {
|
|
130
|
+
* tags: { // TagsMap
|
|
131
131
|
* "<keys>": "STRING_VALUE",
|
|
132
132
|
* },
|
|
133
133
|
* placementGroup: "STRING_VALUE",
|
|
134
134
|
* bidPercentage: Number("int"),
|
|
135
135
|
* spotIamFleetRole: "STRING_VALUE",
|
|
136
|
-
* launchTemplate: {
|
|
136
|
+
* launchTemplate: { // LaunchTemplateSpecification
|
|
137
137
|
* launchTemplateId: "STRING_VALUE",
|
|
138
138
|
* launchTemplateName: "STRING_VALUE",
|
|
139
139
|
* version: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
|
-
* ec2Configuration: [
|
|
142
|
-
* {
|
|
141
|
+
* ec2Configuration: [ // Ec2ConfigurationList
|
|
142
|
+
* { // Ec2Configuration
|
|
143
143
|
* imageType: "STRING_VALUE", // required
|
|
144
144
|
* imageIdOverride: "STRING_VALUE",
|
|
145
145
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
@@ -147,10 +147,10 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
147
147
|
* ],
|
|
148
148
|
* },
|
|
149
149
|
* serviceRole: "STRING_VALUE",
|
|
150
|
-
* tags: {
|
|
150
|
+
* tags: { // TagrisTagsMap
|
|
151
151
|
* "<keys>": "STRING_VALUE",
|
|
152
152
|
* },
|
|
153
|
-
* eksConfiguration: {
|
|
153
|
+
* eksConfiguration: { // EksConfiguration
|
|
154
154
|
* eksClusterArn: "STRING_VALUE", // required
|
|
155
155
|
* kubernetesNamespace: "STRING_VALUE", // required
|
|
156
156
|
* },
|
|
@@ -31,18 +31,18 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
|
|
|
31
31
|
* import { BatchClient, CreateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
32
32
|
* // const { BatchClient, CreateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
33
33
|
* const client = new BatchClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CreateJobQueueRequest
|
|
35
35
|
* jobQueueName: "STRING_VALUE", // required
|
|
36
36
|
* state: "ENABLED" || "DISABLED",
|
|
37
37
|
* schedulingPolicyArn: "STRING_VALUE",
|
|
38
38
|
* priority: Number("int"), // required
|
|
39
|
-
* computeEnvironmentOrder: [ // required
|
|
40
|
-
* {
|
|
39
|
+
* computeEnvironmentOrder: [ // ComputeEnvironmentOrders // required
|
|
40
|
+
* { // ComputeEnvironmentOrder
|
|
41
41
|
* order: Number("int"), // required
|
|
42
42
|
* computeEnvironment: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
-
* tags: {
|
|
45
|
+
* tags: { // TagrisTagsMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* };
|
|
@@ -26,19 +26,19 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
|
|
|
26
26
|
* import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateSchedulingPolicyRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
|
-
* fairsharePolicy: {
|
|
31
|
+
* fairsharePolicy: { // FairsharePolicy
|
|
32
32
|
* shareDecaySeconds: Number("int"),
|
|
33
33
|
* computeReservation: Number("int"),
|
|
34
|
-
* shareDistribution: [
|
|
35
|
-
* {
|
|
34
|
+
* shareDistribution: [ // ShareAttributesList
|
|
35
|
+
* { // ShareAttributes
|
|
36
36
|
* shareIdentifier: "STRING_VALUE", // required
|
|
37
37
|
* weightFactor: Number("float"),
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
40
|
* },
|
|
41
|
-
* tags: {
|
|
41
|
+
* tags: { // TagrisTagsMap
|
|
42
42
|
* "<keys>": "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* };
|
|
@@ -29,7 +29,7 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
|
|
|
29
29
|
* import { BatchClient, DeleteComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DeleteComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteComputeEnvironmentRequest
|
|
33
33
|
* computeEnvironment: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteComputeEnvironmentCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
|
|
|
29
29
|
* import { BatchClient, DeleteJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DeleteJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteJobQueueRequest
|
|
33
33
|
* jobQueue: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteJobQueueCommand(input);
|