@aws-sdk/client-batch 3.183.0 → 3.186.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Batch.js +105 -98
  4. package/dist-es/BatchClient.js +28 -22
  5. package/dist-es/commands/CancelJobCommand.js +28 -21
  6. package/dist-es/commands/CreateComputeEnvironmentCommand.js +28 -21
  7. package/dist-es/commands/CreateJobQueueCommand.js +28 -21
  8. package/dist-es/commands/CreateSchedulingPolicyCommand.js +28 -21
  9. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +28 -21
  10. package/dist-es/commands/DeleteJobQueueCommand.js +28 -21
  11. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +28 -21
  12. package/dist-es/commands/DeregisterJobDefinitionCommand.js +28 -21
  13. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +28 -21
  14. package/dist-es/commands/DescribeJobDefinitionsCommand.js +28 -21
  15. package/dist-es/commands/DescribeJobQueuesCommand.js +28 -21
  16. package/dist-es/commands/DescribeJobsCommand.js +28 -21
  17. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +28 -21
  18. package/dist-es/commands/ListJobsCommand.js +28 -21
  19. package/dist-es/commands/ListSchedulingPoliciesCommand.js +28 -21
  20. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  21. package/dist-es/commands/RegisterJobDefinitionCommand.js +28 -21
  22. package/dist-es/commands/SubmitJobCommand.js +28 -21
  23. package/dist-es/commands/TagResourceCommand.js +28 -21
  24. package/dist-es/commands/TerminateJobCommand.js +28 -21
  25. package/dist-es/commands/UntagResourceCommand.js +28 -21
  26. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +28 -21
  27. package/dist-es/commands/UpdateJobQueueCommand.js +28 -21
  28. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +28 -21
  29. package/dist-es/endpoints.js +8 -8
  30. package/dist-es/models/BatchServiceException.js +10 -5
  31. package/dist-es/models/models_0.js +122 -319
  32. package/dist-es/pagination/DescribeComputeEnvironmentsPaginator.js +68 -25
  33. package/dist-es/pagination/DescribeJobDefinitionsPaginator.js +68 -25
  34. package/dist-es/pagination/DescribeJobQueuesPaginator.js +68 -25
  35. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  36. package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +68 -25
  37. package/dist-es/protocols/Aws_restJson1.js +2471 -2036
  38. package/dist-es/runtimeConfig.browser.js +12 -26
  39. package/dist-es/runtimeConfig.js +12 -30
  40. package/dist-es/runtimeConfig.native.js +5 -8
  41. package/dist-es/runtimeConfig.shared.js +11 -8
  42. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateComputeEnvironmentRequestFilterSensitiveLog, CreateComputeEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateComputeEnvironmentCommand, serializeAws_restJson1CreateComputeEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateComputeEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateComputeEnvironmentCommand = (function (_super) {
7
+ __extends(CreateComputeEnvironmentCommand, _super);
8
+ function CreateComputeEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateComputeEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "CreateComputeEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "CreateComputeEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateComputeEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateComputeEnvironmentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateComputeEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateComputeEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateComputeEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateComputeEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateComputeEnvironmentCommand;
38
+ }($Command));
39
+ export { CreateComputeEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateJobQueueRequestFilterSensitiveLog, CreateJobQueueResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateJobQueueCommand, serializeAws_restJson1CreateJobQueueCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateJobQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateJobQueueCommand = (function (_super) {
7
+ __extends(CreateJobQueueCommand, _super);
8
+ function CreateJobQueueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateJobQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "CreateJobQueueCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "CreateJobQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateJobQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateJobQueueResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateJobQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateJobQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateJobQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateJobQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateJobQueueCommand;
38
+ }($Command));
39
+ export { CreateJobQueueCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSchedulingPolicyRequestFilterSensitiveLog, CreateSchedulingPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateSchedulingPolicyCommand, serializeAws_restJson1CreateSchedulingPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateSchedulingPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSchedulingPolicyCommand = (function (_super) {
7
+ __extends(CreateSchedulingPolicyCommand, _super);
8
+ function CreateSchedulingPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSchedulingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "CreateSchedulingPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "CreateSchedulingPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSchedulingPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSchedulingPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSchedulingPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateSchedulingPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSchedulingPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateSchedulingPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSchedulingPolicyCommand;
38
+ }($Command));
39
+ export { CreateSchedulingPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteComputeEnvironmentRequestFilterSensitiveLog, DeleteComputeEnvironmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteComputeEnvironmentCommand, serializeAws_restJson1DeleteComputeEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteComputeEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteComputeEnvironmentCommand = (function (_super) {
7
+ __extends(DeleteComputeEnvironmentCommand, _super);
8
+ function DeleteComputeEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteComputeEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DeleteComputeEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DeleteComputeEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteComputeEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteComputeEnvironmentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteComputeEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteComputeEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteComputeEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteComputeEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteComputeEnvironmentCommand;
38
+ }($Command));
39
+ export { DeleteComputeEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteJobQueueRequestFilterSensitiveLog, DeleteJobQueueResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteJobQueueCommand, serializeAws_restJson1DeleteJobQueueCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteJobQueueCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteJobQueueCommand = (function (_super) {
7
+ __extends(DeleteJobQueueCommand, _super);
8
+ function DeleteJobQueueCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteJobQueueCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DeleteJobQueueCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DeleteJobQueueCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteJobQueueRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteJobQueueResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteJobQueueCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteJobQueueCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteJobQueueCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteJobQueueCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteJobQueueCommand;
38
+ }($Command));
39
+ export { DeleteJobQueueCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSchedulingPolicyRequestFilterSensitiveLog, DeleteSchedulingPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSchedulingPolicyCommand, serializeAws_restJson1DeleteSchedulingPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSchedulingPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSchedulingPolicyCommand = (function (_super) {
7
+ __extends(DeleteSchedulingPolicyCommand, _super);
8
+ function DeleteSchedulingPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSchedulingPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DeleteSchedulingPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DeleteSchedulingPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSchedulingPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSchedulingPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSchedulingPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSchedulingPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSchedulingPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSchedulingPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSchedulingPolicyCommand;
38
+ }($Command));
39
+ export { DeleteSchedulingPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeregisterJobDefinitionRequestFilterSensitiveLog, DeregisterJobDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeregisterJobDefinitionCommand, serializeAws_restJson1DeregisterJobDefinitionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeregisterJobDefinitionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeregisterJobDefinitionCommand = (function (_super) {
7
+ __extends(DeregisterJobDefinitionCommand, _super);
8
+ function DeregisterJobDefinitionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeregisterJobDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DeregisterJobDefinitionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DeregisterJobDefinitionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeregisterJobDefinitionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeregisterJobDefinitionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeregisterJobDefinitionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeregisterJobDefinitionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeregisterJobDefinitionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeregisterJobDefinitionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeregisterJobDefinitionCommand;
38
+ }($Command));
39
+ export { DeregisterJobDefinitionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeComputeEnvironmentsRequestFilterSensitiveLog, DescribeComputeEnvironmentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeComputeEnvironmentsCommand, serializeAws_restJson1DescribeComputeEnvironmentsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeComputeEnvironmentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeComputeEnvironmentsCommand = (function (_super) {
7
+ __extends(DescribeComputeEnvironmentsCommand, _super);
8
+ function DescribeComputeEnvironmentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeComputeEnvironmentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DescribeComputeEnvironmentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DescribeComputeEnvironmentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeComputeEnvironmentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeComputeEnvironmentsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeComputeEnvironmentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeComputeEnvironmentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeComputeEnvironmentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeComputeEnvironmentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeComputeEnvironmentsCommand;
38
+ }($Command));
39
+ export { DescribeComputeEnvironmentsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeJobDefinitionsRequestFilterSensitiveLog, DescribeJobDefinitionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobDefinitionsCommand, serializeAws_restJson1DescribeJobDefinitionsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobDefinitionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobDefinitionsCommand = (function (_super) {
7
+ __extends(DescribeJobDefinitionsCommand, _super);
8
+ function DescribeJobDefinitionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobDefinitionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DescribeJobDefinitionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DescribeJobDefinitionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobDefinitionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobDefinitionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeJobDefinitionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobDefinitionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobDefinitionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobDefinitionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobDefinitionsCommand;
38
+ }($Command));
39
+ export { DescribeJobDefinitionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeJobQueuesRequestFilterSensitiveLog, DescribeJobQueuesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobQueuesCommand, serializeAws_restJson1DescribeJobQueuesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobQueuesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobQueuesCommand = (function (_super) {
7
+ __extends(DescribeJobQueuesCommand, _super);
8
+ function DescribeJobQueuesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobQueuesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BatchClient";
15
- const commandName = "DescribeJobQueuesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BatchClient";
18
+ var commandName = "DescribeJobQueuesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobQueuesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobQueuesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeJobQueuesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobQueuesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobQueuesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobQueuesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobQueuesCommand;
38
+ }($Command));
39
+ export { DescribeJobQueuesCommand };