@aws-sdk/client-batch 3.1012.0 → 3.1013.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/README.md +42 -0
- package/dist-cjs/index.js +116 -0
- package/dist-cjs/schemas/schemas_0.js +244 -25
- package/dist-es/Batch.js +14 -0
- package/dist-es/commands/CreateQuotaShareCommand.js +16 -0
- package/dist-es/commands/DeleteQuotaShareCommand.js +16 -0
- package/dist-es/commands/DescribeQuotaShareCommand.js +16 -0
- package/dist-es/commands/ListQuotaSharesCommand.js +16 -0
- package/dist-es/commands/UpdateQuotaShareCommand.js +16 -0
- package/dist-es/commands/UpdateServiceJobCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/pagination/ListQuotaSharesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +238 -20
- package/dist-types/Batch.d.ts +49 -0
- package/dist-types/BatchClient.d.ts +8 -2
- package/dist-types/commands/CreateQuotaShareCommand.d.ts +101 -0
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -2
- package/dist-types/commands/DeleteQuotaShareCommand.d.ts +82 -0
- package/dist-types/commands/DescribeQuotaShareCommand.d.ts +102 -0
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeServiceJobCommand.d.ts +15 -0
- package/dist-types/commands/GetJobQueueSnapshotCommand.d.ts +28 -2
- package/dist-types/commands/ListQuotaSharesCommand.d.ts +106 -0
- package/dist-types/commands/ListServiceJobsCommand.d.ts +1 -0
- package/dist-types/commands/SubmitServiceJobCommand.d.ts +4 -0
- package/dist-types/commands/UpdateQuotaShareCommand.d.ts +97 -0
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/UpdateServiceJobCommand.d.ts +85 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +63 -0
- package/dist-types/models/models_0.d.ts +596 -18
- package/dist-types/pagination/ListQuotaSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +31 -0
- package/dist-types/ts3.4/Batch.d.ts +109 -0
- package/dist-types/ts3.4/BatchClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/CreateQuotaShareCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteQuotaShareCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeQuotaShareCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListQuotaSharesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateQuotaShareCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateServiceJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +142 -0
- package/dist-types/ts3.4/pagination/ListQuotaSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -0
- package/package.json +5 -5
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateQuotaShareRequest,
|
|
10
|
+
UpdateQuotaShareResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateQuotaShareCommandInput extends UpdateQuotaShareRequest {}
|
|
15
|
+
export interface UpdateQuotaShareCommandOutput
|
|
16
|
+
extends UpdateQuotaShareResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateQuotaShareCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateQuotaShareCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateQuotaShareCommandInput,
|
|
23
|
+
UpdateQuotaShareCommandOutput,
|
|
24
|
+
BatchClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UpdateQuotaShareCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateQuotaShareCommandInput,
|
|
32
|
+
UpdateQuotaShareCommandOutput,
|
|
33
|
+
BatchClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateQuotaShareCommand extends UpdateQuotaShareCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateQuotaShareRequest;
|
|
43
|
+
output: UpdateQuotaShareResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateQuotaShareCommandInput;
|
|
47
|
+
output: UpdateQuotaShareCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateServiceJobRequest,
|
|
10
|
+
UpdateServiceJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateServiceJobCommandInput extends UpdateServiceJobRequest {}
|
|
15
|
+
export interface UpdateServiceJobCommandOutput
|
|
16
|
+
extends UpdateServiceJobResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateServiceJobCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateServiceJobCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateServiceJobCommandInput,
|
|
23
|
+
UpdateServiceJobCommandOutput,
|
|
24
|
+
BatchClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: UpdateServiceJobCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateServiceJobCommandInput,
|
|
32
|
+
UpdateServiceJobCommandOutput,
|
|
33
|
+
BatchClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateServiceJobCommand extends UpdateServiceJobCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateServiceJobRequest;
|
|
43
|
+
output: UpdateServiceJobResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateServiceJobCommandInput;
|
|
47
|
+
output: UpdateServiceJobCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -2,11 +2,13 @@ export * from "./CancelJobCommand";
|
|
|
2
2
|
export * from "./CreateComputeEnvironmentCommand";
|
|
3
3
|
export * from "./CreateConsumableResourceCommand";
|
|
4
4
|
export * from "./CreateJobQueueCommand";
|
|
5
|
+
export * from "./CreateQuotaShareCommand";
|
|
5
6
|
export * from "./CreateSchedulingPolicyCommand";
|
|
6
7
|
export * from "./CreateServiceEnvironmentCommand";
|
|
7
8
|
export * from "./DeleteComputeEnvironmentCommand";
|
|
8
9
|
export * from "./DeleteConsumableResourceCommand";
|
|
9
10
|
export * from "./DeleteJobQueueCommand";
|
|
11
|
+
export * from "./DeleteQuotaShareCommand";
|
|
10
12
|
export * from "./DeleteSchedulingPolicyCommand";
|
|
11
13
|
export * from "./DeleteServiceEnvironmentCommand";
|
|
12
14
|
export * from "./DeregisterJobDefinitionCommand";
|
|
@@ -15,6 +17,7 @@ export * from "./DescribeConsumableResourceCommand";
|
|
|
15
17
|
export * from "./DescribeJobDefinitionsCommand";
|
|
16
18
|
export * from "./DescribeJobQueuesCommand";
|
|
17
19
|
export * from "./DescribeJobsCommand";
|
|
20
|
+
export * from "./DescribeQuotaShareCommand";
|
|
18
21
|
export * from "./DescribeSchedulingPoliciesCommand";
|
|
19
22
|
export * from "./DescribeServiceEnvironmentsCommand";
|
|
20
23
|
export * from "./DescribeServiceJobCommand";
|
|
@@ -22,6 +25,7 @@ export * from "./GetJobQueueSnapshotCommand";
|
|
|
22
25
|
export * from "./ListConsumableResourcesCommand";
|
|
23
26
|
export * from "./ListJobsByConsumableResourceCommand";
|
|
24
27
|
export * from "./ListJobsCommand";
|
|
28
|
+
export * from "./ListQuotaSharesCommand";
|
|
25
29
|
export * from "./ListSchedulingPoliciesCommand";
|
|
26
30
|
export * from "./ListServiceJobsCommand";
|
|
27
31
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -35,5 +39,7 @@ export * from "./UntagResourceCommand";
|
|
|
35
39
|
export * from "./UpdateComputeEnvironmentCommand";
|
|
36
40
|
export * from "./UpdateConsumableResourceCommand";
|
|
37
41
|
export * from "./UpdateJobQueueCommand";
|
|
42
|
+
export * from "./UpdateQuotaShareCommand";
|
|
38
43
|
export * from "./UpdateSchedulingPolicyCommand";
|
|
39
44
|
export * from "./UpdateServiceEnvironmentCommand";
|
|
45
|
+
export * from "./UpdateServiceJobCommand";
|
|
@@ -63,6 +63,30 @@ export declare const JQState: {
|
|
|
63
63
|
readonly ENABLED: "ENABLED";
|
|
64
64
|
};
|
|
65
65
|
export type JQState = (typeof JQState)[keyof typeof JQState];
|
|
66
|
+
export declare const QuotaShareInSharePreemptionState: {
|
|
67
|
+
readonly DISABLED: "DISABLED";
|
|
68
|
+
readonly ENABLED: "ENABLED";
|
|
69
|
+
};
|
|
70
|
+
export type QuotaShareInSharePreemptionState =
|
|
71
|
+
(typeof QuotaShareInSharePreemptionState)[keyof typeof QuotaShareInSharePreemptionState];
|
|
72
|
+
export declare const QuotaShareResourceSharingStrategy: {
|
|
73
|
+
readonly LEND: "LEND";
|
|
74
|
+
readonly LEND_AND_BORROW: "LEND_AND_BORROW";
|
|
75
|
+
readonly RESERVE: "RESERVE";
|
|
76
|
+
};
|
|
77
|
+
export type QuotaShareResourceSharingStrategy =
|
|
78
|
+
(typeof QuotaShareResourceSharingStrategy)[keyof typeof QuotaShareResourceSharingStrategy];
|
|
79
|
+
export declare const QuotaShareState: {
|
|
80
|
+
readonly DISABLED: "DISABLED";
|
|
81
|
+
readonly ENABLED: "ENABLED";
|
|
82
|
+
};
|
|
83
|
+
export type QuotaShareState =
|
|
84
|
+
(typeof QuotaShareState)[keyof typeof QuotaShareState];
|
|
85
|
+
export declare const QuotaShareIdleResourceAssignmentStrategy: {
|
|
86
|
+
readonly FIFO: "FIFO";
|
|
87
|
+
};
|
|
88
|
+
export type QuotaShareIdleResourceAssignmentStrategy =
|
|
89
|
+
(typeof QuotaShareIdleResourceAssignmentStrategy)[keyof typeof QuotaShareIdleResourceAssignmentStrategy];
|
|
66
90
|
export declare const ServiceEnvironmentType: {
|
|
67
91
|
readonly SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING";
|
|
68
92
|
};
|
|
@@ -161,6 +185,15 @@ export declare const JobStatus: {
|
|
|
161
185
|
readonly SUCCEEDED: "SUCCEEDED";
|
|
162
186
|
};
|
|
163
187
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
188
|
+
export declare const QuotaShareStatus: {
|
|
189
|
+
readonly CREATING: "CREATING";
|
|
190
|
+
readonly DELETING: "DELETING";
|
|
191
|
+
readonly INVALID: "INVALID";
|
|
192
|
+
readonly UPDATING: "UPDATING";
|
|
193
|
+
readonly VALID: "VALID";
|
|
194
|
+
};
|
|
195
|
+
export type QuotaShareStatus =
|
|
196
|
+
(typeof QuotaShareStatus)[keyof typeof QuotaShareStatus];
|
|
164
197
|
export declare const ServiceEnvironmentStatus: {
|
|
165
198
|
readonly CREATING: "CREATING";
|
|
166
199
|
readonly DELETED: "DELETED";
|
|
@@ -21,6 +21,11 @@ import {
|
|
|
21
21
|
LogDriver,
|
|
22
22
|
OrchestrationType,
|
|
23
23
|
PlatformCapability,
|
|
24
|
+
QuotaShareIdleResourceAssignmentStrategy,
|
|
25
|
+
QuotaShareInSharePreemptionState,
|
|
26
|
+
QuotaShareResourceSharingStrategy,
|
|
27
|
+
QuotaShareState,
|
|
28
|
+
QuotaShareStatus,
|
|
24
29
|
ResourceType,
|
|
25
30
|
RetryAction,
|
|
26
31
|
ServiceEnvironmentState,
|
|
@@ -184,6 +189,32 @@ export interface CreateJobQueueResponse {
|
|
|
184
189
|
jobQueueName: string | undefined;
|
|
185
190
|
jobQueueArn: string | undefined;
|
|
186
191
|
}
|
|
192
|
+
export interface QuotaShareCapacityLimit {
|
|
193
|
+
maxCapacity: number | undefined;
|
|
194
|
+
capacityUnit: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface QuotaSharePreemptionConfiguration {
|
|
197
|
+
inSharePreemption: QuotaShareInSharePreemptionState | undefined;
|
|
198
|
+
}
|
|
199
|
+
export interface QuotaShareResourceSharingConfiguration {
|
|
200
|
+
strategy: QuotaShareResourceSharingStrategy | undefined;
|
|
201
|
+
borrowLimit?: number | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface CreateQuotaShareRequest {
|
|
204
|
+
quotaShareName: string | undefined;
|
|
205
|
+
jobQueue: string | undefined;
|
|
206
|
+
capacityLimits: QuotaShareCapacityLimit[] | undefined;
|
|
207
|
+
resourceSharingConfiguration:
|
|
208
|
+
| QuotaShareResourceSharingConfiguration
|
|
209
|
+
| undefined;
|
|
210
|
+
preemptionConfiguration: QuotaSharePreemptionConfiguration | undefined;
|
|
211
|
+
state?: QuotaShareState | undefined;
|
|
212
|
+
tags?: Record<string, string> | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface CreateQuotaShareResponse {
|
|
215
|
+
quotaShareName?: string | undefined;
|
|
216
|
+
quotaShareArn?: string | undefined;
|
|
217
|
+
}
|
|
187
218
|
export interface ShareAttributes {
|
|
188
219
|
shareIdentifier: string | undefined;
|
|
189
220
|
weightFactor?: number | undefined;
|
|
@@ -193,8 +224,14 @@ export interface FairsharePolicy {
|
|
|
193
224
|
computeReservation?: number | undefined;
|
|
194
225
|
shareDistribution?: ShareAttributes[] | undefined;
|
|
195
226
|
}
|
|
227
|
+
export interface QuotaSharePolicy {
|
|
228
|
+
idleResourceAssignmentStrategy:
|
|
229
|
+
| QuotaShareIdleResourceAssignmentStrategy
|
|
230
|
+
| undefined;
|
|
231
|
+
}
|
|
196
232
|
export interface CreateSchedulingPolicyRequest {
|
|
197
233
|
name: string | undefined;
|
|
234
|
+
quotaSharePolicy?: QuotaSharePolicy | undefined;
|
|
198
235
|
fairsharePolicy?: FairsharePolicy | undefined;
|
|
199
236
|
tags?: Record<string, string> | undefined;
|
|
200
237
|
}
|
|
@@ -229,6 +266,10 @@ export interface DeleteJobQueueRequest {
|
|
|
229
266
|
jobQueue: string | undefined;
|
|
230
267
|
}
|
|
231
268
|
export interface DeleteJobQueueResponse {}
|
|
269
|
+
export interface DeleteQuotaShareRequest {
|
|
270
|
+
quotaShareArn: string | undefined;
|
|
271
|
+
}
|
|
272
|
+
export interface DeleteQuotaShareResponse {}
|
|
232
273
|
export interface DeleteSchedulingPolicyRequest {
|
|
233
274
|
arn: string | undefined;
|
|
234
275
|
}
|
|
@@ -763,12 +804,29 @@ export interface JobDetail {
|
|
|
763
804
|
export interface DescribeJobsResponse {
|
|
764
805
|
jobs?: JobDetail[] | undefined;
|
|
765
806
|
}
|
|
807
|
+
export interface DescribeQuotaShareRequest {
|
|
808
|
+
quotaShareArn: string | undefined;
|
|
809
|
+
}
|
|
810
|
+
export interface DescribeQuotaShareResponse {
|
|
811
|
+
quotaShareName?: string | undefined;
|
|
812
|
+
quotaShareArn?: string | undefined;
|
|
813
|
+
jobQueueArn?: string | undefined;
|
|
814
|
+
capacityLimits?: QuotaShareCapacityLimit[] | undefined;
|
|
815
|
+
resourceSharingConfiguration?:
|
|
816
|
+
| QuotaShareResourceSharingConfiguration
|
|
817
|
+
| undefined;
|
|
818
|
+
preemptionConfiguration?: QuotaSharePreemptionConfiguration | undefined;
|
|
819
|
+
state?: QuotaShareState | undefined;
|
|
820
|
+
status?: QuotaShareStatus | undefined;
|
|
821
|
+
tags?: Record<string, string> | undefined;
|
|
822
|
+
}
|
|
766
823
|
export interface DescribeSchedulingPoliciesRequest {
|
|
767
824
|
arns: string[] | undefined;
|
|
768
825
|
}
|
|
769
826
|
export interface SchedulingPolicyDetail {
|
|
770
827
|
name: string | undefined;
|
|
771
828
|
arn: string | undefined;
|
|
829
|
+
quotaSharePolicy?: QuotaSharePolicy | undefined;
|
|
772
830
|
fairsharePolicy?: FairsharePolicy | undefined;
|
|
773
831
|
tags?: Record<string, string> | undefined;
|
|
774
832
|
}
|
|
@@ -813,6 +871,19 @@ export interface ServiceJobCapacityUsageDetail {
|
|
|
813
871
|
export interface LatestServiceJobAttempt {
|
|
814
872
|
serviceResourceId?: ServiceResourceId | undefined;
|
|
815
873
|
}
|
|
874
|
+
export interface ServiceJobPreemptionConfiguration {
|
|
875
|
+
preemptionRetriesBeforeTermination?: number | undefined;
|
|
876
|
+
}
|
|
877
|
+
export interface ServiceJobPreemptedAttempt {
|
|
878
|
+
serviceResourceId?: ServiceResourceId | undefined;
|
|
879
|
+
startedAt?: number | undefined;
|
|
880
|
+
stoppedAt?: number | undefined;
|
|
881
|
+
statusReason?: string | undefined;
|
|
882
|
+
}
|
|
883
|
+
export interface ServiceJobPreemptionSummary {
|
|
884
|
+
preemptedAttemptCount?: number | undefined;
|
|
885
|
+
recentPreemptedAttempts?: ServiceJobPreemptedAttempt[] | undefined;
|
|
886
|
+
}
|
|
816
887
|
export interface ServiceJobEvaluateOnExit {
|
|
817
888
|
action?: ServiceJobRetryAction | undefined;
|
|
818
889
|
onStatusReason?: string | undefined;
|
|
@@ -840,6 +911,9 @@ export interface DescribeServiceJobResponse {
|
|
|
840
911
|
serviceRequestPayload?: string | undefined;
|
|
841
912
|
serviceJobType: ServiceJobType | undefined;
|
|
842
913
|
shareIdentifier?: string | undefined;
|
|
914
|
+
quotaShareName?: string | undefined;
|
|
915
|
+
preemptionConfiguration?: ServiceJobPreemptionConfiguration | undefined;
|
|
916
|
+
preemptionSummary?: ServiceJobPreemptionSummary | undefined;
|
|
843
917
|
startedAt: number | undefined;
|
|
844
918
|
status: ServiceJobStatus | undefined;
|
|
845
919
|
statusReason?: string | undefined;
|
|
@@ -858,6 +932,14 @@ export interface FrontOfQueueDetail {
|
|
|
858
932
|
jobs?: FrontOfQueueJobSummary[] | undefined;
|
|
859
933
|
lastUpdatedAt?: number | undefined;
|
|
860
934
|
}
|
|
935
|
+
export interface FrontOfQuotaShareJobSummary {
|
|
936
|
+
jobArn?: string | undefined;
|
|
937
|
+
earliestTimeAtPosition?: number | undefined;
|
|
938
|
+
}
|
|
939
|
+
export interface FrontOfQuotaSharesDetail {
|
|
940
|
+
quotaShares?: Record<string, FrontOfQuotaShareJobSummary[]> | undefined;
|
|
941
|
+
lastUpdatedAt?: number | undefined;
|
|
942
|
+
}
|
|
861
943
|
export interface FairshareCapacityUsage {
|
|
862
944
|
capacityUnit?: string | undefined;
|
|
863
945
|
quantity?: number | undefined;
|
|
@@ -870,6 +952,17 @@ export interface FairshareUtilizationDetail {
|
|
|
870
952
|
activeShareCount?: number | undefined;
|
|
871
953
|
topCapacityUtilization?: FairshareCapacityUtilization[] | undefined;
|
|
872
954
|
}
|
|
955
|
+
export interface QuotaShareCapacityUsage {
|
|
956
|
+
capacityUnit?: string | undefined;
|
|
957
|
+
quantity?: number | undefined;
|
|
958
|
+
}
|
|
959
|
+
export interface QuotaShareCapacityUtilization {
|
|
960
|
+
quotaShareName?: string | undefined;
|
|
961
|
+
capacityUsage?: QuotaShareCapacityUsage[] | undefined;
|
|
962
|
+
}
|
|
963
|
+
export interface QuotaShareUtilizationDetail {
|
|
964
|
+
topCapacityUtilization?: QuotaShareCapacityUtilization[] | undefined;
|
|
965
|
+
}
|
|
873
966
|
export interface QueueSnapshotCapacityUsage {
|
|
874
967
|
capacityUnit?: string | undefined;
|
|
875
968
|
quantity?: number | undefined;
|
|
@@ -877,10 +970,12 @@ export interface QueueSnapshotCapacityUsage {
|
|
|
877
970
|
export interface QueueSnapshotUtilizationDetail {
|
|
878
971
|
totalCapacityUsage?: QueueSnapshotCapacityUsage[] | undefined;
|
|
879
972
|
fairshareUtilization?: FairshareUtilizationDetail | undefined;
|
|
973
|
+
quotaShareUtilization?: QuotaShareUtilizationDetail | undefined;
|
|
880
974
|
lastUpdatedAt?: number | undefined;
|
|
881
975
|
}
|
|
882
976
|
export interface GetJobQueueSnapshotResponse {
|
|
883
977
|
frontOfQueue?: FrontOfQueueDetail | undefined;
|
|
978
|
+
frontOfQuotaShares?: FrontOfQuotaSharesDetail | undefined;
|
|
884
979
|
queueUtilization?: QueueSnapshotUtilizationDetail | undefined;
|
|
885
980
|
}
|
|
886
981
|
export interface KeyValuesPair {
|
|
@@ -969,6 +1064,27 @@ export interface ListJobsByConsumableResourceResponse {
|
|
|
969
1064
|
jobs: ListJobsByConsumableResourceSummary[] | undefined;
|
|
970
1065
|
nextToken?: string | undefined;
|
|
971
1066
|
}
|
|
1067
|
+
export interface ListQuotaSharesRequest {
|
|
1068
|
+
jobQueue: string | undefined;
|
|
1069
|
+
maxResults?: number | undefined;
|
|
1070
|
+
nextToken?: string | undefined;
|
|
1071
|
+
}
|
|
1072
|
+
export interface QuotaShareDetail {
|
|
1073
|
+
quotaShareName?: string | undefined;
|
|
1074
|
+
quotaShareArn?: string | undefined;
|
|
1075
|
+
jobQueueArn?: string | undefined;
|
|
1076
|
+
capacityLimits?: QuotaShareCapacityLimit[] | undefined;
|
|
1077
|
+
resourceSharingConfiguration?:
|
|
1078
|
+
| QuotaShareResourceSharingConfiguration
|
|
1079
|
+
| undefined;
|
|
1080
|
+
preemptionConfiguration?: QuotaSharePreemptionConfiguration | undefined;
|
|
1081
|
+
state?: QuotaShareState | undefined;
|
|
1082
|
+
status?: QuotaShareStatus | undefined;
|
|
1083
|
+
}
|
|
1084
|
+
export interface ListQuotaSharesResponse {
|
|
1085
|
+
quotaShares?: QuotaShareDetail[] | undefined;
|
|
1086
|
+
nextToken?: string | undefined;
|
|
1087
|
+
}
|
|
972
1088
|
export interface ListSchedulingPoliciesRequest {
|
|
973
1089
|
maxResults?: number | undefined;
|
|
974
1090
|
nextToken?: string | undefined;
|
|
@@ -1001,6 +1117,7 @@ export interface ServiceJobSummary {
|
|
|
1001
1117
|
scheduledAt?: number | undefined;
|
|
1002
1118
|
serviceJobType: ServiceJobType | undefined;
|
|
1003
1119
|
shareIdentifier?: string | undefined;
|
|
1120
|
+
quotaShareName?: string | undefined;
|
|
1004
1121
|
status?: ServiceJobStatus | undefined;
|
|
1005
1122
|
statusReason?: string | undefined;
|
|
1006
1123
|
startedAt?: number | undefined;
|
|
@@ -1121,6 +1238,8 @@ export interface SubmitServiceJobRequest {
|
|
|
1121
1238
|
serviceRequestPayload: string | undefined;
|
|
1122
1239
|
serviceJobType: ServiceJobType | undefined;
|
|
1123
1240
|
shareIdentifier?: string | undefined;
|
|
1241
|
+
quotaShareName?: string | undefined;
|
|
1242
|
+
preemptionConfiguration?: ServiceJobPreemptionConfiguration | undefined;
|
|
1124
1243
|
timeoutConfig?: ServiceJobTimeout | undefined;
|
|
1125
1244
|
tags?: Record<string, string> | undefined;
|
|
1126
1245
|
clientToken?: string | undefined;
|
|
@@ -1207,8 +1326,22 @@ export interface UpdateJobQueueResponse {
|
|
|
1207
1326
|
jobQueueName?: string | undefined;
|
|
1208
1327
|
jobQueueArn?: string | undefined;
|
|
1209
1328
|
}
|
|
1329
|
+
export interface UpdateQuotaShareRequest {
|
|
1330
|
+
quotaShareArn: string | undefined;
|
|
1331
|
+
capacityLimits?: QuotaShareCapacityLimit[] | undefined;
|
|
1332
|
+
resourceSharingConfiguration?:
|
|
1333
|
+
| QuotaShareResourceSharingConfiguration
|
|
1334
|
+
| undefined;
|
|
1335
|
+
preemptionConfiguration?: QuotaSharePreemptionConfiguration | undefined;
|
|
1336
|
+
state?: QuotaShareState | undefined;
|
|
1337
|
+
}
|
|
1338
|
+
export interface UpdateQuotaShareResponse {
|
|
1339
|
+
quotaShareName?: string | undefined;
|
|
1340
|
+
quotaShareArn?: string | undefined;
|
|
1341
|
+
}
|
|
1210
1342
|
export interface UpdateSchedulingPolicyRequest {
|
|
1211
1343
|
arn: string | undefined;
|
|
1344
|
+
quotaSharePolicy?: QuotaSharePolicy | undefined;
|
|
1212
1345
|
fairsharePolicy?: FairsharePolicy | undefined;
|
|
1213
1346
|
}
|
|
1214
1347
|
export interface UpdateSchedulingPolicyResponse {}
|
|
@@ -1221,3 +1354,12 @@ export interface UpdateServiceEnvironmentResponse {
|
|
|
1221
1354
|
serviceEnvironmentName: string | undefined;
|
|
1222
1355
|
serviceEnvironmentArn: string | undefined;
|
|
1223
1356
|
}
|
|
1357
|
+
export interface UpdateServiceJobRequest {
|
|
1358
|
+
jobId: string | undefined;
|
|
1359
|
+
schedulingPriority: number | undefined;
|
|
1360
|
+
}
|
|
1361
|
+
export interface UpdateServiceJobResponse {
|
|
1362
|
+
jobArn?: string | undefined;
|
|
1363
|
+
jobName?: string | undefined;
|
|
1364
|
+
jobId?: string | undefined;
|
|
1365
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListQuotaSharesCommandInput,
|
|
4
|
+
ListQuotaSharesCommandOutput,
|
|
5
|
+
} from "../commands/ListQuotaSharesCommand";
|
|
6
|
+
import { BatchPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListQuotaShares: (
|
|
8
|
+
config: BatchPaginationConfiguration,
|
|
9
|
+
input: ListQuotaSharesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListQuotaSharesCommandOutput>;
|
|
@@ -6,5 +6,6 @@ export * from "./DescribeServiceEnvironmentsPaginator";
|
|
|
6
6
|
export * from "./ListConsumableResourcesPaginator";
|
|
7
7
|
export * from "./ListJobsPaginator";
|
|
8
8
|
export * from "./ListJobsByConsumableResourcePaginator";
|
|
9
|
+
export * from "./ListQuotaSharesPaginator";
|
|
9
10
|
export * from "./ListSchedulingPoliciesPaginator";
|
|
10
11
|
export * from "./ListServiceJobsPaginator";
|
|
@@ -36,6 +36,8 @@ export declare var CreateConsumableResourceRequest$: StaticStructureSchema;
|
|
|
36
36
|
export declare var CreateConsumableResourceResponse$: StaticStructureSchema;
|
|
37
37
|
export declare var CreateJobQueueRequest$: StaticStructureSchema;
|
|
38
38
|
export declare var CreateJobQueueResponse$: StaticStructureSchema;
|
|
39
|
+
export declare var CreateQuotaShareRequest$: StaticStructureSchema;
|
|
40
|
+
export declare var CreateQuotaShareResponse$: StaticStructureSchema;
|
|
39
41
|
export declare var CreateSchedulingPolicyRequest$: StaticStructureSchema;
|
|
40
42
|
export declare var CreateSchedulingPolicyResponse$: StaticStructureSchema;
|
|
41
43
|
export declare var CreateServiceEnvironmentRequest$: StaticStructureSchema;
|
|
@@ -46,6 +48,8 @@ export declare var DeleteConsumableResourceRequest$: StaticStructureSchema;
|
|
|
46
48
|
export declare var DeleteConsumableResourceResponse$: StaticStructureSchema;
|
|
47
49
|
export declare var DeleteJobQueueRequest$: StaticStructureSchema;
|
|
48
50
|
export declare var DeleteJobQueueResponse$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteQuotaShareRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var DeleteQuotaShareResponse$: StaticStructureSchema;
|
|
49
53
|
export declare var DeleteSchedulingPolicyRequest$: StaticStructureSchema;
|
|
50
54
|
export declare var DeleteSchedulingPolicyResponse$: StaticStructureSchema;
|
|
51
55
|
export declare var DeleteServiceEnvironmentRequest$: StaticStructureSchema;
|
|
@@ -62,6 +66,8 @@ export declare var DescribeJobQueuesRequest$: StaticStructureSchema;
|
|
|
62
66
|
export declare var DescribeJobQueuesResponse$: StaticStructureSchema;
|
|
63
67
|
export declare var DescribeJobsRequest$: StaticStructureSchema;
|
|
64
68
|
export declare var DescribeJobsResponse$: StaticStructureSchema;
|
|
69
|
+
export declare var DescribeQuotaShareRequest$: StaticStructureSchema;
|
|
70
|
+
export declare var DescribeQuotaShareResponse$: StaticStructureSchema;
|
|
65
71
|
export declare var DescribeSchedulingPoliciesRequest$: StaticStructureSchema;
|
|
66
72
|
export declare var DescribeSchedulingPoliciesResponse$: StaticStructureSchema;
|
|
67
73
|
export declare var DescribeServiceEnvironmentsRequest$: StaticStructureSchema;
|
|
@@ -109,6 +115,8 @@ export declare var FargatePlatformConfiguration$: StaticStructureSchema;
|
|
|
109
115
|
export declare var FirelensConfiguration$: StaticStructureSchema;
|
|
110
116
|
export declare var FrontOfQueueDetail$: StaticStructureSchema;
|
|
111
117
|
export declare var FrontOfQueueJobSummary$: StaticStructureSchema;
|
|
118
|
+
export declare var FrontOfQuotaShareJobSummary$: StaticStructureSchema;
|
|
119
|
+
export declare var FrontOfQuotaSharesDetail$: StaticStructureSchema;
|
|
112
120
|
export declare var GetJobQueueSnapshotRequest$: StaticStructureSchema;
|
|
113
121
|
export declare var GetJobQueueSnapshotResponse$: StaticStructureSchema;
|
|
114
122
|
export declare var Host$: StaticStructureSchema;
|
|
@@ -134,6 +142,8 @@ export declare var ListJobsByConsumableResourceResponse$: StaticStructureSchema;
|
|
|
134
142
|
export declare var ListJobsByConsumableResourceSummary$: StaticStructureSchema;
|
|
135
143
|
export declare var ListJobsRequest$: StaticStructureSchema;
|
|
136
144
|
export declare var ListJobsResponse$: StaticStructureSchema;
|
|
145
|
+
export declare var ListQuotaSharesRequest$: StaticStructureSchema;
|
|
146
|
+
export declare var ListQuotaSharesResponse$: StaticStructureSchema;
|
|
137
147
|
export declare var ListSchedulingPoliciesRequest$: StaticStructureSchema;
|
|
138
148
|
export declare var ListSchedulingPoliciesResponse$: StaticStructureSchema;
|
|
139
149
|
export declare var ListServiceJobsRequest$: StaticStructureSchema;
|
|
@@ -152,6 +162,14 @@ export declare var NodePropertyOverride$: StaticStructureSchema;
|
|
|
152
162
|
export declare var NodeRangeProperty$: StaticStructureSchema;
|
|
153
163
|
export declare var QueueSnapshotCapacityUsage$: StaticStructureSchema;
|
|
154
164
|
export declare var QueueSnapshotUtilizationDetail$: StaticStructureSchema;
|
|
165
|
+
export declare var QuotaShareCapacityLimit$: StaticStructureSchema;
|
|
166
|
+
export declare var QuotaShareCapacityUsage$: StaticStructureSchema;
|
|
167
|
+
export declare var QuotaShareCapacityUtilization$: StaticStructureSchema;
|
|
168
|
+
export declare var QuotaShareDetail$: StaticStructureSchema;
|
|
169
|
+
export declare var QuotaSharePolicy$: StaticStructureSchema;
|
|
170
|
+
export declare var QuotaSharePreemptionConfiguration$: StaticStructureSchema;
|
|
171
|
+
export declare var QuotaShareResourceSharingConfiguration$: StaticStructureSchema;
|
|
172
|
+
export declare var QuotaShareUtilizationDetail$: StaticStructureSchema;
|
|
155
173
|
export declare var RegisterJobDefinitionRequest$: StaticStructureSchema;
|
|
156
174
|
export declare var RegisterJobDefinitionResponse$: StaticStructureSchema;
|
|
157
175
|
export declare var RepositoryCredentials$: StaticStructureSchema;
|
|
@@ -167,6 +185,9 @@ export declare var ServiceJobAttemptDetail$: StaticStructureSchema;
|
|
|
167
185
|
export declare var ServiceJobCapacityUsageDetail$: StaticStructureSchema;
|
|
168
186
|
export declare var ServiceJobCapacityUsageSummary$: StaticStructureSchema;
|
|
169
187
|
export declare var ServiceJobEvaluateOnExit$: StaticStructureSchema;
|
|
188
|
+
export declare var ServiceJobPreemptedAttempt$: StaticStructureSchema;
|
|
189
|
+
export declare var ServiceJobPreemptionConfiguration$: StaticStructureSchema;
|
|
190
|
+
export declare var ServiceJobPreemptionSummary$: StaticStructureSchema;
|
|
170
191
|
export declare var ServiceJobRetryStrategy$: StaticStructureSchema;
|
|
171
192
|
export declare var ServiceJobSummary$: StaticStructureSchema;
|
|
172
193
|
export declare var ServiceJobTimeout$: StaticStructureSchema;
|
|
@@ -198,20 +219,26 @@ export declare var UpdateConsumableResourceResponse$: StaticStructureSchema;
|
|
|
198
219
|
export declare var UpdateJobQueueRequest$: StaticStructureSchema;
|
|
199
220
|
export declare var UpdateJobQueueResponse$: StaticStructureSchema;
|
|
200
221
|
export declare var UpdatePolicy$: StaticStructureSchema;
|
|
222
|
+
export declare var UpdateQuotaShareRequest$: StaticStructureSchema;
|
|
223
|
+
export declare var UpdateQuotaShareResponse$: StaticStructureSchema;
|
|
201
224
|
export declare var UpdateSchedulingPolicyRequest$: StaticStructureSchema;
|
|
202
225
|
export declare var UpdateSchedulingPolicyResponse$: StaticStructureSchema;
|
|
203
226
|
export declare var UpdateServiceEnvironmentRequest$: StaticStructureSchema;
|
|
204
227
|
export declare var UpdateServiceEnvironmentResponse$: StaticStructureSchema;
|
|
228
|
+
export declare var UpdateServiceJobRequest$: StaticStructureSchema;
|
|
229
|
+
export declare var UpdateServiceJobResponse$: StaticStructureSchema;
|
|
205
230
|
export declare var Volume$: StaticStructureSchema;
|
|
206
231
|
export declare var CancelJob$: StaticOperationSchema;
|
|
207
232
|
export declare var CreateComputeEnvironment$: StaticOperationSchema;
|
|
208
233
|
export declare var CreateConsumableResource$: StaticOperationSchema;
|
|
209
234
|
export declare var CreateJobQueue$: StaticOperationSchema;
|
|
235
|
+
export declare var CreateQuotaShare$: StaticOperationSchema;
|
|
210
236
|
export declare var CreateSchedulingPolicy$: StaticOperationSchema;
|
|
211
237
|
export declare var CreateServiceEnvironment$: StaticOperationSchema;
|
|
212
238
|
export declare var DeleteComputeEnvironment$: StaticOperationSchema;
|
|
213
239
|
export declare var DeleteConsumableResource$: StaticOperationSchema;
|
|
214
240
|
export declare var DeleteJobQueue$: StaticOperationSchema;
|
|
241
|
+
export declare var DeleteQuotaShare$: StaticOperationSchema;
|
|
215
242
|
export declare var DeleteSchedulingPolicy$: StaticOperationSchema;
|
|
216
243
|
export declare var DeleteServiceEnvironment$: StaticOperationSchema;
|
|
217
244
|
export declare var DeregisterJobDefinition$: StaticOperationSchema;
|
|
@@ -220,6 +247,7 @@ export declare var DescribeConsumableResource$: StaticOperationSchema;
|
|
|
220
247
|
export declare var DescribeJobDefinitions$: StaticOperationSchema;
|
|
221
248
|
export declare var DescribeJobQueues$: StaticOperationSchema;
|
|
222
249
|
export declare var DescribeJobs$: StaticOperationSchema;
|
|
250
|
+
export declare var DescribeQuotaShare$: StaticOperationSchema;
|
|
223
251
|
export declare var DescribeSchedulingPolicies$: StaticOperationSchema;
|
|
224
252
|
export declare var DescribeServiceEnvironments$: StaticOperationSchema;
|
|
225
253
|
export declare var DescribeServiceJob$: StaticOperationSchema;
|
|
@@ -227,6 +255,7 @@ export declare var GetJobQueueSnapshot$: StaticOperationSchema;
|
|
|
227
255
|
export declare var ListConsumableResources$: StaticOperationSchema;
|
|
228
256
|
export declare var ListJobs$: StaticOperationSchema;
|
|
229
257
|
export declare var ListJobsByConsumableResource$: StaticOperationSchema;
|
|
258
|
+
export declare var ListQuotaShares$: StaticOperationSchema;
|
|
230
259
|
export declare var ListSchedulingPolicies$: StaticOperationSchema;
|
|
231
260
|
export declare var ListServiceJobs$: StaticOperationSchema;
|
|
232
261
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
@@ -240,5 +269,7 @@ export declare var UntagResource$: StaticOperationSchema;
|
|
|
240
269
|
export declare var UpdateComputeEnvironment$: StaticOperationSchema;
|
|
241
270
|
export declare var UpdateConsumableResource$: StaticOperationSchema;
|
|
242
271
|
export declare var UpdateJobQueue$: StaticOperationSchema;
|
|
272
|
+
export declare var UpdateQuotaShare$: StaticOperationSchema;
|
|
243
273
|
export declare var UpdateSchedulingPolicy$: StaticOperationSchema;
|
|
244
274
|
export declare var UpdateServiceEnvironment$: StaticOperationSchema;
|
|
275
|
+
export declare var UpdateServiceJob$: 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.1013.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,17 +21,17 @@
|
|
|
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.22",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.23",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.23",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.9",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.11",
|
|
36
36
|
"@smithy/core": "^3.23.12",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.15",
|