@aws-sdk/client-batch 3.750.0 → 3.757.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 +48 -0
- package/dist-cjs/index.js +318 -0
- package/dist-es/Batch.js +12 -0
- package/dist-es/commands/CreateConsumableResourceCommand.js +22 -0
- package/dist-es/commands/DeleteConsumableResourceCommand.js +22 -0
- package/dist-es/commands/DescribeConsumableResourceCommand.js +22 -0
- package/dist-es/commands/ListConsumableResourcesCommand.js +22 -0
- package/dist-es/commands/ListJobsByConsumableResourceCommand.js +22 -0
- package/dist-es/commands/UpdateConsumableResourceCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/pagination/ListConsumableResourcesPaginator.js +4 -0
- package/dist-es/pagination/ListJobsByConsumableResourcePaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +186 -0
- package/dist-types/Batch.d.ts +43 -0
- package/dist-types/BatchClient.d.ts +8 -2
- package/dist-types/commands/CreateConsumableResourceCommand.d.ts +85 -0
- package/dist-types/commands/DeleteConsumableResourceCommand.d.ts +77 -0
- package/dist-types/commands/DescribeConsumableResourceCommand.d.ts +88 -0
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListConsumableResourcesCommand.d.ts +97 -0
- package/dist-types/commands/ListJobsByConsumableResourceCommand.d.ts +111 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
- package/dist-types/commands/UpdateConsumableResourceCommand.d.ts +84 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +550 -1
- package/dist-types/pagination/ListConsumableResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListJobsByConsumableResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/Batch.d.ts +103 -0
- package/dist-types/ts3.4/BatchClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateConsumableResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConsumableResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeConsumableResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConsumableResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListJobsByConsumableResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConsumableResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +94 -0
- package/dist-types/ts3.4/pagination/ListConsumableResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListJobsByConsumableResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +4 -2
package/dist-types/Batch.d.ts
CHANGED
|
@@ -2,18 +2,23 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { BatchClient } from "./BatchClient";
|
|
3
3
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
4
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
5
|
+
import { CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput } from "./commands/CreateConsumableResourceCommand";
|
|
5
6
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
6
7
|
import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
|
|
7
8
|
import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
|
|
9
|
+
import { DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput } from "./commands/DeleteConsumableResourceCommand";
|
|
8
10
|
import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
|
|
9
11
|
import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
|
|
10
12
|
import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
|
|
11
13
|
import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
|
|
14
|
+
import { DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput } from "./commands/DescribeConsumableResourceCommand";
|
|
12
15
|
import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
|
|
13
16
|
import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
|
|
14
17
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
15
18
|
import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
|
|
16
19
|
import { GetJobQueueSnapshotCommandInput, GetJobQueueSnapshotCommandOutput } from "./commands/GetJobQueueSnapshotCommand";
|
|
20
|
+
import { ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput } from "./commands/ListConsumableResourcesCommand";
|
|
21
|
+
import { ListJobsByConsumableResourceCommandInput, ListJobsByConsumableResourceCommandOutput } from "./commands/ListJobsByConsumableResourceCommand";
|
|
17
22
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
18
23
|
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
|
|
19
24
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -23,6 +28,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
23
28
|
import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/TerminateJobCommand";
|
|
24
29
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
30
|
import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
|
|
31
|
+
import { UpdateConsumableResourceCommandInput, UpdateConsumableResourceCommandOutput } from "./commands/UpdateConsumableResourceCommand";
|
|
26
32
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
27
33
|
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
28
34
|
export interface Batch {
|
|
@@ -38,6 +44,12 @@ export interface Batch {
|
|
|
38
44
|
createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateComputeEnvironmentCommandOutput>;
|
|
39
45
|
createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
|
|
40
46
|
createComputeEnvironment(args: CreateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComputeEnvironmentCommandOutput) => void): void;
|
|
47
|
+
/**
|
|
48
|
+
* @see {@link CreateConsumableResourceCommand}
|
|
49
|
+
*/
|
|
50
|
+
createConsumableResource(args: CreateConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateConsumableResourceCommandOutput>;
|
|
51
|
+
createConsumableResource(args: CreateConsumableResourceCommandInput, cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void): void;
|
|
52
|
+
createConsumableResource(args: CreateConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConsumableResourceCommandOutput) => void): void;
|
|
41
53
|
/**
|
|
42
54
|
* @see {@link CreateJobQueueCommand}
|
|
43
55
|
*/
|
|
@@ -56,6 +68,12 @@ export interface Batch {
|
|
|
56
68
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComputeEnvironmentCommandOutput>;
|
|
57
69
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
58
70
|
deleteComputeEnvironment(args: DeleteComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComputeEnvironmentCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link DeleteConsumableResourceCommand}
|
|
73
|
+
*/
|
|
74
|
+
deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConsumableResourceCommandOutput>;
|
|
75
|
+
deleteConsumableResource(args: DeleteConsumableResourceCommandInput, cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void): void;
|
|
76
|
+
deleteConsumableResource(args: DeleteConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConsumableResourceCommandOutput) => void): void;
|
|
59
77
|
/**
|
|
60
78
|
* @see {@link DeleteJobQueueCommand}
|
|
61
79
|
*/
|
|
@@ -81,6 +99,12 @@ export interface Batch {
|
|
|
81
99
|
describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComputeEnvironmentsCommandOutput>;
|
|
82
100
|
describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
|
|
83
101
|
describeComputeEnvironments(args: DescribeComputeEnvironmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComputeEnvironmentsCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link DescribeConsumableResourceCommand}
|
|
104
|
+
*/
|
|
105
|
+
describeConsumableResource(args: DescribeConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConsumableResourceCommandOutput>;
|
|
106
|
+
describeConsumableResource(args: DescribeConsumableResourceCommandInput, cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void): void;
|
|
107
|
+
describeConsumableResource(args: DescribeConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConsumableResourceCommandOutput) => void): void;
|
|
84
108
|
/**
|
|
85
109
|
* @see {@link DescribeJobDefinitionsCommand}
|
|
86
110
|
*/
|
|
@@ -113,6 +137,13 @@ export interface Batch {
|
|
|
113
137
|
getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<GetJobQueueSnapshotCommandOutput>;
|
|
114
138
|
getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void): void;
|
|
115
139
|
getJobQueueSnapshot(args: GetJobQueueSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobQueueSnapshotCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListConsumableResourcesCommand}
|
|
142
|
+
*/
|
|
143
|
+
listConsumableResources(): Promise<ListConsumableResourcesCommandOutput>;
|
|
144
|
+
listConsumableResources(args: ListConsumableResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListConsumableResourcesCommandOutput>;
|
|
145
|
+
listConsumableResources(args: ListConsumableResourcesCommandInput, cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void): void;
|
|
146
|
+
listConsumableResources(args: ListConsumableResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConsumableResourcesCommandOutput) => void): void;
|
|
116
147
|
/**
|
|
117
148
|
* @see {@link ListJobsCommand}
|
|
118
149
|
*/
|
|
@@ -120,6 +151,12 @@ export interface Batch {
|
|
|
120
151
|
listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
|
|
121
152
|
listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
122
153
|
listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
154
|
+
/**
|
|
155
|
+
* @see {@link ListJobsByConsumableResourceCommand}
|
|
156
|
+
*/
|
|
157
|
+
listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsByConsumableResourceCommandOutput>;
|
|
158
|
+
listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void): void;
|
|
159
|
+
listJobsByConsumableResource(args: ListJobsByConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsByConsumableResourceCommandOutput) => void): void;
|
|
123
160
|
/**
|
|
124
161
|
* @see {@link ListSchedulingPoliciesCommand}
|
|
125
162
|
*/
|
|
@@ -169,6 +206,12 @@ export interface Batch {
|
|
|
169
206
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComputeEnvironmentCommandOutput>;
|
|
170
207
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
|
|
171
208
|
updateComputeEnvironment(args: UpdateComputeEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComputeEnvironmentCommandOutput) => void): void;
|
|
209
|
+
/**
|
|
210
|
+
* @see {@link UpdateConsumableResourceCommand}
|
|
211
|
+
*/
|
|
212
|
+
updateConsumableResource(args: UpdateConsumableResourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConsumableResourceCommandOutput>;
|
|
213
|
+
updateConsumableResource(args: UpdateConsumableResourceCommandInput, cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void): void;
|
|
214
|
+
updateConsumableResource(args: UpdateConsumableResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConsumableResourceCommandOutput) => void): void;
|
|
172
215
|
/**
|
|
173
216
|
* @see {@link UpdateJobQueueCommand}
|
|
174
217
|
*/
|
|
@@ -9,18 +9,23 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalc
|
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
11
11
|
import { CreateComputeEnvironmentCommandInput, CreateComputeEnvironmentCommandOutput } from "./commands/CreateComputeEnvironmentCommand";
|
|
12
|
+
import { CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput } from "./commands/CreateConsumableResourceCommand";
|
|
12
13
|
import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand";
|
|
13
14
|
import { CreateSchedulingPolicyCommandInput, CreateSchedulingPolicyCommandOutput } from "./commands/CreateSchedulingPolicyCommand";
|
|
14
15
|
import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput } from "./commands/DeleteComputeEnvironmentCommand";
|
|
16
|
+
import { DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput } from "./commands/DeleteConsumableResourceCommand";
|
|
15
17
|
import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand";
|
|
16
18
|
import { DeleteSchedulingPolicyCommandInput, DeleteSchedulingPolicyCommandOutput } from "./commands/DeleteSchedulingPolicyCommand";
|
|
17
19
|
import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput } from "./commands/DeregisterJobDefinitionCommand";
|
|
18
20
|
import { DescribeComputeEnvironmentsCommandInput, DescribeComputeEnvironmentsCommandOutput } from "./commands/DescribeComputeEnvironmentsCommand";
|
|
21
|
+
import { DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput } from "./commands/DescribeConsumableResourceCommand";
|
|
19
22
|
import { DescribeJobDefinitionsCommandInput, DescribeJobDefinitionsCommandOutput } from "./commands/DescribeJobDefinitionsCommand";
|
|
20
23
|
import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand";
|
|
21
24
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
22
25
|
import { DescribeSchedulingPoliciesCommandInput, DescribeSchedulingPoliciesCommandOutput } from "./commands/DescribeSchedulingPoliciesCommand";
|
|
23
26
|
import { GetJobQueueSnapshotCommandInput, GetJobQueueSnapshotCommandOutput } from "./commands/GetJobQueueSnapshotCommand";
|
|
27
|
+
import { ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput } from "./commands/ListConsumableResourcesCommand";
|
|
28
|
+
import { ListJobsByConsumableResourceCommandInput, ListJobsByConsumableResourceCommandOutput } from "./commands/ListJobsByConsumableResourceCommand";
|
|
24
29
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
25
30
|
import { ListSchedulingPoliciesCommandInput, ListSchedulingPoliciesCommandOutput } from "./commands/ListSchedulingPoliciesCommand";
|
|
26
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -30,6 +35,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
30
35
|
import { TerminateJobCommandInput, TerminateJobCommandOutput } from "./commands/TerminateJobCommand";
|
|
31
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
37
|
import { UpdateComputeEnvironmentCommandInput, UpdateComputeEnvironmentCommandOutput } from "./commands/UpdateComputeEnvironmentCommand";
|
|
38
|
+
import { UpdateConsumableResourceCommandInput, UpdateConsumableResourceCommandOutput } from "./commands/UpdateConsumableResourceCommand";
|
|
33
39
|
import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand";
|
|
34
40
|
import { UpdateSchedulingPolicyCommandInput, UpdateSchedulingPolicyCommandOutput } from "./commands/UpdateSchedulingPolicyCommand";
|
|
35
41
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -38,11 +44,11 @@ export { __Client };
|
|
|
38
44
|
/**
|
|
39
45
|
* @public
|
|
40
46
|
*/
|
|
41
|
-
export type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | GetJobQueueSnapshotCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
|
|
47
|
+
export type ServiceInputTypes = CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateConsumableResourceCommandInput | CreateJobQueueCommandInput | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteConsumableResourceCommandInput | DeleteJobQueueCommandInput | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeConsumableResourceCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput | DescribeSchedulingPoliciesCommandInput | GetJobQueueSnapshotCommandInput | ListConsumableResourcesCommandInput | ListJobsByConsumableResourceCommandInput | ListJobsCommandInput | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput | TagResourceCommandInput | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput | UpdateConsumableResourceCommandInput | UpdateJobQueueCommandInput | UpdateSchedulingPolicyCommandInput;
|
|
42
48
|
/**
|
|
43
49
|
* @public
|
|
44
50
|
*/
|
|
45
|
-
export type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | GetJobQueueSnapshotCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
|
|
51
|
+
export type ServiceOutputTypes = CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateConsumableResourceCommandOutput | CreateJobQueueCommandOutput | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteConsumableResourceCommandOutput | DeleteJobQueueCommandOutput | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeConsumableResourceCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput | DescribeSchedulingPoliciesCommandOutput | GetJobQueueSnapshotCommandOutput | ListConsumableResourcesCommandOutput | ListJobsByConsumableResourceCommandOutput | ListJobsCommandOutput | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput | TagResourceCommandOutput | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput | UpdateConsumableResourceCommandOutput | UpdateJobQueueCommandOutput | UpdateSchedulingPolicyCommandOutput;
|
|
46
52
|
/**
|
|
47
53
|
* @public
|
|
48
54
|
*/
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { CreateConsumableResourceRequest, CreateConsumableResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateConsumableResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateConsumableResourceCommandInput extends CreateConsumableResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateConsumableResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateConsumableResourceCommandOutput extends CreateConsumableResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateConsumableResourceCommand_base: {
|
|
25
|
+
new (input: CreateConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateConsumableResourceCommandInput, CreateConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an Batch consumable resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BatchClient, CreateConsumableResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
35
|
+
* // const { BatchClient, CreateConsumableResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
36
|
+
* const client = new BatchClient(config);
|
|
37
|
+
* const input = { // CreateConsumableResourceRequest
|
|
38
|
+
* consumableResourceName: "STRING_VALUE", // required
|
|
39
|
+
* totalQuantity: Number("long"),
|
|
40
|
+
* resourceType: "STRING_VALUE",
|
|
41
|
+
* tags: { // TagrisTagsMap
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateConsumableResourceCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateConsumableResourceResponse
|
|
48
|
+
* // consumableResourceName: "STRING_VALUE", // required
|
|
49
|
+
* // consumableResourceArn: "STRING_VALUE", // required
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param CreateConsumableResourceCommandInput - {@link CreateConsumableResourceCommandInput}
|
|
55
|
+
* @returns {@link CreateConsumableResourceCommandOutput}
|
|
56
|
+
* @see {@link CreateConsumableResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link CreateConsumableResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ClientException} (client fault)
|
|
61
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
62
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
63
|
+
* that's not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServerException} (server fault)
|
|
66
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link BatchServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from Batch service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class CreateConsumableResourceCommand extends CreateConsumableResourceCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: CreateConsumableResourceRequest;
|
|
78
|
+
output: CreateConsumableResourceResponse;
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: CreateConsumableResourceCommandInput;
|
|
82
|
+
output: CreateConsumableResourceCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { DeleteConsumableResourceRequest, DeleteConsumableResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteConsumableResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteConsumableResourceCommandInput extends DeleteConsumableResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteConsumableResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteConsumableResourceCommandOutput extends DeleteConsumableResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteConsumableResourceCommand_base: {
|
|
25
|
+
new (input: DeleteConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteConsumableResourceCommandInput, DeleteConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified consumable resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BatchClient, DeleteConsumableResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
35
|
+
* // const { BatchClient, DeleteConsumableResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
36
|
+
* const client = new BatchClient(config);
|
|
37
|
+
* const input = { // DeleteConsumableResourceRequest
|
|
38
|
+
* consumableResource: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteConsumableResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteConsumableResourceCommandInput - {@link DeleteConsumableResourceCommandInput}
|
|
47
|
+
* @returns {@link DeleteConsumableResourceCommandOutput}
|
|
48
|
+
* @see {@link DeleteConsumableResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteConsumableResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ClientException} (client fault)
|
|
53
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
54
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
55
|
+
* that's not valid.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServerException} (server fault)
|
|
58
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link BatchServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from Batch service.</p>
|
|
62
|
+
*
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export declare class DeleteConsumableResourceCommand extends DeleteConsumableResourceCommand_base {
|
|
66
|
+
/** @internal type navigation helper, not in runtime. */
|
|
67
|
+
protected static __types: {
|
|
68
|
+
api: {
|
|
69
|
+
input: DeleteConsumableResourceRequest;
|
|
70
|
+
output: {};
|
|
71
|
+
};
|
|
72
|
+
sdk: {
|
|
73
|
+
input: DeleteConsumableResourceCommandInput;
|
|
74
|
+
output: DeleteConsumableResourceCommandOutput;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { DescribeConsumableResourceRequest, DescribeConsumableResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeConsumableResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeConsumableResourceCommandInput extends DescribeConsumableResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeConsumableResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeConsumableResourceCommandOutput extends DescribeConsumableResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeConsumableResourceCommand_base: {
|
|
25
|
+
new (input: DescribeConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeConsumableResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeConsumableResourceCommandInput, DescribeConsumableResourceCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a description of the specified consumable resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BatchClient, DescribeConsumableResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
35
|
+
* // const { BatchClient, DescribeConsumableResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
36
|
+
* const client = new BatchClient(config);
|
|
37
|
+
* const input = { // DescribeConsumableResourceRequest
|
|
38
|
+
* consumableResource: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeConsumableResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeConsumableResourceResponse
|
|
43
|
+
* // consumableResourceName: "STRING_VALUE", // required
|
|
44
|
+
* // consumableResourceArn: "STRING_VALUE", // required
|
|
45
|
+
* // totalQuantity: Number("long"),
|
|
46
|
+
* // inUseQuantity: Number("long"),
|
|
47
|
+
* // availableQuantity: Number("long"),
|
|
48
|
+
* // resourceType: "STRING_VALUE",
|
|
49
|
+
* // createdAt: Number("long"),
|
|
50
|
+
* // tags: { // TagrisTagsMap
|
|
51
|
+
* // "<keys>": "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeConsumableResourceCommandInput - {@link DescribeConsumableResourceCommandInput}
|
|
58
|
+
* @returns {@link DescribeConsumableResourceCommandOutput}
|
|
59
|
+
* @see {@link DescribeConsumableResourceCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeConsumableResourceCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ClientException} (client fault)
|
|
64
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
65
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
66
|
+
* that's not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServerException} (server fault)
|
|
69
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BatchServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Batch service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class DescribeConsumableResourceCommand extends DescribeConsumableResourceCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: DescribeConsumableResourceRequest;
|
|
81
|
+
output: DescribeConsumableResourceResponse;
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: DescribeConsumableResourceCommandInput;
|
|
85
|
+
output: DescribeConsumableResourceCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -459,6 +459,14 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
459
459
|
* // shareProcessNamespace: true || false,
|
|
460
460
|
* // },
|
|
461
461
|
* // },
|
|
462
|
+
* // consumableResourceProperties: { // ConsumableResourceProperties
|
|
463
|
+
* // consumableResourceList: [ // ConsumableResourceList
|
|
464
|
+
* // { // ConsumableResourceRequirement
|
|
465
|
+
* // consumableResource: "STRING_VALUE",
|
|
466
|
+
* // quantity: Number("long"),
|
|
467
|
+
* // },
|
|
468
|
+
* // ],
|
|
469
|
+
* // },
|
|
462
470
|
* // },
|
|
463
471
|
* // ],
|
|
464
472
|
* // },
|
|
@@ -630,6 +638,14 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
630
638
|
* // },
|
|
631
639
|
* // },
|
|
632
640
|
* // containerOrchestrationType: "ECS" || "EKS",
|
|
641
|
+
* // consumableResourceProperties: {
|
|
642
|
+
* // consumableResourceList: [
|
|
643
|
+
* // {
|
|
644
|
+
* // consumableResource: "STRING_VALUE",
|
|
645
|
+
* // quantity: Number("long"),
|
|
646
|
+
* // },
|
|
647
|
+
* // ],
|
|
648
|
+
* // },
|
|
633
649
|
* // },
|
|
634
650
|
* // ],
|
|
635
651
|
* // nextToken: "STRING_VALUE",
|
|
@@ -515,6 +515,14 @@ declare const DescribeJobsCommand_base: {
|
|
|
515
515
|
* // shareProcessNamespace: true || false,
|
|
516
516
|
* // },
|
|
517
517
|
* // },
|
|
518
|
+
* // consumableResourceProperties: { // ConsumableResourceProperties
|
|
519
|
+
* // consumableResourceList: [ // ConsumableResourceList
|
|
520
|
+
* // { // ConsumableResourceRequirement
|
|
521
|
+
* // consumableResource: "STRING_VALUE",
|
|
522
|
+
* // quantity: Number("long"),
|
|
523
|
+
* // },
|
|
524
|
+
* // ],
|
|
525
|
+
* // },
|
|
518
526
|
* // },
|
|
519
527
|
* // ],
|
|
520
528
|
* // },
|
|
@@ -736,6 +744,14 @@ declare const DescribeJobsCommand_base: {
|
|
|
736
744
|
* // },
|
|
737
745
|
* // isCancelled: true || false,
|
|
738
746
|
* // isTerminated: true || false,
|
|
747
|
+
* // consumableResourceProperties: {
|
|
748
|
+
* // consumableResourceList: [
|
|
749
|
+
* // {
|
|
750
|
+
* // consumableResource: "STRING_VALUE",
|
|
751
|
+
* // quantity: Number("long"),
|
|
752
|
+
* // },
|
|
753
|
+
* // ],
|
|
754
|
+
* // },
|
|
739
755
|
* // },
|
|
740
756
|
* // ],
|
|
741
757
|
* // };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient";
|
|
4
|
+
import { ListConsumableResourcesRequest, ListConsumableResourcesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConsumableResourcesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConsumableResourcesCommandInput extends ListConsumableResourcesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConsumableResourcesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConsumableResourcesCommandOutput extends ListConsumableResourcesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConsumableResourcesCommand_base: {
|
|
25
|
+
new (input: ListConsumableResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConsumableResourcesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConsumableResourcesCommandInput, ListConsumableResourcesCommandOutput, BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of Batch consumable resources.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BatchClient, ListConsumableResourcesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
35
|
+
* // const { BatchClient, ListConsumableResourcesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
36
|
+
* const client = new BatchClient(config);
|
|
37
|
+
* const input = { // ListConsumableResourcesRequest
|
|
38
|
+
* filters: [ // ListConsumableResourcesFilterList
|
|
39
|
+
* { // KeyValuesPair
|
|
40
|
+
* name: "STRING_VALUE",
|
|
41
|
+
* values: [ // StringList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListConsumableResourcesCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListConsumableResourcesResponse
|
|
52
|
+
* // consumableResources: [ // ConsumableResourceSummaryList // required
|
|
53
|
+
* // { // ConsumableResourceSummary
|
|
54
|
+
* // consumableResourceArn: "STRING_VALUE", // required
|
|
55
|
+
* // consumableResourceName: "STRING_VALUE", // required
|
|
56
|
+
* // totalQuantity: Number("long"),
|
|
57
|
+
* // inUseQuantity: Number("long"),
|
|
58
|
+
* // resourceType: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // nextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListConsumableResourcesCommandInput - {@link ListConsumableResourcesCommandInput}
|
|
67
|
+
* @returns {@link ListConsumableResourcesCommandOutput}
|
|
68
|
+
* @see {@link ListConsumableResourcesCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListConsumableResourcesCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ClientException} (client fault)
|
|
73
|
+
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
74
|
+
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
75
|
+
* that's not valid.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServerException} (server fault)
|
|
78
|
+
* <p>These errors are usually caused by a server issue.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BatchServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from Batch service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListConsumableResourcesCommand extends ListConsumableResourcesCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: ListConsumableResourcesRequest;
|
|
90
|
+
output: ListConsumableResourcesResponse;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: ListConsumableResourcesCommandInput;
|
|
94
|
+
output: ListConsumableResourcesCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|