@aws-sdk/client-batch 3.928.0 → 3.930.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 +33 -34
  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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.batch" }),
28
30
  serviceId: config?.serviceId ?? "Batch",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class BatchClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_CancelJobCommand, se_CancelJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelJobCommand 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", "CancelJob", {})
17
13
  .n("BatchClient", "CancelJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelJobCommand)
20
- .de(de_CancelJobCommand)
14
+ .sc(CancelJob)
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_CreateComputeEnvironmentCommand, se_CreateComputeEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateComputeEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateComputeEnvironmentCommand 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", "CreateComputeEnvironment", {})
17
13
  .n("BatchClient", "CreateComputeEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateComputeEnvironmentCommand)
20
- .de(de_CreateComputeEnvironmentCommand)
14
+ .sc(CreateComputeEnvironment)
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_CreateConsumableResourceCommand, se_CreateConsumableResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateConsumableResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateConsumableResourceCommand 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", "CreateConsumableResource", {})
17
13
  .n("BatchClient", "CreateConsumableResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateConsumableResourceCommand)
20
- .de(de_CreateConsumableResourceCommand)
14
+ .sc(CreateConsumableResource)
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_CreateJobQueueCommand, se_CreateJobQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateJobQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateJobQueueCommand 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", "CreateJobQueue", {})
17
13
  .n("BatchClient", "CreateJobQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateJobQueueCommand)
20
- .de(de_CreateJobQueueCommand)
14
+ .sc(CreateJobQueue)
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_CreateSchedulingPolicyCommand, se_CreateSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSchedulingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSchedulingPolicyCommand 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", "CreateSchedulingPolicy", {})
17
13
  .n("BatchClient", "CreateSchedulingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSchedulingPolicyCommand)
20
- .de(de_CreateSchedulingPolicyCommand)
14
+ .sc(CreateSchedulingPolicy)
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_CreateServiceEnvironmentCommand, se_CreateServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateServiceEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateServiceEnvironmentCommand 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", "CreateServiceEnvironment", {})
17
13
  .n("BatchClient", "CreateServiceEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateServiceEnvironmentCommand)
20
- .de(de_CreateServiceEnvironmentCommand)
14
+ .sc(CreateServiceEnvironment)
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_DeleteComputeEnvironmentCommand, se_DeleteComputeEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteComputeEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteComputeEnvironmentCommand 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", "DeleteComputeEnvironment", {})
17
13
  .n("BatchClient", "DeleteComputeEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteComputeEnvironmentCommand)
20
- .de(de_DeleteComputeEnvironmentCommand)
14
+ .sc(DeleteComputeEnvironment)
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_DeleteConsumableResourceCommand, se_DeleteConsumableResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteConsumableResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteConsumableResourceCommand 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", "DeleteConsumableResource", {})
17
13
  .n("BatchClient", "DeleteConsumableResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteConsumableResourceCommand)
20
- .de(de_DeleteConsumableResourceCommand)
14
+ .sc(DeleteConsumableResource)
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_DeleteJobQueueCommand, se_DeleteJobQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteJobQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteJobQueueCommand 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", "DeleteJobQueue", {})
17
13
  .n("BatchClient", "DeleteJobQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteJobQueueCommand)
20
- .de(de_DeleteJobQueueCommand)
14
+ .sc(DeleteJobQueue)
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_DeleteSchedulingPolicyCommand, se_DeleteSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSchedulingPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSchedulingPolicyCommand 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", "DeleteSchedulingPolicy", {})
17
13
  .n("BatchClient", "DeleteSchedulingPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSchedulingPolicyCommand)
20
- .de(de_DeleteSchedulingPolicyCommand)
14
+ .sc(DeleteSchedulingPolicy)
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_DeleteServiceEnvironmentCommand, se_DeleteServiceEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteServiceEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteServiceEnvironmentCommand 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", "DeleteServiceEnvironment", {})
17
13
  .n("BatchClient", "DeleteServiceEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteServiceEnvironmentCommand)
20
- .de(de_DeleteServiceEnvironmentCommand)
14
+ .sc(DeleteServiceEnvironment)
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_DeregisterJobDefinitionCommand, se_DeregisterJobDefinitionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeregisterJobDefinition } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeregisterJobDefinitionCommand 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", "DeregisterJobDefinition", {})
17
13
  .n("BatchClient", "DeregisterJobDefinitionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeregisterJobDefinitionCommand)
20
- .de(de_DeregisterJobDefinitionCommand)
14
+ .sc(DeregisterJobDefinition)
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_DescribeComputeEnvironmentsCommand, se_DescribeComputeEnvironmentsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeComputeEnvironments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeComputeEnvironmentsCommand 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", "DescribeComputeEnvironments", {})
17
13
  .n("BatchClient", "DescribeComputeEnvironmentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeComputeEnvironmentsCommand)
20
- .de(de_DescribeComputeEnvironmentsCommand)
14
+ .sc(DescribeComputeEnvironments)
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_DescribeConsumableResourceCommand, se_DescribeConsumableResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeConsumableResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeConsumableResourceCommand 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", "DescribeConsumableResource", {})
17
13
  .n("BatchClient", "DescribeConsumableResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeConsumableResourceCommand)
20
- .de(de_DescribeConsumableResourceCommand)
14
+ .sc(DescribeConsumableResource)
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_DescribeJobDefinitionsCommand, se_DescribeJobDefinitionsCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeJobDefinitions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeJobDefinitionsCommand 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", "DescribeJobDefinitions", {})
17
13
  .n("BatchClient", "DescribeJobDefinitionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeJobDefinitionsCommand)
20
- .de(de_DescribeJobDefinitionsCommand)
14
+ .sc(DescribeJobDefinitions)
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_DescribeJobQueuesCommand, se_DescribeJobQueuesCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeJobQueues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeJobQueuesCommand 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", "DescribeJobQueues", {})
17
13
  .n("BatchClient", "DescribeJobQueuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeJobQueuesCommand)
20
- .de(de_DescribeJobQueuesCommand)
14
+ .sc(DescribeJobQueues)
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_DescribeJobsCommand, se_DescribeJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeJobsCommand 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", "DescribeJobs", {})
17
13
  .n("BatchClient", "DescribeJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeJobsCommand)
20
- .de(de_DescribeJobsCommand)
14
+ .sc(DescribeJobs)
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_DescribeSchedulingPoliciesCommand, se_DescribeSchedulingPoliciesCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeSchedulingPolicies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSchedulingPoliciesCommand 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", "DescribeSchedulingPolicies", {})
17
13
  .n("BatchClient", "DescribeSchedulingPoliciesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSchedulingPoliciesCommand)
20
- .de(de_DescribeSchedulingPoliciesCommand)
14
+ .sc(DescribeSchedulingPolicies)
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_DescribeServiceEnvironmentsCommand, se_DescribeServiceEnvironmentsCommand, } from "../protocols/Aws_restJson1";
4
+ import { DescribeServiceEnvironments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeServiceEnvironmentsCommand 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", "DescribeServiceEnvironments", {})
17
13
  .n("BatchClient", "DescribeServiceEnvironmentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeServiceEnvironmentsCommand)
20
- .de(de_DescribeServiceEnvironmentsCommand)
14
+ .sc(DescribeServiceEnvironments)
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_DescribeServiceJobCommand, se_DescribeServiceJobCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeServiceJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeServiceJobCommand 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", "DescribeServiceJob", {})
17
13
  .n("BatchClient", "DescribeServiceJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeServiceJobCommand)
20
- .de(de_DescribeServiceJobCommand)
14
+ .sc(DescribeServiceJob)
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_GetJobQueueSnapshotCommand, se_GetJobQueueSnapshotCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJobQueueSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobQueueSnapshotCommand 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", "GetJobQueueSnapshot", {})
17
13
  .n("BatchClient", "GetJobQueueSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobQueueSnapshotCommand)
20
- .de(de_GetJobQueueSnapshotCommand)
14
+ .sc(GetJobQueueSnapshot)
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_ListConsumableResourcesCommand, se_ListConsumableResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListConsumableResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListConsumableResourcesCommand 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", "ListConsumableResources", {})
17
13
  .n("BatchClient", "ListConsumableResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListConsumableResourcesCommand)
20
- .de(de_ListConsumableResourcesCommand)
14
+ .sc(ListConsumableResources)
21
15
  .build() {
22
16
  }