@aws-sdk/client-batch 3.1148.0 → 3.1150.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 +4 -1
- package/dist-es/models/BatchServiceException.js +1 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-types/models/BatchServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/BatchServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -138,6 +138,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
138
138
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
139
139
|
|
|
140
140
|
class BatchServiceException extends ServiceException {
|
|
141
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.batch#BatchServiceException";
|
|
141
142
|
constructor(options) {
|
|
142
143
|
super(options);
|
|
143
144
|
Object.setPrototypeOf(this, BatchServiceException.prototype);
|
|
@@ -145,6 +146,7 @@ class BatchServiceException extends ServiceException {
|
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
class ClientException extends BatchServiceException {
|
|
149
|
+
static shapeId = "com.amazonaws.batch#ClientException";
|
|
148
150
|
name = "ClientException";
|
|
149
151
|
$fault = "client";
|
|
150
152
|
constructor(opts) {
|
|
@@ -157,6 +159,7 @@ class ClientException extends BatchServiceException {
|
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
class ServerException extends BatchServiceException {
|
|
162
|
+
static shapeId = "com.amazonaws.batch#ServerException";
|
|
160
163
|
name = "ServerException";
|
|
161
164
|
$fault = "server";
|
|
162
165
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BatchServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.batch#BatchServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BatchServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
2
|
export class ClientException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.batch#ClientException";
|
|
3
4
|
name = "ClientException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class ClientException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ServerException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.batch#ServerException";
|
|
15
17
|
name = "ServerException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
constructor(opts) {
|
|
@@ -7,6 +7,7 @@ import { BatchServiceException as __BaseException } from "./BatchServiceExceptio
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class ClientException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "ClientException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class ClientException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ServerException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ServerException";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
/**
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
3
3
|
export declare class ClientException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "ClientException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class ServerException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "ServerException";
|
|
10
12
|
readonly $fault: "server";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-batch",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|