@aws-sdk/client-batch 3.855.0 → 3.856.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 +64 -0
- package/dist-cjs/index.js +490 -3
- package/dist-es/Batch.js +16 -0
- package/dist-es/commands/CreateServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/DeleteServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/DescribeServiceEnvironmentsCommand.js +22 -0
- package/dist-es/commands/DescribeServiceJobCommand.js +22 -0
- package/dist-es/commands/ListServiceJobsCommand.js +22 -0
- package/dist-es/commands/SubmitServiceJobCommand.js +22 -0
- package/dist-es/commands/TerminateServiceJobCommand.js +22 -0
- package/dist-es/commands/UpdateServiceEnvironmentCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/DescribeServiceEnvironmentsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +257 -0
- package/dist-types/Batch.d.ts +58 -0
- package/dist-types/BatchClient.d.ts +10 -2
- package/dist-types/commands/CreateJobQueueCommand.d.ts +9 -2
- package/dist-types/commands/CreateServiceEnvironmentCommand.d.ts +92 -0
- package/dist-types/commands/DeleteServiceEnvironmentCommand.d.ts +78 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +8 -1
- package/dist-types/commands/DescribeServiceEnvironmentsCommand.d.ts +102 -0
- package/dist-types/commands/DescribeServiceJobCommand.d.ts +125 -0
- package/dist-types/commands/ListServiceJobsCommand.d.ts +111 -0
- package/dist-types/commands/SubmitServiceJobCommand.d.ts +103 -0
- package/dist-types/commands/TerminateServiceJobCommand.d.ts +79 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +7 -1
- package/dist-types/commands/UpdateServiceEnvironmentCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +843 -75
- package/dist-types/pagination/DescribeServiceEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/Batch.d.ts +138 -0
- package/dist-types/ts3.4/BatchClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeServiceEnvironmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeServiceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceJobsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SubmitServiceJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/TerminateServiceJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateServiceEnvironmentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +207 -1
- package/dist-types/ts3.4/pagination/DescribeServiceEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceJobsPaginator.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 +96 -0
- package/package.json +5 -5
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteServiceEnvironmentRequest,
|
|
10
|
+
DeleteServiceEnvironmentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteServiceEnvironmentCommandInput
|
|
15
|
+
extends DeleteServiceEnvironmentRequest {}
|
|
16
|
+
export interface DeleteServiceEnvironmentCommandOutput
|
|
17
|
+
extends DeleteServiceEnvironmentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteServiceEnvironmentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteServiceEnvironmentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteServiceEnvironmentCommandInput,
|
|
24
|
+
DeleteServiceEnvironmentCommandOutput,
|
|
25
|
+
BatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteServiceEnvironmentCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteServiceEnvironmentCommandInput,
|
|
33
|
+
DeleteServiceEnvironmentCommandOutput,
|
|
34
|
+
BatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteServiceEnvironmentCommand extends DeleteServiceEnvironmentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteServiceEnvironmentRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteServiceEnvironmentCommandInput;
|
|
48
|
+
output: DeleteServiceEnvironmentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeServiceEnvironmentsRequest,
|
|
10
|
+
DescribeServiceEnvironmentsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeServiceEnvironmentsCommandInput
|
|
15
|
+
extends DescribeServiceEnvironmentsRequest {}
|
|
16
|
+
export interface DescribeServiceEnvironmentsCommandOutput
|
|
17
|
+
extends DescribeServiceEnvironmentsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeServiceEnvironmentsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeServiceEnvironmentsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeServiceEnvironmentsCommandInput,
|
|
24
|
+
DescribeServiceEnvironmentsCommandOutput,
|
|
25
|
+
BatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [DescribeServiceEnvironmentsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeServiceEnvironmentsCommandInput,
|
|
33
|
+
DescribeServiceEnvironmentsCommandOutput,
|
|
34
|
+
BatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeServiceEnvironmentsCommand extends DescribeServiceEnvironmentsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeServiceEnvironmentsRequest;
|
|
44
|
+
output: DescribeServiceEnvironmentsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeServiceEnvironmentsCommandInput;
|
|
48
|
+
output: DescribeServiceEnvironmentsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeServiceJobRequest,
|
|
10
|
+
DescribeServiceJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeServiceJobCommandInput
|
|
15
|
+
extends DescribeServiceJobRequest {}
|
|
16
|
+
export interface DescribeServiceJobCommandOutput
|
|
17
|
+
extends DescribeServiceJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeServiceJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeServiceJobCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeServiceJobCommandInput,
|
|
24
|
+
DescribeServiceJobCommandOutput,
|
|
25
|
+
BatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DescribeServiceJobCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeServiceJobCommandInput,
|
|
33
|
+
DescribeServiceJobCommandOutput,
|
|
34
|
+
BatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeServiceJobCommand extends DescribeServiceJobCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DescribeServiceJobRequest;
|
|
44
|
+
output: DescribeServiceJobResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DescribeServiceJobCommandInput;
|
|
48
|
+
output: DescribeServiceJobCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
ListServiceJobsRequest,
|
|
10
|
+
ListServiceJobsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListServiceJobsCommandInput extends ListServiceJobsRequest {}
|
|
15
|
+
export interface ListServiceJobsCommandOutput
|
|
16
|
+
extends ListServiceJobsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListServiceJobsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListServiceJobsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListServiceJobsCommandInput,
|
|
23
|
+
ListServiceJobsCommandOutput,
|
|
24
|
+
BatchClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListServiceJobsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListServiceJobsCommandInput,
|
|
32
|
+
ListServiceJobsCommandOutput,
|
|
33
|
+
BatchClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListServiceJobsCommand extends ListServiceJobsCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListServiceJobsRequest;
|
|
43
|
+
output: ListServiceJobsResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListServiceJobsCommandInput;
|
|
47
|
+
output: ListServiceJobsCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
SubmitServiceJobRequest,
|
|
10
|
+
SubmitServiceJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface SubmitServiceJobCommandInput extends SubmitServiceJobRequest {}
|
|
15
|
+
export interface SubmitServiceJobCommandOutput
|
|
16
|
+
extends SubmitServiceJobResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const SubmitServiceJobCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: SubmitServiceJobCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
SubmitServiceJobCommandInput,
|
|
23
|
+
SubmitServiceJobCommandOutput,
|
|
24
|
+
BatchClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: SubmitServiceJobCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
SubmitServiceJobCommandInput,
|
|
32
|
+
SubmitServiceJobCommandOutput,
|
|
33
|
+
BatchClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class SubmitServiceJobCommand extends SubmitServiceJobCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: SubmitServiceJobRequest;
|
|
43
|
+
output: SubmitServiceJobResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: SubmitServiceJobCommandInput;
|
|
47
|
+
output: SubmitServiceJobCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
TerminateServiceJobRequest,
|
|
10
|
+
TerminateServiceJobResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface TerminateServiceJobCommandInput
|
|
15
|
+
extends TerminateServiceJobRequest {}
|
|
16
|
+
export interface TerminateServiceJobCommandOutput
|
|
17
|
+
extends TerminateServiceJobResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const TerminateServiceJobCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: TerminateServiceJobCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
TerminateServiceJobCommandInput,
|
|
24
|
+
TerminateServiceJobCommandOutput,
|
|
25
|
+
BatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: TerminateServiceJobCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
TerminateServiceJobCommandInput,
|
|
33
|
+
TerminateServiceJobCommandOutput,
|
|
34
|
+
BatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class TerminateServiceJobCommand extends TerminateServiceJobCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: TerminateServiceJobRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: TerminateServiceJobCommandInput;
|
|
48
|
+
output: TerminateServiceJobCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BatchClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateServiceEnvironmentRequest,
|
|
10
|
+
UpdateServiceEnvironmentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateServiceEnvironmentCommandInput
|
|
15
|
+
extends UpdateServiceEnvironmentRequest {}
|
|
16
|
+
export interface UpdateServiceEnvironmentCommandOutput
|
|
17
|
+
extends UpdateServiceEnvironmentResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateServiceEnvironmentCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateServiceEnvironmentCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateServiceEnvironmentCommandInput,
|
|
24
|
+
UpdateServiceEnvironmentCommandOutput,
|
|
25
|
+
BatchClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateServiceEnvironmentCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateServiceEnvironmentCommandInput,
|
|
33
|
+
UpdateServiceEnvironmentCommandOutput,
|
|
34
|
+
BatchClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateServiceEnvironmentCommand extends UpdateServiceEnvironmentCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateServiceEnvironmentRequest;
|
|
44
|
+
output: UpdateServiceEnvironmentResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateServiceEnvironmentCommandInput;
|
|
48
|
+
output: UpdateServiceEnvironmentCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -3,10 +3,12 @@ export * from "./CreateComputeEnvironmentCommand";
|
|
|
3
3
|
export * from "./CreateConsumableResourceCommand";
|
|
4
4
|
export * from "./CreateJobQueueCommand";
|
|
5
5
|
export * from "./CreateSchedulingPolicyCommand";
|
|
6
|
+
export * from "./CreateServiceEnvironmentCommand";
|
|
6
7
|
export * from "./DeleteComputeEnvironmentCommand";
|
|
7
8
|
export * from "./DeleteConsumableResourceCommand";
|
|
8
9
|
export * from "./DeleteJobQueueCommand";
|
|
9
10
|
export * from "./DeleteSchedulingPolicyCommand";
|
|
11
|
+
export * from "./DeleteServiceEnvironmentCommand";
|
|
10
12
|
export * from "./DeregisterJobDefinitionCommand";
|
|
11
13
|
export * from "./DescribeComputeEnvironmentsCommand";
|
|
12
14
|
export * from "./DescribeConsumableResourceCommand";
|
|
@@ -14,18 +16,24 @@ export * from "./DescribeJobDefinitionsCommand";
|
|
|
14
16
|
export * from "./DescribeJobQueuesCommand";
|
|
15
17
|
export * from "./DescribeJobsCommand";
|
|
16
18
|
export * from "./DescribeSchedulingPoliciesCommand";
|
|
19
|
+
export * from "./DescribeServiceEnvironmentsCommand";
|
|
20
|
+
export * from "./DescribeServiceJobCommand";
|
|
17
21
|
export * from "./GetJobQueueSnapshotCommand";
|
|
18
22
|
export * from "./ListConsumableResourcesCommand";
|
|
19
23
|
export * from "./ListJobsByConsumableResourceCommand";
|
|
20
24
|
export * from "./ListJobsCommand";
|
|
21
25
|
export * from "./ListSchedulingPoliciesCommand";
|
|
26
|
+
export * from "./ListServiceJobsCommand";
|
|
22
27
|
export * from "./ListTagsForResourceCommand";
|
|
23
28
|
export * from "./RegisterJobDefinitionCommand";
|
|
24
29
|
export * from "./SubmitJobCommand";
|
|
30
|
+
export * from "./SubmitServiceJobCommand";
|
|
25
31
|
export * from "./TagResourceCommand";
|
|
26
32
|
export * from "./TerminateJobCommand";
|
|
33
|
+
export * from "./TerminateServiceJobCommand";
|
|
27
34
|
export * from "./UntagResourceCommand";
|
|
28
35
|
export * from "./UpdateComputeEnvironmentCommand";
|
|
29
36
|
export * from "./UpdateConsumableResourceCommand";
|
|
30
37
|
export * from "./UpdateJobQueueCommand";
|
|
31
38
|
export * from "./UpdateSchedulingPolicyCommand";
|
|
39
|
+
export * from "./UpdateServiceEnvironmentCommand";
|
|
@@ -172,8 +172,16 @@ export interface ComputeEnvironmentOrder {
|
|
|
172
172
|
order: number | undefined;
|
|
173
173
|
computeEnvironment: string | undefined;
|
|
174
174
|
}
|
|
175
|
+
export declare const JobQueueType: {
|
|
176
|
+
readonly ECS: "ECS";
|
|
177
|
+
readonly ECS_FARGATE: "ECS_FARGATE";
|
|
178
|
+
readonly EKS: "EKS";
|
|
179
|
+
readonly SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING";
|
|
180
|
+
};
|
|
181
|
+
export type JobQueueType = (typeof JobQueueType)[keyof typeof JobQueueType];
|
|
175
182
|
export declare const JobStateTimeLimitActionsAction: {
|
|
176
183
|
readonly CANCEL: "CANCEL";
|
|
184
|
+
readonly TERMINATE: "TERMINATE";
|
|
177
185
|
};
|
|
178
186
|
export type JobStateTimeLimitActionsAction =
|
|
179
187
|
(typeof JobStateTimeLimitActionsAction)[keyof typeof JobStateTimeLimitActionsAction];
|
|
@@ -188,6 +196,10 @@ export interface JobStateTimeLimitAction {
|
|
|
188
196
|
maxTimeSeconds: number | undefined;
|
|
189
197
|
action: JobStateTimeLimitActionsAction | undefined;
|
|
190
198
|
}
|
|
199
|
+
export interface ServiceEnvironmentOrder {
|
|
200
|
+
order: number | undefined;
|
|
201
|
+
serviceEnvironment: string | undefined;
|
|
202
|
+
}
|
|
191
203
|
export declare const JQState: {
|
|
192
204
|
readonly DISABLED: "DISABLED";
|
|
193
205
|
readonly ENABLED: "ENABLED";
|
|
@@ -198,7 +210,9 @@ export interface CreateJobQueueRequest {
|
|
|
198
210
|
state?: JQState | undefined;
|
|
199
211
|
schedulingPolicyArn?: string | undefined;
|
|
200
212
|
priority: number | undefined;
|
|
201
|
-
computeEnvironmentOrder
|
|
213
|
+
computeEnvironmentOrder?: ComputeEnvironmentOrder[] | undefined;
|
|
214
|
+
serviceEnvironmentOrder?: ServiceEnvironmentOrder[] | undefined;
|
|
215
|
+
jobQueueType?: JobQueueType | undefined;
|
|
202
216
|
tags?: Record<string, string> | undefined;
|
|
203
217
|
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
204
218
|
}
|
|
@@ -224,6 +238,32 @@ export interface CreateSchedulingPolicyResponse {
|
|
|
224
238
|
name: string | undefined;
|
|
225
239
|
arn: string | undefined;
|
|
226
240
|
}
|
|
241
|
+
export interface CapacityLimit {
|
|
242
|
+
maxCapacity?: number | undefined;
|
|
243
|
+
capacityUnit?: string | undefined;
|
|
244
|
+
}
|
|
245
|
+
export declare const ServiceEnvironmentType: {
|
|
246
|
+
readonly SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING";
|
|
247
|
+
};
|
|
248
|
+
export type ServiceEnvironmentType =
|
|
249
|
+
(typeof ServiceEnvironmentType)[keyof typeof ServiceEnvironmentType];
|
|
250
|
+
export declare const ServiceEnvironmentState: {
|
|
251
|
+
readonly DISABLED: "DISABLED";
|
|
252
|
+
readonly ENABLED: "ENABLED";
|
|
253
|
+
};
|
|
254
|
+
export type ServiceEnvironmentState =
|
|
255
|
+
(typeof ServiceEnvironmentState)[keyof typeof ServiceEnvironmentState];
|
|
256
|
+
export interface CreateServiceEnvironmentRequest {
|
|
257
|
+
serviceEnvironmentName: string | undefined;
|
|
258
|
+
serviceEnvironmentType: ServiceEnvironmentType | undefined;
|
|
259
|
+
state?: ServiceEnvironmentState | undefined;
|
|
260
|
+
capacityLimits: CapacityLimit[] | undefined;
|
|
261
|
+
tags?: Record<string, string> | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface CreateServiceEnvironmentResponse {
|
|
264
|
+
serviceEnvironmentName: string | undefined;
|
|
265
|
+
serviceEnvironmentArn: string | undefined;
|
|
266
|
+
}
|
|
227
267
|
export interface DeleteComputeEnvironmentRequest {
|
|
228
268
|
computeEnvironment: string | undefined;
|
|
229
269
|
}
|
|
@@ -240,6 +280,10 @@ export interface DeleteSchedulingPolicyRequest {
|
|
|
240
280
|
arn: string | undefined;
|
|
241
281
|
}
|
|
242
282
|
export interface DeleteSchedulingPolicyResponse {}
|
|
283
|
+
export interface DeleteServiceEnvironmentRequest {
|
|
284
|
+
serviceEnvironment: string | undefined;
|
|
285
|
+
}
|
|
286
|
+
export interface DeleteServiceEnvironmentResponse {}
|
|
243
287
|
export interface DeregisterJobDefinitionRequest {
|
|
244
288
|
jobDefinition: string | undefined;
|
|
245
289
|
}
|
|
@@ -669,6 +713,8 @@ export interface JobQueueDetail {
|
|
|
669
713
|
statusReason?: string | undefined;
|
|
670
714
|
priority: number | undefined;
|
|
671
715
|
computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
|
|
716
|
+
serviceEnvironmentOrder?: ServiceEnvironmentOrder[] | undefined;
|
|
717
|
+
jobQueueType?: JobQueueType | undefined;
|
|
672
718
|
tags?: Record<string, string> | undefined;
|
|
673
719
|
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
674
720
|
}
|
|
@@ -863,6 +909,110 @@ export interface SchedulingPolicyDetail {
|
|
|
863
909
|
export interface DescribeSchedulingPoliciesResponse {
|
|
864
910
|
schedulingPolicies?: SchedulingPolicyDetail[] | undefined;
|
|
865
911
|
}
|
|
912
|
+
export interface DescribeServiceEnvironmentsRequest {
|
|
913
|
+
serviceEnvironments?: string[] | undefined;
|
|
914
|
+
maxResults?: number | undefined;
|
|
915
|
+
nextToken?: string | undefined;
|
|
916
|
+
}
|
|
917
|
+
export declare const ServiceEnvironmentStatus: {
|
|
918
|
+
readonly CREATING: "CREATING";
|
|
919
|
+
readonly DELETED: "DELETED";
|
|
920
|
+
readonly DELETING: "DELETING";
|
|
921
|
+
readonly INVALID: "INVALID";
|
|
922
|
+
readonly UPDATING: "UPDATING";
|
|
923
|
+
readonly VALID: "VALID";
|
|
924
|
+
};
|
|
925
|
+
export type ServiceEnvironmentStatus =
|
|
926
|
+
(typeof ServiceEnvironmentStatus)[keyof typeof ServiceEnvironmentStatus];
|
|
927
|
+
export interface ServiceEnvironmentDetail {
|
|
928
|
+
serviceEnvironmentName: string | undefined;
|
|
929
|
+
serviceEnvironmentArn: string | undefined;
|
|
930
|
+
serviceEnvironmentType: ServiceEnvironmentType | undefined;
|
|
931
|
+
state?: ServiceEnvironmentState | undefined;
|
|
932
|
+
status?: ServiceEnvironmentStatus | undefined;
|
|
933
|
+
capacityLimits: CapacityLimit[] | undefined;
|
|
934
|
+
tags?: Record<string, string> | undefined;
|
|
935
|
+
}
|
|
936
|
+
export interface DescribeServiceEnvironmentsResponse {
|
|
937
|
+
serviceEnvironments?: ServiceEnvironmentDetail[] | undefined;
|
|
938
|
+
nextToken?: string | undefined;
|
|
939
|
+
}
|
|
940
|
+
export interface DescribeServiceJobRequest {
|
|
941
|
+
jobId: string | undefined;
|
|
942
|
+
}
|
|
943
|
+
export declare const ServiceResourceIdName: {
|
|
944
|
+
readonly SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn";
|
|
945
|
+
};
|
|
946
|
+
export type ServiceResourceIdName =
|
|
947
|
+
(typeof ServiceResourceIdName)[keyof typeof ServiceResourceIdName];
|
|
948
|
+
export interface ServiceResourceId {
|
|
949
|
+
name: ServiceResourceIdName | undefined;
|
|
950
|
+
value: string | undefined;
|
|
951
|
+
}
|
|
952
|
+
export interface ServiceJobAttemptDetail {
|
|
953
|
+
serviceResourceId?: ServiceResourceId | undefined;
|
|
954
|
+
startedAt?: number | undefined;
|
|
955
|
+
stoppedAt?: number | undefined;
|
|
956
|
+
statusReason?: string | undefined;
|
|
957
|
+
}
|
|
958
|
+
export interface LatestServiceJobAttempt {
|
|
959
|
+
serviceResourceId?: ServiceResourceId | undefined;
|
|
960
|
+
}
|
|
961
|
+
export declare const ServiceJobRetryAction: {
|
|
962
|
+
readonly EXIT: "EXIT";
|
|
963
|
+
readonly RETRY: "RETRY";
|
|
964
|
+
};
|
|
965
|
+
export type ServiceJobRetryAction =
|
|
966
|
+
(typeof ServiceJobRetryAction)[keyof typeof ServiceJobRetryAction];
|
|
967
|
+
export interface ServiceJobEvaluateOnExit {
|
|
968
|
+
action?: ServiceJobRetryAction | undefined;
|
|
969
|
+
onStatusReason?: string | undefined;
|
|
970
|
+
}
|
|
971
|
+
export interface ServiceJobRetryStrategy {
|
|
972
|
+
attempts: number | undefined;
|
|
973
|
+
evaluateOnExit?: ServiceJobEvaluateOnExit[] | undefined;
|
|
974
|
+
}
|
|
975
|
+
export declare const ServiceJobType: {
|
|
976
|
+
readonly SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING";
|
|
977
|
+
};
|
|
978
|
+
export type ServiceJobType =
|
|
979
|
+
(typeof ServiceJobType)[keyof typeof ServiceJobType];
|
|
980
|
+
export declare const ServiceJobStatus: {
|
|
981
|
+
readonly FAILED: "FAILED";
|
|
982
|
+
readonly PENDING: "PENDING";
|
|
983
|
+
readonly RUNNABLE: "RUNNABLE";
|
|
984
|
+
readonly RUNNING: "RUNNING";
|
|
985
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
986
|
+
readonly STARTING: "STARTING";
|
|
987
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
988
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
989
|
+
};
|
|
990
|
+
export type ServiceJobStatus =
|
|
991
|
+
(typeof ServiceJobStatus)[keyof typeof ServiceJobStatus];
|
|
992
|
+
export interface ServiceJobTimeout {
|
|
993
|
+
attemptDurationSeconds?: number | undefined;
|
|
994
|
+
}
|
|
995
|
+
export interface DescribeServiceJobResponse {
|
|
996
|
+
attempts?: ServiceJobAttemptDetail[] | undefined;
|
|
997
|
+
createdAt?: number | undefined;
|
|
998
|
+
isTerminated?: boolean | undefined;
|
|
999
|
+
jobArn?: string | undefined;
|
|
1000
|
+
jobId: string | undefined;
|
|
1001
|
+
jobName: string | undefined;
|
|
1002
|
+
jobQueue: string | undefined;
|
|
1003
|
+
latestAttempt?: LatestServiceJobAttempt | undefined;
|
|
1004
|
+
retryStrategy?: ServiceJobRetryStrategy | undefined;
|
|
1005
|
+
schedulingPriority?: number | undefined;
|
|
1006
|
+
serviceRequestPayload?: string | undefined;
|
|
1007
|
+
serviceJobType: ServiceJobType | undefined;
|
|
1008
|
+
shareIdentifier?: string | undefined;
|
|
1009
|
+
startedAt: number | undefined;
|
|
1010
|
+
status: ServiceJobStatus | undefined;
|
|
1011
|
+
statusReason?: string | undefined;
|
|
1012
|
+
stoppedAt?: number | undefined;
|
|
1013
|
+
tags?: Record<string, string> | undefined;
|
|
1014
|
+
timeoutConfig?: ServiceJobTimeout | undefined;
|
|
1015
|
+
}
|
|
866
1016
|
export interface GetJobQueueSnapshotRequest {
|
|
867
1017
|
jobQueue: string | undefined;
|
|
868
1018
|
}
|
|
@@ -967,6 +1117,30 @@ export interface ListSchedulingPoliciesResponse {
|
|
|
967
1117
|
schedulingPolicies?: SchedulingPolicyListingDetail[] | undefined;
|
|
968
1118
|
nextToken?: string | undefined;
|
|
969
1119
|
}
|
|
1120
|
+
export interface ListServiceJobsRequest {
|
|
1121
|
+
jobQueue?: string | undefined;
|
|
1122
|
+
jobStatus?: ServiceJobStatus | undefined;
|
|
1123
|
+
maxResults?: number | undefined;
|
|
1124
|
+
nextToken?: string | undefined;
|
|
1125
|
+
filters?: KeyValuesPair[] | undefined;
|
|
1126
|
+
}
|
|
1127
|
+
export interface ServiceJobSummary {
|
|
1128
|
+
latestAttempt?: LatestServiceJobAttempt | undefined;
|
|
1129
|
+
createdAt?: number | undefined;
|
|
1130
|
+
jobArn?: string | undefined;
|
|
1131
|
+
jobId: string | undefined;
|
|
1132
|
+
jobName: string | undefined;
|
|
1133
|
+
serviceJobType: ServiceJobType | undefined;
|
|
1134
|
+
shareIdentifier?: string | undefined;
|
|
1135
|
+
status?: ServiceJobStatus | undefined;
|
|
1136
|
+
statusReason?: string | undefined;
|
|
1137
|
+
startedAt?: number | undefined;
|
|
1138
|
+
stoppedAt?: number | undefined;
|
|
1139
|
+
}
|
|
1140
|
+
export interface ListServiceJobsResponse {
|
|
1141
|
+
jobSummaryList: ServiceJobSummary[] | undefined;
|
|
1142
|
+
nextToken?: string | undefined;
|
|
1143
|
+
}
|
|
970
1144
|
export interface ListTagsForResourceRequest {
|
|
971
1145
|
resourceArn: string | undefined;
|
|
972
1146
|
}
|
|
@@ -1076,6 +1250,23 @@ export interface SubmitJobResponse {
|
|
|
1076
1250
|
jobName: string | undefined;
|
|
1077
1251
|
jobId: string | undefined;
|
|
1078
1252
|
}
|
|
1253
|
+
export interface SubmitServiceJobRequest {
|
|
1254
|
+
jobName: string | undefined;
|
|
1255
|
+
jobQueue: string | undefined;
|
|
1256
|
+
retryStrategy?: ServiceJobRetryStrategy | undefined;
|
|
1257
|
+
schedulingPriority?: number | undefined;
|
|
1258
|
+
serviceRequestPayload: string | undefined;
|
|
1259
|
+
serviceJobType: ServiceJobType | undefined;
|
|
1260
|
+
shareIdentifier?: string | undefined;
|
|
1261
|
+
timeoutConfig?: ServiceJobTimeout | undefined;
|
|
1262
|
+
tags?: Record<string, string> | undefined;
|
|
1263
|
+
clientToken?: string | undefined;
|
|
1264
|
+
}
|
|
1265
|
+
export interface SubmitServiceJobResponse {
|
|
1266
|
+
jobArn?: string | undefined;
|
|
1267
|
+
jobName: string | undefined;
|
|
1268
|
+
jobId: string | undefined;
|
|
1269
|
+
}
|
|
1079
1270
|
export interface TagResourceRequest {
|
|
1080
1271
|
resourceArn: string | undefined;
|
|
1081
1272
|
tags: Record<string, string> | undefined;
|
|
@@ -1086,6 +1277,11 @@ export interface TerminateJobRequest {
|
|
|
1086
1277
|
reason: string | undefined;
|
|
1087
1278
|
}
|
|
1088
1279
|
export interface TerminateJobResponse {}
|
|
1280
|
+
export interface TerminateServiceJobRequest {
|
|
1281
|
+
jobId: string | undefined;
|
|
1282
|
+
reason: string | undefined;
|
|
1283
|
+
}
|
|
1284
|
+
export interface TerminateServiceJobResponse {}
|
|
1089
1285
|
export interface UntagResourceRequest {
|
|
1090
1286
|
resourceArn: string | undefined;
|
|
1091
1287
|
tagKeys: string[] | undefined;
|
|
@@ -1147,6 +1343,7 @@ export interface UpdateJobQueueRequest {
|
|
|
1147
1343
|
schedulingPolicyArn?: string | undefined;
|
|
1148
1344
|
priority?: number | undefined;
|
|
1149
1345
|
computeEnvironmentOrder?: ComputeEnvironmentOrder[] | undefined;
|
|
1346
|
+
serviceEnvironmentOrder?: ServiceEnvironmentOrder[] | undefined;
|
|
1150
1347
|
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
1151
1348
|
}
|
|
1152
1349
|
export interface UpdateJobQueueResponse {
|
|
@@ -1158,3 +1355,12 @@ export interface UpdateSchedulingPolicyRequest {
|
|
|
1158
1355
|
fairsharePolicy?: FairsharePolicy | undefined;
|
|
1159
1356
|
}
|
|
1160
1357
|
export interface UpdateSchedulingPolicyResponse {}
|
|
1358
|
+
export interface UpdateServiceEnvironmentRequest {
|
|
1359
|
+
serviceEnvironment: string | undefined;
|
|
1360
|
+
state?: ServiceEnvironmentState | undefined;
|
|
1361
|
+
capacityLimits?: CapacityLimit[] | undefined;
|
|
1362
|
+
}
|
|
1363
|
+
export interface UpdateServiceEnvironmentResponse {
|
|
1364
|
+
serviceEnvironmentName: string | undefined;
|
|
1365
|
+
serviceEnvironmentArn: string | undefined;
|
|
1366
|
+
}
|