@aws-sdk/client-batch 3.40.0 → 3.45.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 (70) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/Batch.js +75 -0
  4. package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +36 -0
  7. package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/endpoints.js +25 -0
  11. package/dist-cjs/models/models_0.js +87 -3
  12. package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +509 -1
  15. package/dist-es/Batch.js +75 -0
  16. package/dist-es/commands/CreateSchedulingPolicyCommand.js +39 -0
  17. package/dist-es/commands/DeleteSchedulingPolicyCommand.js +39 -0
  18. package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +39 -0
  19. package/dist-es/commands/ListSchedulingPoliciesCommand.js +39 -0
  20. package/dist-es/commands/UpdateSchedulingPolicyCommand.js +39 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/endpoints.js +25 -0
  23. package/dist-es/models/models_0.js +56 -0
  24. package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +74 -0
  25. package/dist-es/pagination/index.js +1 -0
  26. package/dist-es/protocols/Aws_restJson1.js +584 -13
  27. package/dist-types/Batch.d.ts +50 -12
  28. package/dist-types/BatchClient.d.ts +9 -4
  29. package/dist-types/commands/CancelJobCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +5 -6
  31. package/dist-types/commands/CreateJobQueueCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +35 -0
  33. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +36 -0
  36. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +35 -0
  42. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +35 -0
  44. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  45. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +1 -1
  46. package/dist-types/commands/SubmitJobCommand.d.ts +5 -2
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  48. package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
  49. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateJobQueueCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +35 -0
  53. package/dist-types/commands/index.d.ts +5 -0
  54. package/dist-types/models/models_0.d.ts +455 -114
  55. package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  58. package/dist-types/ts3.4/Batch.d.ts +25 -0
  59. package/dist-types/ts3.4/BatchClient.d.ts +7 -2
  60. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +164 -0
  67. package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
  68. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  69. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  70. package/package.json +6 -6
@@ -3,14 +3,18 @@ import { BatchClient } from "./BatchClient";
3
3
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
4
4
  import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
5
5
  import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
6
+ import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
6
7
  import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
7
8
  import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
9
+ import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
8
10
  import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
9
11
  import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
10
12
  import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
11
13
  import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
12
14
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
15
+ import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
13
16
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
17
+ import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
14
18
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
19
  import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
16
20
  import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
@@ -19,9 +23,10 @@ import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/
19
23
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
24
  import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
21
25
  import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
26
+ import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
22
27
  /**
23
28
  * <fullname>Batch</fullname>
24
- * <p>Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for
29
+ * <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
25
30
  * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
26
31
  * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required
27
32
  * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these
@@ -30,7 +35,7 @@ import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./comma
30
35
  * <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
31
36
  * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
32
37
  * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus
33
- * your time and energy on analyzing results and solving your specific problems. </p>
38
+ * your time and energy on analyzing results and solving your specific problems.</p>
34
39
  */
35
40
  export declare class Batch extends BatchClient {
36
41
  /**
@@ -57,11 +62,10 @@ export declare class Batch extends BatchClient {
57
62
  * </note>
58
63
  * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility
59
64
  * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that
60
- * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance
61
- * AMIs</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you
62
- * can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with
63
- * it. Then, launch your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS
64
- * container instance</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
65
+ * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
66
+ * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
67
+ * your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS container instance</a> in the
68
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
65
69
  * <note>
66
70
  * <p>Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it
67
71
  * doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible
@@ -98,6 +102,12 @@ export declare class Batch extends BatchClient {
98
102
  createJobQueue(args: CreateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<CreateJobQueueCommandOutput>;
99
103
  createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
100
104
  createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
105
+ /**
106
+ * <p>Creates an Batch scheduling policy.</p>
107
+ */
108
+ createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
109
+ createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
110
+ createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
101
111
  /**
102
112
  * <p>Deletes an Batch compute environment.</p>
103
113
  * <p>Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the <a>UpdateJobQueue</a> API operation. Compute environments that use Fargate resources must terminate all
@@ -116,6 +126,13 @@ export declare class Batch extends BatchClient {
116
126
  deleteJobQueue(args: DeleteJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobQueueCommandOutput>;
117
127
  deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
118
128
  deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
129
+ /**
130
+ * <p>Deletes the specified scheduling policy.</p>
131
+ * <p>You can't delete a scheduling policy that's used in any job queues.</p>
132
+ */
133
+ deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
134
+ deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
135
+ deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
119
136
  /**
120
137
  * <p>Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.</p>
121
138
  */
@@ -150,6 +167,12 @@ export declare class Batch extends BatchClient {
150
167
  describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
151
168
  describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
152
169
  describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
170
+ /**
171
+ * <p>Describes one or more of your scheduling policies.</p>
172
+ */
173
+ describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
174
+ describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
175
+ describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
153
176
  /**
154
177
  * <p>Returns a list of Batch jobs.</p>
155
178
  * <p>You must specify only one of the following items:</p>
@@ -171,8 +194,14 @@ export declare class Batch extends BatchClient {
171
194
  listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
172
195
  listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
173
196
  /**
174
- * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job
175
- * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
197
+ * <p>Returns a list of Batch scheduling policies.</p>
198
+ */
199
+ listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
200
+ listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
201
+ listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
202
+ /**
203
+ * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
204
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
176
205
  */
177
206
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
178
207
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
@@ -186,10 +215,13 @@ export declare class Batch extends BatchClient {
186
215
  /**
187
216
  * <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
188
217
  * override parameters defined in the job definition. vCPU and memory requirements that are specified in the
189
- * <code>ResourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
218
+ * <code>resourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
190
219
  * using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
191
220
  * parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>
192
221
  * parameter.</p>
222
+ * <note>
223
+ * <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time. </p>
224
+ * </note>
193
225
  * <important>
194
226
  * <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14
195
227
  * days, Fargate resources might become unavailable and job might be terminated.</p>
@@ -201,8 +233,8 @@ export declare class Batch extends BatchClient {
201
233
  /**
202
234
  * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
203
235
  * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
204
- * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job
205
- * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
236
+ * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
237
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
206
238
  */
207
239
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
208
240
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -233,4 +265,10 @@ export declare class Batch extends BatchClient {
233
265
  updateJobQueue(args: UpdateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobQueueCommandOutput>;
234
266
  updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
235
267
  updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
268
+ /**
269
+ * <p>Updates a scheduling policy.</p>
270
+ */
271
+ updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
272
+ updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
273
+ updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
236
274
  }
@@ -9,14 +9,18 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
9
9
  import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
10
10
  import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
11
11
  import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
12
+ import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
12
13
  import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
13
14
  import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
15
+ import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
14
16
  import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
15
17
  import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
16
18
  import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
17
19
  import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
18
20
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
21
+ import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
19
22
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
23
+ import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
20
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
25
  import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
22
26
  import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
@@ -25,8 +29,9 @@ import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/
25
29
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
30
  import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
27
31
  import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
28
- export declare type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | ListJobsCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput;
29
- export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | ListJobsCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput;
32
+ import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
33
+ export declare type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
34
+ export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
30
35
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
31
36
  /**
32
37
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -142,7 +147,7 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType
142
147
  }
143
148
  /**
144
149
  * <fullname>Batch</fullname>
145
- * <p>Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for
150
+ * <p>Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for
146
151
  * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
147
152
  * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required
148
153
  * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these
@@ -151,7 +156,7 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType
151
156
  * <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
152
157
  * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
153
158
  * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus
154
- * your time and energy on analyzing results and solving your specific problems. </p>
159
+ * your time and energy on analyzing results and solving your specific problems.</p>
155
160
  */
156
161
  export declare class BatchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BatchClientResolvedConfig> {
157
162
  /**
@@ -23,7 +23,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
23
23
  *
24
24
  * @see {@link CancelJobCommandInput} for command's `input` shape.
25
25
  * @see {@link CancelJobCommandOutput} for command's `response` shape.
26
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class CancelJobCommand extends $Command<CancelJobCommandInput, CancelJobCommandOutput, BatchClientResolvedConfig> {
@@ -21,11 +21,10 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
21
21
  * </note>
22
22
  * <p>In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility
23
23
  * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that
24
- * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance
25
- * AMIs</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you
26
- * can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with
27
- * it. Then, launch your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS
28
- * container instance</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
24
+ * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">container instance AMIs</a> in the
25
+ * <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster that's associated with it. Then, launch
26
+ * your container instances into that Amazon ECS cluster. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an Amazon ECS container instance</a> in the
27
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
29
28
  * <note>
30
29
  * <p>Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it
31
30
  * doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible
@@ -59,7 +58,7 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
59
58
  *
60
59
  * @see {@link CreateComputeEnvironmentCommandInput} for command's `input` shape.
61
60
  * @see {@link CreateComputeEnvironmentCommandOutput} for command's `response` shape.
62
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
61
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
63
62
  *
64
63
  */
65
64
  export declare class CreateComputeEnvironmentCommand extends $Command<CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
25
25
  *
26
26
  * @see {@link CreateJobQueueCommandInput} for command's `input` shape.
27
27
  * @see {@link CreateJobQueueCommandOutput} for command's `response` shape.
28
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class CreateJobQueueCommand extends $Command<CreateJobQueueCommandInput, CreateJobQueueCommandOutput, BatchClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
4
+ import { CreateSchedulingPolicyRequest, CreateSchedulingPolicyResponse } from "../models/models_0";
5
+ export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPolicyRequest {
6
+ }
7
+ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an Batch scheduling policy.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
15
+ * // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
16
+ * const client = new BatchClient(config);
17
+ * const command = new CreateSchedulingPolicyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateSchedulingPolicyCommandInput} for command's `input` shape.
22
+ * @see {@link CreateSchedulingPolicyCommandOutput} for command's `response` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
27
+ readonly input: CreateSchedulingPolicyCommandInput;
28
+ constructor(input: CreateSchedulingPolicyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -23,7 +23,7 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
23
23
  *
24
24
  * @see {@link DeleteComputeEnvironmentCommandInput} for command's `input` shape.
25
25
  * @see {@link DeleteComputeEnvironmentCommandOutput} for command's `response` shape.
26
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class DeleteComputeEnvironmentCommand extends $Command<DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
23
23
  *
24
24
  * @see {@link DeleteJobQueueCommandInput} for command's `input` shape.
25
25
  * @see {@link DeleteJobQueueCommandOutput} for command's `response` shape.
26
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class DeleteJobQueueCommand extends $Command<DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, BatchClientResolvedConfig> {
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
4
+ import { DeleteSchedulingPolicyRequest, DeleteSchedulingPolicyResponse } from "../models/models_0";
5
+ export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPolicyRequest {
6
+ }
7
+ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes the specified scheduling policy.</p>
11
+ * <p>You can't delete a scheduling policy that's used in any job queues.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { BatchClient, DeleteSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
16
+ * // const { BatchClient, DeleteSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
17
+ * const client = new BatchClient(config);
18
+ * const command = new DeleteSchedulingPolicyCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteSchedulingPolicyCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteSchedulingPolicyCommandOutput} for command's `response` shape.
24
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
28
+ readonly input: DeleteSchedulingPolicyCommandInput;
29
+ constructor(input: DeleteSchedulingPolicyCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -20,7 +20,7 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
20
20
  *
21
21
  * @see {@link DeregisterJobDefinitionCommandInput} for command's `input` shape.
22
22
  * @see {@link DeregisterJobDefinitionCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeregisterJobDefinitionCommand extends $Command<DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, BatchClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
23
23
  *
24
24
  * @see {@link DescribeComputeEnvironmentsCommandInput} for command's `input` shape.
25
25
  * @see {@link DescribeComputeEnvironmentsCommandOutput} for command's `response` shape.
26
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class DescribeComputeEnvironmentsCommand extends $Command<DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput, BatchClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
21
21
  *
22
22
  * @see {@link DescribeJobDefinitionsCommandInput} for command's `input` shape.
23
23
  * @see {@link DescribeJobDefinitionsCommandOutput} for command's `response` shape.
24
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class DescribeJobDefinitionsCommand extends $Command<DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
20
20
  *
21
21
  * @see {@link DescribeJobQueuesCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeJobQueuesCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeJobQueuesCommand extends $Command<DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
20
20
  *
21
21
  * @see {@link DescribeJobsCommandInput} for command's `input` shape.
22
22
  * @see {@link DescribeJobsCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DescribeJobsCommand extends $Command<DescribeJobsCommandInput, DescribeJobsCommandOutput, BatchClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
4
+ import { DescribeSchedulingPoliciesRequest, DescribeSchedulingPoliciesResponse } from "../models/models_0";
5
+ export interface DescribeSchedulingPoliciesCommandInput extends DescribeSchedulingPoliciesRequest {
6
+ }
7
+ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedulingPoliciesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Describes one or more of your scheduling policies.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { BatchClient, DescribeSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
15
+ * // const { BatchClient, DescribeSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
16
+ * const client = new BatchClient(config);
17
+ * const command = new DescribeSchedulingPoliciesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeSchedulingPoliciesCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeSchedulingPoliciesCommandOutput} for command's `response` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeSchedulingPoliciesCommand extends $Command<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
27
+ readonly input: DescribeSchedulingPoliciesCommandInput;
28
+ constructor(input: DescribeSchedulingPoliciesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -34,7 +34,7 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
34
34
  *
35
35
  * @see {@link ListJobsCommandInput} for command's `input` shape.
36
36
  * @see {@link ListJobsCommandOutput} for command's `response` shape.
37
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
37
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
38
38
  *
39
39
  */
40
40
  export declare class ListJobsCommand extends $Command<ListJobsCommandInput, ListJobsCommandOutput, BatchClientResolvedConfig> {
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
4
+ import { ListSchedulingPoliciesRequest, ListSchedulingPoliciesResponse } from "../models/models_0";
5
+ export interface ListSchedulingPoliciesCommandInput extends ListSchedulingPoliciesRequest {
6
+ }
7
+ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPoliciesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of Batch scheduling policies.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { BatchClient, ListSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
15
+ * // const { BatchClient, ListSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
16
+ * const client = new BatchClient(config);
17
+ * const command = new ListSchedulingPoliciesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListSchedulingPoliciesCommandInput} for command's `input` shape.
22
+ * @see {@link ListSchedulingPoliciesCommandOutput} for command's `response` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListSchedulingPoliciesCommand extends $Command<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
27
+ readonly input: ListSchedulingPoliciesCommandInput;
28
+ constructor(input: ListSchedulingPoliciesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,8 +7,8 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job
11
- * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
10
+ * <p>Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
11
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -21,7 +21,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
21
21
  *
22
22
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
23
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
20
20
  *
21
21
  * @see {@link RegisterJobDefinitionCommandInput} for command's `input` shape.
22
22
  * @see {@link RegisterJobDefinitionCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class RegisterJobDefinitionCommand extends $Command<RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput, BatchClientResolvedConfig> {
@@ -9,10 +9,13 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
9
9
  /**
10
10
  * <p>Submits an Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>
11
11
  * override parameters defined in the job definition. vCPU and memory requirements that are specified in the
12
- * <code>ResourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
12
+ * <code>resourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way
13
13
  * using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
14
14
  * parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>
15
15
  * parameter.</p>
16
+ * <note>
17
+ * <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time. </p>
18
+ * </note>
16
19
  * <important>
17
20
  * <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14
18
21
  * days, Fargate resources might become unavailable and job might be terminated.</p>
@@ -29,7 +32,7 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
29
32
  *
30
33
  * @see {@link SubmitJobCommandInput} for command's `input` shape.
31
34
  * @see {@link SubmitJobCommandOutput} for command's `response` shape.
32
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
35
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
33
36
  *
34
37
  */
35
38
  export declare class SubmitJobCommand extends $Command<SubmitJobCommandInput, SubmitJobCommandOutput, BatchClientResolvedConfig> {
@@ -9,8 +9,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
9
9
  /**
10
10
  * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a
11
11
  * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that
12
- * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job
13
- * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
12
+ * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,
13
+ * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
23
23
  *
24
24
  * @see {@link TagResourceCommandInput} for command's `input` shape.
25
25
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
26
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, BatchClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
22
22
  *
23
23
  * @see {@link TerminateJobCommandInput} for command's `input` shape.
24
24
  * @see {@link TerminateJobCommandOutput} for command's `response` shape.
25
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class TerminateJobCommand extends $Command<TerminateJobCommandInput, TerminateJobCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
20
20
  *
21
21
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
20
20
  *
21
21
  * @see {@link UpdateComputeEnvironmentCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateComputeEnvironmentCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateComputeEnvironmentCommand extends $Command<UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput, BatchClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
20
20
  *
21
21
  * @see {@link UpdateJobQueueCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateJobQueueCommandOutput} for command's `response` shape.
23
- * @see {@link BatchClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateJobQueueCommand extends $Command<UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput, BatchClientResolvedConfig> {