@aws-sdk/client-batch 3.987.0 → 3.988.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 +58 -2105
- package/dist-cjs/models/BatchServiceException.js +12 -0
- package/dist-cjs/models/errors.js +30 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1911 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +139 -54
- package/dist-types/commands/DescribeServiceJobCommand.d.ts +7 -0
- package/dist-types/commands/GetJobQueueSnapshotCommand.d.ts +25 -1
- package/dist-types/commands/ListJobsCommand.d.ts +8 -2
- package/dist-types/commands/ListServiceJobsCommand.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +237 -8
- package/dist-types/schemas/schemas_0.d.ts +18 -3
- package/dist-types/ts3.4/models/models_0.d.ts +41 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -3
- package/package.json +13 -13
|
@@ -5640,6 +5640,25 @@ export interface ServiceJobAttemptDetail {
|
|
|
5640
5640
|
*/
|
|
5641
5641
|
statusReason?: string | undefined;
|
|
5642
5642
|
}
|
|
5643
|
+
/**
|
|
5644
|
+
* <p>The capacity usage for a service job, including the unit of
|
|
5645
|
+
* measure and quantity of resources being consumed.</p>
|
|
5646
|
+
* @public
|
|
5647
|
+
*/
|
|
5648
|
+
export interface ServiceJobCapacityUsageDetail {
|
|
5649
|
+
/**
|
|
5650
|
+
* <p>The unit of measure for the service job capacity usage. For service jobs, this is
|
|
5651
|
+
* <code>NUM_INSTANCES</code>.</p>
|
|
5652
|
+
* @public
|
|
5653
|
+
*/
|
|
5654
|
+
capacityUnit?: string | undefined;
|
|
5655
|
+
/**
|
|
5656
|
+
* <p>The quantity of capacity being used by the service job, measured in the units
|
|
5657
|
+
* specified by <code>capacityUnit</code>.</p>
|
|
5658
|
+
* @public
|
|
5659
|
+
*/
|
|
5660
|
+
quantity?: number | undefined;
|
|
5661
|
+
}
|
|
5643
5662
|
/**
|
|
5644
5663
|
* <p>Information about the latest attempt of a service job. A Service job can transition from <code>SCHEDULED</code> back to <code>RUNNABLE</code> state when they encounter capacity constraints.</p>
|
|
5645
5664
|
* @public
|
|
@@ -5703,6 +5722,13 @@ export interface DescribeServiceJobResponse {
|
|
|
5703
5722
|
* @public
|
|
5704
5723
|
*/
|
|
5705
5724
|
attempts?: ServiceJobAttemptDetail[] | undefined;
|
|
5725
|
+
/**
|
|
5726
|
+
* <p>The configured capacity for the service job, such as the number of instances. The
|
|
5727
|
+
* number of instances should be the same value as the
|
|
5728
|
+
* <code>serviceRequestPayload.InstanceCount</code> field.</p>
|
|
5729
|
+
* @public
|
|
5730
|
+
*/
|
|
5731
|
+
capacityUsage?: ServiceJobCapacityUsageDetail[] | undefined;
|
|
5706
5732
|
/**
|
|
5707
5733
|
* <p>The Unix timestamp (in milliseconds) for when the service job was created.</p>
|
|
5708
5734
|
* @public
|
|
@@ -5743,6 +5769,13 @@ export interface DescribeServiceJobResponse {
|
|
|
5743
5769
|
* @public
|
|
5744
5770
|
*/
|
|
5745
5771
|
retryStrategy?: ServiceJobRetryStrategy | undefined;
|
|
5772
|
+
/**
|
|
5773
|
+
* <p>The Unix timestamp (in milliseconds) for when the service job was scheduled. This
|
|
5774
|
+
* represents when the service job was dispatched to SageMaker and the service job transitioned to the
|
|
5775
|
+
* <code>SCHEDULED</code> state.</p>
|
|
5776
|
+
* @public
|
|
5777
|
+
*/
|
|
5778
|
+
scheduledAt?: number | undefined;
|
|
5746
5779
|
/**
|
|
5747
5780
|
* <p>The scheduling priority of the service job. </p>
|
|
5748
5781
|
* @public
|
|
@@ -5836,15 +5869,123 @@ export interface FrontOfQueueDetail {
|
|
|
5836
5869
|
*/
|
|
5837
5870
|
lastUpdatedAt?: number | undefined;
|
|
5838
5871
|
}
|
|
5872
|
+
/**
|
|
5873
|
+
* <p>The capacity usage for a fairshare scheduling job queue.</p>
|
|
5874
|
+
* @public
|
|
5875
|
+
*/
|
|
5876
|
+
export interface FairshareCapacityUsage {
|
|
5877
|
+
/**
|
|
5878
|
+
* <p>The unit of measure for the capacity usage. For compute jobs, this is
|
|
5879
|
+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>
|
|
5880
|
+
* @public
|
|
5881
|
+
*/
|
|
5882
|
+
capacityUnit?: string | undefined;
|
|
5883
|
+
/**
|
|
5884
|
+
* <p>The quantity of capacity being used, measured in the units specified by
|
|
5885
|
+
* <code>capacityUnit</code>.</p>
|
|
5886
|
+
* @public
|
|
5887
|
+
*/
|
|
5888
|
+
quantity?: number | undefined;
|
|
5889
|
+
}
|
|
5890
|
+
/**
|
|
5891
|
+
* <p>The capacity utilization for a specific share in a fairshare scheduling job queue, including the share identifier and its current usage.</p>
|
|
5892
|
+
* @public
|
|
5893
|
+
*/
|
|
5894
|
+
export interface FairshareCapacityUtilization {
|
|
5895
|
+
/**
|
|
5896
|
+
* <p>The share identifier for the fairshare scheduling job queue.</p>
|
|
5897
|
+
* @public
|
|
5898
|
+
*/
|
|
5899
|
+
shareIdentifier?: string | undefined;
|
|
5900
|
+
/**
|
|
5901
|
+
* <p>The capacity usage information for this share, including the unit of measure and
|
|
5902
|
+
* quantity being used. This is
|
|
5903
|
+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS.</p>
|
|
5904
|
+
* @public
|
|
5905
|
+
*/
|
|
5906
|
+
capacityUsage?: FairshareCapacityUsage[] | undefined;
|
|
5907
|
+
}
|
|
5908
|
+
/**
|
|
5909
|
+
* <p>The fairshare utilization for a job queue, including the number
|
|
5910
|
+
* of active shares and top capacity utilization.</p>
|
|
5911
|
+
* @public
|
|
5912
|
+
*/
|
|
5913
|
+
export interface FairshareUtilizationDetail {
|
|
5914
|
+
/**
|
|
5915
|
+
* <p>The total number of active shares in the fairshare scheduling job queue that are
|
|
5916
|
+
* currently utilizing capacity.</p>
|
|
5917
|
+
* @public
|
|
5918
|
+
*/
|
|
5919
|
+
activeShareCount?: number | undefined;
|
|
5920
|
+
/**
|
|
5921
|
+
* <p>A list of the top 20 shares with the highest capacity utilization, ordered by usage
|
|
5922
|
+
* amount.</p>
|
|
5923
|
+
* @public
|
|
5924
|
+
*/
|
|
5925
|
+
topCapacityUtilization?: FairshareCapacityUtilization[] | undefined;
|
|
5926
|
+
}
|
|
5927
|
+
/**
|
|
5928
|
+
* <p>The configured capacity usage for a job queue snapshot, including the unit of
|
|
5929
|
+
* measure and quantity of resources being used.</p>
|
|
5930
|
+
* @public
|
|
5931
|
+
*/
|
|
5932
|
+
export interface QueueSnapshotCapacityUsage {
|
|
5933
|
+
/**
|
|
5934
|
+
* <p>The unit of measure for the capacity usage. For compute jobs, this is
|
|
5935
|
+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>
|
|
5936
|
+
* @public
|
|
5937
|
+
*/
|
|
5938
|
+
capacityUnit?: string | undefined;
|
|
5939
|
+
/**
|
|
5940
|
+
* <p>The quantity of capacity being used in the queue snapshot, measured in the units
|
|
5941
|
+
* specified by <code>capacityUnit</code>.</p>
|
|
5942
|
+
* @public
|
|
5943
|
+
*/
|
|
5944
|
+
quantity?: number | undefined;
|
|
5945
|
+
}
|
|
5946
|
+
/**
|
|
5947
|
+
* <p>The job queue utilization at a specific point in time,
|
|
5948
|
+
* including total capacity usage and fairshare utilization breakdown.</p>
|
|
5949
|
+
* @public
|
|
5950
|
+
*/
|
|
5951
|
+
export interface QueueSnapshotUtilizationDetail {
|
|
5952
|
+
/**
|
|
5953
|
+
* <p>The total capacity usage for the entire job queue, for both first-in,
|
|
5954
|
+
* first-out (FIFO) and fairshare scheduling job queue.</p>
|
|
5955
|
+
* @public
|
|
5956
|
+
*/
|
|
5957
|
+
totalCapacityUsage?: QueueSnapshotCapacityUsage[] | undefined;
|
|
5958
|
+
/**
|
|
5959
|
+
* <p>The utilization information for a fairshare scheduling job queues, including
|
|
5960
|
+
* active share count and top capacity utilization by share.</p>
|
|
5961
|
+
* @public
|
|
5962
|
+
*/
|
|
5963
|
+
fairshareUtilization?: FairshareUtilizationDetail | undefined;
|
|
5964
|
+
/**
|
|
5965
|
+
* <p>The Unix timestamp (in milliseconds) for when the queue utilization information was
|
|
5966
|
+
* last updated.</p>
|
|
5967
|
+
* @public
|
|
5968
|
+
*/
|
|
5969
|
+
lastUpdatedAt?: number | undefined;
|
|
5970
|
+
}
|
|
5839
5971
|
/**
|
|
5840
5972
|
* @public
|
|
5841
5973
|
*/
|
|
5842
5974
|
export interface GetJobQueueSnapshotResponse {
|
|
5843
5975
|
/**
|
|
5844
|
-
* <p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For
|
|
5976
|
+
* <p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For
|
|
5977
|
+
* first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For
|
|
5978
|
+
* fair-share scheduling (FSS) job queues, jobs are ordered based on their job priority and share
|
|
5979
|
+
* usage.</p>
|
|
5845
5980
|
* @public
|
|
5846
5981
|
*/
|
|
5847
5982
|
frontOfQueue?: FrontOfQueueDetail | undefined;
|
|
5983
|
+
/**
|
|
5984
|
+
* <p>The job queue's capacity utilization, including total usage and
|
|
5985
|
+
* breakdown by fairshare scheduling queue.</p>
|
|
5986
|
+
* @public
|
|
5987
|
+
*/
|
|
5988
|
+
queueUtilization?: QueueSnapshotUtilizationDetail | undefined;
|
|
5848
5989
|
}
|
|
5849
5990
|
/**
|
|
5850
5991
|
* <p>A filter name and value pair that's used to return a more specific list of results from a
|
|
@@ -5995,7 +6136,7 @@ export interface ListJobsRequest {
|
|
|
5995
6136
|
/**
|
|
5996
6137
|
* <p>The job status used to filter jobs in the specified queue. If the <code>filters</code>
|
|
5997
6138
|
* parameter is specified, the <code>jobStatus</code> parameter is ignored and jobs with any
|
|
5998
|
-
* status are returned. If you don't specify a status, only <code>RUNNING</code> jobs are
|
|
6139
|
+
* status are returned. The exception is the <code>SHARE_IDENTIFIER</code> filter and <code>jobStatus</code> can be used together. If you don't specify a status, only <code>RUNNING</code> jobs are
|
|
5999
6140
|
* returned.</p>
|
|
6000
6141
|
* <note>
|
|
6001
6142
|
* <p>Array job parents are updated to <code>PENDING</code> when any child job is updated to <code>RUNNABLE</code> and remain in <code>PENDING</code> status while child jobs are running. To view these jobs, filter by <code>PENDING</code> status until all child jobs reach a terminal state.</p>
|
|
@@ -6039,9 +6180,12 @@ export interface ListJobsRequest {
|
|
|
6039
6180
|
nextToken?: string | undefined;
|
|
6040
6181
|
/**
|
|
6041
6182
|
* <p>The filter to apply to the query. Only one filter can be used at a time. When the filter
|
|
6042
|
-
* is used, <code>jobStatus</code> is ignored. The filter doesn't apply to child jobs in an array
|
|
6183
|
+
* is used, <code>jobStatus</code> is ignored with the exception that <code>SHARE_IDENTIFIER</code> and <code>jobStatus</code> can be used together. The filter doesn't apply to child jobs in an array
|
|
6043
6184
|
* or multi-node parallel (MNP) jobs. The results are sorted by the <code>createdAt</code> field,
|
|
6044
6185
|
* with the most recent jobs being first.</p>
|
|
6186
|
+
* <note>
|
|
6187
|
+
* <p>The <code>SHARE_IDENTIFIER</code> filter and the <code>jobStatus</code> field can be used together to filter results.</p>
|
|
6188
|
+
* </note>
|
|
6045
6189
|
* <dl>
|
|
6046
6190
|
* <dt>JOB_NAME</dt>
|
|
6047
6191
|
* <dd>
|
|
@@ -6080,11 +6224,34 @@ export interface ListJobsRequest {
|
|
|
6080
6224
|
* corresponds to the <code>createdAt</code> value. The value is a string representation of
|
|
6081
6225
|
* the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.</p>
|
|
6082
6226
|
* </dd>
|
|
6227
|
+
* <dt>SHARE_IDENTIFIER</dt>
|
|
6228
|
+
* <dd>
|
|
6229
|
+
* <p>The value for the filter is the fairshare scheduling share identifier.</p>
|
|
6230
|
+
* </dd>
|
|
6083
6231
|
* </dl>
|
|
6084
6232
|
* @public
|
|
6085
6233
|
*/
|
|
6086
6234
|
filters?: KeyValuesPair[] | undefined;
|
|
6087
6235
|
}
|
|
6236
|
+
/**
|
|
6237
|
+
* <p>The capacity usage for a job, including the unit of measure
|
|
6238
|
+
* and quantity of resources being used.</p>
|
|
6239
|
+
* @public
|
|
6240
|
+
*/
|
|
6241
|
+
export interface JobCapacityUsageSummary {
|
|
6242
|
+
/**
|
|
6243
|
+
* <p>The unit of measure for the capacity usage. This is
|
|
6244
|
+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS.</p>
|
|
6245
|
+
* @public
|
|
6246
|
+
*/
|
|
6247
|
+
capacityUnit?: string | undefined;
|
|
6248
|
+
/**
|
|
6249
|
+
* <p>The quantity of capacity being used by the job, measured in the units specified by
|
|
6250
|
+
* <code>capacityUnit</code>.</p>
|
|
6251
|
+
* @public
|
|
6252
|
+
*/
|
|
6253
|
+
quantity?: number | undefined;
|
|
6254
|
+
}
|
|
6088
6255
|
/**
|
|
6089
6256
|
* <p>An object that represents summary details of a container within a job.</p>
|
|
6090
6257
|
* @public
|
|
@@ -6145,6 +6312,12 @@ export interface JobSummary {
|
|
|
6145
6312
|
* @public
|
|
6146
6313
|
*/
|
|
6147
6314
|
jobName: string | undefined;
|
|
6315
|
+
/**
|
|
6316
|
+
* <p>The configured capacity usage information for this job, including the unit of measure and
|
|
6317
|
+
* quantity of resources.</p>
|
|
6318
|
+
* @public
|
|
6319
|
+
*/
|
|
6320
|
+
capacityUsage?: JobCapacityUsageSummary[] | undefined;
|
|
6148
6321
|
/**
|
|
6149
6322
|
* <p>The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and
|
|
6150
6323
|
* parent array jobs, this is when the job entered the <code>SUBMITTED</code> state (at the time
|
|
@@ -6154,6 +6327,18 @@ export interface JobSummary {
|
|
|
6154
6327
|
* @public
|
|
6155
6328
|
*/
|
|
6156
6329
|
createdAt?: number | undefined;
|
|
6330
|
+
/**
|
|
6331
|
+
* <p>The Unix timestamp (in milliseconds) for when the job was scheduled for
|
|
6332
|
+
* execution. For more information on job statues, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/service-job-status.html">Service job status</a> in the <i>Batch User Guide</i>.</p>
|
|
6333
|
+
* @public
|
|
6334
|
+
*/
|
|
6335
|
+
scheduledAt?: number | undefined;
|
|
6336
|
+
/**
|
|
6337
|
+
* <p>The share identifier for the fairshare scheduling queue that this job is
|
|
6338
|
+
* associated with.</p>
|
|
6339
|
+
* @public
|
|
6340
|
+
*/
|
|
6341
|
+
shareIdentifier?: string | undefined;
|
|
6157
6342
|
/**
|
|
6158
6343
|
* <p>The current status for the job.</p>
|
|
6159
6344
|
* @public
|
|
@@ -6304,7 +6489,7 @@ export interface ListJobsByConsumableResourceSummary {
|
|
|
6304
6489
|
*/
|
|
6305
6490
|
jobDefinitionArn?: string | undefined;
|
|
6306
6491
|
/**
|
|
6307
|
-
* <p>The fair-share scheduling
|
|
6492
|
+
* <p>The fair-share scheduling identifier for the job.</p>
|
|
6308
6493
|
* @public
|
|
6309
6494
|
*/
|
|
6310
6495
|
shareIdentifier?: string | undefined;
|
|
@@ -6467,7 +6652,13 @@ export interface ListServiceJobsRequest {
|
|
|
6467
6652
|
*/
|
|
6468
6653
|
jobQueue?: string | undefined;
|
|
6469
6654
|
/**
|
|
6470
|
-
* <p>The job status
|
|
6655
|
+
* <p>The job status used to filter service jobs in the specified queue. If the <code>filters</code>
|
|
6656
|
+
* parameter is specified, the <code>jobStatus</code> parameter is ignored and jobs with any
|
|
6657
|
+
* status are returned. The exception is the <code>SHARE_IDENTIFIER</code> filter and <code>jobStatus</code> can be used together. If you don't specify a status, only <code>RUNNING</code> jobs are
|
|
6658
|
+
* returned.</p>
|
|
6659
|
+
* <note>
|
|
6660
|
+
* <p>The <code>SHARE_IDENTIFIER</code> filter and the <code>jobStatus</code> field can be used together to filter results.</p>
|
|
6661
|
+
* </note>
|
|
6471
6662
|
* @public
|
|
6472
6663
|
*/
|
|
6473
6664
|
jobStatus?: ServiceJobStatus | undefined;
|
|
@@ -6486,9 +6677,12 @@ export interface ListServiceJobsRequest {
|
|
|
6486
6677
|
*/
|
|
6487
6678
|
nextToken?: string | undefined;
|
|
6488
6679
|
/**
|
|
6489
|
-
* <p>The filter to apply to the query. Only one filter can be used at a time. When the
|
|
6490
|
-
*
|
|
6491
|
-
*
|
|
6680
|
+
* <p>The filter to apply to the query. Only one filter can be used at a time. When the
|
|
6681
|
+
* filter is used, <code>jobStatus</code> is ignored with the exception that <code>SHARE_IDENTIFIER</code> and <code>jobStatus</code> can be used together. The results are sorted by the
|
|
6682
|
+
* <code>createdAt</code> field, with the most recent jobs being first.</p>
|
|
6683
|
+
* <note>
|
|
6684
|
+
* <p>The <code>SHARE_IDENTIFIER</code> filter and the <code>jobStatus</code> field can be used together to filter results.</p>
|
|
6685
|
+
* </note>
|
|
6492
6686
|
* <dl>
|
|
6493
6687
|
* <dt>JOB_NAME</dt>
|
|
6494
6688
|
* <dd>
|
|
@@ -6512,11 +6706,34 @@ export interface ListServiceJobsRequest {
|
|
|
6512
6706
|
* corresponds to the <code>createdAt</code> value. The value is a string representation of
|
|
6513
6707
|
* the number of milliseconds since 00:00:00 UTC (midnight) on January 1, 1970.</p>
|
|
6514
6708
|
* </dd>
|
|
6709
|
+
* <dt>SHARE_IDENTIFIER</dt>
|
|
6710
|
+
* <dd>
|
|
6711
|
+
* <p>The value for the filter is the fairshare scheduling share identifier.</p>
|
|
6712
|
+
* </dd>
|
|
6515
6713
|
* </dl>
|
|
6516
6714
|
* @public
|
|
6517
6715
|
*/
|
|
6518
6716
|
filters?: KeyValuesPair[] | undefined;
|
|
6519
6717
|
}
|
|
6718
|
+
/**
|
|
6719
|
+
* <p>The capacity usage for a service job, including the unit of
|
|
6720
|
+
* measure and quantity of resources being used.</p>
|
|
6721
|
+
* @public
|
|
6722
|
+
*/
|
|
6723
|
+
export interface ServiceJobCapacityUsageSummary {
|
|
6724
|
+
/**
|
|
6725
|
+
* <p>The unit of measure for the service job capacity usage. For service jobs, this is
|
|
6726
|
+
* <code>NUM_INSTANCES</code>.</p>
|
|
6727
|
+
* @public
|
|
6728
|
+
*/
|
|
6729
|
+
capacityUnit?: string | undefined;
|
|
6730
|
+
/**
|
|
6731
|
+
* <p>The quantity of capacity being used by the service job, measured in the units
|
|
6732
|
+
* specified by <code>capacityUnit</code>.</p>
|
|
6733
|
+
* @public
|
|
6734
|
+
*/
|
|
6735
|
+
quantity?: number | undefined;
|
|
6736
|
+
}
|
|
6520
6737
|
/**
|
|
6521
6738
|
* <p>Summary information about a service job.</p>
|
|
6522
6739
|
* @public
|
|
@@ -6527,6 +6744,12 @@ export interface ServiceJobSummary {
|
|
|
6527
6744
|
* @public
|
|
6528
6745
|
*/
|
|
6529
6746
|
latestAttempt?: LatestServiceJobAttempt | undefined;
|
|
6747
|
+
/**
|
|
6748
|
+
* <p>The capacity usage information for this service job, including the unit of measure and
|
|
6749
|
+
* quantity of resources being used.</p>
|
|
6750
|
+
* @public
|
|
6751
|
+
*/
|
|
6752
|
+
capacityUsage?: ServiceJobCapacityUsageSummary[] | undefined;
|
|
6530
6753
|
/**
|
|
6531
6754
|
* <p>The Unix timestamp (in milliseconds) for when the service job was created.</p>
|
|
6532
6755
|
* @public
|
|
@@ -6547,6 +6770,12 @@ export interface ServiceJobSummary {
|
|
|
6547
6770
|
* @public
|
|
6548
6771
|
*/
|
|
6549
6772
|
jobName: string | undefined;
|
|
6773
|
+
/**
|
|
6774
|
+
* <p>The Unix timestamp (in milliseconds) for when the service job was scheduled for
|
|
6775
|
+
* execution.</p>
|
|
6776
|
+
* @public
|
|
6777
|
+
*/
|
|
6778
|
+
scheduledAt?: number | undefined;
|
|
6550
6779
|
/**
|
|
6551
6780
|
* <p>The type of service job. For SageMaker Training jobs, this value is <code>SAGEMAKER_TRAINING</code>.</p>
|
|
6552
6781
|
* @public
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var BatchServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var ClientException$: StaticErrorSchema;
|
|
5
|
+
export declare var ServerException$: StaticErrorSchema;
|
|
6
|
+
/**
|
|
7
|
+
* TypeRegistry instances containing modeled errors.
|
|
8
|
+
* @internal
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
12
|
export declare var ArrayProperties$: StaticStructureSchema;
|
|
3
13
|
export declare var ArrayPropertiesDetail$: StaticStructureSchema;
|
|
4
14
|
export declare var ArrayPropertiesSummary$: StaticStructureSchema;
|
|
@@ -9,7 +19,6 @@ export declare var AttemptTaskContainerDetails$: StaticStructureSchema;
|
|
|
9
19
|
export declare var CancelJobRequest$: StaticStructureSchema;
|
|
10
20
|
export declare var CancelJobResponse$: StaticStructureSchema;
|
|
11
21
|
export declare var CapacityLimit$: StaticStructureSchema;
|
|
12
|
-
export declare var ClientException$: StaticErrorSchema;
|
|
13
22
|
export declare var ComputeEnvironmentDetail$: StaticStructureSchema;
|
|
14
23
|
export declare var ComputeEnvironmentOrder$: StaticStructureSchema;
|
|
15
24
|
export declare var ComputeResource$: StaticStructureSchema;
|
|
@@ -92,7 +101,10 @@ export declare var EksSecret$: StaticStructureSchema;
|
|
|
92
101
|
export declare var EksVolume$: StaticStructureSchema;
|
|
93
102
|
export declare var EphemeralStorage$: StaticStructureSchema;
|
|
94
103
|
export declare var EvaluateOnExit$: StaticStructureSchema;
|
|
104
|
+
export declare var FairshareCapacityUsage$: StaticStructureSchema;
|
|
105
|
+
export declare var FairshareCapacityUtilization$: StaticStructureSchema;
|
|
95
106
|
export declare var FairsharePolicy$: StaticStructureSchema;
|
|
107
|
+
export declare var FairshareUtilizationDetail$: StaticStructureSchema;
|
|
96
108
|
export declare var FargatePlatformConfiguration$: StaticStructureSchema;
|
|
97
109
|
export declare var FirelensConfiguration$: StaticStructureSchema;
|
|
98
110
|
export declare var FrontOfQueueDetail$: StaticStructureSchema;
|
|
@@ -101,6 +113,7 @@ export declare var GetJobQueueSnapshotRequest$: StaticStructureSchema;
|
|
|
101
113
|
export declare var GetJobQueueSnapshotResponse$: StaticStructureSchema;
|
|
102
114
|
export declare var Host$: StaticStructureSchema;
|
|
103
115
|
export declare var ImagePullSecret$: StaticStructureSchema;
|
|
116
|
+
export declare var JobCapacityUsageSummary$: StaticStructureSchema;
|
|
104
117
|
export declare var JobDefinition$: StaticStructureSchema;
|
|
105
118
|
export declare var JobDependency$: StaticStructureSchema;
|
|
106
119
|
export declare var JobDetail$: StaticStructureSchema;
|
|
@@ -137,6 +150,8 @@ export declare var NodeProperties$: StaticStructureSchema;
|
|
|
137
150
|
export declare var NodePropertiesSummary$: StaticStructureSchema;
|
|
138
151
|
export declare var NodePropertyOverride$: StaticStructureSchema;
|
|
139
152
|
export declare var NodeRangeProperty$: StaticStructureSchema;
|
|
153
|
+
export declare var QueueSnapshotCapacityUsage$: StaticStructureSchema;
|
|
154
|
+
export declare var QueueSnapshotUtilizationDetail$: StaticStructureSchema;
|
|
140
155
|
export declare var RegisterJobDefinitionRequest$: StaticStructureSchema;
|
|
141
156
|
export declare var RegisterJobDefinitionResponse$: StaticStructureSchema;
|
|
142
157
|
export declare var RepositoryCredentials$: StaticStructureSchema;
|
|
@@ -146,10 +161,11 @@ export declare var RuntimePlatform$: StaticStructureSchema;
|
|
|
146
161
|
export declare var SchedulingPolicyDetail$: StaticStructureSchema;
|
|
147
162
|
export declare var SchedulingPolicyListingDetail$: StaticStructureSchema;
|
|
148
163
|
export declare var Secret$: StaticStructureSchema;
|
|
149
|
-
export declare var ServerException$: StaticErrorSchema;
|
|
150
164
|
export declare var ServiceEnvironmentDetail$: StaticStructureSchema;
|
|
151
165
|
export declare var ServiceEnvironmentOrder$: StaticStructureSchema;
|
|
152
166
|
export declare var ServiceJobAttemptDetail$: StaticStructureSchema;
|
|
167
|
+
export declare var ServiceJobCapacityUsageDetail$: StaticStructureSchema;
|
|
168
|
+
export declare var ServiceJobCapacityUsageSummary$: StaticStructureSchema;
|
|
153
169
|
export declare var ServiceJobEvaluateOnExit$: StaticStructureSchema;
|
|
154
170
|
export declare var ServiceJobRetryStrategy$: StaticStructureSchema;
|
|
155
171
|
export declare var ServiceJobSummary$: StaticStructureSchema;
|
|
@@ -187,7 +203,6 @@ export declare var UpdateSchedulingPolicyResponse$: StaticStructureSchema;
|
|
|
187
203
|
export declare var UpdateServiceEnvironmentRequest$: StaticStructureSchema;
|
|
188
204
|
export declare var UpdateServiceEnvironmentResponse$: StaticStructureSchema;
|
|
189
205
|
export declare var Volume$: StaticStructureSchema;
|
|
190
|
-
export declare var BatchServiceException$: StaticErrorSchema;
|
|
191
206
|
export declare var CancelJob$: StaticOperationSchema;
|
|
192
207
|
export declare var CreateComputeEnvironment$: StaticOperationSchema;
|
|
193
208
|
export declare var CreateConsumableResource$: StaticOperationSchema;
|
|
@@ -802,6 +802,10 @@ export interface ServiceJobAttemptDetail {
|
|
|
802
802
|
stoppedAt?: number | undefined;
|
|
803
803
|
statusReason?: string | undefined;
|
|
804
804
|
}
|
|
805
|
+
export interface ServiceJobCapacityUsageDetail {
|
|
806
|
+
capacityUnit?: string | undefined;
|
|
807
|
+
quantity?: number | undefined;
|
|
808
|
+
}
|
|
805
809
|
export interface LatestServiceJobAttempt {
|
|
806
810
|
serviceResourceId?: ServiceResourceId | undefined;
|
|
807
811
|
}
|
|
@@ -818,6 +822,7 @@ export interface ServiceJobTimeout {
|
|
|
818
822
|
}
|
|
819
823
|
export interface DescribeServiceJobResponse {
|
|
820
824
|
attempts?: ServiceJobAttemptDetail[] | undefined;
|
|
825
|
+
capacityUsage?: ServiceJobCapacityUsageDetail[] | undefined;
|
|
821
826
|
createdAt?: number | undefined;
|
|
822
827
|
isTerminated?: boolean | undefined;
|
|
823
828
|
jobArn?: string | undefined;
|
|
@@ -826,6 +831,7 @@ export interface DescribeServiceJobResponse {
|
|
|
826
831
|
jobQueue: string | undefined;
|
|
827
832
|
latestAttempt?: LatestServiceJobAttempt | undefined;
|
|
828
833
|
retryStrategy?: ServiceJobRetryStrategy | undefined;
|
|
834
|
+
scheduledAt?: number | undefined;
|
|
829
835
|
schedulingPriority?: number | undefined;
|
|
830
836
|
serviceRequestPayload?: string | undefined;
|
|
831
837
|
serviceJobType: ServiceJobType | undefined;
|
|
@@ -848,8 +854,30 @@ export interface FrontOfQueueDetail {
|
|
|
848
854
|
jobs?: FrontOfQueueJobSummary[] | undefined;
|
|
849
855
|
lastUpdatedAt?: number | undefined;
|
|
850
856
|
}
|
|
857
|
+
export interface FairshareCapacityUsage {
|
|
858
|
+
capacityUnit?: string | undefined;
|
|
859
|
+
quantity?: number | undefined;
|
|
860
|
+
}
|
|
861
|
+
export interface FairshareCapacityUtilization {
|
|
862
|
+
shareIdentifier?: string | undefined;
|
|
863
|
+
capacityUsage?: FairshareCapacityUsage[] | undefined;
|
|
864
|
+
}
|
|
865
|
+
export interface FairshareUtilizationDetail {
|
|
866
|
+
activeShareCount?: number | undefined;
|
|
867
|
+
topCapacityUtilization?: FairshareCapacityUtilization[] | undefined;
|
|
868
|
+
}
|
|
869
|
+
export interface QueueSnapshotCapacityUsage {
|
|
870
|
+
capacityUnit?: string | undefined;
|
|
871
|
+
quantity?: number | undefined;
|
|
872
|
+
}
|
|
873
|
+
export interface QueueSnapshotUtilizationDetail {
|
|
874
|
+
totalCapacityUsage?: QueueSnapshotCapacityUsage[] | undefined;
|
|
875
|
+
fairshareUtilization?: FairshareUtilizationDetail | undefined;
|
|
876
|
+
lastUpdatedAt?: number | undefined;
|
|
877
|
+
}
|
|
851
878
|
export interface GetJobQueueSnapshotResponse {
|
|
852
879
|
frontOfQueue?: FrontOfQueueDetail | undefined;
|
|
880
|
+
queueUtilization?: QueueSnapshotUtilizationDetail | undefined;
|
|
853
881
|
}
|
|
854
882
|
export interface KeyValuesPair {
|
|
855
883
|
name?: string | undefined;
|
|
@@ -880,6 +908,10 @@ export interface ListJobsRequest {
|
|
|
880
908
|
nextToken?: string | undefined;
|
|
881
909
|
filters?: KeyValuesPair[] | undefined;
|
|
882
910
|
}
|
|
911
|
+
export interface JobCapacityUsageSummary {
|
|
912
|
+
capacityUnit?: string | undefined;
|
|
913
|
+
quantity?: number | undefined;
|
|
914
|
+
}
|
|
883
915
|
export interface ContainerSummary {
|
|
884
916
|
exitCode?: number | undefined;
|
|
885
917
|
reason?: string | undefined;
|
|
@@ -893,7 +925,10 @@ export interface JobSummary {
|
|
|
893
925
|
jobArn?: string | undefined;
|
|
894
926
|
jobId: string | undefined;
|
|
895
927
|
jobName: string | undefined;
|
|
928
|
+
capacityUsage?: JobCapacityUsageSummary[] | undefined;
|
|
896
929
|
createdAt?: number | undefined;
|
|
930
|
+
scheduledAt?: number | undefined;
|
|
931
|
+
shareIdentifier?: string | undefined;
|
|
897
932
|
status?: JobStatus | undefined;
|
|
898
933
|
statusReason?: string | undefined;
|
|
899
934
|
startedAt?: number | undefined;
|
|
@@ -948,12 +983,18 @@ export interface ListServiceJobsRequest {
|
|
|
948
983
|
nextToken?: string | undefined;
|
|
949
984
|
filters?: KeyValuesPair[] | undefined;
|
|
950
985
|
}
|
|
986
|
+
export interface ServiceJobCapacityUsageSummary {
|
|
987
|
+
capacityUnit?: string | undefined;
|
|
988
|
+
quantity?: number | undefined;
|
|
989
|
+
}
|
|
951
990
|
export interface ServiceJobSummary {
|
|
952
991
|
latestAttempt?: LatestServiceJobAttempt | undefined;
|
|
992
|
+
capacityUsage?: ServiceJobCapacityUsageSummary[] | undefined;
|
|
953
993
|
createdAt?: number | undefined;
|
|
954
994
|
jobArn?: string | undefined;
|
|
955
995
|
jobId: string | undefined;
|
|
956
996
|
jobName: string | undefined;
|
|
997
|
+
scheduledAt?: number | undefined;
|
|
957
998
|
serviceJobType: ServiceJobType | undefined;
|
|
958
999
|
shareIdentifier?: string | undefined;
|
|
959
1000
|
status?: ServiceJobStatus | undefined;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var BatchServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var ClientException$: StaticErrorSchema;
|
|
9
|
+
export declare var ServerException$: StaticErrorSchema;
|
|
10
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
11
|
export declare var ArrayProperties$: StaticStructureSchema;
|
|
7
12
|
export declare var ArrayPropertiesDetail$: StaticStructureSchema;
|
|
8
13
|
export declare var ArrayPropertiesSummary$: StaticStructureSchema;
|
|
@@ -13,7 +18,6 @@ export declare var AttemptTaskContainerDetails$: StaticStructureSchema;
|
|
|
13
18
|
export declare var CancelJobRequest$: StaticStructureSchema;
|
|
14
19
|
export declare var CancelJobResponse$: StaticStructureSchema;
|
|
15
20
|
export declare var CapacityLimit$: StaticStructureSchema;
|
|
16
|
-
export declare var ClientException$: StaticErrorSchema;
|
|
17
21
|
export declare var ComputeEnvironmentDetail$: StaticStructureSchema;
|
|
18
22
|
export declare var ComputeEnvironmentOrder$: StaticStructureSchema;
|
|
19
23
|
export declare var ComputeResource$: StaticStructureSchema;
|
|
@@ -96,7 +100,10 @@ export declare var EksSecret$: StaticStructureSchema;
|
|
|
96
100
|
export declare var EksVolume$: StaticStructureSchema;
|
|
97
101
|
export declare var EphemeralStorage$: StaticStructureSchema;
|
|
98
102
|
export declare var EvaluateOnExit$: StaticStructureSchema;
|
|
103
|
+
export declare var FairshareCapacityUsage$: StaticStructureSchema;
|
|
104
|
+
export declare var FairshareCapacityUtilization$: StaticStructureSchema;
|
|
99
105
|
export declare var FairsharePolicy$: StaticStructureSchema;
|
|
106
|
+
export declare var FairshareUtilizationDetail$: StaticStructureSchema;
|
|
100
107
|
export declare var FargatePlatformConfiguration$: StaticStructureSchema;
|
|
101
108
|
export declare var FirelensConfiguration$: StaticStructureSchema;
|
|
102
109
|
export declare var FrontOfQueueDetail$: StaticStructureSchema;
|
|
@@ -105,6 +112,7 @@ export declare var GetJobQueueSnapshotRequest$: StaticStructureSchema;
|
|
|
105
112
|
export declare var GetJobQueueSnapshotResponse$: StaticStructureSchema;
|
|
106
113
|
export declare var Host$: StaticStructureSchema;
|
|
107
114
|
export declare var ImagePullSecret$: StaticStructureSchema;
|
|
115
|
+
export declare var JobCapacityUsageSummary$: StaticStructureSchema;
|
|
108
116
|
export declare var JobDefinition$: StaticStructureSchema;
|
|
109
117
|
export declare var JobDependency$: StaticStructureSchema;
|
|
110
118
|
export declare var JobDetail$: StaticStructureSchema;
|
|
@@ -141,6 +149,8 @@ export declare var NodeProperties$: StaticStructureSchema;
|
|
|
141
149
|
export declare var NodePropertiesSummary$: StaticStructureSchema;
|
|
142
150
|
export declare var NodePropertyOverride$: StaticStructureSchema;
|
|
143
151
|
export declare var NodeRangeProperty$: StaticStructureSchema;
|
|
152
|
+
export declare var QueueSnapshotCapacityUsage$: StaticStructureSchema;
|
|
153
|
+
export declare var QueueSnapshotUtilizationDetail$: StaticStructureSchema;
|
|
144
154
|
export declare var RegisterJobDefinitionRequest$: StaticStructureSchema;
|
|
145
155
|
export declare var RegisterJobDefinitionResponse$: StaticStructureSchema;
|
|
146
156
|
export declare var RepositoryCredentials$: StaticStructureSchema;
|
|
@@ -150,10 +160,11 @@ export declare var RuntimePlatform$: StaticStructureSchema;
|
|
|
150
160
|
export declare var SchedulingPolicyDetail$: StaticStructureSchema;
|
|
151
161
|
export declare var SchedulingPolicyListingDetail$: StaticStructureSchema;
|
|
152
162
|
export declare var Secret$: StaticStructureSchema;
|
|
153
|
-
export declare var ServerException$: StaticErrorSchema;
|
|
154
163
|
export declare var ServiceEnvironmentDetail$: StaticStructureSchema;
|
|
155
164
|
export declare var ServiceEnvironmentOrder$: StaticStructureSchema;
|
|
156
165
|
export declare var ServiceJobAttemptDetail$: StaticStructureSchema;
|
|
166
|
+
export declare var ServiceJobCapacityUsageDetail$: StaticStructureSchema;
|
|
167
|
+
export declare var ServiceJobCapacityUsageSummary$: StaticStructureSchema;
|
|
157
168
|
export declare var ServiceJobEvaluateOnExit$: StaticStructureSchema;
|
|
158
169
|
export declare var ServiceJobRetryStrategy$: StaticStructureSchema;
|
|
159
170
|
export declare var ServiceJobSummary$: StaticStructureSchema;
|
|
@@ -191,7 +202,6 @@ export declare var UpdateSchedulingPolicyResponse$: StaticStructureSchema;
|
|
|
191
202
|
export declare var UpdateServiceEnvironmentRequest$: StaticStructureSchema;
|
|
192
203
|
export declare var UpdateServiceEnvironmentResponse$: StaticStructureSchema;
|
|
193
204
|
export declare var Volume$: StaticStructureSchema;
|
|
194
|
-
export declare var BatchServiceException$: StaticErrorSchema;
|
|
195
205
|
export declare var CancelJob$: StaticOperationSchema;
|
|
196
206
|
export declare var CreateComputeEnvironment$: StaticOperationSchema;
|
|
197
207
|
export declare var CreateConsumableResource$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-batch",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|