@aws-sdk/client-fsx 3.987.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FSxServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class FSxServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, FSxServiceException.prototype);
10
+ }
11
+ }
12
+ exports.FSxServiceException = FSxServiceException;
@@ -0,0 +1,638 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFound = exports.ResourceDoesNotSupportTagging = exports.NotServiceResourceError = exports.S3AccessPointAttachmentNotFound = exports.InvalidDataRepositoryType = exports.SnapshotNotFound = exports.FileCacheNotFound = exports.DataRepositoryAssociationNotFound = exports.BackupRestoring = exports.BackupBeingCopied = exports.StorageVirtualMachineNotFound = exports.MissingVolumeConfiguration = exports.MissingFileSystemConfiguration = exports.InvalidImportPath = exports.InvalidExportPath = exports.MissingFileCacheConfiguration = exports.InvalidPerUnitStorageThroughput = exports.InvalidNetworkSettings = exports.DataRepositoryTaskExecuting = exports.BackupInProgress = exports.VolumeNotFound = exports.TooManyAccessPoints = exports.InvalidRequest = exports.InvalidAccessPoint = exports.SourceBackupUnavailable = exports.ServiceLimitExceeded = exports.InvalidSourceKmsKey = exports.InvalidRegion = exports.InvalidDestinationKmsKey = exports.IncompatibleRegionForMultiAZ = exports.IncompatibleParameterError = exports.BackupNotFound = exports.UnsupportedOperation = exports.DataRepositoryTaskNotFound = exports.DataRepositoryTaskEnded = exports.InternalServerError = exports.FileSystemNotFound = exports.BadRequest = exports.ActiveDirectoryError = exports.AccessPointAlreadyOwnedByYou = void 0;
4
+ const FSxServiceException_1 = require("./FSxServiceException");
5
+ class AccessPointAlreadyOwnedByYou extends FSxServiceException_1.FSxServiceException {
6
+ name = "AccessPointAlreadyOwnedByYou";
7
+ $fault = "client";
8
+ ErrorCode;
9
+ Message;
10
+ constructor(opts) {
11
+ super({
12
+ name: "AccessPointAlreadyOwnedByYou",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ Object.setPrototypeOf(this, AccessPointAlreadyOwnedByYou.prototype);
17
+ this.ErrorCode = opts.ErrorCode;
18
+ this.Message = opts.Message;
19
+ }
20
+ }
21
+ exports.AccessPointAlreadyOwnedByYou = AccessPointAlreadyOwnedByYou;
22
+ class ActiveDirectoryError extends FSxServiceException_1.FSxServiceException {
23
+ name = "ActiveDirectoryError";
24
+ $fault = "client";
25
+ ActiveDirectoryId;
26
+ Type;
27
+ Message;
28
+ constructor(opts) {
29
+ super({
30
+ name: "ActiveDirectoryError",
31
+ $fault: "client",
32
+ ...opts,
33
+ });
34
+ Object.setPrototypeOf(this, ActiveDirectoryError.prototype);
35
+ this.ActiveDirectoryId = opts.ActiveDirectoryId;
36
+ this.Type = opts.Type;
37
+ this.Message = opts.Message;
38
+ }
39
+ }
40
+ exports.ActiveDirectoryError = ActiveDirectoryError;
41
+ class BadRequest extends FSxServiceException_1.FSxServiceException {
42
+ name = "BadRequest";
43
+ $fault = "client";
44
+ Message;
45
+ constructor(opts) {
46
+ super({
47
+ name: "BadRequest",
48
+ $fault: "client",
49
+ ...opts,
50
+ });
51
+ Object.setPrototypeOf(this, BadRequest.prototype);
52
+ this.Message = opts.Message;
53
+ }
54
+ }
55
+ exports.BadRequest = BadRequest;
56
+ class FileSystemNotFound extends FSxServiceException_1.FSxServiceException {
57
+ name = "FileSystemNotFound";
58
+ $fault = "client";
59
+ Message;
60
+ constructor(opts) {
61
+ super({
62
+ name: "FileSystemNotFound",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, FileSystemNotFound.prototype);
67
+ this.Message = opts.Message;
68
+ }
69
+ }
70
+ exports.FileSystemNotFound = FileSystemNotFound;
71
+ class InternalServerError extends FSxServiceException_1.FSxServiceException {
72
+ name = "InternalServerError";
73
+ $fault = "server";
74
+ Message;
75
+ constructor(opts) {
76
+ super({
77
+ name: "InternalServerError",
78
+ $fault: "server",
79
+ ...opts,
80
+ });
81
+ Object.setPrototypeOf(this, InternalServerError.prototype);
82
+ this.Message = opts.Message;
83
+ }
84
+ }
85
+ exports.InternalServerError = InternalServerError;
86
+ class DataRepositoryTaskEnded extends FSxServiceException_1.FSxServiceException {
87
+ name = "DataRepositoryTaskEnded";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "DataRepositoryTaskEnded",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, DataRepositoryTaskEnded.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ exports.DataRepositoryTaskEnded = DataRepositoryTaskEnded;
101
+ class DataRepositoryTaskNotFound extends FSxServiceException_1.FSxServiceException {
102
+ name = "DataRepositoryTaskNotFound";
103
+ $fault = "client";
104
+ Message;
105
+ constructor(opts) {
106
+ super({
107
+ name: "DataRepositoryTaskNotFound",
108
+ $fault: "client",
109
+ ...opts,
110
+ });
111
+ Object.setPrototypeOf(this, DataRepositoryTaskNotFound.prototype);
112
+ this.Message = opts.Message;
113
+ }
114
+ }
115
+ exports.DataRepositoryTaskNotFound = DataRepositoryTaskNotFound;
116
+ class UnsupportedOperation extends FSxServiceException_1.FSxServiceException {
117
+ name = "UnsupportedOperation";
118
+ $fault = "client";
119
+ Message;
120
+ constructor(opts) {
121
+ super({
122
+ name: "UnsupportedOperation",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ Object.setPrototypeOf(this, UnsupportedOperation.prototype);
127
+ this.Message = opts.Message;
128
+ }
129
+ }
130
+ exports.UnsupportedOperation = UnsupportedOperation;
131
+ class BackupNotFound extends FSxServiceException_1.FSxServiceException {
132
+ name = "BackupNotFound";
133
+ $fault = "client";
134
+ Message;
135
+ constructor(opts) {
136
+ super({
137
+ name: "BackupNotFound",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ Object.setPrototypeOf(this, BackupNotFound.prototype);
142
+ this.Message = opts.Message;
143
+ }
144
+ }
145
+ exports.BackupNotFound = BackupNotFound;
146
+ class IncompatibleParameterError extends FSxServiceException_1.FSxServiceException {
147
+ name = "IncompatibleParameterError";
148
+ $fault = "client";
149
+ Parameter;
150
+ Message;
151
+ constructor(opts) {
152
+ super({
153
+ name: "IncompatibleParameterError",
154
+ $fault: "client",
155
+ ...opts,
156
+ });
157
+ Object.setPrototypeOf(this, IncompatibleParameterError.prototype);
158
+ this.Parameter = opts.Parameter;
159
+ this.Message = opts.Message;
160
+ }
161
+ }
162
+ exports.IncompatibleParameterError = IncompatibleParameterError;
163
+ class IncompatibleRegionForMultiAZ extends FSxServiceException_1.FSxServiceException {
164
+ name = "IncompatibleRegionForMultiAZ";
165
+ $fault = "client";
166
+ Message;
167
+ constructor(opts) {
168
+ super({
169
+ name: "IncompatibleRegionForMultiAZ",
170
+ $fault: "client",
171
+ ...opts,
172
+ });
173
+ Object.setPrototypeOf(this, IncompatibleRegionForMultiAZ.prototype);
174
+ this.Message = opts.Message;
175
+ }
176
+ }
177
+ exports.IncompatibleRegionForMultiAZ = IncompatibleRegionForMultiAZ;
178
+ class InvalidDestinationKmsKey extends FSxServiceException_1.FSxServiceException {
179
+ name = "InvalidDestinationKmsKey";
180
+ $fault = "client";
181
+ Message;
182
+ constructor(opts) {
183
+ super({
184
+ name: "InvalidDestinationKmsKey",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, InvalidDestinationKmsKey.prototype);
189
+ this.Message = opts.Message;
190
+ }
191
+ }
192
+ exports.InvalidDestinationKmsKey = InvalidDestinationKmsKey;
193
+ class InvalidRegion extends FSxServiceException_1.FSxServiceException {
194
+ name = "InvalidRegion";
195
+ $fault = "client";
196
+ Message;
197
+ constructor(opts) {
198
+ super({
199
+ name: "InvalidRegion",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, InvalidRegion.prototype);
204
+ this.Message = opts.Message;
205
+ }
206
+ }
207
+ exports.InvalidRegion = InvalidRegion;
208
+ class InvalidSourceKmsKey extends FSxServiceException_1.FSxServiceException {
209
+ name = "InvalidSourceKmsKey";
210
+ $fault = "client";
211
+ Message;
212
+ constructor(opts) {
213
+ super({
214
+ name: "InvalidSourceKmsKey",
215
+ $fault: "client",
216
+ ...opts,
217
+ });
218
+ Object.setPrototypeOf(this, InvalidSourceKmsKey.prototype);
219
+ this.Message = opts.Message;
220
+ }
221
+ }
222
+ exports.InvalidSourceKmsKey = InvalidSourceKmsKey;
223
+ class ServiceLimitExceeded extends FSxServiceException_1.FSxServiceException {
224
+ name = "ServiceLimitExceeded";
225
+ $fault = "client";
226
+ Limit;
227
+ Message;
228
+ constructor(opts) {
229
+ super({
230
+ name: "ServiceLimitExceeded",
231
+ $fault: "client",
232
+ ...opts,
233
+ });
234
+ Object.setPrototypeOf(this, ServiceLimitExceeded.prototype);
235
+ this.Limit = opts.Limit;
236
+ this.Message = opts.Message;
237
+ }
238
+ }
239
+ exports.ServiceLimitExceeded = ServiceLimitExceeded;
240
+ class SourceBackupUnavailable extends FSxServiceException_1.FSxServiceException {
241
+ name = "SourceBackupUnavailable";
242
+ $fault = "client";
243
+ Message;
244
+ BackupId;
245
+ constructor(opts) {
246
+ super({
247
+ name: "SourceBackupUnavailable",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ Object.setPrototypeOf(this, SourceBackupUnavailable.prototype);
252
+ this.Message = opts.Message;
253
+ this.BackupId = opts.BackupId;
254
+ }
255
+ }
256
+ exports.SourceBackupUnavailable = SourceBackupUnavailable;
257
+ class InvalidAccessPoint extends FSxServiceException_1.FSxServiceException {
258
+ name = "InvalidAccessPoint";
259
+ $fault = "client";
260
+ ErrorCode;
261
+ Message;
262
+ constructor(opts) {
263
+ super({
264
+ name: "InvalidAccessPoint",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, InvalidAccessPoint.prototype);
269
+ this.ErrorCode = opts.ErrorCode;
270
+ this.Message = opts.Message;
271
+ }
272
+ }
273
+ exports.InvalidAccessPoint = InvalidAccessPoint;
274
+ class InvalidRequest extends FSxServiceException_1.FSxServiceException {
275
+ name = "InvalidRequest";
276
+ $fault = "client";
277
+ ErrorCode;
278
+ Message;
279
+ constructor(opts) {
280
+ super({
281
+ name: "InvalidRequest",
282
+ $fault: "client",
283
+ ...opts,
284
+ });
285
+ Object.setPrototypeOf(this, InvalidRequest.prototype);
286
+ this.ErrorCode = opts.ErrorCode;
287
+ this.Message = opts.Message;
288
+ }
289
+ }
290
+ exports.InvalidRequest = InvalidRequest;
291
+ class TooManyAccessPoints extends FSxServiceException_1.FSxServiceException {
292
+ name = "TooManyAccessPoints";
293
+ $fault = "client";
294
+ ErrorCode;
295
+ Message;
296
+ constructor(opts) {
297
+ super({
298
+ name: "TooManyAccessPoints",
299
+ $fault: "client",
300
+ ...opts,
301
+ });
302
+ Object.setPrototypeOf(this, TooManyAccessPoints.prototype);
303
+ this.ErrorCode = opts.ErrorCode;
304
+ this.Message = opts.Message;
305
+ }
306
+ }
307
+ exports.TooManyAccessPoints = TooManyAccessPoints;
308
+ class VolumeNotFound extends FSxServiceException_1.FSxServiceException {
309
+ name = "VolumeNotFound";
310
+ $fault = "client";
311
+ Message;
312
+ constructor(opts) {
313
+ super({
314
+ name: "VolumeNotFound",
315
+ $fault: "client",
316
+ ...opts,
317
+ });
318
+ Object.setPrototypeOf(this, VolumeNotFound.prototype);
319
+ this.Message = opts.Message;
320
+ }
321
+ }
322
+ exports.VolumeNotFound = VolumeNotFound;
323
+ class BackupInProgress extends FSxServiceException_1.FSxServiceException {
324
+ name = "BackupInProgress";
325
+ $fault = "client";
326
+ Message;
327
+ constructor(opts) {
328
+ super({
329
+ name: "BackupInProgress",
330
+ $fault: "client",
331
+ ...opts,
332
+ });
333
+ Object.setPrototypeOf(this, BackupInProgress.prototype);
334
+ this.Message = opts.Message;
335
+ }
336
+ }
337
+ exports.BackupInProgress = BackupInProgress;
338
+ class DataRepositoryTaskExecuting extends FSxServiceException_1.FSxServiceException {
339
+ name = "DataRepositoryTaskExecuting";
340
+ $fault = "client";
341
+ Message;
342
+ constructor(opts) {
343
+ super({
344
+ name: "DataRepositoryTaskExecuting",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ Object.setPrototypeOf(this, DataRepositoryTaskExecuting.prototype);
349
+ this.Message = opts.Message;
350
+ }
351
+ }
352
+ exports.DataRepositoryTaskExecuting = DataRepositoryTaskExecuting;
353
+ class InvalidNetworkSettings extends FSxServiceException_1.FSxServiceException {
354
+ name = "InvalidNetworkSettings";
355
+ $fault = "client";
356
+ Message;
357
+ InvalidSubnetId;
358
+ InvalidSecurityGroupId;
359
+ InvalidRouteTableId;
360
+ constructor(opts) {
361
+ super({
362
+ name: "InvalidNetworkSettings",
363
+ $fault: "client",
364
+ ...opts,
365
+ });
366
+ Object.setPrototypeOf(this, InvalidNetworkSettings.prototype);
367
+ this.Message = opts.Message;
368
+ this.InvalidSubnetId = opts.InvalidSubnetId;
369
+ this.InvalidSecurityGroupId = opts.InvalidSecurityGroupId;
370
+ this.InvalidRouteTableId = opts.InvalidRouteTableId;
371
+ }
372
+ }
373
+ exports.InvalidNetworkSettings = InvalidNetworkSettings;
374
+ class InvalidPerUnitStorageThroughput extends FSxServiceException_1.FSxServiceException {
375
+ name = "InvalidPerUnitStorageThroughput";
376
+ $fault = "client";
377
+ Message;
378
+ constructor(opts) {
379
+ super({
380
+ name: "InvalidPerUnitStorageThroughput",
381
+ $fault: "client",
382
+ ...opts,
383
+ });
384
+ Object.setPrototypeOf(this, InvalidPerUnitStorageThroughput.prototype);
385
+ this.Message = opts.Message;
386
+ }
387
+ }
388
+ exports.InvalidPerUnitStorageThroughput = InvalidPerUnitStorageThroughput;
389
+ class MissingFileCacheConfiguration extends FSxServiceException_1.FSxServiceException {
390
+ name = "MissingFileCacheConfiguration";
391
+ $fault = "client";
392
+ Message;
393
+ constructor(opts) {
394
+ super({
395
+ name: "MissingFileCacheConfiguration",
396
+ $fault: "client",
397
+ ...opts,
398
+ });
399
+ Object.setPrototypeOf(this, MissingFileCacheConfiguration.prototype);
400
+ this.Message = opts.Message;
401
+ }
402
+ }
403
+ exports.MissingFileCacheConfiguration = MissingFileCacheConfiguration;
404
+ class InvalidExportPath extends FSxServiceException_1.FSxServiceException {
405
+ name = "InvalidExportPath";
406
+ $fault = "client";
407
+ Message;
408
+ constructor(opts) {
409
+ super({
410
+ name: "InvalidExportPath",
411
+ $fault: "client",
412
+ ...opts,
413
+ });
414
+ Object.setPrototypeOf(this, InvalidExportPath.prototype);
415
+ this.Message = opts.Message;
416
+ }
417
+ }
418
+ exports.InvalidExportPath = InvalidExportPath;
419
+ class InvalidImportPath extends FSxServiceException_1.FSxServiceException {
420
+ name = "InvalidImportPath";
421
+ $fault = "client";
422
+ Message;
423
+ constructor(opts) {
424
+ super({
425
+ name: "InvalidImportPath",
426
+ $fault: "client",
427
+ ...opts,
428
+ });
429
+ Object.setPrototypeOf(this, InvalidImportPath.prototype);
430
+ this.Message = opts.Message;
431
+ }
432
+ }
433
+ exports.InvalidImportPath = InvalidImportPath;
434
+ class MissingFileSystemConfiguration extends FSxServiceException_1.FSxServiceException {
435
+ name = "MissingFileSystemConfiguration";
436
+ $fault = "client";
437
+ Message;
438
+ constructor(opts) {
439
+ super({
440
+ name: "MissingFileSystemConfiguration",
441
+ $fault: "client",
442
+ ...opts,
443
+ });
444
+ Object.setPrototypeOf(this, MissingFileSystemConfiguration.prototype);
445
+ this.Message = opts.Message;
446
+ }
447
+ }
448
+ exports.MissingFileSystemConfiguration = MissingFileSystemConfiguration;
449
+ class MissingVolumeConfiguration extends FSxServiceException_1.FSxServiceException {
450
+ name = "MissingVolumeConfiguration";
451
+ $fault = "client";
452
+ Message;
453
+ constructor(opts) {
454
+ super({
455
+ name: "MissingVolumeConfiguration",
456
+ $fault: "client",
457
+ ...opts,
458
+ });
459
+ Object.setPrototypeOf(this, MissingVolumeConfiguration.prototype);
460
+ this.Message = opts.Message;
461
+ }
462
+ }
463
+ exports.MissingVolumeConfiguration = MissingVolumeConfiguration;
464
+ class StorageVirtualMachineNotFound extends FSxServiceException_1.FSxServiceException {
465
+ name = "StorageVirtualMachineNotFound";
466
+ $fault = "client";
467
+ Message;
468
+ constructor(opts) {
469
+ super({
470
+ name: "StorageVirtualMachineNotFound",
471
+ $fault: "client",
472
+ ...opts,
473
+ });
474
+ Object.setPrototypeOf(this, StorageVirtualMachineNotFound.prototype);
475
+ this.Message = opts.Message;
476
+ }
477
+ }
478
+ exports.StorageVirtualMachineNotFound = StorageVirtualMachineNotFound;
479
+ class BackupBeingCopied extends FSxServiceException_1.FSxServiceException {
480
+ name = "BackupBeingCopied";
481
+ $fault = "client";
482
+ Message;
483
+ BackupId;
484
+ constructor(opts) {
485
+ super({
486
+ name: "BackupBeingCopied",
487
+ $fault: "client",
488
+ ...opts,
489
+ });
490
+ Object.setPrototypeOf(this, BackupBeingCopied.prototype);
491
+ this.Message = opts.Message;
492
+ this.BackupId = opts.BackupId;
493
+ }
494
+ }
495
+ exports.BackupBeingCopied = BackupBeingCopied;
496
+ class BackupRestoring extends FSxServiceException_1.FSxServiceException {
497
+ name = "BackupRestoring";
498
+ $fault = "client";
499
+ Message;
500
+ FileSystemId;
501
+ constructor(opts) {
502
+ super({
503
+ name: "BackupRestoring",
504
+ $fault: "client",
505
+ ...opts,
506
+ });
507
+ Object.setPrototypeOf(this, BackupRestoring.prototype);
508
+ this.Message = opts.Message;
509
+ this.FileSystemId = opts.FileSystemId;
510
+ }
511
+ }
512
+ exports.BackupRestoring = BackupRestoring;
513
+ class DataRepositoryAssociationNotFound extends FSxServiceException_1.FSxServiceException {
514
+ name = "DataRepositoryAssociationNotFound";
515
+ $fault = "client";
516
+ Message;
517
+ constructor(opts) {
518
+ super({
519
+ name: "DataRepositoryAssociationNotFound",
520
+ $fault: "client",
521
+ ...opts,
522
+ });
523
+ Object.setPrototypeOf(this, DataRepositoryAssociationNotFound.prototype);
524
+ this.Message = opts.Message;
525
+ }
526
+ }
527
+ exports.DataRepositoryAssociationNotFound = DataRepositoryAssociationNotFound;
528
+ class FileCacheNotFound extends FSxServiceException_1.FSxServiceException {
529
+ name = "FileCacheNotFound";
530
+ $fault = "client";
531
+ Message;
532
+ constructor(opts) {
533
+ super({
534
+ name: "FileCacheNotFound",
535
+ $fault: "client",
536
+ ...opts,
537
+ });
538
+ Object.setPrototypeOf(this, FileCacheNotFound.prototype);
539
+ this.Message = opts.Message;
540
+ }
541
+ }
542
+ exports.FileCacheNotFound = FileCacheNotFound;
543
+ class SnapshotNotFound extends FSxServiceException_1.FSxServiceException {
544
+ name = "SnapshotNotFound";
545
+ $fault = "client";
546
+ Message;
547
+ constructor(opts) {
548
+ super({
549
+ name: "SnapshotNotFound",
550
+ $fault: "client",
551
+ ...opts,
552
+ });
553
+ Object.setPrototypeOf(this, SnapshotNotFound.prototype);
554
+ this.Message = opts.Message;
555
+ }
556
+ }
557
+ exports.SnapshotNotFound = SnapshotNotFound;
558
+ class InvalidDataRepositoryType extends FSxServiceException_1.FSxServiceException {
559
+ name = "InvalidDataRepositoryType";
560
+ $fault = "client";
561
+ Message;
562
+ constructor(opts) {
563
+ super({
564
+ name: "InvalidDataRepositoryType",
565
+ $fault: "client",
566
+ ...opts,
567
+ });
568
+ Object.setPrototypeOf(this, InvalidDataRepositoryType.prototype);
569
+ this.Message = opts.Message;
570
+ }
571
+ }
572
+ exports.InvalidDataRepositoryType = InvalidDataRepositoryType;
573
+ class S3AccessPointAttachmentNotFound extends FSxServiceException_1.FSxServiceException {
574
+ name = "S3AccessPointAttachmentNotFound";
575
+ $fault = "client";
576
+ Message;
577
+ constructor(opts) {
578
+ super({
579
+ name: "S3AccessPointAttachmentNotFound",
580
+ $fault: "client",
581
+ ...opts,
582
+ });
583
+ Object.setPrototypeOf(this, S3AccessPointAttachmentNotFound.prototype);
584
+ this.Message = opts.Message;
585
+ }
586
+ }
587
+ exports.S3AccessPointAttachmentNotFound = S3AccessPointAttachmentNotFound;
588
+ class NotServiceResourceError extends FSxServiceException_1.FSxServiceException {
589
+ name = "NotServiceResourceError";
590
+ $fault = "client";
591
+ ResourceARN;
592
+ Message;
593
+ constructor(opts) {
594
+ super({
595
+ name: "NotServiceResourceError",
596
+ $fault: "client",
597
+ ...opts,
598
+ });
599
+ Object.setPrototypeOf(this, NotServiceResourceError.prototype);
600
+ this.ResourceARN = opts.ResourceARN;
601
+ this.Message = opts.Message;
602
+ }
603
+ }
604
+ exports.NotServiceResourceError = NotServiceResourceError;
605
+ class ResourceDoesNotSupportTagging extends FSxServiceException_1.FSxServiceException {
606
+ name = "ResourceDoesNotSupportTagging";
607
+ $fault = "client";
608
+ ResourceARN;
609
+ Message;
610
+ constructor(opts) {
611
+ super({
612
+ name: "ResourceDoesNotSupportTagging",
613
+ $fault: "client",
614
+ ...opts,
615
+ });
616
+ Object.setPrototypeOf(this, ResourceDoesNotSupportTagging.prototype);
617
+ this.ResourceARN = opts.ResourceARN;
618
+ this.Message = opts.Message;
619
+ }
620
+ }
621
+ exports.ResourceDoesNotSupportTagging = ResourceDoesNotSupportTagging;
622
+ class ResourceNotFound extends FSxServiceException_1.FSxServiceException {
623
+ name = "ResourceNotFound";
624
+ $fault = "client";
625
+ ResourceARN;
626
+ Message;
627
+ constructor(opts) {
628
+ super({
629
+ name: "ResourceNotFound",
630
+ $fault: "client",
631
+ ...opts,
632
+ });
633
+ Object.setPrototypeOf(this, ResourceNotFound.prototype);
634
+ this.ResourceARN = opts.ResourceARN;
635
+ this.Message = opts.Message;
636
+ }
637
+ }
638
+ exports.ResourceNotFound = ResourceNotFound;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2018-03-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.fsx",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-03-01",
33
35
  serviceTarget: "AWSSimbaAPIService_v20180301",
34
36
  },