@aws-sdk/client-batch 3.490.0 → 3.495.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/Batch.js +1 -59
- package/dist-cjs/BatchClient.js +1 -43
- package/dist-cjs/commands/CancelJobCommand.js +1 -28
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/CreateJobQueueCommand.js +1 -28
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/DeleteJobQueueCommand.js +1 -28
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +1 -28
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobsCommand.js +1 -28
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListJobsCommand.js +1 -28
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +1 -28
- package/dist-cjs/commands/SubmitJobCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TerminateJobCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +1 -28
- package/dist-cjs/commands/UpdateJobQueueCommand.js +1 -28
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -27
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2241 -11
- package/dist-cjs/models/BatchServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -135
- package/dist-cjs/pagination/DescribeComputeEnvironmentsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeJobDefinitionsPaginator.js +1 -7
- package/dist-cjs/pagination/DescribeJobQueuesPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1411
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class BatchServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, BatchServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.BatchServiceException = BatchServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,135 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|
-
const BatchServiceException_1 = require("./BatchServiceException");
|
|
5
|
-
exports.ArrayJobDependency = {
|
|
6
|
-
N_TO_N: "N_TO_N",
|
|
7
|
-
SEQUENTIAL: "SEQUENTIAL",
|
|
8
|
-
};
|
|
9
|
-
exports.AssignPublicIp = {
|
|
10
|
-
DISABLED: "DISABLED",
|
|
11
|
-
ENABLED: "ENABLED",
|
|
12
|
-
};
|
|
13
|
-
class ClientException extends BatchServiceException_1.BatchServiceException {
|
|
14
|
-
constructor(opts) {
|
|
15
|
-
super({
|
|
16
|
-
name: "ClientException",
|
|
17
|
-
$fault: "client",
|
|
18
|
-
...opts,
|
|
19
|
-
});
|
|
20
|
-
this.name = "ClientException";
|
|
21
|
-
this.$fault = "client";
|
|
22
|
-
Object.setPrototypeOf(this, ClientException.prototype);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.ClientException = ClientException;
|
|
26
|
-
class ServerException extends BatchServiceException_1.BatchServiceException {
|
|
27
|
-
constructor(opts) {
|
|
28
|
-
super({
|
|
29
|
-
name: "ServerException",
|
|
30
|
-
$fault: "server",
|
|
31
|
-
...opts,
|
|
32
|
-
});
|
|
33
|
-
this.name = "ServerException";
|
|
34
|
-
this.$fault = "server";
|
|
35
|
-
Object.setPrototypeOf(this, ServerException.prototype);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.ServerException = ServerException;
|
|
39
|
-
exports.CRAllocationStrategy = {
|
|
40
|
-
BEST_FIT: "BEST_FIT",
|
|
41
|
-
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
42
|
-
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
43
|
-
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
44
|
-
};
|
|
45
|
-
exports.CRType = {
|
|
46
|
-
EC2: "EC2",
|
|
47
|
-
FARGATE: "FARGATE",
|
|
48
|
-
FARGATE_SPOT: "FARGATE_SPOT",
|
|
49
|
-
SPOT: "SPOT",
|
|
50
|
-
};
|
|
51
|
-
exports.CEState = {
|
|
52
|
-
DISABLED: "DISABLED",
|
|
53
|
-
ENABLED: "ENABLED",
|
|
54
|
-
};
|
|
55
|
-
exports.CEType = {
|
|
56
|
-
MANAGED: "MANAGED",
|
|
57
|
-
UNMANAGED: "UNMANAGED",
|
|
58
|
-
};
|
|
59
|
-
exports.JQState = {
|
|
60
|
-
DISABLED: "DISABLED",
|
|
61
|
-
ENABLED: "ENABLED",
|
|
62
|
-
};
|
|
63
|
-
exports.OrchestrationType = {
|
|
64
|
-
ECS: "ECS",
|
|
65
|
-
EKS: "EKS",
|
|
66
|
-
};
|
|
67
|
-
exports.CEStatus = {
|
|
68
|
-
CREATING: "CREATING",
|
|
69
|
-
DELETED: "DELETED",
|
|
70
|
-
DELETING: "DELETING",
|
|
71
|
-
INVALID: "INVALID",
|
|
72
|
-
UPDATING: "UPDATING",
|
|
73
|
-
VALID: "VALID",
|
|
74
|
-
};
|
|
75
|
-
exports.DeviceCgroupPermission = {
|
|
76
|
-
MKNOD: "MKNOD",
|
|
77
|
-
READ: "READ",
|
|
78
|
-
WRITE: "WRITE",
|
|
79
|
-
};
|
|
80
|
-
exports.LogDriver = {
|
|
81
|
-
AWSLOGS: "awslogs",
|
|
82
|
-
FLUENTD: "fluentd",
|
|
83
|
-
GELF: "gelf",
|
|
84
|
-
JOURNALD: "journald",
|
|
85
|
-
JSON_FILE: "json-file",
|
|
86
|
-
SPLUNK: "splunk",
|
|
87
|
-
SYSLOG: "syslog",
|
|
88
|
-
};
|
|
89
|
-
exports.ResourceType = {
|
|
90
|
-
GPU: "GPU",
|
|
91
|
-
MEMORY: "MEMORY",
|
|
92
|
-
VCPU: "VCPU",
|
|
93
|
-
};
|
|
94
|
-
exports.EFSAuthorizationConfigIAM = {
|
|
95
|
-
DISABLED: "DISABLED",
|
|
96
|
-
ENABLED: "ENABLED",
|
|
97
|
-
};
|
|
98
|
-
exports.EFSTransitEncryption = {
|
|
99
|
-
DISABLED: "DISABLED",
|
|
100
|
-
ENABLED: "ENABLED",
|
|
101
|
-
};
|
|
102
|
-
exports.PlatformCapability = {
|
|
103
|
-
EC2: "EC2",
|
|
104
|
-
FARGATE: "FARGATE",
|
|
105
|
-
};
|
|
106
|
-
exports.RetryAction = {
|
|
107
|
-
EXIT: "EXIT",
|
|
108
|
-
RETRY: "RETRY",
|
|
109
|
-
};
|
|
110
|
-
exports.JQStatus = {
|
|
111
|
-
CREATING: "CREATING",
|
|
112
|
-
DELETED: "DELETED",
|
|
113
|
-
DELETING: "DELETING",
|
|
114
|
-
INVALID: "INVALID",
|
|
115
|
-
UPDATING: "UPDATING",
|
|
116
|
-
VALID: "VALID",
|
|
117
|
-
};
|
|
118
|
-
exports.JobStatus = {
|
|
119
|
-
FAILED: "FAILED",
|
|
120
|
-
PENDING: "PENDING",
|
|
121
|
-
RUNNABLE: "RUNNABLE",
|
|
122
|
-
RUNNING: "RUNNING",
|
|
123
|
-
STARTING: "STARTING",
|
|
124
|
-
SUBMITTED: "SUBMITTED",
|
|
125
|
-
SUCCEEDED: "SUCCEEDED",
|
|
126
|
-
};
|
|
127
|
-
exports.JobDefinitionType = {
|
|
128
|
-
Container: "container",
|
|
129
|
-
Multinode: "multinode",
|
|
130
|
-
};
|
|
131
|
-
exports.CRUpdateAllocationStrategy = {
|
|
132
|
-
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
133
|
-
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
134
|
-
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
135
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateDescribeComputeEnvironments = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchClient_1 = require("../BatchClient");
|
|
6
|
-
const DescribeComputeEnvironmentsCommand_1 = require("../commands/DescribeComputeEnvironmentsCommand");
|
|
7
|
-
exports.paginateDescribeComputeEnvironments = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeComputeEnvironmentsCommand_1.DescribeComputeEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateDescribeJobDefinitions = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchClient_1 = require("../BatchClient");
|
|
6
|
-
const DescribeJobDefinitionsCommand_1 = require("../commands/DescribeJobDefinitionsCommand");
|
|
7
|
-
exports.paginateDescribeJobDefinitions = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeJobDefinitionsCommand_1.DescribeJobDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateDescribeJobQueues = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchClient_1 = require("../BatchClient");
|
|
6
|
-
const DescribeJobQueuesCommand_1 = require("../commands/DescribeJobQueuesCommand");
|
|
7
|
-
exports.paginateDescribeJobQueues = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeJobQueuesCommand_1.DescribeJobQueuesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListJobs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchClient_1 = require("../BatchClient");
|
|
6
|
-
const ListJobsCommand_1 = require("../commands/ListJobsCommand");
|
|
7
|
-
exports.paginateListJobs = (0, core_1.createPaginator)(BatchClient_1.BatchClient, ListJobsCommand_1.ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSchedulingPolicies = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchClient_1 = require("../BatchClient");
|
|
6
|
-
const ListSchedulingPoliciesCommand_1 = require("../commands/ListSchedulingPoliciesCommand");
|
|
7
|
-
exports.paginateListSchedulingPolicies = (0, core_1.createPaginator)(BatchClient_1.BatchClient, ListSchedulingPoliciesCommand_1.ListSchedulingPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./DescribeComputeEnvironmentsPaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./DescribeJobDefinitionsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./DescribeJobQueuesPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListSchedulingPoliciesPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|