@aws-sdk/client-batch 3.1114.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 +112 -17
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +98 -16
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +168 -2
- package/dist-types/commands/CreateJobQueueCommand.d.ts +53 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +37 -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 +35 -1
- package/dist-types/models/enums.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +409 -11
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +1 -1
|
@@ -110,6 +110,44 @@ export interface LaunchTemplateSpecification {
|
|
|
110
110
|
overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
111
111
|
userdataType?: UserdataType | undefined;
|
|
112
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
|
+
}
|
|
113
151
|
export interface ComputeScalingPolicy {
|
|
114
152
|
minScaleDownDelayMinutes?: number | undefined;
|
|
115
153
|
}
|
|
@@ -132,6 +170,8 @@ export interface ComputeResource {
|
|
|
132
170
|
launchTemplate?: LaunchTemplateSpecification | undefined;
|
|
133
171
|
ec2Configuration?: Ec2Configuration[] | undefined;
|
|
134
172
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
173
|
+
managedInstancesProvider?: ManagedInstancesProvider | undefined;
|
|
174
|
+
capacityTags?: Record<string, string> | undefined;
|
|
135
175
|
}
|
|
136
176
|
export interface EcsSettings {
|
|
137
177
|
containerInsights?: ContainerInsights | undefined;
|
|
@@ -497,6 +537,7 @@ export interface EcsTaskProperties {
|
|
|
497
537
|
runtimePlatform?: RuntimePlatform | undefined;
|
|
498
538
|
volumes?: Volume[] | undefined;
|
|
499
539
|
enableExecuteCommand?: boolean | undefined;
|
|
540
|
+
networkMode?: string | undefined;
|
|
500
541
|
}
|
|
501
542
|
export interface EcsProperties {
|
|
502
543
|
taskProperties: EcsTaskProperties[] | undefined;
|
|
@@ -729,6 +770,7 @@ export interface EcsTaskDetails {
|
|
|
729
770
|
runtimePlatform?: RuntimePlatform | undefined;
|
|
730
771
|
volumes?: Volume[] | undefined;
|
|
731
772
|
enableExecuteCommand?: boolean | undefined;
|
|
773
|
+
networkMode?: string | undefined;
|
|
732
774
|
}
|
|
733
775
|
export interface EcsPropertiesDetail {
|
|
734
776
|
taskProperties?: EcsTaskDetails[] | undefined;
|
|
@@ -1275,6 +1317,22 @@ export interface UntagResourceRequest {
|
|
|
1275
1317
|
tagKeys: string[] | undefined;
|
|
1276
1318
|
}
|
|
1277
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
|
+
}
|
|
1278
1336
|
export interface ComputeResourceUpdate {
|
|
1279
1337
|
minvCpus?: number | undefined;
|
|
1280
1338
|
maxvCpus?: number | undefined;
|
|
@@ -1294,6 +1352,8 @@ export interface ComputeResourceUpdate {
|
|
|
1294
1352
|
type?: CRType | undefined;
|
|
1295
1353
|
imageId?: string | undefined;
|
|
1296
1354
|
scalingPolicy?: ComputeScalingPolicy | undefined;
|
|
1355
|
+
managedInstancesProvider?: UpdateManagedInstancesProviderConfiguration | undefined;
|
|
1356
|
+
capacityTags?: Record<string, string> | undefined;
|
|
1297
1357
|
}
|
|
1298
1358
|
export interface UpdateComputeEnvironmentRequest {
|
|
1299
1359
|
computeEnvironment: 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;
|
|
@@ -118,6 +119,10 @@ export declare var GetJobQueueSnapshotRequest$: StaticStructureSchema;
|
|
|
118
119
|
export declare var GetJobQueueSnapshotResponse$: StaticStructureSchema;
|
|
119
120
|
export declare var Host$: StaticStructureSchema;
|
|
120
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;
|
|
121
126
|
export declare var JobCapacityUsageSummary$: StaticStructureSchema;
|
|
122
127
|
export declare var JobDefinition$: StaticStructureSchema;
|
|
123
128
|
export declare var JobDependency$: StaticStructureSchema;
|
|
@@ -148,6 +153,10 @@ export declare var ListServiceJobsResponse$: StaticStructureSchema;
|
|
|
148
153
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
149
154
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
150
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;
|
|
151
160
|
export declare var MountPoint$: StaticStructureSchema;
|
|
152
161
|
export declare var NetworkConfiguration$: StaticStructureSchema;
|
|
153
162
|
export declare var NetworkInterface$: StaticStructureSchema;
|
|
@@ -216,6 +225,7 @@ export declare var UpdateConsumableResourceRequest$: StaticStructureSchema;
|
|
|
216
225
|
export declare var UpdateConsumableResourceResponse$: StaticStructureSchema;
|
|
217
226
|
export declare var UpdateJobQueueRequest$: StaticStructureSchema;
|
|
218
227
|
export declare var UpdateJobQueueResponse$: StaticStructureSchema;
|
|
228
|
+
export declare var UpdateManagedInstancesProviderConfiguration$: StaticStructureSchema;
|
|
219
229
|
export declare var UpdatePolicy$: StaticStructureSchema;
|
|
220
230
|
export declare var UpdateQuotaShareRequest$: StaticStructureSchema;
|
|
221
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",
|