@aws-sdk/client-batch 3.1113.0 → 3.1115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +136 -26
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +115 -25
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +171 -2
- package/dist-types/commands/CreateJobQueueCommand.d.ts +53 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +40 -1
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +3 -1
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +3 -1
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +170 -1
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +38 -1
- package/dist-types/models/enums.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +461 -12
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -24,11 +24,18 @@ export declare const UserdataType: {
|
|
|
24
24
|
export type UserdataType = (typeof UserdataType)[keyof typeof UserdataType];
|
|
25
25
|
export declare const CRType: {
|
|
26
26
|
readonly EC2: "EC2";
|
|
27
|
+
readonly ECS_MANAGED_INSTANCES: "ECS_MANAGED_INSTANCES";
|
|
27
28
|
readonly FARGATE: "FARGATE";
|
|
28
29
|
readonly FARGATE_SPOT: "FARGATE_SPOT";
|
|
29
30
|
readonly SPOT: "SPOT";
|
|
30
31
|
};
|
|
31
32
|
export type CRType = (typeof CRType)[keyof typeof CRType];
|
|
33
|
+
export declare const ContainerInsights: {
|
|
34
|
+
readonly DISABLED: "DISABLED";
|
|
35
|
+
readonly ENABLED: "ENABLED";
|
|
36
|
+
readonly ENHANCED: "ENHANCED";
|
|
37
|
+
};
|
|
38
|
+
export type ContainerInsights = (typeof ContainerInsights)[keyof typeof ContainerInsights];
|
|
32
39
|
export declare const CEState: {
|
|
33
40
|
readonly DISABLED: "DISABLED";
|
|
34
41
|
readonly ENABLED: "ENABLED";
|
|
@@ -42,6 +49,7 @@ export type CEType = (typeof CEType)[keyof typeof CEType];
|
|
|
42
49
|
export declare const JobQueueType: {
|
|
43
50
|
readonly ECS: "ECS";
|
|
44
51
|
readonly ECS_FARGATE: "ECS_FARGATE";
|
|
52
|
+
readonly ECS_MANAGED_INSTANCES: "ECS_MANAGED_INSTANCES";
|
|
45
53
|
readonly EKS: "EKS";
|
|
46
54
|
readonly SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING";
|
|
47
55
|
};
|
|
@@ -154,6 +162,7 @@ export type FirelensConfigurationType =
|
|
|
154
162
|
export declare const PlatformCapability: {
|
|
155
163
|
readonly EC2: "EC2";
|
|
156
164
|
readonly FARGATE: "FARGATE";
|
|
165
|
+
readonly MANAGED_INSTANCES: "MANAGED_INSTANCES";
|
|
157
166
|
};
|
|
158
167
|
export type PlatformCapability = (typeof PlatformCapability)[keyof typeof PlatformCapability];
|
|
159
168
|
export declare const RetryAction: {
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
CEState,
|
|
5
5
|
CEStatus,
|
|
6
6
|
CEType,
|
|
7
|
+
ContainerInsights,
|
|
7
8
|
CRAllocationStrategy,
|
|
8
9
|
CRType,
|
|
9
10
|
CRUpdateAllocationStrategy,
|
|
@@ -109,6 +110,44 @@ export interface LaunchTemplateSpecification {
|
|
|
109
110
|
overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
110
111
|
userdataType?: UserdataType | undefined;
|
|
111
112
|
}
|
|
113
|
+
export interface InfrastructureOptimization {
|
|
114
|
+
scaleInAfter?: number | undefined;
|
|
115
|
+
}
|
|
116
|
+
export interface CapacityReservationRequest {
|
|
117
|
+
reservationGroupArn?: string | undefined;
|
|
118
|
+
reservationPreference?: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface InstanceRequirementsRequest {
|
|
121
|
+
allowedInstanceTypes?: string[] | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface ManagedInstancesLocalStorageConfiguration {
|
|
124
|
+
useLocalStorage?: boolean | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface ManagedInstancesNetworkConfiguration {
|
|
127
|
+
subnets: string[] | undefined;
|
|
128
|
+
securityGroups: string[] | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface ManagedInstancesStorageConfiguration {
|
|
131
|
+
storageSizeGiB?: number | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface InstanceLaunchTemplate {
|
|
134
|
+
ec2InstanceProfileArn: string | undefined;
|
|
135
|
+
networkConfiguration: ManagedInstancesNetworkConfiguration | undefined;
|
|
136
|
+
instanceRequirements?: InstanceRequirementsRequest | undefined;
|
|
137
|
+
capacityOptionType?: string | undefined;
|
|
138
|
+
storageConfiguration?: ManagedInstancesStorageConfiguration | undefined;
|
|
139
|
+
monitoring?: string | undefined;
|
|
140
|
+
fipsEnabled?: boolean | undefined;
|
|
141
|
+
capacityReservations?: CapacityReservationRequest | undefined;
|
|
142
|
+
instanceMetadataTagsPropagation?: boolean | undefined;
|
|
143
|
+
localStorageConfiguration?: ManagedInstancesLocalStorageConfiguration | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface ManagedInstancesProvider {
|
|
146
|
+
propagateTags?: string | undefined;
|
|
147
|
+
infrastructureRoleArn: string | undefined;
|
|
148
|
+
instanceLaunchTemplate: InstanceLaunchTemplate | undefined;
|
|
149
|
+
infrastructureOptimization?: InfrastructureOptimization | undefined;
|
|
150
|
+
}
|
|
112
151
|
export interface ComputeScalingPolicy {
|
|
113
152
|
minScaleDownDelayMinutes?: number | undefined;
|
|
114
153
|
}
|
|
@@ -131,6 +170,11 @@ export interface ComputeResource {
|
|
|
131
170
|
launchTemplate?: LaunchTemplateSpecification | undefined;
|
|
132
171
|
ec2Configuration?: Ec2Configuration[] | undefined;
|
|
133
172
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
173
|
+
managedInstancesProvider?: ManagedInstancesProvider | undefined;
|
|
174
|
+
capacityTags?: Record<string, string> | undefined;
|
|
175
|
+
}
|
|
176
|
+
export interface EcsSettings {
|
|
177
|
+
containerInsights?: ContainerInsights | undefined;
|
|
134
178
|
}
|
|
135
179
|
export interface EksConfiguration {
|
|
136
180
|
eksClusterArn: string | undefined;
|
|
@@ -146,6 +190,7 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
146
190
|
tags?: Record<string, string> | undefined;
|
|
147
191
|
eksConfiguration?: EksConfiguration | undefined;
|
|
148
192
|
context?: string | undefined;
|
|
193
|
+
ecsSettings?: EcsSettings | undefined;
|
|
149
194
|
}
|
|
150
195
|
export interface CreateComputeEnvironmentResponse {
|
|
151
196
|
computeEnvironmentName?: string | undefined;
|
|
@@ -305,6 +350,7 @@ export interface ComputeEnvironmentDetail {
|
|
|
305
350
|
containerOrchestrationType?: OrchestrationType | undefined;
|
|
306
351
|
uuid?: string | undefined;
|
|
307
352
|
context?: string | undefined;
|
|
353
|
+
ecsSettings?: EcsSettings | undefined;
|
|
308
354
|
}
|
|
309
355
|
export interface DescribeComputeEnvironmentsResponse {
|
|
310
356
|
computeEnvironments?: ComputeEnvironmentDetail[] | undefined;
|
|
@@ -491,6 +537,7 @@ export interface EcsTaskProperties {
|
|
|
491
537
|
runtimePlatform?: RuntimePlatform | undefined;
|
|
492
538
|
volumes?: Volume[] | undefined;
|
|
493
539
|
enableExecuteCommand?: boolean | undefined;
|
|
540
|
+
networkMode?: string | undefined;
|
|
494
541
|
}
|
|
495
542
|
export interface EcsProperties {
|
|
496
543
|
taskProperties: EcsTaskProperties[] | undefined;
|
|
@@ -723,6 +770,7 @@ export interface EcsTaskDetails {
|
|
|
723
770
|
runtimePlatform?: RuntimePlatform | undefined;
|
|
724
771
|
volumes?: Volume[] | undefined;
|
|
725
772
|
enableExecuteCommand?: boolean | undefined;
|
|
773
|
+
networkMode?: string | undefined;
|
|
726
774
|
}
|
|
727
775
|
export interface EcsPropertiesDetail {
|
|
728
776
|
taskProperties?: EcsTaskDetails[] | undefined;
|
|
@@ -1269,6 +1317,22 @@ export interface UntagResourceRequest {
|
|
|
1269
1317
|
tagKeys: string[] | undefined;
|
|
1270
1318
|
}
|
|
1271
1319
|
export interface UntagResourceResponse {}
|
|
1320
|
+
export interface InstanceLaunchTemplateUpdate {
|
|
1321
|
+
ec2InstanceProfileArn?: string | undefined;
|
|
1322
|
+
networkConfiguration?: ManagedInstancesNetworkConfiguration | undefined;
|
|
1323
|
+
instanceRequirements?: InstanceRequirementsRequest | undefined;
|
|
1324
|
+
storageConfiguration?: ManagedInstancesStorageConfiguration | undefined;
|
|
1325
|
+
monitoring?: string | undefined;
|
|
1326
|
+
capacityReservations?: CapacityReservationRequest | undefined;
|
|
1327
|
+
instanceMetadataTagsPropagation?: boolean | undefined;
|
|
1328
|
+
localStorageConfiguration?: ManagedInstancesLocalStorageConfiguration | undefined;
|
|
1329
|
+
}
|
|
1330
|
+
export interface UpdateManagedInstancesProviderConfiguration {
|
|
1331
|
+
propagateTags?: string | undefined;
|
|
1332
|
+
infrastructureRoleArn?: string | undefined;
|
|
1333
|
+
instanceLaunchTemplate?: InstanceLaunchTemplateUpdate | undefined;
|
|
1334
|
+
infrastructureOptimization?: InfrastructureOptimization | undefined;
|
|
1335
|
+
}
|
|
1272
1336
|
export interface ComputeResourceUpdate {
|
|
1273
1337
|
minvCpus?: number | undefined;
|
|
1274
1338
|
maxvCpus?: number | undefined;
|
|
@@ -1288,6 +1352,8 @@ export interface ComputeResourceUpdate {
|
|
|
1288
1352
|
type?: CRType | undefined;
|
|
1289
1353
|
imageId?: string | undefined;
|
|
1290
1354
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
1355
|
+
managedInstancesProvider?: UpdateManagedInstancesProviderConfiguration | undefined;
|
|
1356
|
+
capacityTags?: Record<string, string> | undefined;
|
|
1291
1357
|
}
|
|
1292
1358
|
export interface UpdateComputeEnvironmentRequest {
|
|
1293
1359
|
computeEnvironment: string | undefined;
|
|
@@ -1297,6 +1363,7 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
1297
1363
|
serviceRole?: string | undefined;
|
|
1298
1364
|
updatePolicy?: UpdatePolicy | undefined;
|
|
1299
1365
|
context?: string | undefined;
|
|
1366
|
+
ecsSettings?: EcsSettings | undefined;
|
|
1300
1367
|
}
|
|
1301
1368
|
export interface UpdateComputeEnvironmentResponse {
|
|
1302
1369
|
computeEnvironmentName?: string | undefined;
|
|
@@ -14,6 +14,7 @@ export declare var AttemptTaskContainerDetails$: StaticStructureSchema;
|
|
|
14
14
|
export declare var CancelJobRequest$: StaticStructureSchema;
|
|
15
15
|
export declare var CancelJobResponse$: StaticStructureSchema;
|
|
16
16
|
export declare var CapacityLimit$: StaticStructureSchema;
|
|
17
|
+
export declare var CapacityReservationRequest$: StaticStructureSchema;
|
|
17
18
|
export declare var ComputeEnvironmentDetail$: StaticStructureSchema;
|
|
18
19
|
export declare var ComputeEnvironmentOrder$: StaticStructureSchema;
|
|
19
20
|
export declare var ComputeResource$: StaticStructureSchema;
|
|
@@ -75,6 +76,7 @@ export declare var Ec2Configuration$: StaticStructureSchema;
|
|
|
75
76
|
export declare var EcsProperties$: StaticStructureSchema;
|
|
76
77
|
export declare var EcsPropertiesDetail$: StaticStructureSchema;
|
|
77
78
|
export declare var EcsPropertiesOverride$: StaticStructureSchema;
|
|
79
|
+
export declare var EcsSettings$: StaticStructureSchema;
|
|
78
80
|
export declare var EcsTaskDetails$: StaticStructureSchema;
|
|
79
81
|
export declare var EcsTaskProperties$: StaticStructureSchema;
|
|
80
82
|
export declare var EFSAuthorizationConfig$: StaticStructureSchema;
|
|
@@ -117,6 +119,10 @@ export declare var GetJobQueueSnapshotRequest$: StaticStructureSchema;
|
|
|
117
119
|
export declare var GetJobQueueSnapshotResponse$: StaticStructureSchema;
|
|
118
120
|
export declare var Host$: StaticStructureSchema;
|
|
119
121
|
export declare var ImagePullSecret$: StaticStructureSchema;
|
|
122
|
+
export declare var InfrastructureOptimization$: StaticStructureSchema;
|
|
123
|
+
export declare var InstanceLaunchTemplate$: StaticStructureSchema;
|
|
124
|
+
export declare var InstanceLaunchTemplateUpdate$: StaticStructureSchema;
|
|
125
|
+
export declare var InstanceRequirementsRequest$: StaticStructureSchema;
|
|
120
126
|
export declare var JobCapacityUsageSummary$: StaticStructureSchema;
|
|
121
127
|
export declare var JobDefinition$: StaticStructureSchema;
|
|
122
128
|
export declare var JobDependency$: StaticStructureSchema;
|
|
@@ -147,6 +153,10 @@ export declare var ListServiceJobsResponse$: StaticStructureSchema;
|
|
|
147
153
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
148
154
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
149
155
|
export declare var LogConfiguration$: StaticStructureSchema;
|
|
156
|
+
export declare var ManagedInstancesLocalStorageConfiguration$: StaticStructureSchema;
|
|
157
|
+
export declare var ManagedInstancesNetworkConfiguration$: StaticStructureSchema;
|
|
158
|
+
export declare var ManagedInstancesProvider$: StaticStructureSchema;
|
|
159
|
+
export declare var ManagedInstancesStorageConfiguration$: StaticStructureSchema;
|
|
150
160
|
export declare var MountPoint$: StaticStructureSchema;
|
|
151
161
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
152
162
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
@@ -215,6 +225,7 @@ export declare var UpdateConsumableResourceRequest$: StaticStructureSchema;
|
|
|
215
225
|
export declare var UpdateConsumableResourceResponse$: StaticStructureSchema;
|
|
216
226
|
export declare var UpdateJobQueueRequest$: StaticStructureSchema;
|
|
217
227
|
export declare var UpdateJobQueueResponse$: StaticStructureSchema;
|
|
228
|
+
export declare var UpdateManagedInstancesProviderConfiguration$: StaticStructureSchema;
|
|
218
229
|
export declare var UpdatePolicy$: StaticStructureSchema;
|
|
219
230
|
export declare var UpdateQuotaShareRequest$: StaticStructureSchema;
|
|
220
231
|
export declare var UpdateQuotaShareResponse$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1115.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-batch",
|
|
6
6
|
"license": "Apache-2.0",
|