@aws-sdk/client-batch 3.927.0 → 3.929.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 (61) hide show
  1. package/dist-cjs/index.js +2306 -1659
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BatchClient.js +2 -0
  4. package/dist-es/commands/CancelJobCommand.js +3 -9
  5. package/dist-es/commands/CreateComputeEnvironmentCommand.js +3 -9
  6. package/dist-es/commands/CreateConsumableResourceCommand.js +3 -9
  7. package/dist-es/commands/CreateJobQueueCommand.js +3 -9
  8. package/dist-es/commands/CreateSchedulingPolicyCommand.js +3 -9
  9. package/dist-es/commands/CreateServiceEnvironmentCommand.js +3 -9
  10. package/dist-es/commands/DeleteComputeEnvironmentCommand.js +3 -9
  11. package/dist-es/commands/DeleteConsumableResourceCommand.js +3 -9
  12. package/dist-es/commands/DeleteJobQueueCommand.js +3 -9
  13. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +3 -9
  14. package/dist-es/commands/DeleteServiceEnvironmentCommand.js +3 -9
  15. package/dist-es/commands/DeregisterJobDefinitionCommand.js +3 -9
  16. package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +3 -9
  17. package/dist-es/commands/DescribeConsumableResourceCommand.js +3 -9
  18. package/dist-es/commands/DescribeJobDefinitionsCommand.js +3 -9
  19. package/dist-es/commands/DescribeJobQueuesCommand.js +3 -9
  20. package/dist-es/commands/DescribeJobsCommand.js +3 -9
  21. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +3 -9
  22. package/dist-es/commands/DescribeServiceEnvironmentsCommand.js +3 -9
  23. package/dist-es/commands/DescribeServiceJobCommand.js +3 -9
  24. package/dist-es/commands/GetJobQueueSnapshotCommand.js +3 -9
  25. package/dist-es/commands/ListConsumableResourcesCommand.js +3 -9
  26. package/dist-es/commands/ListJobsByConsumableResourceCommand.js +3 -9
  27. package/dist-es/commands/ListJobsCommand.js +3 -9
  28. package/dist-es/commands/ListSchedulingPoliciesCommand.js +3 -9
  29. package/dist-es/commands/ListServiceJobsCommand.js +3 -9
  30. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  31. package/dist-es/commands/RegisterJobDefinitionCommand.js +3 -9
  32. package/dist-es/commands/SubmitJobCommand.js +3 -9
  33. package/dist-es/commands/SubmitServiceJobCommand.js +3 -9
  34. package/dist-es/commands/TagResourceCommand.js +3 -9
  35. package/dist-es/commands/TerminateJobCommand.js +3 -9
  36. package/dist-es/commands/TerminateServiceJobCommand.js +3 -9
  37. package/dist-es/commands/UntagResourceCommand.js +3 -9
  38. package/dist-es/commands/UpdateComputeEnvironmentCommand.js +3 -9
  39. package/dist-es/commands/UpdateConsumableResourceCommand.js +3 -9
  40. package/dist-es/commands/UpdateJobQueueCommand.js +3 -9
  41. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +3 -9
  42. package/dist-es/commands/UpdateServiceEnvironmentCommand.js +3 -9
  43. package/dist-es/runtimeConfig.shared.js +2 -0
  44. package/dist-es/schemas/schemas_0.js +2236 -0
  45. package/dist-types/BatchClient.d.ts +10 -1
  46. package/dist-types/models/models_0.d.ts +45 -57
  47. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  48. package/dist-types/runtimeConfig.d.ts +1 -0
  49. package/dist-types/runtimeConfig.native.d.ts +1 -0
  50. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/schemas/schemas_0.d.ts +301 -0
  52. package/dist-types/ts3.4/BatchClient.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +306 -0
  58. package/package.json +5 -6
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1382
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -353
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -473
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListJobsByConsumableResourceCommand, se_ListJobsByConsumableResourceCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListJobsByConsumableResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobsByConsumableResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "ListJobsByConsumableResource", {})
17
13
  .n("BatchClient", "ListJobsByConsumableResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobsByConsumableResourceCommand)
20
- .de(de_ListJobsByConsumableResourceCommand)
14
+ .sc(ListJobsByConsumableResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListJobsCommand, se_ListJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "ListJobs", {})
17
13
  .n("BatchClient", "ListJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobsCommand)
20
- .de(de_ListJobsCommand)
14
+ .sc(ListJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSchedulingPoliciesCommand, se_ListSchedulingPoliciesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSchedulingPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSchedulingPoliciesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "ListSchedulingPolicies", {})
17
13
  .n("BatchClient", "ListSchedulingPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSchedulingPoliciesCommand)
20
- .de(de_ListSchedulingPoliciesCommand)
14
+ .sc(ListSchedulingPolicies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListServiceJobsCommand, se_ListServiceJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListServiceJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListServiceJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "ListServiceJobs", {})
17
13
  .n("BatchClient", "ListServiceJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListServiceJobsCommand)
20
- .de(de_ListServiceJobsCommand)
14
+ .sc(ListServiceJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "ListTagsForResource", {})
17
13
  .n("BatchClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RegisterJobDefinitionCommand, se_RegisterJobDefinitionCommand } from "../protocols/Aws_restJson1";
4
+ import { RegisterJobDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterJobDefinitionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "RegisterJobDefinition", {})
17
13
  .n("BatchClient", "RegisterJobDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterJobDefinitionCommand)
20
- .de(de_RegisterJobDefinitionCommand)
14
+ .sc(RegisterJobDefinition)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SubmitJobCommand, se_SubmitJobCommand } from "../protocols/Aws_restJson1";
4
+ import { SubmitJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SubmitJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "SubmitJob", {})
17
13
  .n("BatchClient", "SubmitJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SubmitJobCommand)
20
- .de(de_SubmitJobCommand)
14
+ .sc(SubmitJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SubmitServiceJobCommand, se_SubmitServiceJobCommand } from "../protocols/Aws_restJson1";
4
+ import { SubmitServiceJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SubmitServiceJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "SubmitServiceJob", {})
17
13
  .n("BatchClient", "SubmitServiceJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SubmitServiceJobCommand)
20
- .de(de_SubmitServiceJobCommand)
14
+ .sc(SubmitServiceJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "TagResource", {})
17
13
  .n("BatchClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateJobCommand, se_TerminateJobCommand } from "../protocols/Aws_restJson1";
4
+ import { TerminateJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "TerminateJob", {})
17
13
  .n("BatchClient", "TerminateJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateJobCommand)
20
- .de(de_TerminateJobCommand)
14
+ .sc(TerminateJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateServiceJobCommand, se_TerminateServiceJobCommand } from "../protocols/Aws_restJson1";
4
+ import { TerminateServiceJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateServiceJobCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "TerminateServiceJob", {})
17
13
  .n("BatchClient", "TerminateServiceJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateServiceJobCommand)
20
- .de(de_TerminateServiceJobCommand)
14
+ .sc(TerminateServiceJob)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UntagResource", {})
17
13
  .n("BatchClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateComputeEnvironmentCommand, se_UpdateComputeEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateComputeEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateComputeEnvironmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UpdateComputeEnvironment", {})
17
13
  .n("BatchClient", "UpdateComputeEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateComputeEnvironmentCommand)
20
- .de(de_UpdateComputeEnvironmentCommand)
14
+ .sc(UpdateComputeEnvironment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateConsumableResourceCommand, se_UpdateConsumableResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateConsumableResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateConsumableResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UpdateConsumableResource", {})
17
13
  .n("BatchClient", "UpdateConsumableResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateConsumableResourceCommand)
20
- .de(de_UpdateConsumableResourceCommand)
14
+ .sc(UpdateConsumableResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateJobQueueCommand, se_UpdateJobQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateJobQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateJobQueueCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UpdateJobQueue", {})
17
13
  .n("BatchClient", "UpdateJobQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateJobQueueCommand)
20
- .de(de_UpdateJobQueueCommand)
14
+ .sc(UpdateJobQueue)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSchedulingPolicyCommand, se_UpdateSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSchedulingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSchedulingPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UpdateSchedulingPolicy", {})
17
13
  .n("BatchClient", "UpdateSchedulingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSchedulingPolicyCommand)
20
- .de(de_UpdateSchedulingPolicyCommand)
14
+ .sc(UpdateSchedulingPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateServiceEnvironmentCommand, se_UpdateServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateServiceEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateServiceEnvironmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSBatchV20160810", "UpdateServiceEnvironment", {})
17
13
  .n("BatchClient", "UpdateServiceEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateServiceEnvironmentCommand)
20
- .de(de_UpdateServiceEnvironmentCommand)
14
+ .sc(UpdateServiceEnvironment)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.batch" }),
25
27
  serviceId: config?.serviceId ?? "Batch",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,