@aws-sdk/client-batch 3.948.0 → 3.953.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-cjs/index.js +750 -520
- package/dist-cjs/runtimeConfig.shared.js +7 -1
- package/dist-es/commands/CancelJobCommand.js +2 -2
- package/dist-es/commands/CreateComputeEnvironmentCommand.js +2 -2
- package/dist-es/commands/CreateConsumableResourceCommand.js +2 -2
- package/dist-es/commands/CreateJobQueueCommand.js +2 -2
- package/dist-es/commands/CreateSchedulingPolicyCommand.js +2 -2
- package/dist-es/commands/CreateServiceEnvironmentCommand.js +2 -2
- package/dist-es/commands/DeleteComputeEnvironmentCommand.js +2 -2
- package/dist-es/commands/DeleteConsumableResourceCommand.js +2 -2
- package/dist-es/commands/DeleteJobQueueCommand.js +2 -2
- package/dist-es/commands/DeleteSchedulingPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteServiceEnvironmentCommand.js +2 -2
- package/dist-es/commands/DeregisterJobDefinitionCommand.js +2 -2
- package/dist-es/commands/DescribeComputeEnvironmentsCommand.js +2 -2
- package/dist-es/commands/DescribeConsumableResourceCommand.js +2 -2
- package/dist-es/commands/DescribeJobDefinitionsCommand.js +2 -2
- package/dist-es/commands/DescribeJobQueuesCommand.js +2 -2
- package/dist-es/commands/DescribeJobsCommand.js +2 -2
- package/dist-es/commands/DescribeSchedulingPoliciesCommand.js +2 -2
- package/dist-es/commands/DescribeServiceEnvironmentsCommand.js +2 -2
- package/dist-es/commands/DescribeServiceJobCommand.js +2 -2
- package/dist-es/commands/GetJobQueueSnapshotCommand.js +2 -2
- package/dist-es/commands/ListConsumableResourcesCommand.js +2 -2
- package/dist-es/commands/ListJobsByConsumableResourceCommand.js +2 -2
- package/dist-es/commands/ListJobsCommand.js +2 -2
- package/dist-es/commands/ListSchedulingPoliciesCommand.js +2 -2
- package/dist-es/commands/ListServiceJobsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/RegisterJobDefinitionCommand.js +2 -2
- package/dist-es/commands/SubmitJobCommand.js +2 -2
- package/dist-es/commands/SubmitServiceJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TerminateJobCommand.js +2 -2
- package/dist-es/commands/TerminateServiceJobCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateComputeEnvironmentCommand.js +2 -2
- package/dist-es/commands/UpdateConsumableResourceCommand.js +2 -2
- package/dist-es/commands/UpdateJobQueueCommand.js +2 -2
- package/dist-es/commands/UpdateSchedulingPolicyCommand.js +2 -2
- package/dist-es/commands/UpdateServiceEnvironmentCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -1
- package/dist-es/schemas/schemas_0.js +492 -490
- package/dist-types/BatchClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +229 -300
- package/dist-types/ts3.4/BatchClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +228 -300
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateConsumableResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateConsumableResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateConsumableResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateConsumableResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSBatchV20160810", "UpdateConsumableResource", {})
|
|
13
13
|
.n("BatchClient", "UpdateConsumableResourceCommand")
|
|
14
|
-
.sc(UpdateConsumableResource)
|
|
14
|
+
.sc(UpdateConsumableResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateJobQueue } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateJobQueue$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateJobQueueCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateJobQueueCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSBatchV20160810", "UpdateJobQueue", {})
|
|
13
13
|
.n("BatchClient", "UpdateJobQueueCommand")
|
|
14
|
-
.sc(UpdateJobQueue)
|
|
14
|
+
.sc(UpdateJobQueue$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSchedulingPolicy } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSchedulingPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSchedulingPolicyCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSchedulingPolicyCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSBatchV20160810", "UpdateSchedulingPolicy", {})
|
|
13
13
|
.n("BatchClient", "UpdateSchedulingPolicyCommand")
|
|
14
|
-
.sc(UpdateSchedulingPolicy)
|
|
14
|
+
.sc(UpdateSchedulingPolicy$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateServiceEnvironment } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateServiceEnvironment$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateServiceEnvironmentCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateServiceEnvironmentCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSBatchV20160810", "UpdateServiceEnvironment", {})
|
|
13
13
|
.n("BatchClient", "UpdateServiceEnvironmentCommand")
|
|
14
|
-
.sc(UpdateServiceEnvironment)
|
|
14
|
+
.sc(UpdateServiceEnvironment$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.batch",
|
|
29
|
+
xmlNamespace: "http://batch.amazonaws.com/doc/2016-08-10/",
|
|
30
|
+
version: "2016-08-10",
|
|
31
|
+
serviceTarget: "AWSBatchV20160810",
|
|
32
|
+
},
|
|
27
33
|
serviceId: config?.serviceId ?? "Batch",
|
|
28
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|