@aws-sdk/client-batch 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +9 -9
- package/dist-types/commands/CreateJobQueueCommand.d.ts +4 -4
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +5 -5
- 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 +1 -1
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListJobsCommand.d.ts +4 -4
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +65 -75
- package/dist-types/commands/SubmitJobCommand.d.ts +30 -30
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +8 -8
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +4 -4
- package/package.json +3 -3
|
@@ -38,7 +38,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
38
38
|
* import { BatchClient, CancelJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
39
39
|
* // const { BatchClient, CancelJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
40
40
|
* const client = new BatchClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // CancelJobRequest
|
|
42
42
|
* jobId: "STRING_VALUE", // required
|
|
43
43
|
* reason: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
@@ -104,18 +104,18 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
104
104
|
* import { BatchClient, CreateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
105
105
|
* // const { BatchClient, CreateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
106
106
|
* const client = new BatchClient(config);
|
|
107
|
-
* const input = {
|
|
107
|
+
* const input = { // CreateComputeEnvironmentRequest
|
|
108
108
|
* computeEnvironmentName: "STRING_VALUE", // required
|
|
109
109
|
* type: "MANAGED" || "UNMANAGED", // required
|
|
110
110
|
* state: "ENABLED" || "DISABLED",
|
|
111
111
|
* unmanagedvCpus: Number("int"),
|
|
112
|
-
* computeResources: {
|
|
112
|
+
* computeResources: { // ComputeResource
|
|
113
113
|
* type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
|
|
114
114
|
* allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
|
|
115
115
|
* minvCpus: Number("int"),
|
|
116
116
|
* maxvCpus: Number("int"), // required
|
|
117
117
|
* desiredvCpus: Number("int"),
|
|
118
|
-
* instanceTypes: [
|
|
118
|
+
* instanceTypes: [ // StringList
|
|
119
119
|
* "STRING_VALUE",
|
|
120
120
|
* ],
|
|
121
121
|
* imageId: "STRING_VALUE",
|
|
@@ -127,19 +127,19 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
127
127
|
* ],
|
|
128
128
|
* ec2KeyPair: "STRING_VALUE",
|
|
129
129
|
* instanceRole: "STRING_VALUE",
|
|
130
|
-
* tags: {
|
|
130
|
+
* tags: { // TagsMap
|
|
131
131
|
* "<keys>": "STRING_VALUE",
|
|
132
132
|
* },
|
|
133
133
|
* placementGroup: "STRING_VALUE",
|
|
134
134
|
* bidPercentage: Number("int"),
|
|
135
135
|
* spotIamFleetRole: "STRING_VALUE",
|
|
136
|
-
* launchTemplate: {
|
|
136
|
+
* launchTemplate: { // LaunchTemplateSpecification
|
|
137
137
|
* launchTemplateId: "STRING_VALUE",
|
|
138
138
|
* launchTemplateName: "STRING_VALUE",
|
|
139
139
|
* version: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
|
-
* ec2Configuration: [
|
|
142
|
-
* {
|
|
141
|
+
* ec2Configuration: [ // Ec2ConfigurationList
|
|
142
|
+
* { // Ec2Configuration
|
|
143
143
|
* imageType: "STRING_VALUE", // required
|
|
144
144
|
* imageIdOverride: "STRING_VALUE",
|
|
145
145
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
@@ -147,10 +147,10 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
147
147
|
* ],
|
|
148
148
|
* },
|
|
149
149
|
* serviceRole: "STRING_VALUE",
|
|
150
|
-
* tags: {
|
|
150
|
+
* tags: { // TagrisTagsMap
|
|
151
151
|
* "<keys>": "STRING_VALUE",
|
|
152
152
|
* },
|
|
153
|
-
* eksConfiguration: {
|
|
153
|
+
* eksConfiguration: { // EksConfiguration
|
|
154
154
|
* eksClusterArn: "STRING_VALUE", // required
|
|
155
155
|
* kubernetesNamespace: "STRING_VALUE", // required
|
|
156
156
|
* },
|
|
@@ -31,18 +31,18 @@ export interface CreateJobQueueCommandOutput extends CreateJobQueueResponse, __M
|
|
|
31
31
|
* import { BatchClient, CreateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
32
32
|
* // const { BatchClient, CreateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
33
33
|
* const client = new BatchClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CreateJobQueueRequest
|
|
35
35
|
* jobQueueName: "STRING_VALUE", // required
|
|
36
36
|
* state: "ENABLED" || "DISABLED",
|
|
37
37
|
* schedulingPolicyArn: "STRING_VALUE",
|
|
38
38
|
* priority: Number("int"), // required
|
|
39
|
-
* computeEnvironmentOrder: [ // required
|
|
40
|
-
* {
|
|
39
|
+
* computeEnvironmentOrder: [ // ComputeEnvironmentOrders // required
|
|
40
|
+
* { // ComputeEnvironmentOrder
|
|
41
41
|
* order: Number("int"), // required
|
|
42
42
|
* computeEnvironment: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
-
* tags: {
|
|
45
|
+
* tags: { // TagrisTagsMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
48
|
* };
|
|
@@ -26,19 +26,19 @@ export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPol
|
|
|
26
26
|
* import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateSchedulingPolicyRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
|
-
* fairsharePolicy: {
|
|
31
|
+
* fairsharePolicy: { // FairsharePolicy
|
|
32
32
|
* shareDecaySeconds: Number("int"),
|
|
33
33
|
* computeReservation: Number("int"),
|
|
34
|
-
* shareDistribution: [
|
|
35
|
-
* {
|
|
34
|
+
* shareDistribution: [ // ShareAttributesList
|
|
35
|
+
* { // ShareAttributes
|
|
36
36
|
* shareIdentifier: "STRING_VALUE", // required
|
|
37
37
|
* weightFactor: Number("float"),
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
40
|
* },
|
|
41
|
-
* tags: {
|
|
41
|
+
* tags: { // TagrisTagsMap
|
|
42
42
|
* "<keys>": "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* };
|
|
@@ -29,7 +29,7 @@ export interface DeleteComputeEnvironmentCommandOutput extends DeleteComputeEnvi
|
|
|
29
29
|
* import { BatchClient, DeleteComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DeleteComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteComputeEnvironmentRequest
|
|
33
33
|
* computeEnvironment: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteComputeEnvironmentCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface DeleteJobQueueCommandOutput extends DeleteJobQueueResponse, __M
|
|
|
29
29
|
* import { BatchClient, DeleteJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DeleteJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteJobQueueRequest
|
|
33
33
|
* jobQueue: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteJobQueueCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
|
|
|
27
27
|
* import { BatchClient, DeleteSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, DeleteSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteSchedulingPolicyRequest
|
|
31
31
|
* arn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteSchedulingPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
|
|
|
26
26
|
* import { BatchClient, DeregisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DeregisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeregisterJobDefinitionRequest
|
|
30
30
|
* jobDefinition: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeregisterJobDefinitionCommand(input);
|
|
@@ -29,8 +29,8 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
|
|
|
29
29
|
* import { BatchClient, DescribeComputeEnvironmentsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DescribeComputeEnvironmentsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* computeEnvironments: [
|
|
32
|
+
* const input = { // DescribeComputeEnvironmentsRequest
|
|
33
|
+
* computeEnvironments: [ // StringList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* maxResults: Number("int"),
|
|
@@ -27,8 +27,8 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
|
|
|
27
27
|
* import { BatchClient, DescribeJobDefinitionsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, DescribeJobDefinitionsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* jobDefinitions: [
|
|
30
|
+
* const input = { // DescribeJobDefinitionsRequest
|
|
31
|
+
* jobDefinitions: [ // StringList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* maxResults: Number("int"),
|
|
@@ -26,8 +26,8 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
|
|
|
26
26
|
* import { BatchClient, DescribeJobQueuesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeJobQueuesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* jobQueues: [
|
|
29
|
+
* const input = { // DescribeJobQueuesRequest
|
|
30
|
+
* jobQueues: [ // StringList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -26,8 +26,8 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
26
26
|
* import { BatchClient, DescribeJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* jobs: [ // required
|
|
29
|
+
* const input = { // DescribeJobsRequest
|
|
30
|
+
* jobs: [ // StringList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -26,8 +26,8 @@ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedul
|
|
|
26
26
|
* import { BatchClient, DescribeSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* arns: [ // required
|
|
29
|
+
* const input = { // DescribeSchedulingPoliciesRequest
|
|
30
|
+
* arns: [ // StringList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -40,17 +40,17 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
|
|
|
40
40
|
* import { BatchClient, ListJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
41
41
|
* // const { BatchClient, ListJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
42
42
|
* const client = new BatchClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // ListJobsRequest
|
|
44
44
|
* jobQueue: "STRING_VALUE",
|
|
45
45
|
* arrayJobId: "STRING_VALUE",
|
|
46
46
|
* multiNodeJobId: "STRING_VALUE",
|
|
47
47
|
* jobStatus: "SUBMITTED" || "PENDING" || "RUNNABLE" || "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED",
|
|
48
48
|
* maxResults: Number("int"),
|
|
49
49
|
* nextToken: "STRING_VALUE",
|
|
50
|
-
* filters: [
|
|
51
|
-
* {
|
|
50
|
+
* filters: [ // ListJobsFilterList
|
|
51
|
+
* { // KeyValuesPair
|
|
52
52
|
* name: "STRING_VALUE",
|
|
53
|
-
* values: [
|
|
53
|
+
* values: [ // StringList
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPolic
|
|
|
26
26
|
* import { BatchClient, ListSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, ListSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListSchedulingPoliciesRequest
|
|
30
30
|
* maxResults: Number("int"),
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { BatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,48 +26,48 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
26
26
|
* import { BatchClient, RegisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, RegisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // RegisterJobDefinitionRequest
|
|
30
30
|
* jobDefinitionName: "STRING_VALUE", // required
|
|
31
31
|
* type: "container" || "multinode", // required
|
|
32
|
-
* parameters: {
|
|
32
|
+
* parameters: { // ParametersMap
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* schedulingPriority: Number("int"),
|
|
36
|
-
* containerProperties: {
|
|
36
|
+
* containerProperties: { // ContainerProperties
|
|
37
37
|
* image: "STRING_VALUE",
|
|
38
38
|
* vcpus: Number("int"),
|
|
39
39
|
* memory: Number("int"),
|
|
40
|
-
* command: [
|
|
40
|
+
* command: [ // StringList
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* jobRoleArn: "STRING_VALUE",
|
|
44
44
|
* executionRoleArn: "STRING_VALUE",
|
|
45
|
-
* volumes: [
|
|
46
|
-
* {
|
|
47
|
-
* host: {
|
|
45
|
+
* volumes: [ // Volumes
|
|
46
|
+
* { // Volume
|
|
47
|
+
* host: { // Host
|
|
48
48
|
* sourcePath: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* name: "STRING_VALUE",
|
|
51
|
-
* efsVolumeConfiguration: {
|
|
51
|
+
* efsVolumeConfiguration: { // EFSVolumeConfiguration
|
|
52
52
|
* fileSystemId: "STRING_VALUE", // required
|
|
53
53
|
* rootDirectory: "STRING_VALUE",
|
|
54
54
|
* transitEncryption: "ENABLED" || "DISABLED",
|
|
55
55
|
* transitEncryptionPort: Number("int"),
|
|
56
|
-
* authorizationConfig: {
|
|
56
|
+
* authorizationConfig: { // EFSAuthorizationConfig
|
|
57
57
|
* accessPointId: "STRING_VALUE",
|
|
58
58
|
* iam: "ENABLED" || "DISABLED",
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
* environment: [
|
|
64
|
-
* {
|
|
63
|
+
* environment: [ // EnvironmentVariables
|
|
64
|
+
* { // KeyValuePair
|
|
65
65
|
* name: "STRING_VALUE",
|
|
66
66
|
* value: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
-
* mountPoints: [
|
|
70
|
-
* {
|
|
69
|
+
* mountPoints: [ // MountPoints
|
|
70
|
+
* { // MountPoint
|
|
71
71
|
* containerPath: "STRING_VALUE",
|
|
72
72
|
* readOnly: true || false,
|
|
73
73
|
* sourceVolume: "STRING_VALUE",
|
|
@@ -75,8 +75,8 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
75
75
|
* ],
|
|
76
76
|
* readonlyRootFilesystem: true || false,
|
|
77
77
|
* privileged: true || false,
|
|
78
|
-
* ulimits: [
|
|
79
|
-
* {
|
|
78
|
+
* ulimits: [ // Ulimits
|
|
79
|
+
* { // Ulimit
|
|
80
80
|
* hardLimit: Number("int"), // required
|
|
81
81
|
* name: "STRING_VALUE", // required
|
|
82
82
|
* softLimit: Number("int"), // required
|
|
@@ -84,26 +84,26 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
84
84
|
* ],
|
|
85
85
|
* user: "STRING_VALUE",
|
|
86
86
|
* instanceType: "STRING_VALUE",
|
|
87
|
-
* resourceRequirements: [
|
|
88
|
-
* {
|
|
87
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
88
|
+
* { // ResourceRequirement
|
|
89
89
|
* value: "STRING_VALUE", // required
|
|
90
90
|
* type: "GPU" || "VCPU" || "MEMORY", // required
|
|
91
91
|
* },
|
|
92
92
|
* ],
|
|
93
|
-
* linuxParameters: {
|
|
94
|
-
* devices: [
|
|
95
|
-
* {
|
|
93
|
+
* linuxParameters: { // LinuxParameters
|
|
94
|
+
* devices: [ // DevicesList
|
|
95
|
+
* { // Device
|
|
96
96
|
* hostPath: "STRING_VALUE", // required
|
|
97
97
|
* containerPath: "STRING_VALUE",
|
|
98
|
-
* permissions: [
|
|
98
|
+
* permissions: [ // DeviceCgroupPermissions
|
|
99
99
|
* "READ" || "WRITE" || "MKNOD",
|
|
100
100
|
* ],
|
|
101
101
|
* },
|
|
102
102
|
* ],
|
|
103
103
|
* initProcessEnabled: true || false,
|
|
104
104
|
* sharedMemorySize: Number("int"),
|
|
105
|
-
* tmpfs: [
|
|
106
|
-
* {
|
|
105
|
+
* tmpfs: [ // TmpfsList
|
|
106
|
+
* { // Tmpfs
|
|
107
107
|
* containerPath: "STRING_VALUE", // required
|
|
108
108
|
* size: Number("int"), // required
|
|
109
109
|
* mountOptions: [
|
|
@@ -114,13 +114,13 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
114
114
|
* maxSwap: Number("int"),
|
|
115
115
|
* swappiness: Number("int"),
|
|
116
116
|
* },
|
|
117
|
-
* logConfiguration: {
|
|
117
|
+
* logConfiguration: { // LogConfiguration
|
|
118
118
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
|
|
119
|
-
* options: {
|
|
119
|
+
* options: { // LogConfigurationOptionsMap
|
|
120
120
|
* "<keys>": "STRING_VALUE",
|
|
121
121
|
* },
|
|
122
|
-
* secretOptions: [
|
|
123
|
-
* {
|
|
122
|
+
* secretOptions: [ // SecretList
|
|
123
|
+
* { // Secret
|
|
124
124
|
* name: "STRING_VALUE", // required
|
|
125
125
|
* valueFrom: "STRING_VALUE", // required
|
|
126
126
|
* },
|
|
@@ -132,21 +132,21 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
132
132
|
* valueFrom: "STRING_VALUE", // required
|
|
133
133
|
* },
|
|
134
134
|
* ],
|
|
135
|
-
* networkConfiguration: {
|
|
135
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
136
136
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
137
137
|
* },
|
|
138
|
-
* fargatePlatformConfiguration: {
|
|
138
|
+
* fargatePlatformConfiguration: { // FargatePlatformConfiguration
|
|
139
139
|
* platformVersion: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
|
-
* ephemeralStorage: {
|
|
141
|
+
* ephemeralStorage: { // EphemeralStorage
|
|
142
142
|
* sizeInGiB: Number("int"), // required
|
|
143
143
|
* },
|
|
144
144
|
* },
|
|
145
|
-
* nodeProperties: {
|
|
145
|
+
* nodeProperties: { // NodeProperties
|
|
146
146
|
* numNodes: Number("int"), // required
|
|
147
147
|
* mainNode: Number("int"), // required
|
|
148
|
-
* nodeRangeProperties: [ // required
|
|
149
|
-
* {
|
|
148
|
+
* nodeRangeProperties: [ // NodeRangeProperties // required
|
|
149
|
+
* { // NodeRangeProperty
|
|
150
150
|
* targetNodes: "STRING_VALUE", // required
|
|
151
151
|
* container: {
|
|
152
152
|
* image: "STRING_VALUE",
|
|
@@ -221,9 +221,7 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
221
221
|
* {
|
|
222
222
|
* containerPath: "STRING_VALUE", // required
|
|
223
223
|
* size: Number("int"), // required
|
|
224
|
-
* mountOptions:
|
|
225
|
-
* "<StringList>",
|
|
226
|
-
* ],
|
|
224
|
+
* mountOptions: "<StringList>",
|
|
227
225
|
* },
|
|
228
226
|
* ],
|
|
229
227
|
* maxSwap: Number("int"),
|
|
@@ -232,15 +230,11 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
232
230
|
* logConfiguration: {
|
|
233
231
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
|
|
234
232
|
* options: {
|
|
235
|
-
* "<keys>": "
|
|
233
|
+
* "<keys>": "STRING_VALUE",
|
|
236
234
|
* },
|
|
237
|
-
* secretOptions:
|
|
238
|
-
* "<SecretList>",
|
|
239
|
-
* ],
|
|
235
|
+
* secretOptions: "<SecretList>",
|
|
240
236
|
* },
|
|
241
|
-
* secrets:
|
|
242
|
-
* "<SecretList>",
|
|
243
|
-
* ],
|
|
237
|
+
* secrets: "<SecretList>",
|
|
244
238
|
* networkConfiguration: {
|
|
245
239
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
246
240
|
* },
|
|
@@ -254,10 +248,10 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
254
248
|
* },
|
|
255
249
|
* ],
|
|
256
250
|
* },
|
|
257
|
-
* retryStrategy: {
|
|
251
|
+
* retryStrategy: { // RetryStrategy
|
|
258
252
|
* attempts: Number("int"),
|
|
259
|
-
* evaluateOnExit: [
|
|
260
|
-
* {
|
|
253
|
+
* evaluateOnExit: [ // EvaluateOnExitList
|
|
254
|
+
* { // EvaluateOnExit
|
|
261
255
|
* onStatusReason: "STRING_VALUE",
|
|
262
256
|
* onReason: "STRING_VALUE",
|
|
263
257
|
* onExitCode: "STRING_VALUE",
|
|
@@ -266,53 +260,49 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
266
260
|
* ],
|
|
267
261
|
* },
|
|
268
262
|
* propagateTags: true || false,
|
|
269
|
-
* timeout: {
|
|
263
|
+
* timeout: { // JobTimeout
|
|
270
264
|
* attemptDurationSeconds: Number("int"),
|
|
271
265
|
* },
|
|
272
|
-
* tags: {
|
|
266
|
+
* tags: { // TagrisTagsMap
|
|
273
267
|
* "<keys>": "STRING_VALUE",
|
|
274
268
|
* },
|
|
275
|
-
* platformCapabilities: [
|
|
269
|
+
* platformCapabilities: [ // PlatformCapabilityList
|
|
276
270
|
* "EC2" || "FARGATE",
|
|
277
271
|
* ],
|
|
278
|
-
* eksProperties: {
|
|
279
|
-
* podProperties: {
|
|
272
|
+
* eksProperties: { // EksProperties
|
|
273
|
+
* podProperties: { // EksPodProperties
|
|
280
274
|
* serviceAccountName: "STRING_VALUE",
|
|
281
275
|
* hostNetwork: true || false,
|
|
282
276
|
* dnsPolicy: "STRING_VALUE",
|
|
283
|
-
* containers: [
|
|
284
|
-
* {
|
|
277
|
+
* containers: [ // EksContainers
|
|
278
|
+
* { // EksContainer
|
|
285
279
|
* name: "STRING_VALUE",
|
|
286
280
|
* image: "STRING_VALUE", // required
|
|
287
281
|
* imagePullPolicy: "STRING_VALUE",
|
|
288
|
-
* command:
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
* "<StringList>",
|
|
293
|
-
* ],
|
|
294
|
-
* env: [
|
|
295
|
-
* {
|
|
282
|
+
* command: "<StringList>",
|
|
283
|
+
* args: "<StringList>",
|
|
284
|
+
* env: [ // EksContainerEnvironmentVariables
|
|
285
|
+
* { // EksContainerEnvironmentVariable
|
|
296
286
|
* name: "STRING_VALUE", // required
|
|
297
287
|
* value: "STRING_VALUE",
|
|
298
288
|
* },
|
|
299
289
|
* ],
|
|
300
|
-
* resources: {
|
|
301
|
-
* limits: {
|
|
290
|
+
* resources: { // EksContainerResourceRequirements
|
|
291
|
+
* limits: { // EksLimits
|
|
302
292
|
* "<keys>": "STRING_VALUE",
|
|
303
293
|
* },
|
|
304
|
-
* requests: {
|
|
294
|
+
* requests: { // EksRequests
|
|
305
295
|
* "<keys>": "STRING_VALUE",
|
|
306
296
|
* },
|
|
307
297
|
* },
|
|
308
|
-
* volumeMounts: [
|
|
309
|
-
* {
|
|
298
|
+
* volumeMounts: [ // EksContainerVolumeMounts
|
|
299
|
+
* { // EksContainerVolumeMount
|
|
310
300
|
* name: "STRING_VALUE",
|
|
311
301
|
* mountPath: "STRING_VALUE",
|
|
312
302
|
* readOnly: true || false,
|
|
313
303
|
* },
|
|
314
304
|
* ],
|
|
315
|
-
* securityContext: {
|
|
305
|
+
* securityContext: { // EksContainerSecurityContext
|
|
316
306
|
* runAsUser: Number("long"),
|
|
317
307
|
* runAsGroup: Number("long"),
|
|
318
308
|
* privileged: true || false,
|
|
@@ -321,25 +311,25 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
321
311
|
* },
|
|
322
312
|
* },
|
|
323
313
|
* ],
|
|
324
|
-
* volumes: [
|
|
325
|
-
* {
|
|
314
|
+
* volumes: [ // EksVolumes
|
|
315
|
+
* { // EksVolume
|
|
326
316
|
* name: "STRING_VALUE", // required
|
|
327
|
-
* hostPath: {
|
|
317
|
+
* hostPath: { // EksHostPath
|
|
328
318
|
* path: "STRING_VALUE",
|
|
329
319
|
* },
|
|
330
|
-
* emptyDir: {
|
|
320
|
+
* emptyDir: { // EksEmptyDir
|
|
331
321
|
* medium: "STRING_VALUE",
|
|
332
322
|
* sizeLimit: "STRING_VALUE",
|
|
333
323
|
* },
|
|
334
|
-
* secret: {
|
|
324
|
+
* secret: { // EksSecret
|
|
335
325
|
* secretName: "STRING_VALUE", // required
|
|
336
326
|
* optional: true || false,
|
|
337
327
|
* },
|
|
338
328
|
* },
|
|
339
329
|
* ],
|
|
340
|
-
* metadata: {
|
|
341
|
-
* labels: {
|
|
342
|
-
* "<keys>": "
|
|
330
|
+
* metadata: { // EksMetadata
|
|
331
|
+
* labels: { // EksLabelsMap
|
|
332
|
+
* "<keys>": "STRING_VALUE",
|
|
343
333
|
* },
|
|
344
334
|
* },
|
|
345
335
|
* },
|
|
@@ -38,48 +38,48 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
38
38
|
* import { BatchClient, SubmitJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
39
39
|
* // const { BatchClient, SubmitJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
40
40
|
* const client = new BatchClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // SubmitJobRequest
|
|
42
42
|
* jobName: "STRING_VALUE", // required
|
|
43
43
|
* jobQueue: "STRING_VALUE", // required
|
|
44
44
|
* shareIdentifier: "STRING_VALUE",
|
|
45
45
|
* schedulingPriorityOverride: Number("int"),
|
|
46
|
-
* arrayProperties: {
|
|
46
|
+
* arrayProperties: { // ArrayProperties
|
|
47
47
|
* size: Number("int"),
|
|
48
48
|
* },
|
|
49
|
-
* dependsOn: [
|
|
50
|
-
* {
|
|
49
|
+
* dependsOn: [ // JobDependencyList
|
|
50
|
+
* { // JobDependency
|
|
51
51
|
* jobId: "STRING_VALUE",
|
|
52
52
|
* type: "N_TO_N" || "SEQUENTIAL",
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
55
|
* jobDefinition: "STRING_VALUE", // required
|
|
56
|
-
* parameters: {
|
|
56
|
+
* parameters: { // ParametersMap
|
|
57
57
|
* "<keys>": "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* containerOverrides: {
|
|
59
|
+
* containerOverrides: { // ContainerOverrides
|
|
60
60
|
* vcpus: Number("int"),
|
|
61
61
|
* memory: Number("int"),
|
|
62
|
-
* command: [
|
|
62
|
+
* command: [ // StringList
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* instanceType: "STRING_VALUE",
|
|
66
|
-
* environment: [
|
|
67
|
-
* {
|
|
66
|
+
* environment: [ // EnvironmentVariables
|
|
67
|
+
* { // KeyValuePair
|
|
68
68
|
* name: "STRING_VALUE",
|
|
69
69
|
* value: "STRING_VALUE",
|
|
70
70
|
* },
|
|
71
71
|
* ],
|
|
72
|
-
* resourceRequirements: [
|
|
73
|
-
* {
|
|
72
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
73
|
+
* { // ResourceRequirement
|
|
74
74
|
* value: "STRING_VALUE", // required
|
|
75
75
|
* type: "GPU" || "VCPU" || "MEMORY", // required
|
|
76
76
|
* },
|
|
77
77
|
* ],
|
|
78
78
|
* },
|
|
79
|
-
* nodeOverrides: {
|
|
79
|
+
* nodeOverrides: { // NodeOverrides
|
|
80
80
|
* numNodes: Number("int"),
|
|
81
|
-
* nodePropertyOverrides: [
|
|
82
|
-
* {
|
|
81
|
+
* nodePropertyOverrides: [ // NodePropertyOverrides
|
|
82
|
+
* { // NodePropertyOverride
|
|
83
83
|
* targetNodes: "STRING_VALUE", // required
|
|
84
84
|
* containerOverrides: {
|
|
85
85
|
* vcpus: Number("int"),
|
|
@@ -104,10 +104,10 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
104
104
|
* },
|
|
105
105
|
* ],
|
|
106
106
|
* },
|
|
107
|
-
* retryStrategy: {
|
|
107
|
+
* retryStrategy: { // RetryStrategy
|
|
108
108
|
* attempts: Number("int"),
|
|
109
|
-
* evaluateOnExit: [
|
|
110
|
-
* {
|
|
109
|
+
* evaluateOnExit: [ // EvaluateOnExitList
|
|
110
|
+
* { // EvaluateOnExit
|
|
111
111
|
* onStatusReason: "STRING_VALUE",
|
|
112
112
|
* onReason: "STRING_VALUE",
|
|
113
113
|
* onExitCode: "STRING_VALUE",
|
|
@@ -116,16 +116,16 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
116
116
|
* ],
|
|
117
117
|
* },
|
|
118
118
|
* propagateTags: true || false,
|
|
119
|
-
* timeout: {
|
|
119
|
+
* timeout: { // JobTimeout
|
|
120
120
|
* attemptDurationSeconds: Number("int"),
|
|
121
121
|
* },
|
|
122
|
-
* tags: {
|
|
122
|
+
* tags: { // TagrisTagsMap
|
|
123
123
|
* "<keys>": "STRING_VALUE",
|
|
124
124
|
* },
|
|
125
|
-
* eksPropertiesOverride: {
|
|
126
|
-
* podProperties: {
|
|
127
|
-
* containers: [
|
|
128
|
-
* {
|
|
125
|
+
* eksPropertiesOverride: { // EksPropertiesOverride
|
|
126
|
+
* podProperties: { // EksPodPropertiesOverride
|
|
127
|
+
* containers: [ // EksContainerOverrideList
|
|
128
|
+
* { // EksContainerOverride
|
|
129
129
|
* image: "STRING_VALUE",
|
|
130
130
|
* command: [
|
|
131
131
|
* "STRING_VALUE",
|
|
@@ -133,24 +133,24 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
133
133
|
* args: [
|
|
134
134
|
* "STRING_VALUE",
|
|
135
135
|
* ],
|
|
136
|
-
* env: [
|
|
137
|
-
* {
|
|
136
|
+
* env: [ // EksContainerEnvironmentVariables
|
|
137
|
+
* { // EksContainerEnvironmentVariable
|
|
138
138
|
* name: "STRING_VALUE", // required
|
|
139
139
|
* value: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
141
|
* ],
|
|
142
|
-
* resources: {
|
|
143
|
-
* limits: {
|
|
142
|
+
* resources: { // EksContainerResourceRequirements
|
|
143
|
+
* limits: { // EksLimits
|
|
144
144
|
* "<keys>": "STRING_VALUE",
|
|
145
145
|
* },
|
|
146
|
-
* requests: {
|
|
146
|
+
* requests: { // EksRequests
|
|
147
147
|
* "<keys>": "STRING_VALUE",
|
|
148
148
|
* },
|
|
149
149
|
* },
|
|
150
150
|
* },
|
|
151
151
|
* ],
|
|
152
|
-
* metadata: {
|
|
153
|
-
* labels: {
|
|
152
|
+
* metadata: { // EksMetadata
|
|
153
|
+
* labels: { // EksLabelsMap
|
|
154
154
|
* "<keys>": "STRING_VALUE",
|
|
155
155
|
* },
|
|
156
156
|
* },
|
|
@@ -29,9 +29,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { BatchClient, TagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, TagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
33
|
* resourceArn: "STRING_VALUE", // required
|
|
34
|
-
* tags: { // required
|
|
34
|
+
* tags: { // TagrisTagsMap // required
|
|
35
35
|
* "<keys>": "STRING_VALUE",
|
|
36
36
|
* },
|
|
37
37
|
* };
|
|
@@ -28,7 +28,7 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
|
|
|
28
28
|
* import { BatchClient, TerminateJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
29
29
|
* // const { BatchClient, TerminateJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
30
30
|
* const client = new BatchClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // TerminateJobRequest
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
33
33
|
* reason: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { BatchClient, UntagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UntagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeysList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,15 +26,15 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
26
26
|
* import { BatchClient, UpdateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UpdateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateComputeEnvironmentRequest
|
|
30
30
|
* computeEnvironment: "STRING_VALUE", // required
|
|
31
31
|
* state: "ENABLED" || "DISABLED",
|
|
32
32
|
* unmanagedvCpus: Number("int"),
|
|
33
|
-
* computeResources: {
|
|
33
|
+
* computeResources: { // ComputeResourceUpdate
|
|
34
34
|
* minvCpus: Number("int"),
|
|
35
35
|
* maxvCpus: Number("int"),
|
|
36
36
|
* desiredvCpus: Number("int"),
|
|
37
|
-
* subnets: [
|
|
37
|
+
* subnets: [ // StringList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* securityGroupIds: [
|
|
@@ -46,18 +46,18 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
46
46
|
* ],
|
|
47
47
|
* ec2KeyPair: "STRING_VALUE",
|
|
48
48
|
* instanceRole: "STRING_VALUE",
|
|
49
|
-
* tags: {
|
|
49
|
+
* tags: { // TagsMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* placementGroup: "STRING_VALUE",
|
|
53
53
|
* bidPercentage: Number("int"),
|
|
54
|
-
* launchTemplate: {
|
|
54
|
+
* launchTemplate: { // LaunchTemplateSpecification
|
|
55
55
|
* launchTemplateId: "STRING_VALUE",
|
|
56
56
|
* launchTemplateName: "STRING_VALUE",
|
|
57
57
|
* version: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* ec2Configuration: [
|
|
60
|
-
* {
|
|
59
|
+
* ec2Configuration: [ // Ec2ConfigurationList
|
|
60
|
+
* { // Ec2Configuration
|
|
61
61
|
* imageType: "STRING_VALUE", // required
|
|
62
62
|
* imageIdOverride: "STRING_VALUE",
|
|
63
63
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
@@ -68,7 +68,7 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
68
68
|
* imageId: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
70
|
* serviceRole: "STRING_VALUE",
|
|
71
|
-
* updatePolicy: {
|
|
71
|
+
* updatePolicy: { // UpdatePolicy
|
|
72
72
|
* terminateJobsOnUpdate: true || false,
|
|
73
73
|
* jobExecutionTimeoutMinutes: Number("long"),
|
|
74
74
|
* },
|
|
@@ -26,13 +26,13 @@ export interface UpdateJobQueueCommandOutput extends UpdateJobQueueResponse, __M
|
|
|
26
26
|
* import { BatchClient, UpdateJobQueueCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UpdateJobQueueCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateJobQueueRequest
|
|
30
30
|
* jobQueue: "STRING_VALUE", // required
|
|
31
31
|
* state: "ENABLED" || "DISABLED",
|
|
32
32
|
* schedulingPolicyArn: "STRING_VALUE",
|
|
33
33
|
* priority: Number("int"),
|
|
34
|
-
* computeEnvironmentOrder: [
|
|
35
|
-
* {
|
|
34
|
+
* computeEnvironmentOrder: [ // ComputeEnvironmentOrders
|
|
35
|
+
* { // ComputeEnvironmentOrder
|
|
36
36
|
* order: Number("int"), // required
|
|
37
37
|
* computeEnvironment: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
@@ -26,13 +26,13 @@ export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPol
|
|
|
26
26
|
* import { BatchClient, UpdateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UpdateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateSchedulingPolicyRequest
|
|
30
30
|
* arn: "STRING_VALUE", // required
|
|
31
|
-
* fairsharePolicy: {
|
|
31
|
+
* fairsharePolicy: { // FairsharePolicy
|
|
32
32
|
* shareDecaySeconds: Number("int"),
|
|
33
33
|
* computeReservation: Number("int"),
|
|
34
|
-
* shareDistribution: [
|
|
35
|
-
* {
|
|
34
|
+
* shareDistribution: [ // ShareAttributesList
|
|
35
|
+
* { // ShareAttributes
|
|
36
36
|
* shareIdentifier: "STRING_VALUE", // required
|
|
37
37
|
* weightFactor: Number("float"),
|
|
38
38
|
* },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|