@aws-sdk/client-batch 3.40.0 → 3.45.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/CHANGELOG.md +44 -0
- package/README.md +2 -2
- package/dist-cjs/Batch.js +75 -0
- package/dist-cjs/commands/CreateSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/DescribeSchedulingPoliciesCommand.js +36 -0
- package/dist-cjs/commands/ListSchedulingPoliciesCommand.js +36 -0
- package/dist-cjs/commands/UpdateSchedulingPolicyCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +25 -0
- package/dist-cjs/models/models_0.js +87 -3
- package/dist-cjs/pagination/ListSchedulingPoliciesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +509 -1
- package/dist-es/Batch.js +75 -0
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +39 -0
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +39 -0
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoints.js +25 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/pagination/ListSchedulingPoliciesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +584 -13
- package/dist-types/Batch.d.ts +50 -12
- package/dist-types/BatchClient.d.ts +9 -4
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +5 -6
- package/dist-types/commands/CreateJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +36 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +35 -0
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/SubmitJobCommand.d.ts +5 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +455 -114
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/Batch.d.ts +25 -0
- package/dist-types/ts3.4/BatchClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +164 -0
- package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/package.json +6 -6
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "../commands/ListSchedulingPoliciesCommand";
|
|
3
|
+
import { BatchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListSchedulingPolicies(config: BatchPaginationConfiguration, input: ListSchedulingPoliciesCommandInput, ...additionalArguments: any): Paginator<ListSchedulingPoliciesCommandOutput>;
|
|
@@ -3,14 +3,18 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
|
3
3
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "../commands/CancelJobCommand";
|
|
4
4
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "../commands/CreateComputeEnvironmentCommand";
|
|
5
5
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "../commands/CreateJobQueueCommand";
|
|
6
|
+
import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "../commands/CreateSchedulingPolicyCommand";
|
|
6
7
|
import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "../commands/DeleteComputeEnvironmentCommand";
|
|
7
8
|
import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "../commands/DeleteJobQueueCommand";
|
|
9
|
+
import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "../commands/DeleteSchedulingPolicyCommand";
|
|
8
10
|
import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "../commands/DeregisterJobDefinitionCommand";
|
|
9
11
|
import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "../commands/DescribeComputeEnvironmentsCommand";
|
|
10
12
|
import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "../commands/DescribeJobDefinitionsCommand";
|
|
11
13
|
import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "../commands/DescribeJobQueuesCommand";
|
|
12
14
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "../commands/DescribeJobsCommand";
|
|
15
|
+
import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "../commands/DescribeSchedulingPoliciesCommand";
|
|
13
16
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
17
|
+
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "../commands/ListSchedulingPoliciesCommand";
|
|
14
18
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
15
19
|
import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "../commands/RegisterJobDefinitionCommand";
|
|
16
20
|
import { SubmitJobCommandInput, SubmitJobCommandOutput } from "../commands/SubmitJobCommand";
|
|
@@ -19,17 +23,22 @@ import { TerminateJobCommandInput, TerminateJobCommandOutput } from "../commands
|
|
|
19
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
20
24
|
import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "../commands/UpdateComputeEnvironmentCommand";
|
|
21
25
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "../commands/UpdateJobQueueCommand";
|
|
26
|
+
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "../commands/UpdateSchedulingPolicyCommand";
|
|
22
27
|
export declare const serializeAws_restJson1CancelJobCommand: (input: CancelJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
28
|
export declare const serializeAws_restJson1CreateComputeEnvironmentCommand: (input: CreateComputeEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
29
|
export declare const serializeAws_restJson1CreateJobQueueCommand: (input: CreateJobQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const serializeAws_restJson1CreateSchedulingPolicyCommand: (input: CreateSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
31
|
export declare const serializeAws_restJson1DeleteComputeEnvironmentCommand: (input: DeleteComputeEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
32
|
export declare const serializeAws_restJson1DeleteJobQueueCommand: (input: DeleteJobQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
export declare const serializeAws_restJson1DeleteSchedulingPolicyCommand: (input: DeleteSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
34
|
export declare const serializeAws_restJson1DeregisterJobDefinitionCommand: (input: DeregisterJobDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
35
|
export declare const serializeAws_restJson1DescribeComputeEnvironmentsCommand: (input: DescribeComputeEnvironmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
36
|
export declare const serializeAws_restJson1DescribeJobDefinitionsCommand: (input: DescribeJobDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
37
|
export declare const serializeAws_restJson1DescribeJobQueuesCommand: (input: DescribeJobQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
38
|
export declare const serializeAws_restJson1DescribeJobsCommand: (input: DescribeJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
export declare const serializeAws_restJson1DescribeSchedulingPoliciesCommand: (input: DescribeSchedulingPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
40
|
export declare const serializeAws_restJson1ListJobsCommand: (input: ListJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
|
+
export declare const serializeAws_restJson1ListSchedulingPoliciesCommand: (input: ListSchedulingPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
42
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
43
|
export declare const serializeAws_restJson1RegisterJobDefinitionCommand: (input: RegisterJobDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
44
|
export declare const serializeAws_restJson1SubmitJobCommand: (input: SubmitJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -38,17 +47,22 @@ export declare const serializeAws_restJson1TerminateJobCommand: (input: Terminat
|
|
|
38
47
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
48
|
export declare const serializeAws_restJson1UpdateComputeEnvironmentCommand: (input: UpdateComputeEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
49
|
export declare const serializeAws_restJson1UpdateJobQueueCommand: (input: UpdateJobQueueCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const serializeAws_restJson1UpdateSchedulingPolicyCommand: (input: UpdateSchedulingPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
51
|
export declare const deserializeAws_restJson1CancelJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelJobCommandOutput>;
|
|
42
52
|
export declare const deserializeAws_restJson1CreateComputeEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateComputeEnvironmentCommandOutput>;
|
|
43
53
|
export declare const deserializeAws_restJson1CreateJobQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateJobQueueCommandOutput>;
|
|
54
|
+
export declare const deserializeAws_restJson1CreateSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSchedulingPolicyCommandOutput>;
|
|
44
55
|
export declare const deserializeAws_restJson1DeleteComputeEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteComputeEnvironmentCommandOutput>;
|
|
45
56
|
export declare const deserializeAws_restJson1DeleteJobQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteJobQueueCommandOutput>;
|
|
57
|
+
export declare const deserializeAws_restJson1DeleteSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSchedulingPolicyCommandOutput>;
|
|
46
58
|
export declare const deserializeAws_restJson1DeregisterJobDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterJobDefinitionCommandOutput>;
|
|
47
59
|
export declare const deserializeAws_restJson1DescribeComputeEnvironmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeComputeEnvironmentsCommandOutput>;
|
|
48
60
|
export declare const deserializeAws_restJson1DescribeJobDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobDefinitionsCommandOutput>;
|
|
49
61
|
export declare const deserializeAws_restJson1DescribeJobQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobQueuesCommandOutput>;
|
|
50
62
|
export declare const deserializeAws_restJson1DescribeJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobsCommandOutput>;
|
|
63
|
+
export declare const deserializeAws_restJson1DescribeSchedulingPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSchedulingPoliciesCommandOutput>;
|
|
51
64
|
export declare const deserializeAws_restJson1ListJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobsCommandOutput>;
|
|
65
|
+
export declare const deserializeAws_restJson1ListSchedulingPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSchedulingPoliciesCommandOutput>;
|
|
52
66
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
53
67
|
export declare const deserializeAws_restJson1RegisterJobDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterJobDefinitionCommandOutput>;
|
|
54
68
|
export declare const deserializeAws_restJson1SubmitJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SubmitJobCommandOutput>;
|
|
@@ -57,3 +71,4 @@ export declare const deserializeAws_restJson1TerminateJobCommand: (output: __Htt
|
|
|
57
71
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
58
72
|
export declare const deserializeAws_restJson1UpdateComputeEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateComputeEnvironmentCommandOutput>;
|
|
59
73
|
export declare const deserializeAws_restJson1UpdateJobQueueCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateJobQueueCommandOutput>;
|
|
74
|
+
export declare const deserializeAws_restJson1UpdateSchedulingPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSchedulingPolicyCommandOutput>;
|
|
@@ -3,14 +3,18 @@ import { BatchClient } from "./BatchClient";
|
|
|
3
3
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
4
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
5
5
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
6
|
+
import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
|
|
6
7
|
import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
|
|
7
8
|
import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
|
|
9
|
+
import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
|
|
8
10
|
import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
|
|
9
11
|
import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
|
|
10
12
|
import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
|
|
11
13
|
import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
|
|
12
14
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
15
|
+
import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
|
|
13
16
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
17
|
+
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
|
|
14
18
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
19
|
import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
|
|
16
20
|
import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
|
|
@@ -19,6 +23,7 @@ import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/
|
|
|
19
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
24
|
import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
|
|
21
25
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
26
|
+
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
22
27
|
|
|
23
28
|
export declare class Batch extends BatchClient {
|
|
24
29
|
|
|
@@ -34,6 +39,10 @@ export declare class Batch extends BatchClient {
|
|
|
34
39
|
createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
35
40
|
createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
36
41
|
|
|
42
|
+
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
|
|
43
|
+
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
|
|
44
|
+
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
|
|
45
|
+
|
|
37
46
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComputeEnvironmentCommandOutput>;
|
|
38
47
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
39
48
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
@@ -42,6 +51,10 @@ export declare class Batch extends BatchClient {
|
|
|
42
51
|
deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
43
52
|
deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
44
53
|
|
|
54
|
+
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
|
|
55
|
+
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
|
|
56
|
+
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
|
|
57
|
+
|
|
45
58
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterJobDefinitionCommandOutput>;
|
|
46
59
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
|
|
47
60
|
deregisterJobDefinition(args: DeregisterJobDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterJobDefinitionCommandOutput) => void): void;
|
|
@@ -62,10 +75,18 @@ export declare class Batch extends BatchClient {
|
|
|
62
75
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
63
76
|
describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
64
77
|
|
|
78
|
+
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
|
|
79
|
+
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
|
|
80
|
+
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
|
|
81
|
+
|
|
65
82
|
listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
|
|
66
83
|
listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
67
84
|
listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
68
85
|
|
|
86
|
+
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
|
|
87
|
+
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
|
|
88
|
+
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
|
|
89
|
+
|
|
69
90
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
70
91
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
71
92
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
@@ -97,4 +118,8 @@ export declare class Batch extends BatchClient {
|
|
|
97
118
|
updateJobQueue(args: UpdateJobQueueCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobQueueCommandOutput>;
|
|
98
119
|
updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
99
120
|
updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
121
|
+
|
|
122
|
+
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
|
|
123
|
+
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
|
|
124
|
+
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
|
|
100
125
|
}
|
|
@@ -9,14 +9,18 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
|
|
|
9
9
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
10
10
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
11
11
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
12
|
+
import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
|
|
12
13
|
import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
|
|
13
14
|
import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
|
|
15
|
+
import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
|
|
14
16
|
import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
|
|
15
17
|
import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
|
|
16
18
|
import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
|
|
17
19
|
import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
|
|
18
20
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
21
|
+
import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
|
|
19
22
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
23
|
+
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
|
|
20
24
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
25
|
import { RegisterJobDefinitionCommandInput, RegisterJobDefinitionCommandOutput } from "./commands/RegisterJobDefinitionCommand";
|
|
22
26
|
import { SubmitJobCommandInput, SubmitJobCommandOutput } from "./commands/SubmitJobCommand";
|
|
@@ -25,8 +29,9 @@ import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/
|
|
|
25
29
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
30
|
import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
|
|
27
31
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
28
|
-
|
|
29
|
-
export declare type
|
|
32
|
+
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
33
|
+
export declare type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
|
|
34
|
+
export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
|
|
30
35
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
31
36
|
|
|
32
37
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { CreateSchedulingPolicyRequest, CreateSchedulingPolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CreateSchedulingPolicyCommand extends $Command<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
11
|
+
readonly input: CreateSchedulingPolicyCommandInput;
|
|
12
|
+
constructor(input: CreateSchedulingPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { DeleteSchedulingPolicyRequest, DeleteSchedulingPolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteSchedulingPolicyCommand extends $Command<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteSchedulingPolicyCommandInput;
|
|
12
|
+
constructor(input: DeleteSchedulingPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { DescribeSchedulingPoliciesRequest, DescribeSchedulingPoliciesResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeSchedulingPoliciesCommandInput extends DescribeSchedulingPoliciesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedulingPoliciesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DescribeSchedulingPoliciesCommand extends $Command<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
|
|
11
|
+
readonly input: DescribeSchedulingPoliciesCommandInput;
|
|
12
|
+
constructor(input: DescribeSchedulingPoliciesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { ListSchedulingPoliciesRequest, ListSchedulingPoliciesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListSchedulingPoliciesCommandInput extends ListSchedulingPoliciesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPoliciesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListSchedulingPoliciesCommand extends $Command<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput, BatchClientResolvedConfig> {
|
|
11
|
+
readonly input: ListSchedulingPoliciesCommandInput;
|
|
12
|
+
constructor(input: ListSchedulingPoliciesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { UpdateSchedulingPolicyRequest, UpdateSchedulingPolicyResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateSchedulingPolicyCommandInput extends UpdateSchedulingPolicyRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPolicyResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateSchedulingPolicyCommand extends $Command<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput, BatchClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateSchedulingPolicyCommandInput;
|
|
12
|
+
constructor(input: UpdateSchedulingPolicyCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BatchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export * from "./CancelJobCommand";
|
|
2
2
|
export * from "./CreateComputeEnvironmentCommand";
|
|
3
3
|
export * from "./CreateJobQueueCommand";
|
|
4
|
+
export * from "./CreateSchedulingPolicyCommand";
|
|
4
5
|
export * from "./DeleteComputeEnvironmentCommand";
|
|
5
6
|
export * from "./DeleteJobQueueCommand";
|
|
7
|
+
export * from "./DeleteSchedulingPolicyCommand";
|
|
6
8
|
export * from "./DeregisterJobDefinitionCommand";
|
|
7
9
|
export * from "./DescribeComputeEnvironmentsCommand";
|
|
8
10
|
export * from "./DescribeJobDefinitionsCommand";
|
|
9
11
|
export * from "./DescribeJobQueuesCommand";
|
|
10
12
|
export * from "./DescribeJobsCommand";
|
|
13
|
+
export * from "./DescribeSchedulingPoliciesCommand";
|
|
11
14
|
export * from "./ListJobsCommand";
|
|
15
|
+
export * from "./ListSchedulingPoliciesCommand";
|
|
12
16
|
export * from "./ListTagsForResourceCommand";
|
|
13
17
|
export * from "./RegisterJobDefinitionCommand";
|
|
14
18
|
export * from "./SubmitJobCommand";
|
|
@@ -17,3 +21,4 @@ export * from "./TerminateJobCommand";
|
|
|
17
21
|
export * from "./UntagResourceCommand";
|
|
18
22
|
export * from "./UpdateComputeEnvironmentCommand";
|
|
19
23
|
export * from "./UpdateJobQueueCommand";
|
|
24
|
+
export * from "./UpdateSchedulingPolicyCommand";
|
|
@@ -221,6 +221,8 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
221
221
|
|
|
222
222
|
state?: CEState | string;
|
|
223
223
|
|
|
224
|
+
unmanagedvCpus?: number;
|
|
225
|
+
|
|
224
226
|
computeResources?: ComputeResource;
|
|
225
227
|
|
|
226
228
|
serviceRole?: string;
|
|
@@ -265,6 +267,8 @@ export interface CreateJobQueueRequest {
|
|
|
265
267
|
|
|
266
268
|
state?: JQState | string;
|
|
267
269
|
|
|
270
|
+
schedulingPolicyArn?: string;
|
|
271
|
+
|
|
268
272
|
priority: number | undefined;
|
|
269
273
|
|
|
270
274
|
computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
|
|
@@ -288,6 +292,54 @@ export declare namespace CreateJobQueueResponse {
|
|
|
288
292
|
const filterSensitiveLog: (obj: CreateJobQueueResponse) => any;
|
|
289
293
|
}
|
|
290
294
|
|
|
295
|
+
export interface ShareAttributes {
|
|
296
|
+
|
|
297
|
+
shareIdentifier: string | undefined;
|
|
298
|
+
|
|
299
|
+
weightFactor?: number;
|
|
300
|
+
}
|
|
301
|
+
export declare namespace ShareAttributes {
|
|
302
|
+
|
|
303
|
+
const filterSensitiveLog: (obj: ShareAttributes) => any;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface FairsharePolicy {
|
|
307
|
+
|
|
308
|
+
shareDecaySeconds?: number;
|
|
309
|
+
|
|
310
|
+
computeReservation?: number;
|
|
311
|
+
|
|
312
|
+
shareDistribution?: ShareAttributes[];
|
|
313
|
+
}
|
|
314
|
+
export declare namespace FairsharePolicy {
|
|
315
|
+
|
|
316
|
+
const filterSensitiveLog: (obj: FairsharePolicy) => any;
|
|
317
|
+
}
|
|
318
|
+
export interface CreateSchedulingPolicyRequest {
|
|
319
|
+
|
|
320
|
+
name: string | undefined;
|
|
321
|
+
|
|
322
|
+
fairsharePolicy?: FairsharePolicy;
|
|
323
|
+
|
|
324
|
+
tags?: {
|
|
325
|
+
[key: string]: string;
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
export declare namespace CreateSchedulingPolicyRequest {
|
|
329
|
+
|
|
330
|
+
const filterSensitiveLog: (obj: CreateSchedulingPolicyRequest) => any;
|
|
331
|
+
}
|
|
332
|
+
export interface CreateSchedulingPolicyResponse {
|
|
333
|
+
|
|
334
|
+
name: string | undefined;
|
|
335
|
+
|
|
336
|
+
arn: string | undefined;
|
|
337
|
+
}
|
|
338
|
+
export declare namespace CreateSchedulingPolicyResponse {
|
|
339
|
+
|
|
340
|
+
const filterSensitiveLog: (obj: CreateSchedulingPolicyResponse) => any;
|
|
341
|
+
}
|
|
342
|
+
|
|
291
343
|
export interface DeleteComputeEnvironmentRequest {
|
|
292
344
|
|
|
293
345
|
computeEnvironment: string | undefined;
|
|
@@ -317,6 +369,20 @@ export declare namespace DeleteJobQueueResponse {
|
|
|
317
369
|
|
|
318
370
|
const filterSensitiveLog: (obj: DeleteJobQueueResponse) => any;
|
|
319
371
|
}
|
|
372
|
+
export interface DeleteSchedulingPolicyRequest {
|
|
373
|
+
|
|
374
|
+
arn: string | undefined;
|
|
375
|
+
}
|
|
376
|
+
export declare namespace DeleteSchedulingPolicyRequest {
|
|
377
|
+
|
|
378
|
+
const filterSensitiveLog: (obj: DeleteSchedulingPolicyRequest) => any;
|
|
379
|
+
}
|
|
380
|
+
export interface DeleteSchedulingPolicyResponse {
|
|
381
|
+
}
|
|
382
|
+
export declare namespace DeleteSchedulingPolicyResponse {
|
|
383
|
+
|
|
384
|
+
const filterSensitiveLog: (obj: DeleteSchedulingPolicyResponse) => any;
|
|
385
|
+
}
|
|
320
386
|
export interface DeregisterJobDefinitionRequest {
|
|
321
387
|
|
|
322
388
|
jobDefinition: string | undefined;
|
|
@@ -359,6 +425,8 @@ export interface ComputeEnvironmentDetail {
|
|
|
359
425
|
|
|
360
426
|
computeEnvironmentArn: string | undefined;
|
|
361
427
|
|
|
428
|
+
unmanagedvCpus?: number;
|
|
429
|
+
|
|
362
430
|
ecsClusterArn: string | undefined;
|
|
363
431
|
|
|
364
432
|
tags?: {
|
|
@@ -749,6 +817,8 @@ export interface JobDefinition {
|
|
|
749
817
|
|
|
750
818
|
type: string | undefined;
|
|
751
819
|
|
|
820
|
+
schedulingPriority?: number;
|
|
821
|
+
|
|
752
822
|
parameters?: {
|
|
753
823
|
[key: string]: string;
|
|
754
824
|
};
|
|
@@ -813,6 +883,8 @@ export interface JobQueueDetail {
|
|
|
813
883
|
|
|
814
884
|
state: JQState | string | undefined;
|
|
815
885
|
|
|
886
|
+
schedulingPolicyArn?: string;
|
|
887
|
+
|
|
816
888
|
status?: JQStatus | string;
|
|
817
889
|
|
|
818
890
|
statusReason?: string;
|
|
@@ -951,6 +1023,10 @@ export interface JobDetail {
|
|
|
951
1023
|
|
|
952
1024
|
status: JobStatus | string | undefined;
|
|
953
1025
|
|
|
1026
|
+
shareIdentifier?: string;
|
|
1027
|
+
|
|
1028
|
+
schedulingPriority?: number;
|
|
1029
|
+
|
|
954
1030
|
attempts?: AttemptDetail[];
|
|
955
1031
|
|
|
956
1032
|
statusReason?: string;
|
|
@@ -1001,6 +1077,39 @@ export declare namespace DescribeJobsResponse {
|
|
|
1001
1077
|
|
|
1002
1078
|
const filterSensitiveLog: (obj: DescribeJobsResponse) => any;
|
|
1003
1079
|
}
|
|
1080
|
+
export interface DescribeSchedulingPoliciesRequest {
|
|
1081
|
+
|
|
1082
|
+
arns: string[] | undefined;
|
|
1083
|
+
}
|
|
1084
|
+
export declare namespace DescribeSchedulingPoliciesRequest {
|
|
1085
|
+
|
|
1086
|
+
const filterSensitiveLog: (obj: DescribeSchedulingPoliciesRequest) => any;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
export interface SchedulingPolicyDetail {
|
|
1090
|
+
|
|
1091
|
+
name: string | undefined;
|
|
1092
|
+
|
|
1093
|
+
arn: string | undefined;
|
|
1094
|
+
|
|
1095
|
+
fairsharePolicy?: FairsharePolicy;
|
|
1096
|
+
|
|
1097
|
+
tags?: {
|
|
1098
|
+
[key: string]: string;
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
export declare namespace SchedulingPolicyDetail {
|
|
1102
|
+
|
|
1103
|
+
const filterSensitiveLog: (obj: SchedulingPolicyDetail) => any;
|
|
1104
|
+
}
|
|
1105
|
+
export interface DescribeSchedulingPoliciesResponse {
|
|
1106
|
+
|
|
1107
|
+
schedulingPolicies?: SchedulingPolicyDetail[];
|
|
1108
|
+
}
|
|
1109
|
+
export declare namespace DescribeSchedulingPoliciesResponse {
|
|
1110
|
+
|
|
1111
|
+
const filterSensitiveLog: (obj: DescribeSchedulingPoliciesResponse) => any;
|
|
1112
|
+
}
|
|
1004
1113
|
|
|
1005
1114
|
export interface KeyValuesPair {
|
|
1006
1115
|
|
|
@@ -1098,6 +1207,35 @@ export declare namespace ListJobsResponse {
|
|
|
1098
1207
|
|
|
1099
1208
|
const filterSensitiveLog: (obj: ListJobsResponse) => any;
|
|
1100
1209
|
}
|
|
1210
|
+
export interface ListSchedulingPoliciesRequest {
|
|
1211
|
+
|
|
1212
|
+
maxResults?: number;
|
|
1213
|
+
|
|
1214
|
+
nextToken?: string;
|
|
1215
|
+
}
|
|
1216
|
+
export declare namespace ListSchedulingPoliciesRequest {
|
|
1217
|
+
|
|
1218
|
+
const filterSensitiveLog: (obj: ListSchedulingPoliciesRequest) => any;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
export interface SchedulingPolicyListingDetail {
|
|
1222
|
+
|
|
1223
|
+
arn: string | undefined;
|
|
1224
|
+
}
|
|
1225
|
+
export declare namespace SchedulingPolicyListingDetail {
|
|
1226
|
+
|
|
1227
|
+
const filterSensitiveLog: (obj: SchedulingPolicyListingDetail) => any;
|
|
1228
|
+
}
|
|
1229
|
+
export interface ListSchedulingPoliciesResponse {
|
|
1230
|
+
|
|
1231
|
+
schedulingPolicies?: SchedulingPolicyListingDetail[];
|
|
1232
|
+
|
|
1233
|
+
nextToken?: string;
|
|
1234
|
+
}
|
|
1235
|
+
export declare namespace ListSchedulingPoliciesResponse {
|
|
1236
|
+
|
|
1237
|
+
const filterSensitiveLog: (obj: ListSchedulingPoliciesResponse) => any;
|
|
1238
|
+
}
|
|
1101
1239
|
export interface ListTagsForResourceRequest {
|
|
1102
1240
|
|
|
1103
1241
|
resourceArn: string | undefined;
|
|
@@ -1131,6 +1269,8 @@ export interface RegisterJobDefinitionRequest {
|
|
|
1131
1269
|
[key: string]: string;
|
|
1132
1270
|
};
|
|
1133
1271
|
|
|
1272
|
+
schedulingPriority?: number;
|
|
1273
|
+
|
|
1134
1274
|
containerProperties?: ContainerProperties;
|
|
1135
1275
|
|
|
1136
1276
|
nodeProperties?: NodeProperties;
|
|
@@ -1211,6 +1351,10 @@ export interface SubmitJobRequest {
|
|
|
1211
1351
|
|
|
1212
1352
|
jobQueue: string | undefined;
|
|
1213
1353
|
|
|
1354
|
+
shareIdentifier?: string;
|
|
1355
|
+
|
|
1356
|
+
schedulingPriorityOverride?: number;
|
|
1357
|
+
|
|
1214
1358
|
arrayProperties?: ArrayProperties;
|
|
1215
1359
|
|
|
1216
1360
|
dependsOn?: JobDependency[];
|
|
@@ -1326,6 +1470,8 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
1326
1470
|
|
|
1327
1471
|
state?: CEState | string;
|
|
1328
1472
|
|
|
1473
|
+
unmanagedvCpus?: number;
|
|
1474
|
+
|
|
1329
1475
|
computeResources?: ComputeResourceUpdate;
|
|
1330
1476
|
|
|
1331
1477
|
serviceRole?: string;
|
|
@@ -1351,6 +1497,8 @@ export interface UpdateJobQueueRequest {
|
|
|
1351
1497
|
|
|
1352
1498
|
state?: JQState | string;
|
|
1353
1499
|
|
|
1500
|
+
schedulingPolicyArn?: string;
|
|
1501
|
+
|
|
1354
1502
|
priority?: number;
|
|
1355
1503
|
|
|
1356
1504
|
computeEnvironmentOrder?: ComputeEnvironmentOrder[];
|
|
@@ -1369,3 +1517,19 @@ export declare namespace UpdateJobQueueResponse {
|
|
|
1369
1517
|
|
|
1370
1518
|
const filterSensitiveLog: (obj: UpdateJobQueueResponse) => any;
|
|
1371
1519
|
}
|
|
1520
|
+
export interface UpdateSchedulingPolicyRequest {
|
|
1521
|
+
|
|
1522
|
+
arn: string | undefined;
|
|
1523
|
+
|
|
1524
|
+
fairsharePolicy?: FairsharePolicy;
|
|
1525
|
+
}
|
|
1526
|
+
export declare namespace UpdateSchedulingPolicyRequest {
|
|
1527
|
+
|
|
1528
|
+
const filterSensitiveLog: (obj: UpdateSchedulingPolicyRequest) => any;
|
|
1529
|
+
}
|
|
1530
|
+
export interface UpdateSchedulingPolicyResponse {
|
|
1531
|
+
}
|
|
1532
|
+
export declare namespace UpdateSchedulingPolicyResponse {
|
|
1533
|
+
|
|
1534
|
+
const filterSensitiveLog: (obj: UpdateSchedulingPolicyResponse) => any;
|
|
1535
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "../commands/ListSchedulingPoliciesCommand";
|
|
3
|
+
import { BatchPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListSchedulingPolicies(config: BatchPaginationConfiguration, input: ListSchedulingPoliciesCommandInput, ...additionalArguments: any): Paginator<ListSchedulingPoliciesCommandOutput>;
|