@aws-sdk/client-batch 3.775.0 → 3.782.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 (36) hide show
  1. package/dist-cjs/index.js +7 -0
  2. package/dist-es/models/models_0.js +5 -0
  3. package/dist-types/commands/CancelJobCommand.d.ts +8 -5
  4. package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +44 -45
  5. package/dist-types/commands/CreateConsumableResourceCommand.d.ts +11 -11
  6. package/dist-types/commands/CreateJobQueueCommand.d.ts +22 -23
  7. package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +7 -4
  9. package/dist-types/commands/DeleteConsumableResourceCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteJobQueueCommand.d.ts +7 -4
  11. package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +1 -0
  12. package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +7 -4
  13. package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +26 -26
  14. package/dist-types/commands/DescribeConsumableResourceCommand.d.ts +14 -14
  15. package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +40 -24
  16. package/dist-types/commands/DescribeJobQueuesCommand.d.ts +14 -14
  17. package/dist-types/commands/DescribeJobsCommand.d.ts +44 -28
  18. package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +1 -0
  19. package/dist-types/commands/GetJobQueueSnapshotCommand.d.ts +1 -0
  20. package/dist-types/commands/ListConsumableResourcesCommand.d.ts +13 -13
  21. package/dist-types/commands/ListJobsByConsumableResourceCommand.d.ts +20 -20
  22. package/dist-types/commands/ListJobsCommand.d.ts +13 -14
  23. package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -0
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -8
  25. package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +58 -43
  26. package/dist-types/commands/SubmitJobCommand.d.ts +9 -9
  27. package/dist-types/commands/TagResourceCommand.d.ts +9 -6
  28. package/dist-types/commands/TerminateJobCommand.d.ts +8 -5
  29. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  30. package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +7 -7
  31. package/dist-types/commands/UpdateConsumableResourceCommand.d.ts +9 -9
  32. package/dist-types/commands/UpdateJobQueueCommand.d.ts +7 -7
  33. package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +1 -0
  34. package/dist-types/models/models_0.d.ts +127 -45
  35. package/dist-types/ts3.4/models/models_0.d.ts +17 -0
  36. package/package.json +5 -5
@@ -737,8 +737,8 @@ export interface ComputeResource {
737
737
  /**
738
738
  * <p>Key-value pair tags to be applied to Amazon EC2 resources that are launched in the compute
739
739
  * environment. For Batch, these take the form of <code>"String1": "String2"</code>, where
740
- * <code>String1</code> is the tag key and <code>String2</code> is the tag value-for example,
741
- * <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>. This is helpful for recognizing your
740
+ * <code>String1</code> is the tag key and <code>String2</code> is the tag value (for example,
741
+ * <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>). This is helpful for recognizing your
742
742
  * Batch instances in the Amazon EC2 console. Updating these tags requires an infrastructure update to
743
743
  * the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a> in the
744
744
  * <i>Batch User Guide</i>. These tags aren't seen when using the Batch
@@ -908,8 +908,8 @@ export interface CreateComputeEnvironmentRequest {
908
908
  state?: CEState | undefined;
909
909
  /**
910
910
  * <p>The maximum number of vCPUs for an unmanaged compute environment. This parameter is only
911
- * used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this
912
- * parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.</p>
911
+ * used for fair-share scheduling to reserve vCPU capacity for new share identifiers. If this
912
+ * parameter isn't provided for a fair-share job queue, no vCPU capacity is reserved.</p>
913
913
  * <note>
914
914
  * <p>This parameter is only supported when the <code>type</code> parameter is set to
915
915
  * <code>UNMANAGED</code>.</p>
@@ -1149,13 +1149,13 @@ export interface CreateJobQueueRequest {
1149
1149
  */
1150
1150
  state?: JQState | undefined;
1151
1151
  /**
1152
- * <p>The Amazon Resource Name (ARN) of the fair share scheduling policy. Job queues that don't have a scheduling policy are scheduled in a first-in, first-out (FIFO) model. After a job queue has a scheduling policy, it can be replaced but can't be removed.</p>
1152
+ * <p>The Amazon Resource Name (ARN) of the fair-share scheduling policy. Job queues that don't have a fair-share scheduling policy are scheduled in a first-in, first-out (FIFO) model. After a job queue has a fair-share scheduling policy, it can be replaced but can't be removed.</p>
1153
1153
  * <p>The format is
1154
1154
  * <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i>
1155
1155
  * </code>.</p>
1156
1156
  * <p>An example is
1157
1157
  * <code>aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy</code>.</p>
1158
- * <p>A job queue without a scheduling policy is scheduled as a FIFO job queue and can't have a scheduling policy added. Jobs queues with a scheduling policy can have a maximum of 500 active fair share identifiers. When the limit has been reached, submissions of any jobs that add a new fair share identifier fail.</p>
1158
+ * <p>A job queue without a fair-share scheduling policy is scheduled as a FIFO job queue and can't have a fair-share scheduling policy added. Jobs queues with a fair-share scheduling policy can have a maximum of 500 active share identifiers. When the limit has been reached, submissions of any jobs that add a new share identifier fail.</p>
1159
1159
  * @public
1160
1160
  */
1161
1161
  schedulingPolicyArn?: string | undefined;
@@ -1215,25 +1215,25 @@ export interface CreateJobQueueResponse {
1215
1215
  jobQueueArn: string | undefined;
1216
1216
  }
1217
1217
  /**
1218
- * <p>Specifies the weights for the fair share identifiers for the fair share policy. Fair share
1218
+ * <p>Specifies the weights for the share identifiers for the fair-share policy. Share
1219
1219
  * identifiers that aren't included have a default weight of <code>1.0</code>.</p>
1220
1220
  * @public
1221
1221
  */
1222
1222
  export interface ShareAttributes {
1223
1223
  /**
1224
- * <p>A fair share identifier or fair share identifier prefix. If the string ends with an asterisk
1225
- * (*), this entry specifies the weight factor to use for fair share identifiers that start with
1226
- * that prefix. The list of fair share identifiers in a fair share policy can't overlap. For
1224
+ * <p>A share identifier or share identifier prefix. If the string ends with an asterisk
1225
+ * (*), this entry specifies the weight factor to use for share identifiers that start with
1226
+ * that prefix. The list of share identifiers in a fair-share policy can't overlap. For
1227
1227
  * example, you can't have one that specifies a <code>shareIdentifier</code> of <code>UserA*</code>
1228
1228
  * and another that specifies a <code>shareIdentifier</code> of <code>UserA-1</code>.</p>
1229
- * <p>There can be no more than 500 fair share identifiers active in a job queue.</p>
1229
+ * <p>There can be no more than 500 share identifiers active in a job queue.</p>
1230
1230
  * <p>The string is limited to 255 alphanumeric characters, and can be followed by an asterisk
1231
1231
  * (*).</p>
1232
1232
  * @public
1233
1233
  */
1234
1234
  shareIdentifier: string | undefined;
1235
1235
  /**
1236
- * <p>The weight factor for the fair share identifier. The default value is 1.0. A lower value has
1236
+ * <p>The weight factor for the share identifier. The default value is 1.0. A lower value has
1237
1237
  * a higher priority for compute resources. For example, jobs that use a share identifier with a
1238
1238
  * weight factor of 0.125 (1/8) get 8 times the compute resources of jobs that use a share
1239
1239
  * identifier with a weight factor of 1.</p>
@@ -1243,44 +1243,44 @@ export interface ShareAttributes {
1243
1243
  weightFactor?: number | undefined;
1244
1244
  }
1245
1245
  /**
1246
- * <p>The fair share policy for a scheduling policy.</p>
1246
+ * <p>The fair-share scheduling policy details.</p>
1247
1247
  * @public
1248
1248
  */
1249
1249
  export interface FairsharePolicy {
1250
1250
  /**
1251
- * <p>The amount of time (in seconds) to use to calculate a fair share percentage for each fair
1251
+ * <p>The amount of time (in seconds) to use to calculate a fair-share percentage for each
1252
1252
  * share identifier in use. A value of zero (0) indicates the default minimum time window (600 seconds).
1253
1253
  * The maximum supported value is 604800 (1 week).</p>
1254
1254
  * <p>The decay allows for more recently run jobs to have more weight than jobs that ran earlier.
1255
1255
  * Consider adjusting this number if you have jobs that (on average) run longer than ten minutes,
1256
1256
  * or a large difference in job count or job run times between share identifiers, and the allocation
1257
- * of resources doesnt meet your needs.</p>
1257
+ * of resources doesn't meet your needs.</p>
1258
1258
  * @public
1259
1259
  */
1260
1260
  shareDecaySeconds?: number | undefined;
1261
1261
  /**
1262
- * <p>A value used to reserve some of the available maximum vCPU for fair share identifiers that
1262
+ * <p>A value used to reserve some of the available maximum vCPU for share identifiers that
1263
1263
  * aren't already used.</p>
1264
1264
  * <p>The reserved ratio is
1265
1265
  * <code>(<i>computeReservation</i>/100)^<i>ActiveFairShares</i>
1266
1266
  * </code>
1267
1267
  * where <code>
1268
1268
  * <i>ActiveFairShares</i>
1269
- * </code> is the number of active fair share
1269
+ * </code> is the number of active share
1270
1270
  * identifiers.</p>
1271
1271
  * <p>For example, a <code>computeReservation</code> value of 50 indicates that Batch reserves
1272
- * 50% of the maximum available vCPU if there's only one fair share identifier. It reserves 25% if
1273
- * there are two fair share identifiers. It reserves 12.5% if there are three fair share
1272
+ * 50% of the maximum available vCPU if there's only one share identifier. It reserves 25% if
1273
+ * there are two share identifiers. It reserves 12.5% if there are three share
1274
1274
  * identifiers. A <code>computeReservation</code> value of 25 indicates that Batch should reserve
1275
- * 25% of the maximum available vCPU if there's only one fair share identifier, 6.25% if there are
1276
- * two fair share identifiers, and 1.56% if there are three fair share identifiers.</p>
1275
+ * 25% of the maximum available vCPU if there's only one share identifier, 6.25% if there are
1276
+ * two fair share identifiers, and 1.56% if there are three share identifiers.</p>
1277
1277
  * <p>The minimum value is 0 and the maximum value is 99.</p>
1278
1278
  * @public
1279
1279
  */
1280
1280
  computeReservation?: number | undefined;
1281
1281
  /**
1282
- * <p>An array of <code>SharedIdentifier</code> objects that contain the weights for the fair
1283
- * share identifiers for the fair share policy. Fair share identifiers that aren't included have a
1282
+ * <p>An array of <code>SharedIdentifier</code> objects that contain the weights for the
1283
+ * share identifiers for the fair-share policy. Share identifiers that aren't included have a
1284
1284
  * default weight of <code>1.0</code>.</p>
1285
1285
  * @public
1286
1286
  */
@@ -1292,13 +1292,13 @@ export interface FairsharePolicy {
1292
1292
  */
1293
1293
  export interface CreateSchedulingPolicyRequest {
1294
1294
  /**
1295
- * <p>The name of the scheduling policy. It can be up to 128 letters long. It can contain
1295
+ * <p>The name of the fair-share scheduling policy. It can be up to 128 letters long. It can contain
1296
1296
  * uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).</p>
1297
1297
  * @public
1298
1298
  */
1299
1299
  name: string | undefined;
1300
1300
  /**
1301
- * <p>The fair share policy of the scheduling policy.</p>
1301
+ * <p>The fair-share scheduling policy details.</p>
1302
1302
  * @public
1303
1303
  */
1304
1304
  fairsharePolicy?: FairsharePolicy | undefined;
@@ -1475,7 +1475,7 @@ export declare const CEStatus: {
1475
1475
  */
1476
1476
  export type CEStatus = (typeof CEStatus)[keyof typeof CEStatus];
1477
1477
  /**
1478
- * <p>Specifies the infrastructure update policy for the compute environment. For more information
1478
+ * <p>Specifies the infrastructure update policy for the Amazon EC2 compute environment. For more information
1479
1479
  * about infrastructure updates, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a> in the
1480
1480
  * <i>Batch User Guide</i>.</p>
1481
1481
  * @public
@@ -1957,7 +1957,7 @@ export interface LinuxParameters {
1957
1957
  * <p>If a <code>maxSwap</code> value of <code>0</code> is specified, the container doesn't use
1958
1958
  * swap. Accepted values are <code>0</code> or any positive integer. If the <code>maxSwap</code>
1959
1959
  * parameter is omitted, the container doesn't use the swap configuration for the container instance
1960
- * that it's running on. A <code>maxSwap</code> value must be set for the <code>swappiness</code>
1960
+ * on which it runs. A <code>maxSwap</code> value must be set for the <code>swappiness</code>
1961
1961
  * parameter to be used.</p>
1962
1962
  * <note>
1963
1963
  * <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't
@@ -2013,6 +2013,7 @@ export interface LinuxParameters {
2013
2013
  * @enum
2014
2014
  */
2015
2015
  export declare const LogDriver: {
2016
+ readonly AWSFIRELENS: "awsfirelens";
2016
2017
  readonly AWSLOGS: "awslogs";
2017
2018
  readonly FLUENTD: "fluentd";
2018
2019
  readonly GELF: "gelf";
@@ -2076,6 +2077,13 @@ export interface LogConfiguration {
2076
2077
  * <code>splunk</code> log drivers.</p>
2077
2078
  * </note>
2078
2079
  * <dl>
2080
+ * <dt>awsfirelens</dt>
2081
+ * <dd>
2082
+ * <p>Specifies the firelens logging driver. For more information on configuring Firelens, see
2083
+ * <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html">Send
2084
+ * Amazon ECS logs to an Amazon Web Services service or Amazon Web Services Partner</a> in the
2085
+ * <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2086
+ * </dd>
2079
2087
  * <dt>awslogs</dt>
2080
2088
  * <dd>
2081
2089
  * <p>Specifies the Amazon CloudWatch Logs logging driver. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html">Using the awslogs log driver</a>
@@ -2854,6 +2862,12 @@ export interface ContainerProperties {
2854
2862
  * @public
2855
2863
  */
2856
2864
  fargatePlatformConfiguration?: FargatePlatformConfiguration | undefined;
2865
+ /**
2866
+ * <p>Determines whether execute command functionality is turned on for this task. If <code>true</code>, execute
2867
+ * command functionality is turned on all the containers in the task.</p>
2868
+ * @public
2869
+ */
2870
+ enableExecuteCommand?: boolean | undefined;
2857
2871
  /**
2858
2872
  * <p>The amount of ephemeral storage to allocate for the task. This parameter is used to expand
2859
2873
  * the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on
@@ -2911,6 +2925,42 @@ export interface TaskContainerDependency {
2911
2925
  */
2912
2926
  condition?: string | undefined;
2913
2927
  }
2928
+ /**
2929
+ * @public
2930
+ * @enum
2931
+ */
2932
+ export declare const FirelensConfigurationType: {
2933
+ readonly FLUENTBIT: "fluentbit";
2934
+ readonly FLUENTD: "fluentd";
2935
+ };
2936
+ /**
2937
+ * @public
2938
+ */
2939
+ export type FirelensConfigurationType = (typeof FirelensConfigurationType)[keyof typeof FirelensConfigurationType];
2940
+ /**
2941
+ * <p>The FireLens configuration for the container. This is used to specify and configure a
2942
+ * log router for container logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html">Custom log</a> routing in the <i>Amazon Elastic Container Service Developer
2943
+ * Guide</i>.</p>
2944
+ * @public
2945
+ */
2946
+ export interface FirelensConfiguration {
2947
+ /**
2948
+ * <p>The log router to use. The valid values are <code>fluentd</code> or <code>fluentbit</code>.</p>
2949
+ * @public
2950
+ */
2951
+ type: FirelensConfigurationType | undefined;
2952
+ /**
2953
+ * <p>The options to use when configuring the log router. This field is optional and can be
2954
+ * used to specify a custom configuration file or to add additional metadata, such as the
2955
+ * task, task definition, cluster, and container instance details to the log event. If
2956
+ * specified, the syntax to use is
2957
+ * <code>"options":\{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"\}</code>.
2958
+ * For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef">Creating a task definition that uses a FireLens configuration</a>
2959
+ * in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
2960
+ * @public
2961
+ */
2962
+ options?: Record<string, string> | undefined;
2963
+ }
2914
2964
  /**
2915
2965
  * <p>Container properties are used for Amazon ECS-based job definitions. These properties to describe
2916
2966
  * the container that's launched as part of a job.</p>
@@ -2961,6 +3011,13 @@ export interface TaskContainerProperties {
2961
3011
  * @public
2962
3012
  */
2963
3013
  essential?: boolean | undefined;
3014
+ /**
3015
+ * <p>The FireLens configuration for the container. This is used to specify and configure a
3016
+ * log router for container logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html">Custom log</a> routing in the <i>Amazon Elastic Container Service Developer
3017
+ * Guide</i>.</p>
3018
+ * @public
3019
+ */
3020
+ firelensConfiguration?: FirelensConfiguration | undefined;
2964
3021
  /**
2965
3022
  * <p>The image used to start a container. This string is passed directly to the Docker daemon. By
2966
3023
  * default, images in the Docker Hub registry are available. Other repositories are specified with
@@ -3236,6 +3293,12 @@ export interface EcsTaskProperties {
3236
3293
  * @public
3237
3294
  */
3238
3295
  volumes?: Volume[] | undefined;
3296
+ /**
3297
+ * <p>Determines whether execute command functionality is turned on for this task. If <code>true</code>, execute
3298
+ * command functionality is turned on all the containers in the task.</p>
3299
+ * @public
3300
+ */
3301
+ enableExecuteCommand?: boolean | undefined;
3239
3302
  }
3240
3303
  /**
3241
3304
  * <p>An object that contains the properties for the Amazon ECS resources of a job.</p>
@@ -4055,7 +4118,7 @@ export interface JobDefinition {
4055
4118
  type: string | undefined;
4056
4119
  /**
4057
4120
  * <p>The scheduling priority of the job definition. This only affects jobs in job queues with a
4058
- * fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
4121
+ * fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
4059
4122
  * scheduling priority.</p>
4060
4123
  * @public
4061
4124
  */
@@ -4565,6 +4628,12 @@ export interface ContainerDetail {
4565
4628
  * @public
4566
4629
  */
4567
4630
  repositoryCredentials?: RepositoryCredentials | undefined;
4631
+ /**
4632
+ * <p>Determines whether execute command functionality is turned on for this task. If <code>true</code>, execute
4633
+ * command functionality is turned on all the containers in the task.</p>
4634
+ * @public
4635
+ */
4636
+ enableExecuteCommand?: boolean | undefined;
4568
4637
  }
4569
4638
  /**
4570
4639
  * <p>An object that represents an Batch job dependency.</p>
@@ -4625,6 +4694,13 @@ export interface TaskContainerDetails {
4625
4694
  * @public
4626
4695
  */
4627
4696
  essential?: boolean | undefined;
4697
+ /**
4698
+ * <p>The FireLens configuration for the container. This is used to specify and configure a
4699
+ * log router for container logs. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html">Custom log</a> routing in the <i>Amazon Elastic Container Service Developer
4700
+ * Guide</i>.</p>
4701
+ * @public
4702
+ */
4703
+ firelensConfiguration?: FirelensConfiguration | undefined;
4628
4704
  /**
4629
4705
  * <p>The image used to start a container. This string is passed directly to the Docker daemon. By
4630
4706
  * default, images in the Docker Hub registry are available. Other repositories are specified with
@@ -4914,6 +4990,12 @@ export interface EcsTaskDetails {
4914
4990
  * @public
4915
4991
  */
4916
4992
  volumes?: Volume[] | undefined;
4993
+ /**
4994
+ * <p>Determines whether execute command functionality is turned on for this task. If <code>true</code>, execute
4995
+ * command functionality is turned on all the containers in the task.</p>
4996
+ * @public
4997
+ */
4998
+ enableExecuteCommand?: boolean | undefined;
4917
4999
  }
4918
5000
  /**
4919
5001
  * <p>An object that contains the details for the Amazon ECS resources of a job.</p>
@@ -5275,7 +5357,7 @@ export interface JobDetail {
5275
5357
  shareIdentifier?: string | undefined;
5276
5358
  /**
5277
5359
  * <p>The scheduling policy of the job definition. This only affects jobs in job queues with a
5278
- * fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
5360
+ * fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
5279
5361
  * scheduling priority.</p>
5280
5362
  * @public
5281
5363
  */
@@ -5466,7 +5548,7 @@ export interface DescribeSchedulingPoliciesRequest {
5466
5548
  */
5467
5549
  export interface SchedulingPolicyDetail {
5468
5550
  /**
5469
- * <p>The name of the scheduling policy.</p>
5551
+ * <p>The name of the fair-share scheduling policy.</p>
5470
5552
  * @public
5471
5553
  */
5472
5554
  name: string | undefined;
@@ -5478,12 +5560,12 @@ export interface SchedulingPolicyDetail {
5478
5560
  */
5479
5561
  arn: string | undefined;
5480
5562
  /**
5481
- * <p>The fair share policy for the scheduling policy.</p>
5563
+ * <p>The fair-share scheduling policy details.</p>
5482
5564
  * @public
5483
5565
  */
5484
5566
  fairsharePolicy?: FairsharePolicy | undefined;
5485
5567
  /**
5486
- * <p>The tags that you apply to the scheduling policy to categorize and organize your resources.
5568
+ * <p>The tags that you apply to the fair-share scheduling policy to categorize and organize your resources.
5487
5569
  * Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in
5488
5570
  * <i>Amazon Web Services General Reference</i>.</p>
5489
5571
  * @public
@@ -5532,7 +5614,7 @@ export interface FrontOfQueueJobSummary {
5532
5614
  */
5533
5615
  export interface FrontOfQueueDetail {
5534
5616
  /**
5535
- * <p>The Amazon Resource Names (ARNs) of the first 100 <code>RUNNABLE</code> jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>
5617
+ * <p>The Amazon Resource Names (ARNs) of the first 100 <code>RUNNABLE</code> jobs in a named job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>
5536
5618
  * @public
5537
5619
  */
5538
5620
  jobs?: FrontOfQueueJobSummary[] | undefined;
@@ -5547,7 +5629,7 @@ export interface FrontOfQueueDetail {
5547
5629
  */
5548
5630
  export interface GetJobQueueSnapshotResponse {
5549
5631
  /**
5550
- * <p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>
5632
+ * <p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>
5551
5633
  * @public
5552
5634
  */
5553
5635
  frontOfQueue?: FrontOfQueueDetail | undefined;
@@ -6232,7 +6314,7 @@ export interface RegisterJobDefinitionRequest {
6232
6314
  parameters?: Record<string, string> | undefined;
6233
6315
  /**
6234
6316
  * <p>The scheduling priority for jobs that are submitted with this job definition. This only
6235
- * affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority
6317
+ * affects jobs in job queues with a fair-share policy. Jobs with a higher scheduling priority
6236
6318
  * are scheduled before jobs with a lower scheduling priority.</p>
6237
6319
  * <p>The minimum supported value is 0 and the maximum supported value is 9999.</p>
6238
6320
  * @public
@@ -6557,7 +6639,7 @@ export interface EksPodPropertiesOverride {
6557
6639
  containers?: EksContainerOverride[] | undefined;
6558
6640
  /**
6559
6641
  * <p>The overrides for the <code>initContainers</code> defined in the Amazon EKS pod. These containers run before
6560
- * application containers, always runs to completion, and must complete successfully before the next
6642
+ * application containers, always run to completion, and must complete successfully before the next
6561
6643
  * container starts. These containers are registered with the Amazon EKS Connector agent and persists the
6562
6644
  * registration information in the Kubernetes backend data store. For more information, see <a href="https://kubernetes.io/docs/concepts/workloads/pods/init-containers/">Init
6563
6645
  * Containers</a> in the <i>Kubernetes documentation</i>.</p>
@@ -6681,7 +6763,7 @@ export interface SubmitJobRequest {
6681
6763
  jobQueue: string | undefined;
6682
6764
  /**
6683
6765
  * <p>The share identifier for the job. Don't specify this parameter if the job queue doesn't
6684
- * have a scheduling policy. If the job queue has a scheduling policy, then this parameter must
6766
+ * have a fair-share scheduling policy. If the job queue has a fair-share scheduling policy, then this parameter must
6685
6767
  * be specified.</p>
6686
6768
  * <p>This string is limited to 255 alphanumeric characters, and can be followed by an asterisk
6687
6769
  * (*).</p>
@@ -6689,8 +6771,8 @@ export interface SubmitJobRequest {
6689
6771
  */
6690
6772
  shareIdentifier?: string | undefined;
6691
6773
  /**
6692
- * <p>The scheduling priority for the job. This only affects jobs in job queues with a fair
6693
- * share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
6774
+ * <p>The scheduling priority for the job. This only affects jobs in job queues with a
6775
+ * fair-share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
6694
6776
  * scheduling priority. This overrides any scheduling priority in the job definition and works only
6695
6777
  * within a single share identifier.</p>
6696
6778
  * <p>The minimum supported value is 0 and the maximum supported value is 9999.</p>
@@ -7092,8 +7174,8 @@ export interface ComputeResourceUpdate {
7092
7174
  /**
7093
7175
  * <p>Key-value pair tags to be applied to Amazon EC2 resources that are launched in the compute
7094
7176
  * environment. For Batch, these take the form of <code>"String1": "String2"</code>, where
7095
- * <code>String1</code> is the tag key and <code>String2</code> is the tag value-for example,
7096
- * <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>. This is helpful for recognizing your
7177
+ * <code>String1</code> is the tag key and <code>String2</code> is the tag value (for example,
7178
+ * <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>). This is helpful for recognizing your
7097
7179
  * Batch instances in the Amazon EC2 console. These tags aren't seen when using the Batch
7098
7180
  * <code>ListTagsForResource</code> API operation.</p>
7099
7181
  * <p>When updating a compute environment, changing this setting requires an infrastructure update
@@ -7262,8 +7344,8 @@ export interface UpdateComputeEnvironmentRequest {
7262
7344
  /**
7263
7345
  * <p>The maximum number of vCPUs expected to be used for an unmanaged compute environment.
7264
7346
  * Don't specify this parameter for a managed compute environment. This parameter is only used
7265
- * for fair share scheduling to reserve vCPU capacity for new share identifiers. If this
7266
- * parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.</p>
7347
+ * for fair-share scheduling to reserve vCPU capacity for new share identifiers. If this
7348
+ * parameter isn't provided for a fair-share job queue, no vCPU capacity is reserved.</p>
7267
7349
  * @public
7268
7350
  */
7269
7351
  unmanagedvCpus?: number | undefined;
@@ -7419,7 +7501,7 @@ export interface UpdateJobQueueRequest {
7419
7501
  */
7420
7502
  state?: JQState | undefined;
7421
7503
  /**
7422
- * <p>Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share
7504
+ * <p>Amazon Resource Name (ARN) of the fair-share scheduling policy. Once a job queue is created, the fair-share
7423
7505
  * scheduling policy can be replaced but not removed. The format is
7424
7506
  * <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i>
7425
7507
  * </code>.
@@ -7486,7 +7568,7 @@ export interface UpdateSchedulingPolicyRequest {
7486
7568
  */
7487
7569
  arn: string | undefined;
7488
7570
  /**
7489
- * <p>The fair share policy.</p>
7571
+ * <p>The fair-share policy scheduling details.</p>
7490
7572
  * @public
7491
7573
  */
7492
7574
  fairsharePolicy?: FairsharePolicy | undefined;
@@ -346,6 +346,7 @@ export interface LinuxParameters {
346
346
  swappiness?: number | undefined;
347
347
  }
348
348
  export declare const LogDriver: {
349
+ readonly AWSFIRELENS: "awsfirelens";
349
350
  readonly AWSLOGS: "awslogs";
350
351
  readonly FLUENTD: "fluentd";
351
352
  readonly GELF: "gelf";
@@ -446,6 +447,7 @@ export interface ContainerProperties {
446
447
  secrets?: Secret[] | undefined;
447
448
  networkConfiguration?: NetworkConfiguration | undefined;
448
449
  fargatePlatformConfiguration?: FargatePlatformConfiguration | undefined;
450
+ enableExecuteCommand?: boolean | undefined;
449
451
  ephemeralStorage?: EphemeralStorage | undefined;
450
452
  runtimePlatform?: RuntimePlatform | undefined;
451
453
  repositoryCredentials?: RepositoryCredentials | undefined;
@@ -454,11 +456,22 @@ export interface TaskContainerDependency {
454
456
  containerName?: string | undefined;
455
457
  condition?: string | undefined;
456
458
  }
459
+ export declare const FirelensConfigurationType: {
460
+ readonly FLUENTBIT: "fluentbit";
461
+ readonly FLUENTD: "fluentd";
462
+ };
463
+ export type FirelensConfigurationType =
464
+ (typeof FirelensConfigurationType)[keyof typeof FirelensConfigurationType];
465
+ export interface FirelensConfiguration {
466
+ type: FirelensConfigurationType | undefined;
467
+ options?: Record<string, string> | undefined;
468
+ }
457
469
  export interface TaskContainerProperties {
458
470
  command?: string[] | undefined;
459
471
  dependsOn?: TaskContainerDependency[] | undefined;
460
472
  environment?: KeyValuePair[] | undefined;
461
473
  essential?: boolean | undefined;
474
+ firelensConfiguration?: FirelensConfiguration | undefined;
462
475
  image: string | undefined;
463
476
  linuxParameters?: LinuxParameters | undefined;
464
477
  logConfiguration?: LogConfiguration | undefined;
@@ -483,6 +496,7 @@ export interface EcsTaskProperties {
483
496
  networkConfiguration?: NetworkConfiguration | undefined;
484
497
  runtimePlatform?: RuntimePlatform | undefined;
485
498
  volumes?: Volume[] | undefined;
499
+ enableExecuteCommand?: boolean | undefined;
486
500
  }
487
501
  export interface EcsProperties {
488
502
  taskProperties: EcsTaskProperties[] | undefined;
@@ -688,6 +702,7 @@ export interface ContainerDetail {
688
702
  ephemeralStorage?: EphemeralStorage | undefined;
689
703
  runtimePlatform?: RuntimePlatform | undefined;
690
704
  repositoryCredentials?: RepositoryCredentials | undefined;
705
+ enableExecuteCommand?: boolean | undefined;
691
706
  }
692
707
  export interface JobDependency {
693
708
  jobId?: string | undefined;
@@ -698,6 +713,7 @@ export interface TaskContainerDetails {
698
713
  dependsOn?: TaskContainerDependency[] | undefined;
699
714
  environment?: KeyValuePair[] | undefined;
700
715
  essential?: boolean | undefined;
716
+ firelensConfiguration?: FirelensConfiguration | undefined;
701
717
  image?: string | undefined;
702
718
  linuxParameters?: LinuxParameters | undefined;
703
719
  logConfiguration?: LogConfiguration | undefined;
@@ -728,6 +744,7 @@ export interface EcsTaskDetails {
728
744
  networkConfiguration?: NetworkConfiguration | undefined;
729
745
  runtimePlatform?: RuntimePlatform | undefined;
730
746
  volumes?: Volume[] | undefined;
747
+ enableExecuteCommand?: boolean | undefined;
731
748
  }
732
749
  export interface EcsPropertiesDetail {
733
750
  taskProperties?: EcsTaskDetails[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-batch",
3
3
  "description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-batch",
@@ -21,16 +21,16 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.782.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.782.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.782.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",