@aws-sdk/client-batch 3.478.0 → 3.484.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 (101) hide show
  1. package/dist-cjs/commands/CancelJobCommand.js +18 -41
  2. package/dist-cjs/commands/CreateComputeEnvironmentCommand.js +18 -41
  3. package/dist-cjs/commands/CreateJobQueueCommand.js +18 -41
  4. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteComputeEnvironmentCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteJobQueueCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/DeregisterJobDefinitionCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeComputeEnvironmentsCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeJobDefinitionsCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeJobQueuesCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeJobsCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +18 -41
  14. package/dist-cjs/commands/ListJobsCommand.js +18 -41
  15. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +18 -41
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  17. package/dist-cjs/commands/RegisterJobDefinitionCommand.js +18 -41
  18. package/dist-cjs/commands/SubmitJobCommand.js +18 -41
  19. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  20. package/dist-cjs/commands/TerminateJobCommand.js +18 -41
  21. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateComputeEnvironmentCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateJobQueueCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +18 -41
  25. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  26. package/dist-es/commands/CancelJobCommand.js +18 -41
  27. package/dist-es/commands/CreateComputeEnvironmentCommand.js +18 -41
  28. package/dist-es/commands/CreateJobQueueCommand.js +18 -41
  29. package/dist-es/commands/CreateSchedulingPolicyCommand.js +18 -41
  30. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +18 -41
  31. package/dist-es/commands/DeleteJobQueueCommand.js +18 -41
  32. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +18 -41
  33. package/dist-es/commands/DeregisterJobDefinitionCommand.js +18 -41
  34. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +18 -41
  35. package/dist-es/commands/DescribeJobDefinitionsCommand.js +18 -41
  36. package/dist-es/commands/DescribeJobQueuesCommand.js +18 -41
  37. package/dist-es/commands/DescribeJobsCommand.js +18 -41
  38. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +18 -41
  39. package/dist-es/commands/ListJobsCommand.js +18 -41
  40. package/dist-es/commands/ListSchedulingPoliciesCommand.js +18 -41
  41. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  42. package/dist-es/commands/RegisterJobDefinitionCommand.js +18 -41
  43. package/dist-es/commands/SubmitJobCommand.js +18 -41
  44. package/dist-es/commands/TagResourceCommand.js +18 -41
  45. package/dist-es/commands/TerminateJobCommand.js +18 -41
  46. package/dist-es/commands/UntagResourceCommand.js +18 -41
  47. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +18 -41
  48. package/dist-es/commands/UpdateJobQueueCommand.js +18 -41
  49. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +18 -41
  50. package/dist-es/endpoint/EndpointParameters.js +6 -0
  51. package/dist-types/commands/CancelJobCommand.d.ts +6 -21
  52. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +6 -21
  53. package/dist-types/commands/CreateJobQueueCommand.d.ts +6 -21
  54. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +6 -21
  55. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteJobQueueCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +6 -21
  58. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +6 -21
  59. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +6 -21
  60. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +6 -21
  61. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +6 -21
  62. package/dist-types/commands/DescribeJobsCommand.d.ts +6 -21
  63. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +6 -21
  64. package/dist-types/commands/ListJobsCommand.d.ts +6 -21
  65. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +6 -21
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  67. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +6 -21
  68. package/dist-types/commands/SubmitJobCommand.d.ts +6 -21
  69. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  70. package/dist-types/commands/TerminateJobCommand.d.ts +6 -21
  71. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  72. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +6 -21
  73. package/dist-types/commands/UpdateJobQueueCommand.d.ts +6 -21
  74. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +6 -21
  75. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  76. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/CreateComputeEnvironmentCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/CreateJobQueueCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/DeleteComputeEnvironmentCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/DeleteJobQueueCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/DeregisterJobDefinitionCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/DescribeComputeEnvironmentsCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DescribeJobDefinitionsCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DescribeJobQueuesCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/RegisterJobDefinitionCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/SubmitJobCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/TerminateJobCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/UpdateComputeEnvironmentCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/UpdateJobQueueCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  101. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateSchedulingPolicyCommand, se_CreateSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateSchedulingPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateSchedulingPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "CreateSchedulingPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "CreateSchedulingPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateSchedulingPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateSchedulingPolicyCommand(output, context);
46
- }
7
+ export class CreateSchedulingPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "CreateSchedulingPolicy", {})
19
+ .n("BatchClient", "CreateSchedulingPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateSchedulingPolicyCommand)
22
+ .de(de_CreateSchedulingPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteComputeEnvironmentCommand, se_DeleteComputeEnvironmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteComputeEnvironmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteComputeEnvironmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DeleteComputeEnvironmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DeleteComputeEnvironment",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteComputeEnvironmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteComputeEnvironmentCommand(output, context);
46
- }
7
+ export class DeleteComputeEnvironmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DeleteComputeEnvironment", {})
19
+ .n("BatchClient", "DeleteComputeEnvironmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteComputeEnvironmentCommand)
22
+ .de(de_DeleteComputeEnvironmentCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteJobQueueCommand, se_DeleteJobQueueCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteJobQueueCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteJobQueueCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DeleteJobQueueCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DeleteJobQueue",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteJobQueueCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteJobQueueCommand(output, context);
46
- }
7
+ export class DeleteJobQueueCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DeleteJobQueue", {})
19
+ .n("BatchClient", "DeleteJobQueueCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteJobQueueCommand)
22
+ .de(de_DeleteJobQueueCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteSchedulingPolicyCommand, se_DeleteSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteSchedulingPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSchedulingPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DeleteSchedulingPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DeleteSchedulingPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteSchedulingPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteSchedulingPolicyCommand(output, context);
46
- }
7
+ export class DeleteSchedulingPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DeleteSchedulingPolicy", {})
19
+ .n("BatchClient", "DeleteSchedulingPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSchedulingPolicyCommand)
22
+ .de(de_DeleteSchedulingPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeregisterJobDefinitionCommand, se_DeregisterJobDefinitionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeregisterJobDefinitionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterJobDefinitionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DeregisterJobDefinitionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DeregisterJobDefinition",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeregisterJobDefinitionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeregisterJobDefinitionCommand(output, context);
46
- }
7
+ export class DeregisterJobDefinitionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DeregisterJobDefinition", {})
19
+ .n("BatchClient", "DeregisterJobDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeregisterJobDefinitionCommand)
22
+ .de(de_DeregisterJobDefinitionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeComputeEnvironmentsCommand, se_DescribeComputeEnvironmentsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeComputeEnvironmentsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeComputeEnvironmentsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DescribeComputeEnvironmentsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DescribeComputeEnvironments",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeComputeEnvironmentsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeComputeEnvironmentsCommand(output, context);
46
- }
7
+ export class DescribeComputeEnvironmentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DescribeComputeEnvironments", {})
19
+ .n("BatchClient", "DescribeComputeEnvironmentsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeComputeEnvironmentsCommand)
22
+ .de(de_DescribeComputeEnvironmentsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeJobDefinitionsCommand, se_DescribeJobDefinitionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeJobDefinitionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeJobDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DescribeJobDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DescribeJobDefinitions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeJobDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeJobDefinitionsCommand(output, context);
46
- }
7
+ export class DescribeJobDefinitionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DescribeJobDefinitions", {})
19
+ .n("BatchClient", "DescribeJobDefinitionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeJobDefinitionsCommand)
22
+ .de(de_DescribeJobDefinitionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeJobQueuesCommand, se_DescribeJobQueuesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeJobQueuesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeJobQueuesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DescribeJobQueuesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DescribeJobQueues",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeJobQueuesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeJobQueuesCommand(output, context);
46
- }
7
+ export class DescribeJobQueuesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DescribeJobQueues", {})
19
+ .n("BatchClient", "DescribeJobQueuesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeJobQueuesCommand)
22
+ .de(de_DescribeJobQueuesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeJobsCommand, se_DescribeJobsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DescribeJobsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "DescribeJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "DescribeJobs",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeJobsCommand(output, context);
46
- }
7
+ export class DescribeJobsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSBatchV20160810", "DescribeJobs", {})
19
+ .n("BatchClient", "DescribeJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeJobsCommand)
22
+ .de(de_DescribeJobsCommand)
23
+ .build() {
47
24
  }