@aws-sdk/client-batch 3.30.0 → 3.34.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/CHANGELOG.md +35 -0
- package/dist/cjs/BatchClient.js +13 -13
- package/dist/cjs/BatchClient.js.map +1 -1
- package/dist/cjs/commands/CancelJobCommand.js +3 -3
- package/dist/cjs/commands/CancelJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/CreateComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateJobQueueCommand.js +3 -3
- package/dist/cjs/commands/CreateJobQueueCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/DeleteComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteJobQueueCommand.js +3 -3
- package/dist/cjs/commands/DeleteJobQueueCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterJobDefinitionCommand.js +3 -3
- package/dist/cjs/commands/DeregisterJobDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeComputeEnvironmentsCommand.js +3 -3
- package/dist/cjs/commands/DescribeComputeEnvironmentsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobDefinitionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobDefinitionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobQueuesCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobQueuesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeJobsCommand.js +3 -3
- package/dist/cjs/commands/DescribeJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListJobsCommand.js +3 -3
- package/dist/cjs/commands/ListJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterJobDefinitionCommand.js +3 -3
- package/dist/cjs/commands/RegisterJobDefinitionCommand.js.map +1 -1
- package/dist/cjs/commands/SubmitJobCommand.js +3 -3
- package/dist/cjs/commands/SubmitJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TerminateJobCommand.js +3 -3
- package/dist/cjs/commands/TerminateJobCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateComputeEnvironmentCommand.js +3 -3
- package/dist/cjs/commands/UpdateComputeEnvironmentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateJobQueueCommand.js +3 -3
- package/dist/cjs/commands/UpdateJobQueueCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_restJson1.js +188 -188
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Batch.js +1 -14
- package/dist/es/Batch.js.map +1 -1
- package/dist/es/BatchClient.js +1 -19
- package/dist/es/BatchClient.js.map +1 -1
- package/dist/es/commands/CancelJobCommand.js +2 -30
- package/dist/es/commands/CancelJobCommand.js.map +1 -1
- package/dist/es/commands/CreateComputeEnvironmentCommand.js +2 -66
- package/dist/es/commands/CreateComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/CreateJobQueueCommand.js +2 -32
- package/dist/es/commands/CreateJobQueueCommand.js.map +1 -1
- package/dist/es/commands/DeleteComputeEnvironmentCommand.js +2 -30
- package/dist/es/commands/DeleteComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/DeleteJobQueueCommand.js +2 -30
- package/dist/es/commands/DeleteJobQueueCommand.js.map +1 -1
- package/dist/es/commands/DeregisterJobDefinitionCommand.js +2 -27
- package/dist/es/commands/DeregisterJobDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DescribeComputeEnvironmentsCommand.js +2 -30
- package/dist/es/commands/DescribeComputeEnvironmentsCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobDefinitionsCommand.js +2 -28
- package/dist/es/commands/DescribeJobDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobQueuesCommand.js +2 -27
- package/dist/es/commands/DescribeJobQueuesCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobsCommand.js +2 -27
- package/dist/es/commands/DescribeJobsCommand.js.map +1 -1
- package/dist/es/commands/ListJobsCommand.js +2 -41
- package/dist/es/commands/ListJobsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/RegisterJobDefinitionCommand.js +2 -27
- package/dist/es/commands/RegisterJobDefinitionCommand.js.map +1 -1
- package/dist/es/commands/SubmitJobCommand.js +2 -36
- package/dist/es/commands/SubmitJobCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -30
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TerminateJobCommand.js +2 -29
- package/dist/es/commands/TerminateJobCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateComputeEnvironmentCommand.js +2 -27
- package/dist/es/commands/UpdateComputeEnvironmentCommand.js.map +1 -1
- package/dist/es/commands/UpdateJobQueueCommand.js +2 -27
- package/dist/es/commands/UpdateJobQueueCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -258
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeComputeEnvironmentsPaginator.js +16 -28
- package/dist/es/pagination/DescribeComputeEnvironmentsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeJobDefinitionsPaginator.js +16 -28
- package/dist/es/pagination/DescribeJobDefinitionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeJobQueuesPaginator.js +16 -28
- package/dist/es/pagination/DescribeJobQueuesPaginator.js.map +1 -1
- package/dist/es/pagination/ListJobsPaginator.js +16 -28
- package/dist/es/pagination/ListJobsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +306 -311
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,39 +3,13 @@ import { DescribeJobDefinitionsRequest, DescribeJobDefinitionsResponse } from ".
|
|
|
3
3
|
import { deserializeAws_restJson1DescribeJobDefinitionsCommand, serializeAws_restJson1DescribeJobDefinitionsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
|
|
8
|
-
* return job definitions that match that status.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { BatchClient, DescribeJobDefinitionsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
13
|
-
* // const { BatchClient, DescribeJobDefinitionsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
14
|
-
* const client = new BatchClient(config);
|
|
15
|
-
* const command = new DescribeJobDefinitionsCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link DescribeJobDefinitionsCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link DescribeJobDefinitionsCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var DescribeJobDefinitionsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeJobDefinitionsCommand = (function (_super) {
|
|
25
7
|
__extends(DescribeJobDefinitionsCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function DescribeJobDefinitionsCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
DescribeJobDefinitionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeJobDefinitionsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeJobDefinitionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DescribeJobDefinitionsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeJobDefinitionsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,38 +3,13 @@ import { DescribeJobQueuesRequest, DescribeJobQueuesResponse } from "../models/m
|
|
|
3
3
|
import { deserializeAws_restJson1DescribeJobQueuesCommand, serializeAws_restJson1DescribeJobQueuesCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Describes one or more of your job queues.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BatchClient, DescribeJobQueuesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
12
|
-
* // const { BatchClient, DescribeJobQueuesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
13
|
-
* const client = new BatchClient(config);
|
|
14
|
-
* const command = new DescribeJobQueuesCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribeJobQueuesCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribeJobQueuesCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribeJobQueuesCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeJobQueuesCommand = (function (_super) {
|
|
24
7
|
__extends(DescribeJobQueuesCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribeJobQueuesCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DescribeJobQueuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeJobQueuesCommand.js","sourceRoot":"","sources":["../../../commands/DescribeJobQueuesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,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yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,38 +3,13 @@ import { DescribeJobsRequest, DescribeJobsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1DescribeJobsCommand, serializeAws_restJson1DescribeJobsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Describes a list of Batch jobs.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BatchClient, DescribeJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
12
|
-
* // const { BatchClient, DescribeJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
13
|
-
* const client = new BatchClient(config);
|
|
14
|
-
* const command = new DescribeJobsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DescribeJobsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DescribeJobsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DescribeJobsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DescribeJobsCommand = (function (_super) {
|
|
24
7
|
__extends(DescribeJobsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DescribeJobsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
DescribeJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribeJobsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DescribeJobsCommand.js","sourceRoot":"","sources":["../../../commands/DescribeJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC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,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,52 +3,13 @@ import { ListJobsRequest, ListJobsResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1ListJobsCommand, serializeAws_restJson1ListJobsCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Returns a list of Batch jobs.</p>
|
|
8
|
-
* <p>You must specify only one of the following items:</p>
|
|
9
|
-
* <ul>
|
|
10
|
-
* <li>
|
|
11
|
-
* <p>A job queue ID to return a list of jobs in that job queue</p>
|
|
12
|
-
* </li>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>A multi-node parallel job ID to return a list of nodes for that job</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>An array job ID to return a list of the children for that job</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* </ul>
|
|
20
|
-
* <p>You can filter the results by job status with the <code>jobStatus</code> parameter. If you don't specify a
|
|
21
|
-
* status, only <code>RUNNING</code> jobs are returned.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { BatchClient, ListJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
26
|
-
* // const { BatchClient, ListJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
27
|
-
* const client = new BatchClient(config);
|
|
28
|
-
* const command = new ListJobsCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link ListJobsCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link ListJobsCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
var ListJobsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListJobsCommand = (function (_super) {
|
|
38
7
|
__extends(ListJobsCommand, _super);
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
8
|
function ListJobsCommand(input) {
|
|
42
|
-
var _this =
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
45
10
|
_this.input = input;
|
|
46
11
|
return _this;
|
|
47
|
-
// End section: command_constructor
|
|
48
12
|
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
13
|
ListJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
53
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
54
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListJobsCommand.js","sourceRoot":"","sources":["../../../commands/ListJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListJobsCommand.js","sourceRoot":"","sources":["../../../commands/ListJobsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC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AuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,sBAAC;AAAD,CAAC,AAlDD,CAAqC,QAAQ,GAkD5C"}
|
|
@@ -3,39 +3,13 @@ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../mode
|
|
|
3
3
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job
|
|
8
|
-
* queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { BatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
13
|
-
* // const { BatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
14
|
-
* const client = new BatchClient(config);
|
|
15
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var ListTagsForResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
25
7
|
__extends(ListTagsForResourceCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function ListTagsForResourceCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListTagsForResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsForResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgC7D;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,38 +3,13 @@ import { RegisterJobDefinitionRequest, RegisterJobDefinitionResponse } from "../
|
|
|
3
3
|
import { deserializeAws_restJson1RegisterJobDefinitionCommand, serializeAws_restJson1RegisterJobDefinitionCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Registers an Batch job definition.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BatchClient, RegisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
12
|
-
* // const { BatchClient, RegisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
13
|
-
* const client = new BatchClient(config);
|
|
14
|
-
* const command = new RegisterJobDefinitionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link RegisterJobDefinitionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link RegisterJobDefinitionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var RegisterJobDefinitionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var RegisterJobDefinitionCommand = (function (_super) {
|
|
24
7
|
__extends(RegisterJobDefinitionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function RegisterJobDefinitionCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
RegisterJobDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterJobDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/RegisterJobDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"RegisterJobDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/RegisterJobDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAkD,gDAIjD;IAIC,sCAAqB,KAAwC;QAA7D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmC;;IAI7D,CAAC;IAKD,wDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,4BAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,6BAA6B,CAAC,kBAAkB;SAC3E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,47 +3,13 @@ import { SubmitJobRequest, SubmitJobResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1SubmitJobCommand, serializeAws_restJson1SubmitJobCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
|
|
8
|
-
* override parameters defined in the job definition. vCPU and memory requirements that are specified in the
|
|
9
|
-
* <code>ResourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
|
|
10
|
-
* using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
|
|
11
|
-
* parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>
|
|
12
|
-
* parameter.</p>
|
|
13
|
-
* <important>
|
|
14
|
-
* <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14
|
|
15
|
-
* days, Fargate resources might become unavailable and job might be terminated.</p>
|
|
16
|
-
* </important>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { BatchClient, SubmitJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
21
|
-
* // const { BatchClient, SubmitJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
22
|
-
* const client = new BatchClient(config);
|
|
23
|
-
* const command = new SubmitJobCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link SubmitJobCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link SubmitJobCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var SubmitJobCommand = /** @class */ (function (_super) {
|
|
6
|
+
var SubmitJobCommand = (function (_super) {
|
|
33
7
|
__extends(SubmitJobCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function SubmitJobCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
SubmitJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubmitJobCommand.js","sourceRoot":"","sources":["../../../commands/SubmitJobCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"SubmitJobCommand.js","sourceRoot":"","sources":["../../../commands/SubmitJobCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAAsC,oCAIrC;IAIC,0BAAqB,KAA4B;QAAjD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuB;;IAIjD,CAAC;IAKD,4CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,kBAAkB,CAAC;QACvC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gBAAgB,CAAC,kBAAkB;YAC5D,wBAAwB,EAAE,iBAAiB,CAAC,kBAAkB;SAC/D,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oCAAS,GAAjB,UAAkB,KAA4B,EAAE,OAAuB;QACrE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,sCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,uBAAC;AAAD,CAAC,AAtDD,CAAsC,QAAQ,GAsD7C"}
|
|
@@ -3,41 +3,13 @@ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
|
|
8
|
-
* resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
|
|
9
|
-
* are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job
|
|
10
|
-
* queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { BatchClient, TagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
15
|
-
* // const { BatchClient, TagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
16
|
-
* const client = new BatchClient(config);
|
|
17
|
-
* const command = new TagResourceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
27
7
|
__extends(TagResourceCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function TagResourceCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C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AK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,40 +3,13 @@ import { TerminateJobRequest, TerminateJobResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1TerminateJobCommand, serializeAws_restJson1TerminateJobCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
|
|
8
|
-
* terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
|
|
9
|
-
* <code>STARTING</code> state are cancelled.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { BatchClient, TerminateJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
14
|
-
* // const { BatchClient, TerminateJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
15
|
-
* const client = new BatchClient(config);
|
|
16
|
-
* const command = new TerminateJobCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link TerminateJobCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link TerminateJobCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var TerminateJobCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TerminateJobCommand = (function (_super) {
|
|
26
7
|
__extends(TerminateJobCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function TerminateJobCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
TerminateJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminateJobCommand.js","sourceRoot":"","sources":["../../../commands/TerminateJobCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TerminateJobCommand.js","sourceRoot":"","sources":["../../../commands/TerminateJobCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAo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CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
|
|
@@ -3,38 +3,13 @@ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Deletes specified tags from an Batch resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BatchClient, UntagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
12
|
-
* // const { BatchClient, UntagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
13
|
-
* const client = new BatchClient(config);
|
|
14
|
-
* const command = new UntagResourceCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
24
7
|
__extends(UntagResourceCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UntagResourceCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oBAAoB,CAAC,kBAAkB;YAChE,wBAAwB,EAAE,qBAAqB,CAAC,kBAAkB;SACnE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateComputeEnvironmentRequest, UpdateComputeEnvironmentResponse } fro
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateComputeEnvironmentCommand, serializeAws_restJson1UpdateComputeEnvironmentCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an Batch compute environment.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { BatchClient, UpdateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
12
|
-
* // const { BatchClient, UpdateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
13
|
-
* const client = new BatchClient(config);
|
|
14
|
-
* const command = new UpdateComputeEnvironmentCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateComputeEnvironmentCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateComputeEnvironmentCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateComputeEnvironmentCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateComputeEnvironmentCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateComputeEnvironmentCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateComputeEnvironmentCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateComputeEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateComputeEnvironmentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateComputeEnvironmentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateComputeEnvironmentCommand.js","sourceRoot":"","sources":["../../../commands/UpdateComputeEnvironmentCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,+BAA+B,EAAE,gCAAgC,EAAE,MAAM,oBAAoB,CAAC;AACvG,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAqD,mDAIpD;IAIC,yCAAqB,KAA2C;QAAhE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAsC;;IAIhE,CAAC;IAKD,2DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAwC,EACxC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,aAAa,CAAC;QACjC,IAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,IAAM,uBAAu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