@aws-sdk/client-batch 3.52.0 → 3.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/BatchServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +30 -3
- package/dist-cjs/protocols/Aws_restJson1.js +210 -568
- package/dist-es/index.js +1 -0
- package/dist-es/models/BatchServiceException.js +12 -0
- package/dist-es/models/models_0.js +26 -1
- package/dist-es/protocols/Aws_restJson1.js +447 -667
- package/dist-types/BatchClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/BatchServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +16 -9
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/BatchClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/BatchServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-batch
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-batch
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Batch"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./BatchClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var BatchServiceException_1 = require("./models/BatchServiceException");
|
|
11
|
+
Object.defineProperty(exports, "BatchServiceException", { enumerable: true, get: function () { return BatchServiceException_1.BatchServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class BatchServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, BatchServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.BatchServiceException = BatchServiceException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateSchedulingPolicyResponse = exports.UpdateSchedulingPolicyRequest = exports.UpdateJobQueueResponse = exports.UpdateJobQueueRequest = exports.UpdateComputeEnvironmentResponse = exports.UpdateComputeEnvironmentRequest = exports.ComputeResourceUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TerminateJobResponse = exports.TerminateJobRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitJobResponse = exports.SubmitJobRequest = exports.NodeOverrides = void 0;
|
|
3
|
+
exports.Secret = exports.LogDriver = exports.LinuxParameters = exports.Tmpfs = exports.Device = exports.DeviceCgroupPermission = exports.FargatePlatformConfiguration = exports.KeyValuePair = exports.DescribeJobDefinitionsRequest = exports.DescribeComputeEnvironmentsResponse = exports.ComputeEnvironmentDetail = exports.CEStatus = exports.DescribeComputeEnvironmentsRequest = exports.DeregisterJobDefinitionResponse = exports.DeregisterJobDefinitionRequest = exports.DeleteSchedulingPolicyResponse = exports.DeleteSchedulingPolicyRequest = exports.DeleteJobQueueResponse = exports.DeleteJobQueueRequest = exports.DeleteComputeEnvironmentResponse = exports.DeleteComputeEnvironmentRequest = exports.CreateSchedulingPolicyResponse = exports.CreateSchedulingPolicyRequest = exports.FairsharePolicy = exports.ShareAttributes = exports.CreateJobQueueResponse = exports.CreateJobQueueRequest = exports.JQState = exports.ComputeEnvironmentOrder = exports.CreateComputeEnvironmentResponse = exports.CreateComputeEnvironmentRequest = exports.CEType = exports.CEState = exports.ComputeResource = exports.CRType = exports.LaunchTemplateSpecification = exports.Ec2Configuration = exports.CRAllocationStrategy = exports.ServerException = exports.ClientException = exports.CancelJobResponse = exports.CancelJobRequest = exports.AttemptDetail = exports.AttemptContainerDetail = exports.NetworkInterface = exports.AssignPublicIp = exports.ArrayPropertiesSummary = exports.ArrayPropertiesDetail = exports.ArrayProperties = exports.ArrayJobDependency = void 0;
|
|
4
|
+
exports.RegisterJobDefinitionResponse = exports.RegisterJobDefinitionRequest = exports.JobDefinitionType = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSchedulingPoliciesResponse = exports.SchedulingPolicyListingDetail = exports.ListSchedulingPoliciesRequest = exports.ListJobsResponse = exports.JobSummary = exports.NodePropertiesSummary = exports.ContainerSummary = exports.ListJobsRequest = exports.KeyValuesPair = exports.DescribeSchedulingPoliciesResponse = exports.SchedulingPolicyDetail = exports.DescribeSchedulingPoliciesRequest = exports.DescribeJobsResponse = exports.JobDetail = exports.JobStatus = exports.NodeDetails = exports.JobDependency = exports.ContainerDetail = exports.DescribeJobsRequest = exports.DescribeJobQueuesResponse = exports.JobQueueDetail = exports.JQStatus = exports.DescribeJobQueuesRequest = exports.DescribeJobDefinitionsResponse = exports.JobDefinition = exports.JobTimeout = exports.RetryStrategy = exports.EvaluateOnExit = exports.RetryAction = exports.PlatformCapability = exports.NodeProperties = exports.NodeRangeProperty = exports.ContainerProperties = exports.Volume = exports.Host = exports.EFSVolumeConfiguration = exports.EFSTransitEncryption = exports.EFSAuthorizationConfig = exports.EFSAuthorizationConfigIAM = exports.Ulimit = exports.ResourceRequirement = exports.ResourceType = exports.NetworkConfiguration = exports.MountPoint = exports.LogConfiguration = void 0;
|
|
5
|
+
exports.UpdateSchedulingPolicyResponse = exports.UpdateSchedulingPolicyRequest = exports.UpdateJobQueueResponse = exports.UpdateJobQueueRequest = exports.UpdateComputeEnvironmentResponse = exports.UpdateComputeEnvironmentRequest = exports.ComputeResourceUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TerminateJobResponse = exports.TerminateJobRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SubmitJobResponse = exports.SubmitJobRequest = exports.NodeOverrides = exports.NodePropertyOverride = exports.ContainerOverrides = void 0;
|
|
6
|
+
const BatchServiceException_1 = require("./BatchServiceException");
|
|
6
7
|
var ArrayJobDependency;
|
|
7
8
|
(function (ArrayJobDependency) {
|
|
8
9
|
ArrayJobDependency["N_TO_N"] = "N_TO_N";
|
|
@@ -61,6 +62,32 @@ var CancelJobResponse;
|
|
|
61
62
|
...obj,
|
|
62
63
|
});
|
|
63
64
|
})(CancelJobResponse = exports.CancelJobResponse || (exports.CancelJobResponse = {}));
|
|
65
|
+
class ClientException extends BatchServiceException_1.BatchServiceException {
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "ClientException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
this.name = "ClientException";
|
|
73
|
+
this.$fault = "client";
|
|
74
|
+
Object.setPrototypeOf(this, ClientException.prototype);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.ClientException = ClientException;
|
|
78
|
+
class ServerException extends BatchServiceException_1.BatchServiceException {
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "ServerException",
|
|
82
|
+
$fault: "server",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
this.name = "ServerException";
|
|
86
|
+
this.$fault = "server";
|
|
87
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.ServerException = ServerException;
|
|
64
91
|
var CRAllocationStrategy;
|
|
65
92
|
(function (CRAllocationStrategy) {
|
|
66
93
|
CRAllocationStrategy["BEST_FIT"] = "BEST_FIT";
|