@aws-sdk/client-batch 3.52.0 → 3.53.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/CHANGELOG.md +11 -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/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/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/package.json +25 -25
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Batch service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class BatchServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
3
|
export declare enum ArrayJobDependency {
|
|
3
4
|
N_TO_N = "N_TO_N",
|
|
4
5
|
SEQUENTIAL = "SEQUENTIAL"
|
|
@@ -193,18 +194,24 @@ export declare namespace CancelJobResponse {
|
|
|
193
194
|
* <p>These errors are usually caused by a client action, such as using an action or resource on behalf of a user that
|
|
194
195
|
* doesn't have permissions to use the action or resource, or specifying an identifier that's not valid.</p>
|
|
195
196
|
*/
|
|
196
|
-
export
|
|
197
|
-
name: "ClientException";
|
|
198
|
-
$fault: "client";
|
|
199
|
-
|
|
197
|
+
export declare class ClientException extends __BaseException {
|
|
198
|
+
readonly name: "ClientException";
|
|
199
|
+
readonly $fault: "client";
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
200
204
|
}
|
|
201
205
|
/**
|
|
202
206
|
* <p>These errors are usually caused by a server issue.</p>
|
|
203
207
|
*/
|
|
204
|
-
export
|
|
205
|
-
name: "ServerException";
|
|
206
|
-
$fault: "server";
|
|
207
|
-
|
|
208
|
+
export declare class ServerException extends __BaseException {
|
|
209
|
+
readonly name: "ServerException";
|
|
210
|
+
readonly $fault: "server";
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
208
215
|
}
|
|
209
216
|
export declare enum CRAllocationStrategy {
|
|
210
217
|
BEST_FIT = "BEST_FIT",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
3
|
export declare enum ArrayJobDependency {
|
|
3
4
|
N_TO_N = "N_TO_N",
|
|
4
5
|
SEQUENTIAL = "SEQUENTIAL"
|
|
@@ -107,16 +108,18 @@ export declare namespace CancelJobResponse {
|
|
|
107
108
|
const filterSensitiveLog: (obj: CancelJobResponse) => any;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
export
|
|
111
|
-
name: "ClientException";
|
|
112
|
-
$fault: "client";
|
|
113
|
-
|
|
111
|
+
export declare class ClientException extends __BaseException {
|
|
112
|
+
readonly name: "ClientException";
|
|
113
|
+
readonly $fault: "client";
|
|
114
|
+
|
|
115
|
+
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
114
116
|
}
|
|
115
117
|
|
|
116
|
-
export
|
|
117
|
-
name: "ServerException";
|
|
118
|
-
$fault: "server";
|
|
119
|
-
|
|
118
|
+
export declare class ServerException extends __BaseException {
|
|
119
|
+
readonly name: "ServerException";
|
|
120
|
+
readonly $fault: "server";
|
|
121
|
+
|
|
122
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
120
123
|
}
|
|
121
124
|
export declare enum CRAllocationStrategy {
|
|
122
125
|
BEST_FIT = "BEST_FIT",
|
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.53.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",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|