@aws-sdk/client-batch 3.478.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +9 -9
@@ -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_UpdateComputeEnvironmentCommand, se_UpdateComputeEnvironmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateComputeEnvironmentCommand 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, UpdateComputeEnvironmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "UpdateComputeEnvironmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "UpdateComputeEnvironment",
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_UpdateComputeEnvironmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateComputeEnvironmentCommand(output, context);
46
- }
7
+ export class UpdateComputeEnvironmentCommand 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", "UpdateComputeEnvironment", {})
19
+ .n("BatchClient", "UpdateComputeEnvironmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateComputeEnvironmentCommand)
22
+ .de(de_UpdateComputeEnvironmentCommand)
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_UpdateJobQueueCommand, se_UpdateJobQueueCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateJobQueueCommand 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, UpdateJobQueueCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "UpdateJobQueueCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "UpdateJobQueue",
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_UpdateJobQueueCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateJobQueueCommand(output, context);
46
- }
7
+ export class UpdateJobQueueCommand 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", "UpdateJobQueue", {})
19
+ .n("BatchClient", "UpdateJobQueueCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateJobQueueCommand)
22
+ .de(de_UpdateJobQueueCommand)
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_UpdateSchedulingPolicyCommand, se_UpdateSchedulingPolicyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateSchedulingPolicyCommand 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, UpdateSchedulingPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "BatchClient";
26
- const commandName = "UpdateSchedulingPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSBatchV20160810",
35
- operation: "UpdateSchedulingPolicy",
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_UpdateSchedulingPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSchedulingPolicyCommand(output, context);
46
- }
7
+ export class UpdateSchedulingPolicyCommand 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", "UpdateSchedulingPolicy", {})
19
+ .n("BatchClient", "UpdateSchedulingPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSchedulingPolicyCommand)
22
+ .de(de_UpdateSchedulingPolicyCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "batch",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { CancelJobRequest, CancelJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CancelJobCommandInput extends CancelJobRequest {
21
20
  */
22
21
  export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const CancelJobCommand_base: {
24
+ new (input: CancelJobCommandInput): import("@smithy/smithy-client").CommandImpl<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Cancels a job in an Batch job queue. Jobs that are in the
@@ -90,23 +93,5 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
90
93
  * ```
91
94
  *
92
95
  */
93
- export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig> {
94
- readonly input: CancelJobCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: CancelJobCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobCommandInput, CancelJobCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class CancelJobCommand extends CancelJobCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { CreateComputeEnvironmentRequest, CreateComputeEnvironmentResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateComputeEnvironmentCommandInput extends CreateComputeEnvir
21
20
  */
22
21
  export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvironmentResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateComputeEnvironmentCommand_base: {
24
+ new (input: CreateComputeEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
@@ -280,23 +283,5 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
280
283
  * ```
281
284
  *
282
285
  */
283
- export declare class CreateComputeEnvironmentCommand extends $Command<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
284
- readonly input: CreateComputeEnvironmentCommandInput;
285
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
286
- /**
287
- * @public
288
- */
289
- constructor(input: CreateComputeEnvironmentCommandInput);
290
- /**
291
- * @internal
292
- */
293
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput>;
294
- /**
295
- * @internal
296
- */
297
- private serialize;
298
- /**
299
- * @internal
300
- */
301
- private deserialize;
286
+ export declare class CreateComputeEnvironmentCommand extends CreateComputeEnvironmentCommand_base {
302
287
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { CreateJobQueueRequest, CreateJobQueueResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateJobQueueCommandInput extends CreateJobQueueRequest {
21
20
  */
22
21
  export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateJobQueueCommand_base: {
24
+ new (input: CreateJobQueueCommandInput): import("@smithy/smithy-client").CommandImpl<CreateJobQueueCommandInput, CreateJobQueueCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an Batch job queue. When you create a job queue, you associate one or more compute environments to the
@@ -131,23 +134,5 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
131
134
  * ```
132
135
  *
133
136
  */
134
- export declare class CreateJobQueueCommand extends $Command<CreateJobQueueCommandInput, CreateJobQueueCommandOutput, BatchClientResolvedConfig> {
135
- readonly input: CreateJobQueueCommandInput;
136
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
137
- /**
138
- * @public
139
- */
140
- constructor(input: CreateJobQueueCommandInput);
141
- /**
142
- * @internal
143
- */
144
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateJobQueueCommandInput, CreateJobQueueCommandOutput>;
145
- /**
146
- * @internal
147
- */
148
- private serialize;
149
- /**
150
- * @internal
151
- */
152
- private deserialize;
137
+ export declare class CreateJobQueueCommand extends CreateJobQueueCommand_base {
153
138
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { CreateSchedulingPolicyRequest, CreateSchedulingPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPoli
21
20
  */
22
21
  export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateSchedulingPolicyCommand_base: {
24
+ new (input: CreateSchedulingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an Batch scheduling policy.</p>
@@ -73,23 +76,5 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
73
76
  * <p>Base exception class for all service exceptions from Batch service.</p>
74
77
  *
75
78
  */
76
- export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
77
- readonly input: CreateSchedulingPolicyCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: CreateSchedulingPolicyCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class CreateSchedulingPolicyCommand extends CreateSchedulingPolicyCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DeleteComputeEnvironmentRequest, DeleteComputeEnvironmentResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteComputeEnvironmentCommandInput extends DeleteComputeEnvir
21
20
  */
22
21
  export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvironmentResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteComputeEnvironmentCommand_base: {
24
+ new (input: DeleteComputeEnvironmentCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes an Batch compute environment.</p>
@@ -71,23 +74,5 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
71
74
  * ```
72
75
  *
73
76
  */
74
- export declare class DeleteComputeEnvironmentCommand extends $Command<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
75
- readonly input: DeleteComputeEnvironmentCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: DeleteComputeEnvironmentCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class DeleteComputeEnvironmentCommand extends DeleteComputeEnvironmentCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DeleteJobQueueRequest, DeleteJobQueueResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteJobQueueCommandInput extends DeleteJobQueueRequest {
21
20
  */
22
21
  export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteJobQueueCommand_base: {
24
+ new (input: DeleteJobQueueCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a> operation. All jobs in the queue are eventually terminated when you delete a job queue.
@@ -71,23 +74,5 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
71
74
  * ```
72
75
  *
73
76
  */
74
- export declare class DeleteJobQueueCommand extends $Command<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, BatchClientResolvedConfig> {
75
- readonly input: DeleteJobQueueCommandInput;
76
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
- /**
78
- * @public
79
- */
80
- constructor(input: DeleteJobQueueCommandInput);
81
- /**
82
- * @internal
83
- */
84
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput>;
85
- /**
86
- * @internal
87
- */
88
- private serialize;
89
- /**
90
- * @internal
91
- */
92
- private deserialize;
77
+ export declare class DeleteJobQueueCommand extends DeleteJobQueueCommand_base {
93
78
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DeleteSchedulingPolicyRequest, DeleteSchedulingPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPoli
21
20
  */
22
21
  export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSchedulingPolicyCommand_base: {
24
+ new (input: DeleteSchedulingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified scheduling policy.</p>
@@ -58,23 +61,5 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
58
61
  * <p>Base exception class for all service exceptions from Batch service.</p>
59
62
  *
60
63
  */
61
- export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
62
- readonly input: DeleteSchedulingPolicyCommandInput;
63
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
- /**
65
- * @public
66
- */
67
- constructor(input: DeleteSchedulingPolicyCommandInput);
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput>;
72
- /**
73
- * @internal
74
- */
75
- private serialize;
76
- /**
77
- * @internal
78
- */
79
- private deserialize;
64
+ export declare class DeleteSchedulingPolicyCommand extends DeleteSchedulingPolicyCommand_base {
80
65
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DeregisterJobDefinitionRequest, DeregisterJobDefinitionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeregisterJobDefinitionCommandInput extends DeregisterJobDefini
21
20
  */
22
21
  export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefinitionResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeregisterJobDefinitionCommand_base: {
24
+ new (input: DeregisterJobDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.</p>
@@ -68,23 +71,5 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
68
71
  * ```
69
72
  *
70
73
  */
71
- export declare class DeregisterJobDefinitionCommand extends $Command<DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, BatchClientResolvedConfig> {
72
- readonly input: DeregisterJobDefinitionCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: DeregisterJobDefinitionCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class DeregisterJobDefinitionCommand extends DeregisterJobDefinitionCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DescribeComputeEnvironmentsRequest, DescribeComputeEnvironmentsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeComputeEnvironmentsCommandInput extends DescribeCompute
21
20
  */
22
21
  export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComputeEnvironmentsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeComputeEnvironmentsCommand_base: {
24
+ new (input: DescribeComputeEnvironmentsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes one or more of your compute environments.</p>
@@ -180,23 +183,5 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
180
183
  * ```
181
184
  *
182
185
  */
183
- export declare class DescribeComputeEnvironmentsCommand extends $Command<DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput, BatchClientResolvedConfig> {
184
- readonly input: DescribeComputeEnvironmentsCommandInput;
185
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
186
- /**
187
- * @public
188
- */
189
- constructor(input: DescribeComputeEnvironmentsCommandInput);
190
- /**
191
- * @internal
192
- */
193
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput>;
194
- /**
195
- * @internal
196
- */
197
- private serialize;
198
- /**
199
- * @internal
200
- */
201
- private deserialize;
186
+ export declare class DescribeComputeEnvironmentsCommand extends DescribeComputeEnvironmentsCommand_base {
202
187
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
5
4
  import { DescribeJobDefinitionsRequest, DescribeJobDefinitionsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeJobDefinitionsCommandInput extends DescribeJobDefinitio
21
20
  */
22
21
  export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefinitionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeJobDefinitionsCommand_base: {
24
+ new (input: DescribeJobDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
@@ -434,23 +437,5 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
434
437
  * ```
435
438
  *
436
439
  */
437
- export declare class DescribeJobDefinitionsCommand extends $Command<DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput, BatchClientResolvedConfig> {
438
- readonly input: DescribeJobDefinitionsCommandInput;
439
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
440
- /**
441
- * @public
442
- */
443
- constructor(input: DescribeJobDefinitionsCommandInput);
444
- /**
445
- * @internal
446
- */
447
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput>;
448
- /**
449
- * @internal
450
- */
451
- private serialize;
452
- /**
453
- * @internal
454
- */
455
- private deserialize;
440
+ export declare class DescribeJobDefinitionsCommand extends DescribeJobDefinitionsCommand_base {
456
441
  }