@aws-sdk/client-batch 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -878,10 +878,10 @@ const _ve = "version";
878
878
  const _vo = "volumes";
879
879
  const _wF = "weightFactor";
880
880
  const n0 = "com.amazonaws.batch";
881
- const _s_registry = TypeRegistry.for(_s);
881
+ const _s_registry = new TypeRegistry(_s);
882
882
  var BatchServiceException$ = [-3, _s, "BatchServiceException", 0, [], []];
883
883
  _s_registry.registerError(BatchServiceException$, BatchServiceException);
884
- const n0_registry = TypeRegistry.for(n0);
884
+ const n0_registry = new TypeRegistry(n0);
885
885
  var ClientException$ = [-3, n0, _CE,
886
886
  { [_e]: _c, [_hE]: 400 },
887
887
  [_m],
@@ -710,10 +710,10 @@ const n0 = "com.amazonaws.batch";
710
710
  import { TypeRegistry } from "@smithy/core/schema";
711
711
  import { BatchServiceException } from "../models/BatchServiceException";
712
712
  import { ClientException, ServerException } from "../models/errors";
713
- const _s_registry = TypeRegistry.for(_s);
713
+ const _s_registry = new TypeRegistry(_s);
714
714
  export var BatchServiceException$ = [-3, _s, "BatchServiceException", 0, [], []];
715
715
  _s_registry.registerError(BatchServiceException$, BatchServiceException);
716
- const n0_registry = TypeRegistry.for(n0);
716
+ const n0_registry = new TypeRegistry(n0);
717
717
  export var ClientException$ = [-3, n0, _CE,
718
718
  { [_e]: _c, [_hE]: 400 },
719
719
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BatchClient } from "./BatchClient";
3
3
  import { type CancelJobCommandInput, type CancelJobCommandOutput } from "./commands/CancelJobCommand";
4
4
  import { type CancelJobsCommandInput, type CancelJobsCommandOutput } from "./commands/CancelJobsCommand";
@@ -48,303 +48,309 @@ import { type UpdateQuotaShareCommandInput, type UpdateQuotaShareCommandOutput }
48
48
  import { type UpdateSchedulingPolicyCommandInput, type UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
49
49
  import { type UpdateServiceEnvironmentCommandInput, type UpdateServiceEnvironmentCommandOutput } from "./commands/UpdateServiceEnvironmentCommand";
50
50
  import { type UpdateServiceJobCommandInput, type UpdateServiceJobCommandOutput } from "./commands/UpdateServiceJobCommand";
51
+ /**
52
+ * @public
53
+ */
54
+ export interface BatchRequestOptions extends __HttpHandlerOptions {
55
+ metricsRecorder?: __MetricsRecorder<unknown>;
56
+ }
51
57
  export interface Batch {
52
58
  /**
53
59
  * @see {@link CancelJobCommand}
54
60
  */
55
- cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
61
+ cancelJob(args: CancelJobCommandInput, options?: BatchRequestOptions): Promise<CancelJobCommandOutput>;
56
62
  cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
57
- cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
63
+ cancelJob(args: CancelJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link CancelJobsCommand}
60
66
  */
61
- cancelJobs(args: CancelJobsCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobsCommandOutput>;
67
+ cancelJobs(args: CancelJobsCommandInput, options?: BatchRequestOptions): Promise<CancelJobsCommandOutput>;
62
68
  cancelJobs(args: CancelJobsCommandInput, cb: (err: any, data?: CancelJobsCommandOutput) => void): void;
63
- cancelJobs(args: CancelJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobsCommandOutput) => void): void;
69
+ cancelJobs(args: CancelJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CancelJobsCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link CreateComputeEnvironmentCommand}
66
72
  */
67
- createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComputeEnvironmentCommandOutput>;
73
+ createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options?: BatchRequestOptions): Promise<CreateComputeEnvironmentCommandOutput>;
68
74
  createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
69
- createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
75
+ createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link CreateConsumableResourceCommand}
72
78
  */
73
- createConsumableResource(args: CreateConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateConsumableResourceCommandOutput>;
79
+ createConsumableResource(args: CreateConsumableResourceCommandInput, options?: BatchRequestOptions): Promise<CreateConsumableResourceCommandOutput>;
74
80
  createConsumableResource(args: CreateConsumableResourceCommandInput, cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void): void;
75
- createConsumableResource(args: CreateConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void): void;
81
+ createConsumableResource(args: CreateConsumableResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link CreateJobQueueCommand}
78
84
  */
79
- createJobQueue(args: CreateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<CreateJobQueueCommandOutput>;
85
+ createJobQueue(args: CreateJobQueueCommandInput, options?: BatchRequestOptions): Promise<CreateJobQueueCommandOutput>;
80
86
  createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
81
- createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
87
+ createJobQueue(args: CreateJobQueueCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link CreateQuotaShareCommand}
84
90
  */
85
- createQuotaShare(args: CreateQuotaShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuotaShareCommandOutput>;
91
+ createQuotaShare(args: CreateQuotaShareCommandInput, options?: BatchRequestOptions): Promise<CreateQuotaShareCommandOutput>;
86
92
  createQuotaShare(args: CreateQuotaShareCommandInput, cb: (err: any, data?: CreateQuotaShareCommandOutput) => void): void;
87
- createQuotaShare(args: CreateQuotaShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQuotaShareCommandOutput) => void): void;
93
+ createQuotaShare(args: CreateQuotaShareCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateQuotaShareCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link CreateSchedulingPolicyCommand}
90
96
  */
91
- createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
97
+ createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: BatchRequestOptions): Promise<CreateSchedulingPolicyCommandOutput>;
92
98
  createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
93
- createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
99
+ createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link CreateServiceEnvironmentCommand}
96
102
  */
97
- createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateServiceEnvironmentCommandOutput>;
103
+ createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options?: BatchRequestOptions): Promise<CreateServiceEnvironmentCommandOutput>;
98
104
  createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void): void;
99
- createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void): void;
105
+ createServiceEnvironment(args: CreateServiceEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void): void;
100
106
  /**
101
107
  * @see {@link DeleteComputeEnvironmentCommand}
102
108
  */
103
- deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComputeEnvironmentCommandOutput>;
109
+ deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options?: BatchRequestOptions): Promise<DeleteComputeEnvironmentCommandOutput>;
104
110
  deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
105
- deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
111
+ deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
106
112
  /**
107
113
  * @see {@link DeleteConsumableResourceCommand}
108
114
  */
109
- deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConsumableResourceCommandOutput>;
115
+ deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options?: BatchRequestOptions): Promise<DeleteConsumableResourceCommandOutput>;
110
116
  deleteConsumableResource(args: DeleteConsumableResourceCommandInput, cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void): void;
111
- deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void): void;
117
+ deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void): void;
112
118
  /**
113
119
  * @see {@link DeleteJobQueueCommand}
114
120
  */
115
- deleteJobQueue(args: DeleteJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobQueueCommandOutput>;
121
+ deleteJobQueue(args: DeleteJobQueueCommandInput, options?: BatchRequestOptions): Promise<DeleteJobQueueCommandOutput>;
116
122
  deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
117
- deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
123
+ deleteJobQueue(args: DeleteJobQueueCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
118
124
  /**
119
125
  * @see {@link DeleteQuotaShareCommand}
120
126
  */
121
- deleteQuotaShare(args: DeleteQuotaShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQuotaShareCommandOutput>;
127
+ deleteQuotaShare(args: DeleteQuotaShareCommandInput, options?: BatchRequestOptions): Promise<DeleteQuotaShareCommandOutput>;
122
128
  deleteQuotaShare(args: DeleteQuotaShareCommandInput, cb: (err: any, data?: DeleteQuotaShareCommandOutput) => void): void;
123
- deleteQuotaShare(args: DeleteQuotaShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQuotaShareCommandOutput) => void): void;
129
+ deleteQuotaShare(args: DeleteQuotaShareCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteQuotaShareCommandOutput) => void): void;
124
130
  /**
125
131
  * @see {@link DeleteSchedulingPolicyCommand}
126
132
  */
127
- deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
133
+ deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: BatchRequestOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
128
134
  deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
129
- deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
135
+ deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
130
136
  /**
131
137
  * @see {@link DeleteServiceEnvironmentCommand}
132
138
  */
133
- deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteServiceEnvironmentCommandOutput>;
139
+ deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options?: BatchRequestOptions): Promise<DeleteServiceEnvironmentCommandOutput>;
134
140
  deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void): void;
135
- deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void): void;
141
+ deleteServiceEnvironment(args: DeleteServiceEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void): void;
136
142
  /**
137
143
  * @see {@link DeregisterJobDefinitionCommand}
138
144
  */
139
- deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterJobDefinitionCommandOutput>;
145
+ deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options?: BatchRequestOptions): Promise<DeregisterJobDefinitionCommandOutput>;
140
146
  deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
141
- deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
147
+ deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
142
148
  /**
143
149
  * @see {@link DescribeComputeEnvironmentsCommand}
144
150
  */
145
151
  describeComputeEnvironments(): Promise<DescribeComputeEnvironmentsCommandOutput>;
146
- describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComputeEnvironmentsCommandOutput>;
152
+ describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options?: BatchRequestOptions): Promise<DescribeComputeEnvironmentsCommandOutput>;
147
153
  describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
148
- describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
154
+ describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
149
155
  /**
150
156
  * @see {@link DescribeConsumableResourceCommand}
151
157
  */
152
- describeConsumableResource(args: DescribeConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConsumableResourceCommandOutput>;
158
+ describeConsumableResource(args: DescribeConsumableResourceCommandInput, options?: BatchRequestOptions): Promise<DescribeConsumableResourceCommandOutput>;
153
159
  describeConsumableResource(args: DescribeConsumableResourceCommandInput, cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void): void;
154
- describeConsumableResource(args: DescribeConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void): void;
160
+ describeConsumableResource(args: DescribeConsumableResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void): void;
155
161
  /**
156
162
  * @see {@link DescribeJobDefinitionsCommand}
157
163
  */
158
164
  describeJobDefinitions(): Promise<DescribeJobDefinitionsCommandOutput>;
159
- describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobDefinitionsCommandOutput>;
165
+ describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options?: BatchRequestOptions): Promise<DescribeJobDefinitionsCommandOutput>;
160
166
  describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
161
- describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
167
+ describeJobDefinitions(args: DescribeJobDefinitionsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link DescribeJobQueuesCommand}
164
170
  */
165
171
  describeJobQueues(): Promise<DescribeJobQueuesCommandOutput>;
166
- describeJobQueues(args: DescribeJobQueuesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobQueuesCommandOutput>;
172
+ describeJobQueues(args: DescribeJobQueuesCommandInput, options?: BatchRequestOptions): Promise<DescribeJobQueuesCommandOutput>;
167
173
  describeJobQueues(args: DescribeJobQueuesCommandInput, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
168
- describeJobQueues(args: DescribeJobQueuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
174
+ describeJobQueues(args: DescribeJobQueuesCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link DescribeJobsCommand}
171
177
  */
172
- describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
178
+ describeJobs(args: DescribeJobsCommandInput, options?: BatchRequestOptions): Promise<DescribeJobsCommandOutput>;
173
179
  describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
174
- describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
180
+ describeJobs(args: DescribeJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
175
181
  /**
176
182
  * @see {@link DescribeQuotaShareCommand}
177
183
  */
178
- describeQuotaShare(args: DescribeQuotaShareCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQuotaShareCommandOutput>;
184
+ describeQuotaShare(args: DescribeQuotaShareCommandInput, options?: BatchRequestOptions): Promise<DescribeQuotaShareCommandOutput>;
179
185
  describeQuotaShare(args: DescribeQuotaShareCommandInput, cb: (err: any, data?: DescribeQuotaShareCommandOutput) => void): void;
180
- describeQuotaShare(args: DescribeQuotaShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeQuotaShareCommandOutput) => void): void;
186
+ describeQuotaShare(args: DescribeQuotaShareCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeQuotaShareCommandOutput) => void): void;
181
187
  /**
182
188
  * @see {@link DescribeSchedulingPoliciesCommand}
183
189
  */
184
- describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
190
+ describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: BatchRequestOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
185
191
  describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
186
- describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
192
+ describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
187
193
  /**
188
194
  * @see {@link DescribeServiceEnvironmentsCommand}
189
195
  */
190
196
  describeServiceEnvironments(): Promise<DescribeServiceEnvironmentsCommandOutput>;
191
- describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceEnvironmentsCommandOutput>;
197
+ describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options?: BatchRequestOptions): Promise<DescribeServiceEnvironmentsCommandOutput>;
192
198
  describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void): void;
193
- describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void): void;
199
+ describeServiceEnvironments(args: DescribeServiceEnvironmentsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void): void;
194
200
  /**
195
201
  * @see {@link DescribeServiceJobCommand}
196
202
  */
197
- describeServiceJob(args: DescribeServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServiceJobCommandOutput>;
203
+ describeServiceJob(args: DescribeServiceJobCommandInput, options?: BatchRequestOptions): Promise<DescribeServiceJobCommandOutput>;
198
204
  describeServiceJob(args: DescribeServiceJobCommandInput, cb: (err: any, data?: DescribeServiceJobCommandOutput) => void): void;
199
- describeServiceJob(args: DescribeServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServiceJobCommandOutput) => void): void;
205
+ describeServiceJob(args: DescribeServiceJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: DescribeServiceJobCommandOutput) => void): void;
200
206
  /**
201
207
  * @see {@link GetJobQueueSnapshotCommand}
202
208
  */
203
- getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<GetJobQueueSnapshotCommandOutput>;
209
+ getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options?: BatchRequestOptions): Promise<GetJobQueueSnapshotCommandOutput>;
204
210
  getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void): void;
205
- getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void): void;
211
+ getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options: BatchRequestOptions, cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void): void;
206
212
  /**
207
213
  * @see {@link ListConsumableResourcesCommand}
208
214
  */
209
215
  listConsumableResources(): Promise<ListConsumableResourcesCommandOutput>;
210
- listConsumableResources(args: ListConsumableResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListConsumableResourcesCommandOutput>;
216
+ listConsumableResources(args: ListConsumableResourcesCommandInput, options?: BatchRequestOptions): Promise<ListConsumableResourcesCommandOutput>;
211
217
  listConsumableResources(args: ListConsumableResourcesCommandInput, cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void): void;
212
- listConsumableResources(args: ListConsumableResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void): void;
218
+ listConsumableResources(args: ListConsumableResourcesCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void): void;
213
219
  /**
214
220
  * @see {@link ListJobsCommand}
215
221
  */
216
222
  listJobs(): Promise<ListJobsCommandOutput>;
217
- listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
223
+ listJobs(args: ListJobsCommandInput, options?: BatchRequestOptions): Promise<ListJobsCommandOutput>;
218
224
  listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
219
- listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
225
+ listJobs(args: ListJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
220
226
  /**
221
227
  * @see {@link ListJobsByConsumableResourceCommand}
222
228
  */
223
- listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsByConsumableResourceCommandOutput>;
229
+ listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options?: BatchRequestOptions): Promise<ListJobsByConsumableResourceCommandOutput>;
224
230
  listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void): void;
225
- listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void): void;
231
+ listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void): void;
226
232
  /**
227
233
  * @see {@link ListQuotaSharesCommand}
228
234
  */
229
- listQuotaShares(args: ListQuotaSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListQuotaSharesCommandOutput>;
235
+ listQuotaShares(args: ListQuotaSharesCommandInput, options?: BatchRequestOptions): Promise<ListQuotaSharesCommandOutput>;
230
236
  listQuotaShares(args: ListQuotaSharesCommandInput, cb: (err: any, data?: ListQuotaSharesCommandOutput) => void): void;
231
- listQuotaShares(args: ListQuotaSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQuotaSharesCommandOutput) => void): void;
237
+ listQuotaShares(args: ListQuotaSharesCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListQuotaSharesCommandOutput) => void): void;
232
238
  /**
233
239
  * @see {@link ListSchedulingPoliciesCommand}
234
240
  */
235
241
  listSchedulingPolicies(): Promise<ListSchedulingPoliciesCommandOutput>;
236
- listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
242
+ listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: BatchRequestOptions): Promise<ListSchedulingPoliciesCommandOutput>;
237
243
  listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
238
- listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
244
+ listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
239
245
  /**
240
246
  * @see {@link ListServiceJobsCommand}
241
247
  */
242
248
  listServiceJobs(): Promise<ListServiceJobsCommandOutput>;
243
- listServiceJobs(args: ListServiceJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceJobsCommandOutput>;
249
+ listServiceJobs(args: ListServiceJobsCommandInput, options?: BatchRequestOptions): Promise<ListServiceJobsCommandOutput>;
244
250
  listServiceJobs(args: ListServiceJobsCommandInput, cb: (err: any, data?: ListServiceJobsCommandOutput) => void): void;
245
- listServiceJobs(args: ListServiceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceJobsCommandOutput) => void): void;
251
+ listServiceJobs(args: ListServiceJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListServiceJobsCommandOutput) => void): void;
246
252
  /**
247
253
  * @see {@link ListTagsForResourceCommand}
248
254
  */
249
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
255
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: BatchRequestOptions): Promise<ListTagsForResourceCommandOutput>;
250
256
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
251
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
257
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
252
258
  /**
253
259
  * @see {@link RegisterJobDefinitionCommand}
254
260
  */
255
- registerJobDefinition(args: RegisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<RegisterJobDefinitionCommandOutput>;
261
+ registerJobDefinition(args: RegisterJobDefinitionCommandInput, options?: BatchRequestOptions): Promise<RegisterJobDefinitionCommandOutput>;
256
262
  registerJobDefinition(args: RegisterJobDefinitionCommandInput, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
257
- registerJobDefinition(args: RegisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
263
+ registerJobDefinition(args: RegisterJobDefinitionCommandInput, options: BatchRequestOptions, cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void): void;
258
264
  /**
259
265
  * @see {@link SubmitJobCommand}
260
266
  */
261
- submitJob(args: SubmitJobCommandInput, options?: __HttpHandlerOptions): Promise<SubmitJobCommandOutput>;
267
+ submitJob(args: SubmitJobCommandInput, options?: BatchRequestOptions): Promise<SubmitJobCommandOutput>;
262
268
  submitJob(args: SubmitJobCommandInput, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
263
- submitJob(args: SubmitJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
269
+ submitJob(args: SubmitJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: SubmitJobCommandOutput) => void): void;
264
270
  /**
265
271
  * @see {@link SubmitServiceJobCommand}
266
272
  */
267
- submitServiceJob(args: SubmitServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<SubmitServiceJobCommandOutput>;
273
+ submitServiceJob(args: SubmitServiceJobCommandInput, options?: BatchRequestOptions): Promise<SubmitServiceJobCommandOutput>;
268
274
  submitServiceJob(args: SubmitServiceJobCommandInput, cb: (err: any, data?: SubmitServiceJobCommandOutput) => void): void;
269
- submitServiceJob(args: SubmitServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubmitServiceJobCommandOutput) => void): void;
275
+ submitServiceJob(args: SubmitServiceJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: SubmitServiceJobCommandOutput) => void): void;
270
276
  /**
271
277
  * @see {@link TagResourceCommand}
272
278
  */
273
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
279
+ tagResource(args: TagResourceCommandInput, options?: BatchRequestOptions): Promise<TagResourceCommandOutput>;
274
280
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
275
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
281
+ tagResource(args: TagResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
276
282
  /**
277
283
  * @see {@link TerminateJobCommand}
278
284
  */
279
- terminateJob(args: TerminateJobCommandInput, options?: __HttpHandlerOptions): Promise<TerminateJobCommandOutput>;
285
+ terminateJob(args: TerminateJobCommandInput, options?: BatchRequestOptions): Promise<TerminateJobCommandOutput>;
280
286
  terminateJob(args: TerminateJobCommandInput, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
281
- terminateJob(args: TerminateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
287
+ terminateJob(args: TerminateJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: TerminateJobCommandOutput) => void): void;
282
288
  /**
283
289
  * @see {@link TerminateJobsCommand}
284
290
  */
285
- terminateJobs(args: TerminateJobsCommandInput, options?: __HttpHandlerOptions): Promise<TerminateJobsCommandOutput>;
291
+ terminateJobs(args: TerminateJobsCommandInput, options?: BatchRequestOptions): Promise<TerminateJobsCommandOutput>;
286
292
  terminateJobs(args: TerminateJobsCommandInput, cb: (err: any, data?: TerminateJobsCommandOutput) => void): void;
287
- terminateJobs(args: TerminateJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateJobsCommandOutput) => void): void;
293
+ terminateJobs(args: TerminateJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: TerminateJobsCommandOutput) => void): void;
288
294
  /**
289
295
  * @see {@link TerminateServiceJobCommand}
290
296
  */
291
- terminateServiceJob(args: TerminateServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<TerminateServiceJobCommandOutput>;
297
+ terminateServiceJob(args: TerminateServiceJobCommandInput, options?: BatchRequestOptions): Promise<TerminateServiceJobCommandOutput>;
292
298
  terminateServiceJob(args: TerminateServiceJobCommandInput, cb: (err: any, data?: TerminateServiceJobCommandOutput) => void): void;
293
- terminateServiceJob(args: TerminateServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateServiceJobCommandOutput) => void): void;
299
+ terminateServiceJob(args: TerminateServiceJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: TerminateServiceJobCommandOutput) => void): void;
294
300
  /**
295
301
  * @see {@link TerminateServiceJobsCommand}
296
302
  */
297
- terminateServiceJobs(args: TerminateServiceJobsCommandInput, options?: __HttpHandlerOptions): Promise<TerminateServiceJobsCommandOutput>;
303
+ terminateServiceJobs(args: TerminateServiceJobsCommandInput, options?: BatchRequestOptions): Promise<TerminateServiceJobsCommandOutput>;
298
304
  terminateServiceJobs(args: TerminateServiceJobsCommandInput, cb: (err: any, data?: TerminateServiceJobsCommandOutput) => void): void;
299
- terminateServiceJobs(args: TerminateServiceJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateServiceJobsCommandOutput) => void): void;
305
+ terminateServiceJobs(args: TerminateServiceJobsCommandInput, options: BatchRequestOptions, cb: (err: any, data?: TerminateServiceJobsCommandOutput) => void): void;
300
306
  /**
301
307
  * @see {@link UntagResourceCommand}
302
308
  */
303
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
309
+ untagResource(args: UntagResourceCommandInput, options?: BatchRequestOptions): Promise<UntagResourceCommandOutput>;
304
310
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
305
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
311
+ untagResource(args: UntagResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
306
312
  /**
307
313
  * @see {@link UpdateComputeEnvironmentCommand}
308
314
  */
309
- updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComputeEnvironmentCommandOutput>;
315
+ updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options?: BatchRequestOptions): Promise<UpdateComputeEnvironmentCommandOutput>;
310
316
  updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
311
- updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
317
+ updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
312
318
  /**
313
319
  * @see {@link UpdateConsumableResourceCommand}
314
320
  */
315
- updateConsumableResource(args: UpdateConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConsumableResourceCommandOutput>;
321
+ updateConsumableResource(args: UpdateConsumableResourceCommandInput, options?: BatchRequestOptions): Promise<UpdateConsumableResourceCommandOutput>;
316
322
  updateConsumableResource(args: UpdateConsumableResourceCommandInput, cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void): void;
317
- updateConsumableResource(args: UpdateConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void): void;
323
+ updateConsumableResource(args: UpdateConsumableResourceCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void): void;
318
324
  /**
319
325
  * @see {@link UpdateJobQueueCommand}
320
326
  */
321
- updateJobQueue(args: UpdateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobQueueCommandOutput>;
327
+ updateJobQueue(args: UpdateJobQueueCommandInput, options?: BatchRequestOptions): Promise<UpdateJobQueueCommandOutput>;
322
328
  updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
323
- updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
329
+ updateJobQueue(args: UpdateJobQueueCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
324
330
  /**
325
331
  * @see {@link UpdateQuotaShareCommand}
326
332
  */
327
- updateQuotaShare(args: UpdateQuotaShareCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuotaShareCommandOutput>;
333
+ updateQuotaShare(args: UpdateQuotaShareCommandInput, options?: BatchRequestOptions): Promise<UpdateQuotaShareCommandOutput>;
328
334
  updateQuotaShare(args: UpdateQuotaShareCommandInput, cb: (err: any, data?: UpdateQuotaShareCommandOutput) => void): void;
329
- updateQuotaShare(args: UpdateQuotaShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQuotaShareCommandOutput) => void): void;
335
+ updateQuotaShare(args: UpdateQuotaShareCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateQuotaShareCommandOutput) => void): void;
330
336
  /**
331
337
  * @see {@link UpdateSchedulingPolicyCommand}
332
338
  */
333
- updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
339
+ updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: BatchRequestOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
334
340
  updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
335
- updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
341
+ updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
336
342
  /**
337
343
  * @see {@link UpdateServiceEnvironmentCommand}
338
344
  */
339
- updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceEnvironmentCommandOutput>;
345
+ updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options?: BatchRequestOptions): Promise<UpdateServiceEnvironmentCommandOutput>;
340
346
  updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void): void;
341
- updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void): void;
347
+ updateServiceEnvironment(args: UpdateServiceEnvironmentCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void): void;
342
348
  /**
343
349
  * @see {@link UpdateServiceJobCommand}
344
350
  */
345
- updateServiceJob(args: UpdateServiceJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceJobCommandOutput>;
351
+ updateServiceJob(args: UpdateServiceJobCommandInput, options?: BatchRequestOptions): Promise<UpdateServiceJobCommandOutput>;
346
352
  updateServiceJob(args: UpdateServiceJobCommandInput, cb: (err: any, data?: UpdateServiceJobCommandOutput) => void): void;
347
- updateServiceJob(args: UpdateServiceJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceJobCommandOutput) => void): void;
353
+ updateServiceJob(args: UpdateServiceJobCommandInput, options: BatchRequestOptions, cb: (err: any, data?: UpdateServiceJobCommandOutput) => void): void;
348
354
  /**
349
355
  * @see {@link DescribeComputeEnvironmentsCommand}
350
356
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -181,10 +182,13 @@ import {
181
182
  UpdateServiceJobCommandInput,
182
183
  UpdateServiceJobCommandOutput,
183
184
  } from "./commands/UpdateServiceJobCommand";
185
+ export interface BatchRequestOptions extends __HttpHandlerOptions {
186
+ metricsRecorder?: __MetricsRecorder<unknown>;
187
+ }
184
188
  export interface Batch {
185
189
  cancelJob(
186
190
  args: CancelJobCommandInput,
187
- options?: __HttpHandlerOptions,
191
+ options?: BatchRequestOptions,
188
192
  ): Promise<CancelJobCommandOutput>;
189
193
  cancelJob(
190
194
  args: CancelJobCommandInput,
@@ -192,12 +196,12 @@ export interface Batch {
192
196
  ): void;
193
197
  cancelJob(
194
198
  args: CancelJobCommandInput,
195
- options: __HttpHandlerOptions,
199
+ options: BatchRequestOptions,
196
200
  cb: (err: any, data?: CancelJobCommandOutput) => void,
197
201
  ): void;
198
202
  cancelJobs(
199
203
  args: CancelJobsCommandInput,
200
- options?: __HttpHandlerOptions,
204
+ options?: BatchRequestOptions,
201
205
  ): Promise<CancelJobsCommandOutput>;
202
206
  cancelJobs(
203
207
  args: CancelJobsCommandInput,
@@ -205,12 +209,12 @@ export interface Batch {
205
209
  ): void;
206
210
  cancelJobs(
207
211
  args: CancelJobsCommandInput,
208
- options: __HttpHandlerOptions,
212
+ options: BatchRequestOptions,
209
213
  cb: (err: any, data?: CancelJobsCommandOutput) => void,
210
214
  ): void;
211
215
  createComputeEnvironment(
212
216
  args: CreateComputeEnvironmentCommandInput,
213
- options?: __HttpHandlerOptions,
217
+ options?: BatchRequestOptions,
214
218
  ): Promise<CreateComputeEnvironmentCommandOutput>;
215
219
  createComputeEnvironment(
216
220
  args: CreateComputeEnvironmentCommandInput,
@@ -218,12 +222,12 @@ export interface Batch {
218
222
  ): void;
219
223
  createComputeEnvironment(
220
224
  args: CreateComputeEnvironmentCommandInput,
221
- options: __HttpHandlerOptions,
225
+ options: BatchRequestOptions,
222
226
  cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void,
223
227
  ): void;
224
228
  createConsumableResource(
225
229
  args: CreateConsumableResourceCommandInput,
226
- options?: __HttpHandlerOptions,
230
+ options?: BatchRequestOptions,
227
231
  ): Promise<CreateConsumableResourceCommandOutput>;
228
232
  createConsumableResource(
229
233
  args: CreateConsumableResourceCommandInput,
@@ -231,12 +235,12 @@ export interface Batch {
231
235
  ): void;
232
236
  createConsumableResource(
233
237
  args: CreateConsumableResourceCommandInput,
234
- options: __HttpHandlerOptions,
238
+ options: BatchRequestOptions,
235
239
  cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void,
236
240
  ): void;
237
241
  createJobQueue(
238
242
  args: CreateJobQueueCommandInput,
239
- options?: __HttpHandlerOptions,
243
+ options?: BatchRequestOptions,
240
244
  ): Promise<CreateJobQueueCommandOutput>;
241
245
  createJobQueue(
242
246
  args: CreateJobQueueCommandInput,
@@ -244,12 +248,12 @@ export interface Batch {
244
248
  ): void;
245
249
  createJobQueue(
246
250
  args: CreateJobQueueCommandInput,
247
- options: __HttpHandlerOptions,
251
+ options: BatchRequestOptions,
248
252
  cb: (err: any, data?: CreateJobQueueCommandOutput) => void,
249
253
  ): void;
250
254
  createQuotaShare(
251
255
  args: CreateQuotaShareCommandInput,
252
- options?: __HttpHandlerOptions,
256
+ options?: BatchRequestOptions,
253
257
  ): Promise<CreateQuotaShareCommandOutput>;
254
258
  createQuotaShare(
255
259
  args: CreateQuotaShareCommandInput,
@@ -257,12 +261,12 @@ export interface Batch {
257
261
  ): void;
258
262
  createQuotaShare(
259
263
  args: CreateQuotaShareCommandInput,
260
- options: __HttpHandlerOptions,
264
+ options: BatchRequestOptions,
261
265
  cb: (err: any, data?: CreateQuotaShareCommandOutput) => void,
262
266
  ): void;
263
267
  createSchedulingPolicy(
264
268
  args: CreateSchedulingPolicyCommandInput,
265
- options?: __HttpHandlerOptions,
269
+ options?: BatchRequestOptions,
266
270
  ): Promise<CreateSchedulingPolicyCommandOutput>;
267
271
  createSchedulingPolicy(
268
272
  args: CreateSchedulingPolicyCommandInput,
@@ -270,12 +274,12 @@ export interface Batch {
270
274
  ): void;
271
275
  createSchedulingPolicy(
272
276
  args: CreateSchedulingPolicyCommandInput,
273
- options: __HttpHandlerOptions,
277
+ options: BatchRequestOptions,
274
278
  cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void,
275
279
  ): void;
276
280
  createServiceEnvironment(
277
281
  args: CreateServiceEnvironmentCommandInput,
278
- options?: __HttpHandlerOptions,
282
+ options?: BatchRequestOptions,
279
283
  ): Promise<CreateServiceEnvironmentCommandOutput>;
280
284
  createServiceEnvironment(
281
285
  args: CreateServiceEnvironmentCommandInput,
@@ -283,12 +287,12 @@ export interface Batch {
283
287
  ): void;
284
288
  createServiceEnvironment(
285
289
  args: CreateServiceEnvironmentCommandInput,
286
- options: __HttpHandlerOptions,
290
+ options: BatchRequestOptions,
287
291
  cb: (err: any, data?: CreateServiceEnvironmentCommandOutput) => void,
288
292
  ): void;
289
293
  deleteComputeEnvironment(
290
294
  args: DeleteComputeEnvironmentCommandInput,
291
- options?: __HttpHandlerOptions,
295
+ options?: BatchRequestOptions,
292
296
  ): Promise<DeleteComputeEnvironmentCommandOutput>;
293
297
  deleteComputeEnvironment(
294
298
  args: DeleteComputeEnvironmentCommandInput,
@@ -296,12 +300,12 @@ export interface Batch {
296
300
  ): void;
297
301
  deleteComputeEnvironment(
298
302
  args: DeleteComputeEnvironmentCommandInput,
299
- options: __HttpHandlerOptions,
303
+ options: BatchRequestOptions,
300
304
  cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void,
301
305
  ): void;
302
306
  deleteConsumableResource(
303
307
  args: DeleteConsumableResourceCommandInput,
304
- options?: __HttpHandlerOptions,
308
+ options?: BatchRequestOptions,
305
309
  ): Promise<DeleteConsumableResourceCommandOutput>;
306
310
  deleteConsumableResource(
307
311
  args: DeleteConsumableResourceCommandInput,
@@ -309,12 +313,12 @@ export interface Batch {
309
313
  ): void;
310
314
  deleteConsumableResource(
311
315
  args: DeleteConsumableResourceCommandInput,
312
- options: __HttpHandlerOptions,
316
+ options: BatchRequestOptions,
313
317
  cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void,
314
318
  ): void;
315
319
  deleteJobQueue(
316
320
  args: DeleteJobQueueCommandInput,
317
- options?: __HttpHandlerOptions,
321
+ options?: BatchRequestOptions,
318
322
  ): Promise<DeleteJobQueueCommandOutput>;
319
323
  deleteJobQueue(
320
324
  args: DeleteJobQueueCommandInput,
@@ -322,12 +326,12 @@ export interface Batch {
322
326
  ): void;
323
327
  deleteJobQueue(
324
328
  args: DeleteJobQueueCommandInput,
325
- options: __HttpHandlerOptions,
329
+ options: BatchRequestOptions,
326
330
  cb: (err: any, data?: DeleteJobQueueCommandOutput) => void,
327
331
  ): void;
328
332
  deleteQuotaShare(
329
333
  args: DeleteQuotaShareCommandInput,
330
- options?: __HttpHandlerOptions,
334
+ options?: BatchRequestOptions,
331
335
  ): Promise<DeleteQuotaShareCommandOutput>;
332
336
  deleteQuotaShare(
333
337
  args: DeleteQuotaShareCommandInput,
@@ -335,12 +339,12 @@ export interface Batch {
335
339
  ): void;
336
340
  deleteQuotaShare(
337
341
  args: DeleteQuotaShareCommandInput,
338
- options: __HttpHandlerOptions,
342
+ options: BatchRequestOptions,
339
343
  cb: (err: any, data?: DeleteQuotaShareCommandOutput) => void,
340
344
  ): void;
341
345
  deleteSchedulingPolicy(
342
346
  args: DeleteSchedulingPolicyCommandInput,
343
- options?: __HttpHandlerOptions,
347
+ options?: BatchRequestOptions,
344
348
  ): Promise<DeleteSchedulingPolicyCommandOutput>;
345
349
  deleteSchedulingPolicy(
346
350
  args: DeleteSchedulingPolicyCommandInput,
@@ -348,12 +352,12 @@ export interface Batch {
348
352
  ): void;
349
353
  deleteSchedulingPolicy(
350
354
  args: DeleteSchedulingPolicyCommandInput,
351
- options: __HttpHandlerOptions,
355
+ options: BatchRequestOptions,
352
356
  cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void,
353
357
  ): void;
354
358
  deleteServiceEnvironment(
355
359
  args: DeleteServiceEnvironmentCommandInput,
356
- options?: __HttpHandlerOptions,
360
+ options?: BatchRequestOptions,
357
361
  ): Promise<DeleteServiceEnvironmentCommandOutput>;
358
362
  deleteServiceEnvironment(
359
363
  args: DeleteServiceEnvironmentCommandInput,
@@ -361,12 +365,12 @@ export interface Batch {
361
365
  ): void;
362
366
  deleteServiceEnvironment(
363
367
  args: DeleteServiceEnvironmentCommandInput,
364
- options: __HttpHandlerOptions,
368
+ options: BatchRequestOptions,
365
369
  cb: (err: any, data?: DeleteServiceEnvironmentCommandOutput) => void,
366
370
  ): void;
367
371
  deregisterJobDefinition(
368
372
  args: DeregisterJobDefinitionCommandInput,
369
- options?: __HttpHandlerOptions,
373
+ options?: BatchRequestOptions,
370
374
  ): Promise<DeregisterJobDefinitionCommandOutput>;
371
375
  deregisterJobDefinition(
372
376
  args: DeregisterJobDefinitionCommandInput,
@@ -374,13 +378,13 @@ export interface Batch {
374
378
  ): void;
375
379
  deregisterJobDefinition(
376
380
  args: DeregisterJobDefinitionCommandInput,
377
- options: __HttpHandlerOptions,
381
+ options: BatchRequestOptions,
378
382
  cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void,
379
383
  ): void;
380
384
  describeComputeEnvironments(): Promise<DescribeComputeEnvironmentsCommandOutput>;
381
385
  describeComputeEnvironments(
382
386
  args: DescribeComputeEnvironmentsCommandInput,
383
- options?: __HttpHandlerOptions,
387
+ options?: BatchRequestOptions,
384
388
  ): Promise<DescribeComputeEnvironmentsCommandOutput>;
385
389
  describeComputeEnvironments(
386
390
  args: DescribeComputeEnvironmentsCommandInput,
@@ -388,12 +392,12 @@ export interface Batch {
388
392
  ): void;
389
393
  describeComputeEnvironments(
390
394
  args: DescribeComputeEnvironmentsCommandInput,
391
- options: __HttpHandlerOptions,
395
+ options: BatchRequestOptions,
392
396
  cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void,
393
397
  ): void;
394
398
  describeConsumableResource(
395
399
  args: DescribeConsumableResourceCommandInput,
396
- options?: __HttpHandlerOptions,
400
+ options?: BatchRequestOptions,
397
401
  ): Promise<DescribeConsumableResourceCommandOutput>;
398
402
  describeConsumableResource(
399
403
  args: DescribeConsumableResourceCommandInput,
@@ -401,13 +405,13 @@ export interface Batch {
401
405
  ): void;
402
406
  describeConsumableResource(
403
407
  args: DescribeConsumableResourceCommandInput,
404
- options: __HttpHandlerOptions,
408
+ options: BatchRequestOptions,
405
409
  cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void,
406
410
  ): void;
407
411
  describeJobDefinitions(): Promise<DescribeJobDefinitionsCommandOutput>;
408
412
  describeJobDefinitions(
409
413
  args: DescribeJobDefinitionsCommandInput,
410
- options?: __HttpHandlerOptions,
414
+ options?: BatchRequestOptions,
411
415
  ): Promise<DescribeJobDefinitionsCommandOutput>;
412
416
  describeJobDefinitions(
413
417
  args: DescribeJobDefinitionsCommandInput,
@@ -415,13 +419,13 @@ export interface Batch {
415
419
  ): void;
416
420
  describeJobDefinitions(
417
421
  args: DescribeJobDefinitionsCommandInput,
418
- options: __HttpHandlerOptions,
422
+ options: BatchRequestOptions,
419
423
  cb: (err: any, data?: DescribeJobDefinitionsCommandOutput) => void,
420
424
  ): void;
421
425
  describeJobQueues(): Promise<DescribeJobQueuesCommandOutput>;
422
426
  describeJobQueues(
423
427
  args: DescribeJobQueuesCommandInput,
424
- options?: __HttpHandlerOptions,
428
+ options?: BatchRequestOptions,
425
429
  ): Promise<DescribeJobQueuesCommandOutput>;
426
430
  describeJobQueues(
427
431
  args: DescribeJobQueuesCommandInput,
@@ -429,12 +433,12 @@ export interface Batch {
429
433
  ): void;
430
434
  describeJobQueues(
431
435
  args: DescribeJobQueuesCommandInput,
432
- options: __HttpHandlerOptions,
436
+ options: BatchRequestOptions,
433
437
  cb: (err: any, data?: DescribeJobQueuesCommandOutput) => void,
434
438
  ): void;
435
439
  describeJobs(
436
440
  args: DescribeJobsCommandInput,
437
- options?: __HttpHandlerOptions,
441
+ options?: BatchRequestOptions,
438
442
  ): Promise<DescribeJobsCommandOutput>;
439
443
  describeJobs(
440
444
  args: DescribeJobsCommandInput,
@@ -442,12 +446,12 @@ export interface Batch {
442
446
  ): void;
443
447
  describeJobs(
444
448
  args: DescribeJobsCommandInput,
445
- options: __HttpHandlerOptions,
449
+ options: BatchRequestOptions,
446
450
  cb: (err: any, data?: DescribeJobsCommandOutput) => void,
447
451
  ): void;
448
452
  describeQuotaShare(
449
453
  args: DescribeQuotaShareCommandInput,
450
- options?: __HttpHandlerOptions,
454
+ options?: BatchRequestOptions,
451
455
  ): Promise<DescribeQuotaShareCommandOutput>;
452
456
  describeQuotaShare(
453
457
  args: DescribeQuotaShareCommandInput,
@@ -455,12 +459,12 @@ export interface Batch {
455
459
  ): void;
456
460
  describeQuotaShare(
457
461
  args: DescribeQuotaShareCommandInput,
458
- options: __HttpHandlerOptions,
462
+ options: BatchRequestOptions,
459
463
  cb: (err: any, data?: DescribeQuotaShareCommandOutput) => void,
460
464
  ): void;
461
465
  describeSchedulingPolicies(
462
466
  args: DescribeSchedulingPoliciesCommandInput,
463
- options?: __HttpHandlerOptions,
467
+ options?: BatchRequestOptions,
464
468
  ): Promise<DescribeSchedulingPoliciesCommandOutput>;
465
469
  describeSchedulingPolicies(
466
470
  args: DescribeSchedulingPoliciesCommandInput,
@@ -468,13 +472,13 @@ export interface Batch {
468
472
  ): void;
469
473
  describeSchedulingPolicies(
470
474
  args: DescribeSchedulingPoliciesCommandInput,
471
- options: __HttpHandlerOptions,
475
+ options: BatchRequestOptions,
472
476
  cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void,
473
477
  ): void;
474
478
  describeServiceEnvironments(): Promise<DescribeServiceEnvironmentsCommandOutput>;
475
479
  describeServiceEnvironments(
476
480
  args: DescribeServiceEnvironmentsCommandInput,
477
- options?: __HttpHandlerOptions,
481
+ options?: BatchRequestOptions,
478
482
  ): Promise<DescribeServiceEnvironmentsCommandOutput>;
479
483
  describeServiceEnvironments(
480
484
  args: DescribeServiceEnvironmentsCommandInput,
@@ -482,12 +486,12 @@ export interface Batch {
482
486
  ): void;
483
487
  describeServiceEnvironments(
484
488
  args: DescribeServiceEnvironmentsCommandInput,
485
- options: __HttpHandlerOptions,
489
+ options: BatchRequestOptions,
486
490
  cb: (err: any, data?: DescribeServiceEnvironmentsCommandOutput) => void,
487
491
  ): void;
488
492
  describeServiceJob(
489
493
  args: DescribeServiceJobCommandInput,
490
- options?: __HttpHandlerOptions,
494
+ options?: BatchRequestOptions,
491
495
  ): Promise<DescribeServiceJobCommandOutput>;
492
496
  describeServiceJob(
493
497
  args: DescribeServiceJobCommandInput,
@@ -495,12 +499,12 @@ export interface Batch {
495
499
  ): void;
496
500
  describeServiceJob(
497
501
  args: DescribeServiceJobCommandInput,
498
- options: __HttpHandlerOptions,
502
+ options: BatchRequestOptions,
499
503
  cb: (err: any, data?: DescribeServiceJobCommandOutput) => void,
500
504
  ): void;
501
505
  getJobQueueSnapshot(
502
506
  args: GetJobQueueSnapshotCommandInput,
503
- options?: __HttpHandlerOptions,
507
+ options?: BatchRequestOptions,
504
508
  ): Promise<GetJobQueueSnapshotCommandOutput>;
505
509
  getJobQueueSnapshot(
506
510
  args: GetJobQueueSnapshotCommandInput,
@@ -508,13 +512,13 @@ export interface Batch {
508
512
  ): void;
509
513
  getJobQueueSnapshot(
510
514
  args: GetJobQueueSnapshotCommandInput,
511
- options: __HttpHandlerOptions,
515
+ options: BatchRequestOptions,
512
516
  cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void,
513
517
  ): void;
514
518
  listConsumableResources(): Promise<ListConsumableResourcesCommandOutput>;
515
519
  listConsumableResources(
516
520
  args: ListConsumableResourcesCommandInput,
517
- options?: __HttpHandlerOptions,
521
+ options?: BatchRequestOptions,
518
522
  ): Promise<ListConsumableResourcesCommandOutput>;
519
523
  listConsumableResources(
520
524
  args: ListConsumableResourcesCommandInput,
@@ -522,23 +526,23 @@ export interface Batch {
522
526
  ): void;
523
527
  listConsumableResources(
524
528
  args: ListConsumableResourcesCommandInput,
525
- options: __HttpHandlerOptions,
529
+ options: BatchRequestOptions,
526
530
  cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void,
527
531
  ): void;
528
532
  listJobs(): Promise<ListJobsCommandOutput>;
529
533
  listJobs(
530
534
  args: ListJobsCommandInput,
531
- options?: __HttpHandlerOptions,
535
+ options?: BatchRequestOptions,
532
536
  ): Promise<ListJobsCommandOutput>;
533
537
  listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
534
538
  listJobs(
535
539
  args: ListJobsCommandInput,
536
- options: __HttpHandlerOptions,
540
+ options: BatchRequestOptions,
537
541
  cb: (err: any, data?: ListJobsCommandOutput) => void,
538
542
  ): void;
539
543
  listJobsByConsumableResource(
540
544
  args: ListJobsByConsumableResourceCommandInput,
541
- options?: __HttpHandlerOptions,
545
+ options?: BatchRequestOptions,
542
546
  ): Promise<ListJobsByConsumableResourceCommandOutput>;
543
547
  listJobsByConsumableResource(
544
548
  args: ListJobsByConsumableResourceCommandInput,
@@ -546,12 +550,12 @@ export interface Batch {
546
550
  ): void;
547
551
  listJobsByConsumableResource(
548
552
  args: ListJobsByConsumableResourceCommandInput,
549
- options: __HttpHandlerOptions,
553
+ options: BatchRequestOptions,
550
554
  cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void,
551
555
  ): void;
552
556
  listQuotaShares(
553
557
  args: ListQuotaSharesCommandInput,
554
- options?: __HttpHandlerOptions,
558
+ options?: BatchRequestOptions,
555
559
  ): Promise<ListQuotaSharesCommandOutput>;
556
560
  listQuotaShares(
557
561
  args: ListQuotaSharesCommandInput,
@@ -559,13 +563,13 @@ export interface Batch {
559
563
  ): void;
560
564
  listQuotaShares(
561
565
  args: ListQuotaSharesCommandInput,
562
- options: __HttpHandlerOptions,
566
+ options: BatchRequestOptions,
563
567
  cb: (err: any, data?: ListQuotaSharesCommandOutput) => void,
564
568
  ): void;
565
569
  listSchedulingPolicies(): Promise<ListSchedulingPoliciesCommandOutput>;
566
570
  listSchedulingPolicies(
567
571
  args: ListSchedulingPoliciesCommandInput,
568
- options?: __HttpHandlerOptions,
572
+ options?: BatchRequestOptions,
569
573
  ): Promise<ListSchedulingPoliciesCommandOutput>;
570
574
  listSchedulingPolicies(
571
575
  args: ListSchedulingPoliciesCommandInput,
@@ -573,13 +577,13 @@ export interface Batch {
573
577
  ): void;
574
578
  listSchedulingPolicies(
575
579
  args: ListSchedulingPoliciesCommandInput,
576
- options: __HttpHandlerOptions,
580
+ options: BatchRequestOptions,
577
581
  cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void,
578
582
  ): void;
579
583
  listServiceJobs(): Promise<ListServiceJobsCommandOutput>;
580
584
  listServiceJobs(
581
585
  args: ListServiceJobsCommandInput,
582
- options?: __HttpHandlerOptions,
586
+ options?: BatchRequestOptions,
583
587
  ): Promise<ListServiceJobsCommandOutput>;
584
588
  listServiceJobs(
585
589
  args: ListServiceJobsCommandInput,
@@ -587,12 +591,12 @@ export interface Batch {
587
591
  ): void;
588
592
  listServiceJobs(
589
593
  args: ListServiceJobsCommandInput,
590
- options: __HttpHandlerOptions,
594
+ options: BatchRequestOptions,
591
595
  cb: (err: any, data?: ListServiceJobsCommandOutput) => void,
592
596
  ): void;
593
597
  listTagsForResource(
594
598
  args: ListTagsForResourceCommandInput,
595
- options?: __HttpHandlerOptions,
599
+ options?: BatchRequestOptions,
596
600
  ): Promise<ListTagsForResourceCommandOutput>;
597
601
  listTagsForResource(
598
602
  args: ListTagsForResourceCommandInput,
@@ -600,12 +604,12 @@ export interface Batch {
600
604
  ): void;
601
605
  listTagsForResource(
602
606
  args: ListTagsForResourceCommandInput,
603
- options: __HttpHandlerOptions,
607
+ options: BatchRequestOptions,
604
608
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
605
609
  ): void;
606
610
  registerJobDefinition(
607
611
  args: RegisterJobDefinitionCommandInput,
608
- options?: __HttpHandlerOptions,
612
+ options?: BatchRequestOptions,
609
613
  ): Promise<RegisterJobDefinitionCommandOutput>;
610
614
  registerJobDefinition(
611
615
  args: RegisterJobDefinitionCommandInput,
@@ -613,12 +617,12 @@ export interface Batch {
613
617
  ): void;
614
618
  registerJobDefinition(
615
619
  args: RegisterJobDefinitionCommandInput,
616
- options: __HttpHandlerOptions,
620
+ options: BatchRequestOptions,
617
621
  cb: (err: any, data?: RegisterJobDefinitionCommandOutput) => void,
618
622
  ): void;
619
623
  submitJob(
620
624
  args: SubmitJobCommandInput,
621
- options?: __HttpHandlerOptions,
625
+ options?: BatchRequestOptions,
622
626
  ): Promise<SubmitJobCommandOutput>;
623
627
  submitJob(
624
628
  args: SubmitJobCommandInput,
@@ -626,12 +630,12 @@ export interface Batch {
626
630
  ): void;
627
631
  submitJob(
628
632
  args: SubmitJobCommandInput,
629
- options: __HttpHandlerOptions,
633
+ options: BatchRequestOptions,
630
634
  cb: (err: any, data?: SubmitJobCommandOutput) => void,
631
635
  ): void;
632
636
  submitServiceJob(
633
637
  args: SubmitServiceJobCommandInput,
634
- options?: __HttpHandlerOptions,
638
+ options?: BatchRequestOptions,
635
639
  ): Promise<SubmitServiceJobCommandOutput>;
636
640
  submitServiceJob(
637
641
  args: SubmitServiceJobCommandInput,
@@ -639,12 +643,12 @@ export interface Batch {
639
643
  ): void;
640
644
  submitServiceJob(
641
645
  args: SubmitServiceJobCommandInput,
642
- options: __HttpHandlerOptions,
646
+ options: BatchRequestOptions,
643
647
  cb: (err: any, data?: SubmitServiceJobCommandOutput) => void,
644
648
  ): void;
645
649
  tagResource(
646
650
  args: TagResourceCommandInput,
647
- options?: __HttpHandlerOptions,
651
+ options?: BatchRequestOptions,
648
652
  ): Promise<TagResourceCommandOutput>;
649
653
  tagResource(
650
654
  args: TagResourceCommandInput,
@@ -652,12 +656,12 @@ export interface Batch {
652
656
  ): void;
653
657
  tagResource(
654
658
  args: TagResourceCommandInput,
655
- options: __HttpHandlerOptions,
659
+ options: BatchRequestOptions,
656
660
  cb: (err: any, data?: TagResourceCommandOutput) => void,
657
661
  ): void;
658
662
  terminateJob(
659
663
  args: TerminateJobCommandInput,
660
- options?: __HttpHandlerOptions,
664
+ options?: BatchRequestOptions,
661
665
  ): Promise<TerminateJobCommandOutput>;
662
666
  terminateJob(
663
667
  args: TerminateJobCommandInput,
@@ -665,12 +669,12 @@ export interface Batch {
665
669
  ): void;
666
670
  terminateJob(
667
671
  args: TerminateJobCommandInput,
668
- options: __HttpHandlerOptions,
672
+ options: BatchRequestOptions,
669
673
  cb: (err: any, data?: TerminateJobCommandOutput) => void,
670
674
  ): void;
671
675
  terminateJobs(
672
676
  args: TerminateJobsCommandInput,
673
- options?: __HttpHandlerOptions,
677
+ options?: BatchRequestOptions,
674
678
  ): Promise<TerminateJobsCommandOutput>;
675
679
  terminateJobs(
676
680
  args: TerminateJobsCommandInput,
@@ -678,12 +682,12 @@ export interface Batch {
678
682
  ): void;
679
683
  terminateJobs(
680
684
  args: TerminateJobsCommandInput,
681
- options: __HttpHandlerOptions,
685
+ options: BatchRequestOptions,
682
686
  cb: (err: any, data?: TerminateJobsCommandOutput) => void,
683
687
  ): void;
684
688
  terminateServiceJob(
685
689
  args: TerminateServiceJobCommandInput,
686
- options?: __HttpHandlerOptions,
690
+ options?: BatchRequestOptions,
687
691
  ): Promise<TerminateServiceJobCommandOutput>;
688
692
  terminateServiceJob(
689
693
  args: TerminateServiceJobCommandInput,
@@ -691,12 +695,12 @@ export interface Batch {
691
695
  ): void;
692
696
  terminateServiceJob(
693
697
  args: TerminateServiceJobCommandInput,
694
- options: __HttpHandlerOptions,
698
+ options: BatchRequestOptions,
695
699
  cb: (err: any, data?: TerminateServiceJobCommandOutput) => void,
696
700
  ): void;
697
701
  terminateServiceJobs(
698
702
  args: TerminateServiceJobsCommandInput,
699
- options?: __HttpHandlerOptions,
703
+ options?: BatchRequestOptions,
700
704
  ): Promise<TerminateServiceJobsCommandOutput>;
701
705
  terminateServiceJobs(
702
706
  args: TerminateServiceJobsCommandInput,
@@ -704,12 +708,12 @@ export interface Batch {
704
708
  ): void;
705
709
  terminateServiceJobs(
706
710
  args: TerminateServiceJobsCommandInput,
707
- options: __HttpHandlerOptions,
711
+ options: BatchRequestOptions,
708
712
  cb: (err: any, data?: TerminateServiceJobsCommandOutput) => void,
709
713
  ): void;
710
714
  untagResource(
711
715
  args: UntagResourceCommandInput,
712
- options?: __HttpHandlerOptions,
716
+ options?: BatchRequestOptions,
713
717
  ): Promise<UntagResourceCommandOutput>;
714
718
  untagResource(
715
719
  args: UntagResourceCommandInput,
@@ -717,12 +721,12 @@ export interface Batch {
717
721
  ): void;
718
722
  untagResource(
719
723
  args: UntagResourceCommandInput,
720
- options: __HttpHandlerOptions,
724
+ options: BatchRequestOptions,
721
725
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
722
726
  ): void;
723
727
  updateComputeEnvironment(
724
728
  args: UpdateComputeEnvironmentCommandInput,
725
- options?: __HttpHandlerOptions,
729
+ options?: BatchRequestOptions,
726
730
  ): Promise<UpdateComputeEnvironmentCommandOutput>;
727
731
  updateComputeEnvironment(
728
732
  args: UpdateComputeEnvironmentCommandInput,
@@ -730,12 +734,12 @@ export interface Batch {
730
734
  ): void;
731
735
  updateComputeEnvironment(
732
736
  args: UpdateComputeEnvironmentCommandInput,
733
- options: __HttpHandlerOptions,
737
+ options: BatchRequestOptions,
734
738
  cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void,
735
739
  ): void;
736
740
  updateConsumableResource(
737
741
  args: UpdateConsumableResourceCommandInput,
738
- options?: __HttpHandlerOptions,
742
+ options?: BatchRequestOptions,
739
743
  ): Promise<UpdateConsumableResourceCommandOutput>;
740
744
  updateConsumableResource(
741
745
  args: UpdateConsumableResourceCommandInput,
@@ -743,12 +747,12 @@ export interface Batch {
743
747
  ): void;
744
748
  updateConsumableResource(
745
749
  args: UpdateConsumableResourceCommandInput,
746
- options: __HttpHandlerOptions,
750
+ options: BatchRequestOptions,
747
751
  cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void,
748
752
  ): void;
749
753
  updateJobQueue(
750
754
  args: UpdateJobQueueCommandInput,
751
- options?: __HttpHandlerOptions,
755
+ options?: BatchRequestOptions,
752
756
  ): Promise<UpdateJobQueueCommandOutput>;
753
757
  updateJobQueue(
754
758
  args: UpdateJobQueueCommandInput,
@@ -756,12 +760,12 @@ export interface Batch {
756
760
  ): void;
757
761
  updateJobQueue(
758
762
  args: UpdateJobQueueCommandInput,
759
- options: __HttpHandlerOptions,
763
+ options: BatchRequestOptions,
760
764
  cb: (err: any, data?: UpdateJobQueueCommandOutput) => void,
761
765
  ): void;
762
766
  updateQuotaShare(
763
767
  args: UpdateQuotaShareCommandInput,
764
- options?: __HttpHandlerOptions,
768
+ options?: BatchRequestOptions,
765
769
  ): Promise<UpdateQuotaShareCommandOutput>;
766
770
  updateQuotaShare(
767
771
  args: UpdateQuotaShareCommandInput,
@@ -769,12 +773,12 @@ export interface Batch {
769
773
  ): void;
770
774
  updateQuotaShare(
771
775
  args: UpdateQuotaShareCommandInput,
772
- options: __HttpHandlerOptions,
776
+ options: BatchRequestOptions,
773
777
  cb: (err: any, data?: UpdateQuotaShareCommandOutput) => void,
774
778
  ): void;
775
779
  updateSchedulingPolicy(
776
780
  args: UpdateSchedulingPolicyCommandInput,
777
- options?: __HttpHandlerOptions,
781
+ options?: BatchRequestOptions,
778
782
  ): Promise<UpdateSchedulingPolicyCommandOutput>;
779
783
  updateSchedulingPolicy(
780
784
  args: UpdateSchedulingPolicyCommandInput,
@@ -782,12 +786,12 @@ export interface Batch {
782
786
  ): void;
783
787
  updateSchedulingPolicy(
784
788
  args: UpdateSchedulingPolicyCommandInput,
785
- options: __HttpHandlerOptions,
789
+ options: BatchRequestOptions,
786
790
  cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void,
787
791
  ): void;
788
792
  updateServiceEnvironment(
789
793
  args: UpdateServiceEnvironmentCommandInput,
790
- options?: __HttpHandlerOptions,
794
+ options?: BatchRequestOptions,
791
795
  ): Promise<UpdateServiceEnvironmentCommandOutput>;
792
796
  updateServiceEnvironment(
793
797
  args: UpdateServiceEnvironmentCommandInput,
@@ -795,12 +799,12 @@ export interface Batch {
795
799
  ): void;
796
800
  updateServiceEnvironment(
797
801
  args: UpdateServiceEnvironmentCommandInput,
798
- options: __HttpHandlerOptions,
802
+ options: BatchRequestOptions,
799
803
  cb: (err: any, data?: UpdateServiceEnvironmentCommandOutput) => void,
800
804
  ): void;
801
805
  updateServiceJob(
802
806
  args: UpdateServiceJobCommandInput,
803
- options?: __HttpHandlerOptions,
807
+ options?: BatchRequestOptions,
804
808
  ): Promise<UpdateServiceJobCommandOutput>;
805
809
  updateServiceJob(
806
810
  args: UpdateServiceJobCommandInput,
@@ -808,7 +812,7 @@ export interface Batch {
808
812
  ): void;
809
813
  updateServiceJob(
810
814
  args: UpdateServiceJobCommandInput,
811
- options: __HttpHandlerOptions,
815
+ options: BatchRequestOptions,
812
816
  cb: (err: any, data?: UpdateServiceJobCommandOutput) => void,
813
817
  ): void;
814
818
  paginateDescribeComputeEnvironments(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-batch",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-batch",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {