@aws-sdk/client-storage-gateway 3.1148.0 → 3.1149.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 +5 -1
- package/dist-es/models/StorageGatewayServiceException.js +1 -0
- package/dist-es/models/errors.js +3 -0
- package/dist-types/models/StorageGatewayServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +3 -0
- package/dist-types/ts3.4/models/StorageGatewayServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +3 -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.1148.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class StorageGatewayServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.storagegateway#StorageGatewayServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, StorageGatewayServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class StorageGatewayServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class InternalServerError extends StorageGatewayServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.storagegateway#InternalServerError";
|
|
142
144
|
name = "InternalServerError";
|
|
143
145
|
$fault = "server";
|
|
144
146
|
error;
|
|
@@ -153,6 +155,7 @@ class InternalServerError extends StorageGatewayServiceException {
|
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
class InvalidGatewayRequestException extends StorageGatewayServiceException {
|
|
158
|
+
static shapeId = "com.amazonaws.storagegateway#InvalidGatewayRequestException";
|
|
156
159
|
name = "InvalidGatewayRequestException";
|
|
157
160
|
$fault = "client";
|
|
158
161
|
error;
|
|
@@ -167,6 +170,7 @@ class InvalidGatewayRequestException extends StorageGatewayServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class ServiceUnavailableError extends StorageGatewayServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.storagegateway#ServiceUnavailableError";
|
|
170
174
|
name = "ServiceUnavailableError";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
error;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class StorageGatewayServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.storagegateway#StorageGatewayServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, StorageGatewayServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { StorageGatewayServiceException as __BaseException } from "./StorageGatewayServiceException";
|
|
2
2
|
export class InternalServerError extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.storagegateway#InternalServerError";
|
|
3
4
|
name = "InternalServerError";
|
|
4
5
|
$fault = "server";
|
|
5
6
|
error;
|
|
@@ -14,6 +15,7 @@ export class InternalServerError extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InvalidGatewayRequestException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.storagegateway#InvalidGatewayRequestException";
|
|
17
19
|
name = "InvalidGatewayRequestException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
error;
|
|
@@ -28,6 +30,7 @@ export class InvalidGatewayRequestException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class ServiceUnavailableError extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.storagegateway#ServiceUnavailableError";
|
|
31
34
|
name = "ServiceUnavailableError";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
error;
|
|
@@ -7,6 +7,7 @@ import { StorageGatewayServiceException as __BaseException } from "./StorageGate
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class InternalServerError extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "InternalServerError";
|
|
11
12
|
readonly $fault: "server";
|
|
12
13
|
/**
|
|
@@ -26,6 +27,7 @@ export declare class InternalServerError extends __BaseException {
|
|
|
26
27
|
* @public
|
|
27
28
|
*/
|
|
28
29
|
export declare class InvalidGatewayRequestException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
29
31
|
readonly name: "InvalidGatewayRequestException";
|
|
30
32
|
readonly $fault: "client";
|
|
31
33
|
/**
|
|
@@ -45,6 +47,7 @@ export declare class InvalidGatewayRequestException extends __BaseException {
|
|
|
45
47
|
* @public
|
|
46
48
|
*/
|
|
47
49
|
export declare class ServiceUnavailableError extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
48
51
|
readonly name: "ServiceUnavailableError";
|
|
49
52
|
readonly $fault: "server";
|
|
50
53
|
/**
|
|
@@ -2,18 +2,21 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
|
|
|
2
2
|
import { StorageGatewayError } from "./models_0";
|
|
3
3
|
import { StorageGatewayServiceException as __BaseException } from "./StorageGatewayServiceException";
|
|
4
4
|
export declare class InternalServerError extends __BaseException {
|
|
5
|
+
static readonly shapeId: string;
|
|
5
6
|
readonly name: "InternalServerError";
|
|
6
7
|
readonly $fault: "server";
|
|
7
8
|
error?: StorageGatewayError | undefined;
|
|
8
9
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class InvalidGatewayRequestException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InvalidGatewayRequestException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
error?: StorageGatewayError | undefined;
|
|
14
16
|
constructor(opts: __ExceptionOptionType<InvalidGatewayRequestException, __BaseException>);
|
|
15
17
|
}
|
|
16
18
|
export declare class ServiceUnavailableError extends __BaseException {
|
|
19
|
+
static readonly shapeId: string;
|
|
17
20
|
readonly name: "ServiceUnavailableError";
|
|
18
21
|
readonly $fault: "server";
|
|
19
22
|
error?: StorageGatewayError | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-storage-gateway",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Storage Gateway Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-storage-gateway",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.978.2",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
53
53
|
"@aws-sdk/types": "^3.974.6",
|
|
54
|
-
"@smithy/core": "^3.35.
|
|
54
|
+
"@smithy/core": "^3.35.2",
|
|
55
55
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
56
56
|
"@smithy/node-http-handler": "^4.12.1",
|
|
57
57
|
"@smithy/types": "^4.19.0",
|