@aws-sdk/client-batch 3.477.0 → 3.481.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/commands/CancelJobCommand.js +18 -41
- package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/CreateJobQueueCommand.js +18 -41
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/DeleteJobQueueCommand.js +18 -41
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +18 -41
- package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobQueuesCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobsCommand.js +18 -41
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListJobsCommand.js +18 -41
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/RegisterJobDefinitionCommand.js +18 -41
- package/dist-cjs/commands/SubmitJobCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TerminateJobCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +18 -41
- package/dist-cjs/commands/UpdateJobQueueCommand.js +18 -41
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeComputeEnvironmentsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeJobDefinitionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeJobQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +2 -24
- package/dist-es/commands/CancelJobCommand.js +18 -41
- package/dist-es/commands/CreateComputeEnvironmentCommand.js +18 -41
- package/dist-es/commands/CreateJobQueueCommand.js +18 -41
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteComputeEnvironmentCommand.js +18 -41
- package/dist-es/commands/DeleteJobQueueCommand.js +18 -41
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +18 -41
- package/dist-es/commands/DeregisterJobDefinitionCommand.js +18 -41
- package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +18 -41
- package/dist-es/commands/DescribeJobDefinitionsCommand.js +18 -41
- package/dist-es/commands/DescribeJobQueuesCommand.js +18 -41
- package/dist-es/commands/DescribeJobsCommand.js +18 -41
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +18 -41
- package/dist-es/commands/ListJobsCommand.js +18 -41
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/RegisterJobDefinitionCommand.js +18 -41
- package/dist-es/commands/SubmitJobCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TerminateJobCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateComputeEnvironmentCommand.js +18 -41
- package/dist-es/commands/UpdateJobQueueCommand.js +18 -41
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeComputeEnvironmentsPaginator.js +2 -23
- package/dist-es/pagination/DescribeJobDefinitionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeJobQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +2 -23
- package/dist-types/commands/CancelJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/CreateJobQueueCommand.d.ts +6 -21
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +6 -21
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +6 -21
- package/dist-types/commands/SubmitJobCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TerminateJobCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateComputeEnvironmentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateJobQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteComputeEnvironmentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteJobQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeregisterJobDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeComputeEnvironmentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeJobDefinitionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeJobQueuesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterJobDefinitionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubmitJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TerminateJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateComputeEnvironmentCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateJobQueueCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeJobQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "TagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "TagResource", {})
|
|
22
|
+
.n("BatchClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TerminateJobCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "TerminateJobCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "TerminateJob",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_TerminateJobCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_TerminateJobCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TerminateJobCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "TerminateJob", {})
|
|
22
|
+
.n("BatchClient", "TerminateJobCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_TerminateJobCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_TerminateJobCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TerminateJobCommand = TerminateJobCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "UntagResource", {})
|
|
22
|
+
.n("BatchClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateComputeEnvironmentCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "UpdateComputeEnvironmentCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "UpdateComputeEnvironment",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateComputeEnvironmentCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateComputeEnvironmentCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateComputeEnvironmentCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "UpdateComputeEnvironment", {})
|
|
22
|
+
.n("BatchClient", "UpdateComputeEnvironmentCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateComputeEnvironmentCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateComputeEnvironmentCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateComputeEnvironmentCommand = UpdateComputeEnvironmentCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateJobQueueCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "UpdateJobQueueCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "UpdateJobQueue",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateJobQueueCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateJobQueueCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateJobQueueCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "UpdateJobQueue", {})
|
|
22
|
+
.n("BatchClient", "UpdateJobQueueCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateJobQueueCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateJobQueueCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateJobQueueCommand = UpdateJobQueueCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateSchedulingPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "BatchClient";
|
|
29
|
-
const commandName = "UpdateSchedulingPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSBatchV20160810",
|
|
38
|
-
operation: "UpdateSchedulingPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateSchedulingPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateSchedulingPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateSchedulingPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSBatchV20160810", "UpdateSchedulingPolicy", {})
|
|
22
|
+
.n("BatchClient", "UpdateSchedulingPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateSchedulingPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateSchedulingPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateSchedulingPolicyCommand = UpdateSchedulingPolicyCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeComputeEnvironments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const BatchClient_1 = require("../BatchClient");
|
|
5
6
|
const DescribeComputeEnvironmentsCommand_1 = require("../commands/DescribeComputeEnvironmentsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeComputeEnvironmentsCommand_1.DescribeComputeEnvironmentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeComputeEnvironments(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof BatchClient_1.BatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeComputeEnvironments = paginateDescribeComputeEnvironments;
|
|
7
|
+
exports.paginateDescribeComputeEnvironments = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeComputeEnvironmentsCommand_1.DescribeComputeEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeJobDefinitions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const BatchClient_1 = require("../BatchClient");
|
|
5
6
|
const DescribeJobDefinitionsCommand_1 = require("../commands/DescribeJobDefinitionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeJobDefinitionsCommand_1.DescribeJobDefinitionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeJobDefinitions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof BatchClient_1.BatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeJobDefinitions = paginateDescribeJobDefinitions;
|
|
7
|
+
exports.paginateDescribeJobDefinitions = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeJobDefinitionsCommand_1.DescribeJobDefinitionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeJobQueues = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const BatchClient_1 = require("../BatchClient");
|
|
5
6
|
const DescribeJobQueuesCommand_1 = require("../commands/DescribeJobQueuesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeJobQueuesCommand_1.DescribeJobQueuesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeJobQueues(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof BatchClient_1.BatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeJobQueues = paginateDescribeJobQueues;
|
|
7
|
+
exports.paginateDescribeJobQueues = (0, core_1.createPaginator)(BatchClient_1.BatchClient, DescribeJobQueuesCommand_1.DescribeJobQueuesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const BatchClient_1 = require("../BatchClient");
|
|
5
6
|
const ListJobsCommand_1 = require("../commands/ListJobsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListJobsCommand_1.ListJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof BatchClient_1.BatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListJobs = paginateListJobs;
|
|
7
|
+
exports.paginateListJobs = (0, core_1.createPaginator)(BatchClient_1.BatchClient, ListJobsCommand_1.ListJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSchedulingPolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const BatchClient_1 = require("../BatchClient");
|
|
5
6
|
const ListSchedulingPoliciesCommand_1 = require("../commands/ListSchedulingPoliciesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSchedulingPoliciesCommand_1.ListSchedulingPoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSchedulingPolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof BatchClient_1.BatchClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Batch | BatchClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSchedulingPolicies = paginateListSchedulingPolicies;
|
|
7
|
+
exports.paginateListSchedulingPolicies = (0, core_1.createPaginator)(BatchClient_1.BatchClient, ListSchedulingPoliciesCommand_1.ListSchedulingPoliciesCommand, "nextToken", "nextToken", "maxResults");
|