@aws-sdk/client-batch 3.428.0 → 3.430.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.
@@ -396,7 +396,7 @@ export interface ComputeResource {
396
396
  * <code>spotIamFleetRole</code> parameter. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html">Amazon EC2 spot fleet role</a> in the
397
397
  * <i>Batch User Guide</i>.</p>
398
398
  */
399
- type: CRType | string | undefined;
399
+ type: CRType | undefined;
400
400
  /**
401
401
  * @public
402
402
  * <p>The allocation strategy to use for the compute resource if not enough instances of the best
@@ -447,7 +447,7 @@ export interface ComputeResource {
447
447
  * Instances, Batch might need to exceed <code>maxvCpus</code> to meet your capacity requirements.
448
448
  * In this event, Batch never exceeds <code>maxvCpus</code> by more than a single instance.</p>
449
449
  */
450
- allocationStrategy?: CRAllocationStrategy | string;
450
+ allocationStrategy?: CRAllocationStrategy;
451
451
  /**
452
452
  * @public
453
453
  * <p>The minimum number of
@@ -728,7 +728,7 @@ export interface CreateComputeEnvironmentRequest {
728
728
  * <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html">Compute Environments</a> in the
729
729
  * <i>Batch User Guide</i>.</p>
730
730
  */
731
- type: CEType | string | undefined;
731
+ type: CEType | undefined;
732
732
  /**
733
733
  * @public
734
734
  * <p>The state of the compute environment. If the state is <code>ENABLED</code>, then the
@@ -753,7 +753,7 @@ export interface CreateComputeEnvironmentRequest {
753
753
  * value of <code>36</code>. This instance doesn't scale down to a <code>c5.large</code>
754
754
  * instance.</p>
755
755
  */
756
- state?: CEState | string;
756
+ state?: CEState;
757
757
  /**
758
758
  * @public
759
759
  * <p>The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share
@@ -882,7 +882,7 @@ export interface CreateJobQueueRequest {
882
882
  * job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in the queue can
883
883
  * finish.</p>
884
884
  */
885
- state?: JQState | string;
885
+ state?: JQState;
886
886
  /**
887
887
  * @public
888
888
  * <p>The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair
@@ -1235,7 +1235,7 @@ export interface ComputeEnvironmentDetail {
1235
1235
  * <p>The type of the compute environment: <code>MANAGED</code> or <code>UNMANAGED</code>. For
1236
1236
  * more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html">Compute environments</a> in the <i>Batch User Guide</i>.</p>
1237
1237
  */
1238
- type?: CEType | string;
1238
+ type?: CEType;
1239
1239
  /**
1240
1240
  * @public
1241
1241
  * <p>The state of the compute environment. The valid values are <code>ENABLED</code> or
@@ -1259,13 +1259,13 @@ export interface ComputeEnvironmentDetail {
1259
1259
  * value of <code>36</code>. This instance doesn't scale down to a <code>c5.large</code>
1260
1260
  * instance.</p>
1261
1261
  */
1262
- state?: CEState | string;
1262
+ state?: CEState;
1263
1263
  /**
1264
1264
  * @public
1265
1265
  * <p>The current status of the compute environment (for example, <code>CREATING</code> or
1266
1266
  * <code>VALID</code>).</p>
1267
1267
  */
1268
- status?: CEStatus | string;
1268
+ status?: CEStatus;
1269
1269
  /**
1270
1270
  * @public
1271
1271
  * <p>A short, human-readable string to provide additional details for the current status of the
@@ -1303,7 +1303,7 @@ export interface ComputeEnvironmentDetail {
1303
1303
  * <p>The orchestration type of the compute environment. The valid values are <code>ECS</code>
1304
1304
  * (default) or <code>EKS</code>.</p>
1305
1305
  */
1306
- containerOrchestrationType?: OrchestrationType | string;
1306
+ containerOrchestrationType?: OrchestrationType;
1307
1307
  /**
1308
1308
  * @public
1309
1309
  * <p>Unique identifier for the compute environment.</p>
@@ -1461,7 +1461,7 @@ export interface Device {
1461
1461
  * container has permissions for <code>read</code>, <code>write</code>, and <code>mknod</code> for
1462
1462
  * the device.</p>
1463
1463
  */
1464
- permissions?: (DeviceCgroupPermission | string)[];
1464
+ permissions?: DeviceCgroupPermission[];
1465
1465
  }
1466
1466
  /**
1467
1467
  * @public
@@ -1731,7 +1731,7 @@ export interface LogConfiguration {
1731
1731
  * container instance and run the following command: <code>sudo docker version | grep "Server API version"</code>
1732
1732
  * </p>
1733
1733
  */
1734
- logDriver: LogDriver | string | undefined;
1734
+ logDriver: LogDriver | undefined;
1735
1735
  /**
1736
1736
  * @public
1737
1737
  * <p>The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your
@@ -1785,7 +1785,7 @@ export interface NetworkConfiguration {
1785
1785
  * internet. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html">Amazon ECS task networking</a> in the
1786
1786
  * <i>Amazon Elastic Container Service Developer Guide</i>. The default value is "<code>DISABLED</code>".</p>
1787
1787
  */
1788
- assignPublicIp?: AssignPublicIp | string;
1788
+ assignPublicIp?: AssignPublicIp;
1789
1789
  }
1790
1790
  /**
1791
1791
  * @public
@@ -1975,7 +1975,7 @@ export interface ResourceRequirement {
1975
1975
  * <p>The type of resource to assign to a container. The supported resources include
1976
1976
  * <code>GPU</code>, <code>MEMORY</code>, and <code>VCPU</code>.</p>
1977
1977
  */
1978
- type: ResourceType | string | undefined;
1978
+ type: ResourceType | undefined;
1979
1979
  }
1980
1980
  /**
1981
1981
  * @public
@@ -2084,7 +2084,7 @@ export interface EFSAuthorizationConfig {
2084
2084
  * <code>TransitEncryption</code> be <code>ENABLED</code> and that a <code>JobRoleArn</code> is
2085
2085
  * specified.</p>
2086
2086
  */
2087
- iam?: EFSAuthorizationConfigIAM | string;
2087
+ iam?: EFSAuthorizationConfigIAM;
2088
2088
  }
2089
2089
  /**
2090
2090
  * @public
@@ -2130,7 +2130,7 @@ export interface EFSVolumeConfiguration {
2130
2130
  * this parameter is omitted, the default value of <code>DISABLED</code> is used. For more
2131
2131
  * information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html">Encrypting data in transit</a> in the <i>Amazon Elastic File System User Guide</i>.</p>
2132
2132
  */
2133
- transitEncryption?: EFSTransitEncryption | string;
2133
+ transitEncryption?: EFSTransitEncryption;
2134
2134
  /**
2135
2135
  * @public
2136
2136
  * <p>The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If
@@ -3015,7 +3015,7 @@ export interface EvaluateOnExit {
3015
3015
  * (<code>onStatusReason</code>, <code>onReason</code>, and <code>onExitCode</code>) are met. The
3016
3016
  * values aren't case sensitive.</p>
3017
3017
  */
3018
- action: RetryAction | string | undefined;
3018
+ action: RetryAction | undefined;
3019
3019
  }
3020
3020
  /**
3021
3021
  * @public
@@ -3153,7 +3153,7 @@ export interface JobDefinition {
3153
3153
  * defaults to <code>EC2</code>. Jobs run on Fargate resources specify
3154
3154
  * <code>FARGATE</code>.</p>
3155
3155
  */
3156
- platformCapabilities?: (PlatformCapability | string)[];
3156
+ platformCapabilities?: PlatformCapability[];
3157
3157
  /**
3158
3158
  * @public
3159
3159
  * <p>An object with various properties that are specific to Amazon EKS based jobs. Valid values are
@@ -3166,7 +3166,7 @@ export interface JobDefinition {
3166
3166
  * <p>The orchestration type of the compute environment. The valid values are <code>ECS</code>
3167
3167
  * (default) or <code>EKS</code>.</p>
3168
3168
  */
3169
- containerOrchestrationType?: OrchestrationType | string;
3169
+ containerOrchestrationType?: OrchestrationType;
3170
3170
  }
3171
3171
  /**
3172
3172
  * @public
@@ -3255,7 +3255,7 @@ export interface JobQueueDetail {
3255
3255
  * <code>ENABLED</code>, it can accept jobs. If the job queue state is <code>DISABLED</code>, new
3256
3256
  * jobs can't be added to the queue, but jobs already in the queue can finish.</p>
3257
3257
  */
3258
- state: JQState | string | undefined;
3258
+ state: JQState | undefined;
3259
3259
  /**
3260
3260
  * @public
3261
3261
  * <p>The Amazon Resource Name (ARN) of the scheduling policy. The format is
@@ -3270,7 +3270,7 @@ export interface JobQueueDetail {
3270
3270
  * <p>The status of the job queue (for example, <code>CREATING</code> or
3271
3271
  * <code>VALID</code>).</p>
3272
3272
  */
3273
- status?: JQStatus | string;
3273
+ status?: JQStatus;
3274
3274
  /**
3275
3275
  * @public
3276
3276
  * <p>A short, human-readable string to provide additional details for the current status of the
@@ -3570,7 +3570,7 @@ export interface JobDependency {
3570
3570
  * @public
3571
3571
  * <p>The type of the job dependency.</p>
3572
3572
  */
3573
- type?: ArrayJobDependency | string;
3573
+ type?: ArrayJobDependency;
3574
3574
  }
3575
3575
  /**
3576
3576
  * @public
@@ -3868,7 +3868,7 @@ export interface JobDetail {
3868
3868
  * <i>Batch User Guide</i>.</p>
3869
3869
  * </note>
3870
3870
  */
3871
- status: JobStatus | string | undefined;
3871
+ status: JobStatus | undefined;
3872
3872
  /**
3873
3873
  * @public
3874
3874
  * <p>The share identifier for the job.</p>
@@ -3985,7 +3985,7 @@ export interface JobDetail {
3985
3985
  * defaults to <code>EC2</code>. Jobs run on Fargate resources specify
3986
3986
  * <code>FARGATE</code>.</p>
3987
3987
  */
3988
- platformCapabilities?: (PlatformCapability | string)[];
3988
+ platformCapabilities?: PlatformCapability[];
3989
3989
  /**
3990
3990
  * @public
3991
3991
  * <p>An object with various properties that are specific to Amazon EKS based jobs. Only one of
@@ -4115,7 +4115,7 @@ export interface ListJobsRequest {
4115
4115
  * the <code>jobStatus</code> parameter is ignored and jobs with any status are returned. If you don't specify a status,
4116
4116
  * only <code>RUNNING</code> jobs are returned.</p>
4117
4117
  */
4118
- jobStatus?: JobStatus | string;
4118
+ jobStatus?: JobStatus;
4119
4119
  /**
4120
4120
  * @public
4121
4121
  * <p>The maximum number of results returned by <code>ListJobs</code> in paginated output. When this parameter is
@@ -4253,7 +4253,7 @@ export interface JobSummary {
4253
4253
  * @public
4254
4254
  * <p>The current status for the job.</p>
4255
4255
  */
4256
- status?: JobStatus | string;
4256
+ status?: JobStatus;
4257
4257
  /**
4258
4258
  * @public
4259
4259
  * <p>A short, human-readable string to provide more details for the current status of the
@@ -4427,7 +4427,7 @@ export interface RegisterJobDefinitionRequest {
4427
4427
  * <p>If the job is run on Fargate resources, then <code>multinode</code> isn't supported.</p>
4428
4428
  * </note>
4429
4429
  */
4430
- type: JobDefinitionType | string | undefined;
4430
+ type: JobDefinitionType | undefined;
4431
4431
  /**
4432
4432
  * @public
4433
4433
  * <p>Default parameter substitution placeholders to set in the job definition. Parameters are specified as a
@@ -4510,7 +4510,7 @@ export interface RegisterJobDefinitionRequest {
4510
4510
  * <p>If the job runs on Amazon EKS resources, then you must not specify <code>platformCapabilities</code>.</p>
4511
4511
  * </note>
4512
4512
  */
4513
- platformCapabilities?: (PlatformCapability | string)[];
4513
+ platformCapabilities?: PlatformCapability[];
4514
4514
  /**
4515
4515
  * @public
4516
4516
  * <p>An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS
@@ -5097,7 +5097,7 @@ export interface ComputeResourceUpdate {
5097
5097
  * Instances, Batch might need to exceed <code>maxvCpus</code> to meet your capacity requirements.
5098
5098
  * In this event, Batch never exceeds <code>maxvCpus</code> by more than a single instance.</p>
5099
5099
  */
5100
- allocationStrategy?: CRUpdateAllocationStrategy | string;
5100
+ allocationStrategy?: CRUpdateAllocationStrategy;
5101
5101
  /**
5102
5102
  * @public
5103
5103
  * <p>The instances types that can be launched. You can specify instance families to launch any
@@ -5266,7 +5266,7 @@ export interface ComputeResourceUpdate {
5266
5266
  * infrastructure update of the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute
5267
5267
  * environments</a> in the <i>Batch User Guide</i>.</p>
5268
5268
  */
5269
- type?: CRType | string;
5269
+ type?: CRType;
5270
5270
  /**
5271
5271
  * @public
5272
5272
  * <p>The Amazon Machine Image (AMI) ID used for instances launched in the compute environment.
@@ -5324,7 +5324,7 @@ export interface UpdateComputeEnvironmentRequest {
5324
5324
  * value of <code>36</code>. This instance doesn't scale down to a <code>c5.large</code>
5325
5325
  * instance.</p>
5326
5326
  */
5327
- state?: CEState | string;
5327
+ state?: CEState;
5328
5328
  /**
5329
5329
  * @public
5330
5330
  * <p>The maximum number of vCPUs expected to be used for an unmanaged compute environment. Don't specify this
@@ -5402,7 +5402,7 @@ export interface UpdateJobQueueRequest {
5402
5402
  * jobs. If the job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in the
5403
5403
  * queue can finish.</p>
5404
5404
  */
5405
- state?: JQState | string;
5405
+ state?: JQState;
5406
5406
  /**
5407
5407
  * @public
5408
5408
  * <p>Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can
@@ -84,8 +84,8 @@ export declare const CRType: {
84
84
  };
85
85
  export type CRType = (typeof CRType)[keyof typeof CRType];
86
86
  export interface ComputeResource {
87
- type: CRType | string | undefined;
88
- allocationStrategy?: CRAllocationStrategy | string;
87
+ type: CRType | undefined;
88
+ allocationStrategy?: CRAllocationStrategy;
89
89
  minvCpus?: number;
90
90
  maxvCpus: number | undefined;
91
91
  desiredvCpus?: number;
@@ -118,8 +118,8 @@ export declare const CEType: {
118
118
  export type CEType = (typeof CEType)[keyof typeof CEType];
119
119
  export interface CreateComputeEnvironmentRequest {
120
120
  computeEnvironmentName: string | undefined;
121
- type: CEType | string | undefined;
122
- state?: CEState | string;
121
+ type: CEType | undefined;
122
+ state?: CEState;
123
123
  unmanagedvCpus?: number;
124
124
  computeResources?: ComputeResource;
125
125
  serviceRole?: string;
@@ -141,7 +141,7 @@ export declare const JQState: {
141
141
  export type JQState = (typeof JQState)[keyof typeof JQState];
142
142
  export interface CreateJobQueueRequest {
143
143
  jobQueueName: string | undefined;
144
- state?: JQState | string;
144
+ state?: JQState;
145
145
  schedulingPolicyArn?: string;
146
146
  priority: number | undefined;
147
147
  computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
@@ -215,15 +215,15 @@ export interface ComputeEnvironmentDetail {
215
215
  unmanagedvCpus?: number;
216
216
  ecsClusterArn?: string;
217
217
  tags?: Record<string, string>;
218
- type?: CEType | string;
219
- state?: CEState | string;
220
- status?: CEStatus | string;
218
+ type?: CEType;
219
+ state?: CEState;
220
+ status?: CEStatus;
221
221
  statusReason?: string;
222
222
  computeResources?: ComputeResource;
223
223
  serviceRole?: string;
224
224
  updatePolicy?: UpdatePolicy;
225
225
  eksConfiguration?: EksConfiguration;
226
- containerOrchestrationType?: OrchestrationType | string;
226
+ containerOrchestrationType?: OrchestrationType;
227
227
  uuid?: string;
228
228
  }
229
229
  export interface DescribeComputeEnvironmentsResponse {
@@ -257,7 +257,7 @@ export type DeviceCgroupPermission =
257
257
  export interface Device {
258
258
  hostPath: string | undefined;
259
259
  containerPath?: string;
260
- permissions?: (DeviceCgroupPermission | string)[];
260
+ permissions?: DeviceCgroupPermission[];
261
261
  }
262
262
  export interface Tmpfs {
263
263
  containerPath: string | undefined;
@@ -287,7 +287,7 @@ export interface Secret {
287
287
  valueFrom: string | undefined;
288
288
  }
289
289
  export interface LogConfiguration {
290
- logDriver: LogDriver | string | undefined;
290
+ logDriver: LogDriver | undefined;
291
291
  options?: Record<string, string>;
292
292
  secretOptions?: Secret[];
293
293
  }
@@ -297,7 +297,7 @@ export interface MountPoint {
297
297
  sourceVolume?: string;
298
298
  }
299
299
  export interface NetworkConfiguration {
300
- assignPublicIp?: AssignPublicIp | string;
300
+ assignPublicIp?: AssignPublicIp;
301
301
  }
302
302
  export declare const ResourceType: {
303
303
  readonly GPU: "GPU";
@@ -307,7 +307,7 @@ export declare const ResourceType: {
307
307
  export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
308
308
  export interface ResourceRequirement {
309
309
  value: string | undefined;
310
- type: ResourceType | string | undefined;
310
+ type: ResourceType | undefined;
311
311
  }
312
312
  export interface RuntimePlatform {
313
313
  operatingSystemFamily?: string;
@@ -326,7 +326,7 @@ export type EFSAuthorizationConfigIAM =
326
326
  (typeof EFSAuthorizationConfigIAM)[keyof typeof EFSAuthorizationConfigIAM];
327
327
  export interface EFSAuthorizationConfig {
328
328
  accessPointId?: string;
329
- iam?: EFSAuthorizationConfigIAM | string;
329
+ iam?: EFSAuthorizationConfigIAM;
330
330
  }
331
331
  export declare const EFSTransitEncryption: {
332
332
  readonly DISABLED: "DISABLED";
@@ -337,7 +337,7 @@ export type EFSTransitEncryption =
337
337
  export interface EFSVolumeConfiguration {
338
338
  fileSystemId: string | undefined;
339
339
  rootDirectory?: string;
340
- transitEncryption?: EFSTransitEncryption | string;
340
+ transitEncryption?: EFSTransitEncryption;
341
341
  transitEncryptionPort?: number;
342
342
  authorizationConfig?: EFSAuthorizationConfig;
343
343
  }
@@ -459,7 +459,7 @@ export interface EvaluateOnExit {
459
459
  onStatusReason?: string;
460
460
  onReason?: string;
461
461
  onExitCode?: string;
462
- action: RetryAction | string | undefined;
462
+ action: RetryAction | undefined;
463
463
  }
464
464
  export interface RetryStrategy {
465
465
  attempts?: number;
@@ -482,9 +482,9 @@ export interface JobDefinition {
482
482
  nodeProperties?: NodeProperties;
483
483
  tags?: Record<string, string>;
484
484
  propagateTags?: boolean;
485
- platformCapabilities?: (PlatformCapability | string)[];
485
+ platformCapabilities?: PlatformCapability[];
486
486
  eksProperties?: EksProperties;
487
- containerOrchestrationType?: OrchestrationType | string;
487
+ containerOrchestrationType?: OrchestrationType;
488
488
  }
489
489
  export interface DescribeJobDefinitionsResponse {
490
490
  jobDefinitions?: JobDefinition[];
@@ -507,9 +507,9 @@ export type JQStatus = (typeof JQStatus)[keyof typeof JQStatus];
507
507
  export interface JobQueueDetail {
508
508
  jobQueueName: string | undefined;
509
509
  jobQueueArn: string | undefined;
510
- state: JQState | string | undefined;
510
+ state: JQState | undefined;
511
511
  schedulingPolicyArn?: string;
512
- status?: JQStatus | string;
512
+ status?: JQStatus;
513
513
  statusReason?: string;
514
514
  priority: number | undefined;
515
515
  computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
@@ -554,7 +554,7 @@ export interface ContainerDetail {
554
554
  }
555
555
  export interface JobDependency {
556
556
  jobId?: string;
557
- type?: ArrayJobDependency | string;
557
+ type?: ArrayJobDependency;
558
558
  }
559
559
  export interface EksAttemptContainerDetail {
560
560
  exitCode?: number;
@@ -613,7 +613,7 @@ export interface JobDetail {
613
613
  jobName: string | undefined;
614
614
  jobId: string | undefined;
615
615
  jobQueue: string | undefined;
616
- status: JobStatus | string | undefined;
616
+ status: JobStatus | undefined;
617
617
  shareIdentifier?: string;
618
618
  schedulingPriority?: number;
619
619
  attempts?: AttemptDetail[];
@@ -632,7 +632,7 @@ export interface JobDetail {
632
632
  timeout?: JobTimeout;
633
633
  tags?: Record<string, string>;
634
634
  propagateTags?: boolean;
635
- platformCapabilities?: (PlatformCapability | string)[];
635
+ platformCapabilities?: PlatformCapability[];
636
636
  eksProperties?: EksPropertiesDetail;
637
637
  eksAttempts?: EksAttemptDetail[];
638
638
  isCancelled?: boolean;
@@ -661,7 +661,7 @@ export interface ListJobsRequest {
661
661
  jobQueue?: string;
662
662
  arrayJobId?: string;
663
663
  multiNodeJobId?: string;
664
- jobStatus?: JobStatus | string;
664
+ jobStatus?: JobStatus;
665
665
  maxResults?: number;
666
666
  nextToken?: string;
667
667
  filters?: KeyValuesPair[];
@@ -680,7 +680,7 @@ export interface JobSummary {
680
680
  jobId: string | undefined;
681
681
  jobName: string | undefined;
682
682
  createdAt?: number;
683
- status?: JobStatus | string;
683
+ status?: JobStatus;
684
684
  statusReason?: string;
685
685
  startedAt?: number;
686
686
  stoppedAt?: number;
@@ -718,7 +718,7 @@ export type JobDefinitionType =
718
718
  (typeof JobDefinitionType)[keyof typeof JobDefinitionType];
719
719
  export interface RegisterJobDefinitionRequest {
720
720
  jobDefinitionName: string | undefined;
721
- type: JobDefinitionType | string | undefined;
721
+ type: JobDefinitionType | undefined;
722
722
  parameters?: Record<string, string>;
723
723
  schedulingPriority?: number;
724
724
  containerProperties?: ContainerProperties;
@@ -727,7 +727,7 @@ export interface RegisterJobDefinitionRequest {
727
727
  propagateTags?: boolean;
728
728
  timeout?: JobTimeout;
729
729
  tags?: Record<string, string>;
730
- platformCapabilities?: (PlatformCapability | string)[];
730
+ platformCapabilities?: PlatformCapability[];
731
731
  eksProperties?: EksProperties;
732
732
  }
733
733
  export interface RegisterJobDefinitionResponse {
@@ -815,7 +815,7 @@ export interface ComputeResourceUpdate {
815
815
  desiredvCpus?: number;
816
816
  subnets?: string[];
817
817
  securityGroupIds?: string[];
818
- allocationStrategy?: CRUpdateAllocationStrategy | string;
818
+ allocationStrategy?: CRUpdateAllocationStrategy;
819
819
  instanceTypes?: string[];
820
820
  ec2KeyPair?: string;
821
821
  instanceRole?: string;
@@ -825,12 +825,12 @@ export interface ComputeResourceUpdate {
825
825
  launchTemplate?: LaunchTemplateSpecification;
826
826
  ec2Configuration?: Ec2Configuration[];
827
827
  updateToLatestImageVersion?: boolean;
828
- type?: CRType | string;
828
+ type?: CRType;
829
829
  imageId?: string;
830
830
  }
831
831
  export interface UpdateComputeEnvironmentRequest {
832
832
  computeEnvironment: string | undefined;
833
- state?: CEState | string;
833
+ state?: CEState;
834
834
  unmanagedvCpus?: number;
835
835
  computeResources?: ComputeResourceUpdate;
836
836
  serviceRole?: string;
@@ -842,7 +842,7 @@ export interface UpdateComputeEnvironmentResponse {
842
842
  }
843
843
  export interface UpdateJobQueueRequest {
844
844
  jobQueue: string | undefined;
845
- state?: JQState | string;
845
+ state?: JQState;
846
846
  schedulingPolicyArn?: string;
847
847
  priority?: number;
848
848
  computeEnvironmentOrder?: ComputeEnvironmentOrder[];
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.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"