@aws-sdk/client-backup 3.1147.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 +12 -1
- package/dist-es/models/BackupServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/BackupServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/BackupServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -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 BackupServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.backup#BackupServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, BackupServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class BackupServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AlreadyExistsException extends BackupServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.backup#AlreadyExistsException";
|
|
142
144
|
name = "AlreadyExistsException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Code;
|
|
@@ -163,6 +165,7 @@ class AlreadyExistsException extends BackupServiceException {
|
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
class InvalidParameterValueException extends BackupServiceException {
|
|
168
|
+
static shapeId = "com.amazonaws.backup#InvalidParameterValueException";
|
|
166
169
|
name = "InvalidParameterValueException";
|
|
167
170
|
$fault = "client";
|
|
168
171
|
Code;
|
|
@@ -183,6 +186,7 @@ class InvalidParameterValueException extends BackupServiceException {
|
|
|
183
186
|
}
|
|
184
187
|
}
|
|
185
188
|
class InvalidRequestException extends BackupServiceException {
|
|
189
|
+
static shapeId = "com.amazonaws.backup#InvalidRequestException";
|
|
186
190
|
name = "InvalidRequestException";
|
|
187
191
|
$fault = "client";
|
|
188
192
|
Code;
|
|
@@ -203,6 +207,7 @@ class InvalidRequestException extends BackupServiceException {
|
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
209
|
class MissingParameterValueException extends BackupServiceException {
|
|
210
|
+
static shapeId = "com.amazonaws.backup#MissingParameterValueException";
|
|
206
211
|
name = "MissingParameterValueException";
|
|
207
212
|
$fault = "client";
|
|
208
213
|
Code;
|
|
@@ -223,6 +228,7 @@ class MissingParameterValueException extends BackupServiceException {
|
|
|
223
228
|
}
|
|
224
229
|
}
|
|
225
230
|
class ResourceNotFoundException extends BackupServiceException {
|
|
231
|
+
static shapeId = "com.amazonaws.backup#ResourceNotFoundException";
|
|
226
232
|
name = "ResourceNotFoundException";
|
|
227
233
|
$fault = "client";
|
|
228
234
|
Code;
|
|
@@ -243,6 +249,7 @@ class ResourceNotFoundException extends BackupServiceException {
|
|
|
243
249
|
}
|
|
244
250
|
}
|
|
245
251
|
class ServiceUnavailableException extends BackupServiceException {
|
|
252
|
+
static shapeId = "com.amazonaws.backup#ServiceUnavailableException";
|
|
246
253
|
name = "ServiceUnavailableException";
|
|
247
254
|
$fault = "server";
|
|
248
255
|
Code;
|
|
@@ -263,6 +270,7 @@ class ServiceUnavailableException extends BackupServiceException {
|
|
|
263
270
|
}
|
|
264
271
|
}
|
|
265
272
|
class InvalidResourceStateException extends BackupServiceException {
|
|
273
|
+
static shapeId = "com.amazonaws.backup#InvalidResourceStateException";
|
|
266
274
|
name = "InvalidResourceStateException";
|
|
267
275
|
$fault = "client";
|
|
268
276
|
Code;
|
|
@@ -283,6 +291,7 @@ class InvalidResourceStateException extends BackupServiceException {
|
|
|
283
291
|
}
|
|
284
292
|
}
|
|
285
293
|
class ConflictException extends BackupServiceException {
|
|
294
|
+
static shapeId = "com.amazonaws.backup#ConflictException";
|
|
286
295
|
name = "ConflictException";
|
|
287
296
|
$fault = "client";
|
|
288
297
|
Code;
|
|
@@ -303,6 +312,7 @@ class ConflictException extends BackupServiceException {
|
|
|
303
312
|
}
|
|
304
313
|
}
|
|
305
314
|
class LimitExceededException extends BackupServiceException {
|
|
315
|
+
static shapeId = "com.amazonaws.backup#LimitExceededException";
|
|
306
316
|
name = "LimitExceededException";
|
|
307
317
|
$fault = "client";
|
|
308
318
|
Code;
|
|
@@ -323,6 +333,7 @@ class LimitExceededException extends BackupServiceException {
|
|
|
323
333
|
}
|
|
324
334
|
}
|
|
325
335
|
class DependencyFailureException extends BackupServiceException {
|
|
336
|
+
static shapeId = "com.amazonaws.backup#DependencyFailureException";
|
|
326
337
|
name = "DependencyFailureException";
|
|
327
338
|
$fault = "server";
|
|
328
339
|
Code;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BackupServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.backup#BackupServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BackupServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BackupServiceException as __BaseException } from "./BackupServiceException";
|
|
2
2
|
export class AlreadyExistsException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.backup#AlreadyExistsException";
|
|
3
4
|
name = "AlreadyExistsException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Code;
|
|
@@ -24,6 +25,7 @@ export class AlreadyExistsException extends __BaseException {
|
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
export class InvalidParameterValueException extends __BaseException {
|
|
28
|
+
static shapeId = "com.amazonaws.backup#InvalidParameterValueException";
|
|
27
29
|
name = "InvalidParameterValueException";
|
|
28
30
|
$fault = "client";
|
|
29
31
|
Code;
|
|
@@ -44,6 +46,7 @@ export class InvalidParameterValueException extends __BaseException {
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
export class InvalidRequestException extends __BaseException {
|
|
49
|
+
static shapeId = "com.amazonaws.backup#InvalidRequestException";
|
|
47
50
|
name = "InvalidRequestException";
|
|
48
51
|
$fault = "client";
|
|
49
52
|
Code;
|
|
@@ -64,6 +67,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
64
67
|
}
|
|
65
68
|
}
|
|
66
69
|
export class MissingParameterValueException extends __BaseException {
|
|
70
|
+
static shapeId = "com.amazonaws.backup#MissingParameterValueException";
|
|
67
71
|
name = "MissingParameterValueException";
|
|
68
72
|
$fault = "client";
|
|
69
73
|
Code;
|
|
@@ -84,6 +88,7 @@ export class MissingParameterValueException extends __BaseException {
|
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
export class ResourceNotFoundException extends __BaseException {
|
|
91
|
+
static shapeId = "com.amazonaws.backup#ResourceNotFoundException";
|
|
87
92
|
name = "ResourceNotFoundException";
|
|
88
93
|
$fault = "client";
|
|
89
94
|
Code;
|
|
@@ -104,6 +109,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
104
109
|
}
|
|
105
110
|
}
|
|
106
111
|
export class ServiceUnavailableException extends __BaseException {
|
|
112
|
+
static shapeId = "com.amazonaws.backup#ServiceUnavailableException";
|
|
107
113
|
name = "ServiceUnavailableException";
|
|
108
114
|
$fault = "server";
|
|
109
115
|
Code;
|
|
@@ -124,6 +130,7 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
124
130
|
}
|
|
125
131
|
}
|
|
126
132
|
export class InvalidResourceStateException extends __BaseException {
|
|
133
|
+
static shapeId = "com.amazonaws.backup#InvalidResourceStateException";
|
|
127
134
|
name = "InvalidResourceStateException";
|
|
128
135
|
$fault = "client";
|
|
129
136
|
Code;
|
|
@@ -144,6 +151,7 @@ export class InvalidResourceStateException extends __BaseException {
|
|
|
144
151
|
}
|
|
145
152
|
}
|
|
146
153
|
export class ConflictException extends __BaseException {
|
|
154
|
+
static shapeId = "com.amazonaws.backup#ConflictException";
|
|
147
155
|
name = "ConflictException";
|
|
148
156
|
$fault = "client";
|
|
149
157
|
Code;
|
|
@@ -164,6 +172,7 @@ export class ConflictException extends __BaseException {
|
|
|
164
172
|
}
|
|
165
173
|
}
|
|
166
174
|
export class LimitExceededException extends __BaseException {
|
|
175
|
+
static shapeId = "com.amazonaws.backup#LimitExceededException";
|
|
167
176
|
name = "LimitExceededException";
|
|
168
177
|
$fault = "client";
|
|
169
178
|
Code;
|
|
@@ -184,6 +193,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
184
193
|
}
|
|
185
194
|
}
|
|
186
195
|
export class DependencyFailureException extends __BaseException {
|
|
196
|
+
static shapeId = "com.amazonaws.backup#DependencyFailureException";
|
|
187
197
|
name = "DependencyFailureException";
|
|
188
198
|
$fault = "server";
|
|
189
199
|
Code;
|
|
@@ -5,6 +5,7 @@ import { BackupServiceException as __BaseException } from "./BackupServiceExcept
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AlreadyExistsException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AlreadyExistsException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
Code?: string | undefined;
|
|
@@ -40,6 +41,7 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
43
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
43
45
|
readonly name: "InvalidParameterValueException";
|
|
44
46
|
readonly $fault: "client";
|
|
45
47
|
Code?: string | undefined;
|
|
@@ -65,6 +67,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
65
67
|
* @public
|
|
66
68
|
*/
|
|
67
69
|
export declare class InvalidRequestException extends __BaseException {
|
|
70
|
+
static readonly shapeId: string;
|
|
68
71
|
readonly name: "InvalidRequestException";
|
|
69
72
|
readonly $fault: "client";
|
|
70
73
|
Code?: string | undefined;
|
|
@@ -89,6 +92,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
89
92
|
* @public
|
|
90
93
|
*/
|
|
91
94
|
export declare class MissingParameterValueException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
92
96
|
readonly name: "MissingParameterValueException";
|
|
93
97
|
readonly $fault: "client";
|
|
94
98
|
Code?: string | undefined;
|
|
@@ -113,6 +117,7 @@ export declare class MissingParameterValueException extends __BaseException {
|
|
|
113
117
|
* @public
|
|
114
118
|
*/
|
|
115
119
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
120
|
+
static readonly shapeId: string;
|
|
116
121
|
readonly name: "ResourceNotFoundException";
|
|
117
122
|
readonly $fault: "client";
|
|
118
123
|
Code?: string | undefined;
|
|
@@ -137,6 +142,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
137
142
|
* @public
|
|
138
143
|
*/
|
|
139
144
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
145
|
+
static readonly shapeId: string;
|
|
140
146
|
readonly name: "ServiceUnavailableException";
|
|
141
147
|
readonly $fault: "server";
|
|
142
148
|
Code?: string | undefined;
|
|
@@ -162,6 +168,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
162
168
|
* @public
|
|
163
169
|
*/
|
|
164
170
|
export declare class InvalidResourceStateException extends __BaseException {
|
|
171
|
+
static readonly shapeId: string;
|
|
165
172
|
readonly name: "InvalidResourceStateException";
|
|
166
173
|
readonly $fault: "client";
|
|
167
174
|
Code?: string | undefined;
|
|
@@ -187,6 +194,7 @@ export declare class InvalidResourceStateException extends __BaseException {
|
|
|
187
194
|
* @public
|
|
188
195
|
*/
|
|
189
196
|
export declare class ConflictException extends __BaseException {
|
|
197
|
+
static readonly shapeId: string;
|
|
190
198
|
readonly name: "ConflictException";
|
|
191
199
|
readonly $fault: "client";
|
|
192
200
|
Code?: string | undefined;
|
|
@@ -212,6 +220,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
212
220
|
* @public
|
|
213
221
|
*/
|
|
214
222
|
export declare class LimitExceededException extends __BaseException {
|
|
223
|
+
static readonly shapeId: string;
|
|
215
224
|
readonly name: "LimitExceededException";
|
|
216
225
|
readonly $fault: "client";
|
|
217
226
|
Code?: string | undefined;
|
|
@@ -236,6 +245,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
236
245
|
* @public
|
|
237
246
|
*/
|
|
238
247
|
export declare class DependencyFailureException extends __BaseException {
|
|
248
|
+
static readonly shapeId: string;
|
|
239
249
|
readonly name: "DependencyFailureException";
|
|
240
250
|
readonly $fault: "server";
|
|
241
251
|
Code?: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { BackupServiceException as __BaseException } from "./BackupServiceException";
|
|
3
3
|
export declare class AlreadyExistsException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AlreadyExistsException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
Code?: string | undefined;
|
|
@@ -12,6 +13,7 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
export declare class InvalidParameterValueException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
15
17
|
readonly name: "InvalidParameterValueException";
|
|
16
18
|
readonly $fault: "client";
|
|
17
19
|
Code?: string | undefined;
|
|
@@ -21,6 +23,7 @@ export declare class InvalidParameterValueException extends __BaseException {
|
|
|
21
23
|
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
22
24
|
}
|
|
23
25
|
export declare class InvalidRequestException extends __BaseException {
|
|
26
|
+
static readonly shapeId: string;
|
|
24
27
|
readonly name: "InvalidRequestException";
|
|
25
28
|
readonly $fault: "client";
|
|
26
29
|
Code?: string | undefined;
|
|
@@ -30,6 +33,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
30
33
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
31
34
|
}
|
|
32
35
|
export declare class MissingParameterValueException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
33
37
|
readonly name: "MissingParameterValueException";
|
|
34
38
|
readonly $fault: "client";
|
|
35
39
|
Code?: string | undefined;
|
|
@@ -39,6 +43,7 @@ export declare class MissingParameterValueException extends __BaseException {
|
|
|
39
43
|
constructor(opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>);
|
|
40
44
|
}
|
|
41
45
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
42
47
|
readonly name: "ResourceNotFoundException";
|
|
43
48
|
readonly $fault: "client";
|
|
44
49
|
Code?: string | undefined;
|
|
@@ -48,6 +53,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
48
53
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
49
54
|
}
|
|
50
55
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
51
57
|
readonly name: "ServiceUnavailableException";
|
|
52
58
|
readonly $fault: "server";
|
|
53
59
|
Code?: string | undefined;
|
|
@@ -57,6 +63,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
57
63
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
58
64
|
}
|
|
59
65
|
export declare class InvalidResourceStateException extends __BaseException {
|
|
66
|
+
static readonly shapeId: string;
|
|
60
67
|
readonly name: "InvalidResourceStateException";
|
|
61
68
|
readonly $fault: "client";
|
|
62
69
|
Code?: string | undefined;
|
|
@@ -66,6 +73,7 @@ export declare class InvalidResourceStateException extends __BaseException {
|
|
|
66
73
|
constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
|
|
67
74
|
}
|
|
68
75
|
export declare class ConflictException extends __BaseException {
|
|
76
|
+
static readonly shapeId: string;
|
|
69
77
|
readonly name: "ConflictException";
|
|
70
78
|
readonly $fault: "client";
|
|
71
79
|
Code?: string | undefined;
|
|
@@ -75,6 +83,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
75
83
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
76
84
|
}
|
|
77
85
|
export declare class LimitExceededException extends __BaseException {
|
|
86
|
+
static readonly shapeId: string;
|
|
78
87
|
readonly name: "LimitExceededException";
|
|
79
88
|
readonly $fault: "client";
|
|
80
89
|
Code?: string | undefined;
|
|
@@ -84,6 +93,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
84
93
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
85
94
|
}
|
|
86
95
|
export declare class DependencyFailureException extends __BaseException {
|
|
96
|
+
static readonly shapeId: string;
|
|
87
97
|
readonly name: "DependencyFailureException";
|
|
88
98
|
readonly $fault: "server";
|
|
89
99
|
Code?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-backup",
|
|
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.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
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",
|