@aws-sdk/client-fsx 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.
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { FSxServiceException as __BaseException } from "./FSxServiceException";
2
3
  /**
3
4
  * <p>The Microsoft Active Directory attributes of the Amazon FSx for Windows File
4
5
  * Server file system.</p>
@@ -35,9 +36,9 @@ export declare enum ActiveDirectoryErrorType {
35
36
  /**
36
37
  * <p>An Active Directory error.</p>
37
38
  */
38
- export interface ActiveDirectoryError extends __SmithyException, $MetadataBearer {
39
- name: "ActiveDirectoryError";
40
- $fault: "client";
39
+ export declare class ActiveDirectoryError extends __BaseException {
40
+ readonly name: "ActiveDirectoryError";
41
+ readonly $fault: "client";
41
42
  /**
42
43
  * <p>The directory ID of the directory that an error pertains to.</p>
43
44
  */
@@ -50,6 +51,10 @@ export interface ActiveDirectoryError extends __SmithyException, $MetadataBearer
50
51
  * <p>A detailed error message.</p>
51
52
  */
52
53
  Message?: string;
54
+ /**
55
+ * @internal
56
+ */
57
+ constructor(opts: __ExceptionOptionType<ActiveDirectoryError, __BaseException>);
53
58
  }
54
59
  export declare enum AdministrativeActionType {
55
60
  FILE_SYSTEM_ALIAS_ASSOCIATION = "FILE_SYSTEM_ALIAS_ASSOCIATION",
@@ -1503,35 +1508,47 @@ export declare namespace AssociateFileSystemAliasesResponse {
1503
1508
  /**
1504
1509
  * <p>A generic error indicating a failure with a client request.</p>
1505
1510
  */
1506
- export interface BadRequest extends __SmithyException, $MetadataBearer {
1507
- name: "BadRequest";
1508
- $fault: "client";
1511
+ export declare class BadRequest extends __BaseException {
1512
+ readonly name: "BadRequest";
1513
+ readonly $fault: "client";
1509
1514
  /**
1510
1515
  * <p>A detailed error message.</p>
1511
1516
  */
1512
1517
  Message?: string;
1518
+ /**
1519
+ * @internal
1520
+ */
1521
+ constructor(opts: __ExceptionOptionType<BadRequest, __BaseException>);
1513
1522
  }
1514
1523
  /**
1515
1524
  * <p>No Amazon FSx file systems were found based upon supplied parameters.</p>
1516
1525
  */
1517
- export interface FileSystemNotFound extends __SmithyException, $MetadataBearer {
1518
- name: "FileSystemNotFound";
1519
- $fault: "client";
1526
+ export declare class FileSystemNotFound extends __BaseException {
1527
+ readonly name: "FileSystemNotFound";
1528
+ readonly $fault: "client";
1520
1529
  /**
1521
1530
  * <p>A detailed error message.</p>
1522
1531
  */
1523
1532
  Message?: string;
1533
+ /**
1534
+ * @internal
1535
+ */
1536
+ constructor(opts: __ExceptionOptionType<FileSystemNotFound, __BaseException>);
1524
1537
  }
1525
1538
  /**
1526
1539
  * <p>A generic error indicating a server-side failure.</p>
1527
1540
  */
1528
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
1529
- name: "InternalServerError";
1530
- $fault: "server";
1541
+ export declare class InternalServerError extends __BaseException {
1542
+ readonly name: "InternalServerError";
1543
+ readonly $fault: "server";
1531
1544
  /**
1532
1545
  * <p>A detailed error message.</p>
1533
1546
  */
1534
1547
  Message?: string;
1548
+ /**
1549
+ * @internal
1550
+ */
1551
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
1535
1552
  }
1536
1553
  export declare enum EventType {
1537
1554
  CHANGED = "CHANGED",
@@ -1687,46 +1704,62 @@ export declare namespace CancelDataRepositoryTaskResponse {
1687
1704
  /**
1688
1705
  * <p>The data repository task could not be canceled because the task has already ended.</p>
1689
1706
  */
1690
- export interface DataRepositoryTaskEnded extends __SmithyException, $MetadataBearer {
1691
- name: "DataRepositoryTaskEnded";
1692
- $fault: "client";
1707
+ export declare class DataRepositoryTaskEnded extends __BaseException {
1708
+ readonly name: "DataRepositoryTaskEnded";
1709
+ readonly $fault: "client";
1693
1710
  /**
1694
1711
  * <p>A detailed error message.</p>
1695
1712
  */
1696
1713
  Message?: string;
1714
+ /**
1715
+ * @internal
1716
+ */
1717
+ constructor(opts: __ExceptionOptionType<DataRepositoryTaskEnded, __BaseException>);
1697
1718
  }
1698
1719
  /**
1699
1720
  * <p>The data repository task or tasks you specified could not be found.</p>
1700
1721
  */
1701
- export interface DataRepositoryTaskNotFound extends __SmithyException, $MetadataBearer {
1702
- name: "DataRepositoryTaskNotFound";
1703
- $fault: "client";
1722
+ export declare class DataRepositoryTaskNotFound extends __BaseException {
1723
+ readonly name: "DataRepositoryTaskNotFound";
1724
+ readonly $fault: "client";
1704
1725
  /**
1705
1726
  * <p>A detailed error message.</p>
1706
1727
  */
1707
1728
  Message?: string;
1729
+ /**
1730
+ * @internal
1731
+ */
1732
+ constructor(opts: __ExceptionOptionType<DataRepositoryTaskNotFound, __BaseException>);
1708
1733
  }
1709
1734
  /**
1710
1735
  * <p>The requested operation is not supported for this resource or API.</p>
1711
1736
  */
1712
- export interface UnsupportedOperation extends __SmithyException, $MetadataBearer {
1713
- name: "UnsupportedOperation";
1714
- $fault: "client";
1737
+ export declare class UnsupportedOperation extends __BaseException {
1738
+ readonly name: "UnsupportedOperation";
1739
+ readonly $fault: "client";
1715
1740
  /**
1716
1741
  * <p>A detailed error message.</p>
1717
1742
  */
1718
1743
  Message?: string;
1744
+ /**
1745
+ * @internal
1746
+ */
1747
+ constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
1719
1748
  }
1720
1749
  /**
1721
1750
  * <p>No Amazon FSx backups were found based upon the supplied parameters.</p>
1722
1751
  */
1723
- export interface BackupNotFound extends __SmithyException, $MetadataBearer {
1724
- name: "BackupNotFound";
1725
- $fault: "client";
1752
+ export declare class BackupNotFound extends __BaseException {
1753
+ readonly name: "BackupNotFound";
1754
+ readonly $fault: "client";
1726
1755
  /**
1727
1756
  * <p>A detailed error message.</p>
1728
1757
  */
1729
1758
  Message?: string;
1759
+ /**
1760
+ * @internal
1761
+ */
1762
+ constructor(opts: __ExceptionOptionType<BackupNotFound, __BaseException>);
1730
1763
  }
1731
1764
  export interface CopyBackupRequest {
1732
1765
  /**
@@ -1816,9 +1849,9 @@ export declare enum BackupType {
1816
1849
  * token but different parameters settings. A client request token should always uniquely
1817
1850
  * identify a single request.</p>
1818
1851
  */
1819
- export interface IncompatibleParameterError extends __SmithyException, $MetadataBearer {
1820
- name: "IncompatibleParameterError";
1821
- $fault: "client";
1852
+ export declare class IncompatibleParameterError extends __BaseException {
1853
+ readonly name: "IncompatibleParameterError";
1854
+ readonly $fault: "client";
1822
1855
  /**
1823
1856
  * <p>A parameter that is incompatible with the earlier request.</p>
1824
1857
  */
@@ -1827,54 +1860,74 @@ export interface IncompatibleParameterError extends __SmithyException, $Metadata
1827
1860
  * <p>A detailed error message.</p>
1828
1861
  */
1829
1862
  Message?: string;
1863
+ /**
1864
+ * @internal
1865
+ */
1866
+ constructor(opts: __ExceptionOptionType<IncompatibleParameterError, __BaseException>);
1830
1867
  }
1831
1868
  /**
1832
1869
  * <p>Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the
1833
1870
  * destination Region, so the copied backup can't be restored.</p>
1834
1871
  */
1835
- export interface IncompatibleRegionForMultiAZ extends __SmithyException, $MetadataBearer {
1836
- name: "IncompatibleRegionForMultiAZ";
1837
- $fault: "client";
1872
+ export declare class IncompatibleRegionForMultiAZ extends __BaseException {
1873
+ readonly name: "IncompatibleRegionForMultiAZ";
1874
+ readonly $fault: "client";
1838
1875
  /**
1839
1876
  * <p>A detailed error message.</p>
1840
1877
  */
1841
1878
  Message?: string;
1879
+ /**
1880
+ * @internal
1881
+ */
1882
+ constructor(opts: __ExceptionOptionType<IncompatibleRegionForMultiAZ, __BaseException>);
1842
1883
  }
1843
1884
  /**
1844
1885
  * <p>The Key Management Service (KMS) key of the destination backup is not
1845
1886
  * valid.</p>
1846
1887
  */
1847
- export interface InvalidDestinationKmsKey extends __SmithyException, $MetadataBearer {
1848
- name: "InvalidDestinationKmsKey";
1849
- $fault: "client";
1888
+ export declare class InvalidDestinationKmsKey extends __BaseException {
1889
+ readonly name: "InvalidDestinationKmsKey";
1890
+ readonly $fault: "client";
1850
1891
  /**
1851
1892
  * <p>A detailed error message.</p>
1852
1893
  */
1853
1894
  Message?: string;
1895
+ /**
1896
+ * @internal
1897
+ */
1898
+ constructor(opts: __ExceptionOptionType<InvalidDestinationKmsKey, __BaseException>);
1854
1899
  }
1855
1900
  /**
1856
1901
  * <p>The Region provided for <code>SourceRegion</code> is not valid or is in a different
1857
1902
  * Amazon Web Services partition.</p>
1858
1903
  */
1859
- export interface InvalidRegion extends __SmithyException, $MetadataBearer {
1860
- name: "InvalidRegion";
1861
- $fault: "client";
1904
+ export declare class InvalidRegion extends __BaseException {
1905
+ readonly name: "InvalidRegion";
1906
+ readonly $fault: "client";
1862
1907
  /**
1863
1908
  * <p>A detailed error message.</p>
1864
1909
  */
1865
1910
  Message?: string;
1911
+ /**
1912
+ * @internal
1913
+ */
1914
+ constructor(opts: __ExceptionOptionType<InvalidRegion, __BaseException>);
1866
1915
  }
1867
1916
  /**
1868
1917
  * <p>The Key Management Service (KMS) key of the source backup is not
1869
1918
  * valid.</p>
1870
1919
  */
1871
- export interface InvalidSourceKmsKey extends __SmithyException, $MetadataBearer {
1872
- name: "InvalidSourceKmsKey";
1873
- $fault: "client";
1920
+ export declare class InvalidSourceKmsKey extends __BaseException {
1921
+ readonly name: "InvalidSourceKmsKey";
1922
+ readonly $fault: "client";
1874
1923
  /**
1875
1924
  * <p>A detailed error message.</p>
1876
1925
  */
1877
1926
  Message?: string;
1927
+ /**
1928
+ * @internal
1929
+ */
1930
+ constructor(opts: __ExceptionOptionType<InvalidSourceKmsKey, __BaseException>);
1878
1931
  }
1879
1932
  export declare enum ServiceLimit {
1880
1933
  FILE_SYSTEM_COUNT = "FILE_SYSTEM_COUNT",
@@ -1891,9 +1944,9 @@ export declare enum ServiceLimit {
1891
1944
  * <p>An error indicating that a particular service limit was exceeded. You can increase
1892
1945
  * some service limits by contacting Amazon Web Services Support.</p>
1893
1946
  */
1894
- export interface ServiceLimitExceeded extends __SmithyException, $MetadataBearer {
1895
- name: "ServiceLimitExceeded";
1896
- $fault: "client";
1947
+ export declare class ServiceLimitExceeded extends __BaseException {
1948
+ readonly name: "ServiceLimitExceeded";
1949
+ readonly $fault: "client";
1897
1950
  /**
1898
1951
  * <p>Enumeration of the service limit that was exceeded. </p>
1899
1952
  */
@@ -1902,14 +1955,18 @@ export interface ServiceLimitExceeded extends __SmithyException, $MetadataBearer
1902
1955
  * <p>A detailed error message.</p>
1903
1956
  */
1904
1957
  Message?: string;
1958
+ /**
1959
+ * @internal
1960
+ */
1961
+ constructor(opts: __ExceptionOptionType<ServiceLimitExceeded, __BaseException>);
1905
1962
  }
1906
1963
  /**
1907
1964
  * <p>The request was rejected because the lifecycle status of the source backup isn't
1908
1965
  * <code>AVAILABLE</code>.</p>
1909
1966
  */
1910
- export interface SourceBackupUnavailable extends __SmithyException, $MetadataBearer {
1911
- name: "SourceBackupUnavailable";
1912
- $fault: "client";
1967
+ export declare class SourceBackupUnavailable extends __BaseException {
1968
+ readonly name: "SourceBackupUnavailable";
1969
+ readonly $fault: "client";
1913
1970
  /**
1914
1971
  * <p>A detailed error message.</p>
1915
1972
  */
@@ -1918,18 +1975,26 @@ export interface SourceBackupUnavailable extends __SmithyException, $MetadataBea
1918
1975
  * <p>The ID of the source backup. Specifies the backup that you are copying.</p>
1919
1976
  */
1920
1977
  BackupId?: string;
1978
+ /**
1979
+ * @internal
1980
+ */
1981
+ constructor(opts: __ExceptionOptionType<SourceBackupUnavailable, __BaseException>);
1921
1982
  }
1922
1983
  /**
1923
1984
  * <p>Another backup is already under way. Wait for completion before initiating
1924
1985
  * additional backups of this file system.</p>
1925
1986
  */
1926
- export interface BackupInProgress extends __SmithyException, $MetadataBearer {
1927
- name: "BackupInProgress";
1928
- $fault: "client";
1987
+ export declare class BackupInProgress extends __BaseException {
1988
+ readonly name: "BackupInProgress";
1989
+ readonly $fault: "client";
1929
1990
  /**
1930
1991
  * <p>A detailed error message.</p>
1931
1992
  */
1932
1993
  Message?: string;
1994
+ /**
1995
+ * @internal
1996
+ */
1997
+ constructor(opts: __ExceptionOptionType<BackupInProgress, __BaseException>);
1933
1998
  }
1934
1999
  /**
1935
2000
  * <p>The request object for the <code>CreateBackup</code> operation.</p>
@@ -1967,13 +2032,17 @@ export declare namespace CreateBackupRequest {
1967
2032
  /**
1968
2033
  * <p>No Amazon FSx for NetApp ONTAP volumes were found based upon the supplied parameters.</p>
1969
2034
  */
1970
- export interface VolumeNotFound extends __SmithyException, $MetadataBearer {
1971
- name: "VolumeNotFound";
1972
- $fault: "client";
2035
+ export declare class VolumeNotFound extends __BaseException {
2036
+ readonly name: "VolumeNotFound";
2037
+ readonly $fault: "client";
1973
2038
  /**
1974
2039
  * <p>A detailed error message.</p>
1975
2040
  */
1976
2041
  Message?: string;
2042
+ /**
2043
+ * @internal
2044
+ */
2045
+ constructor(opts: __ExceptionOptionType<VolumeNotFound, __BaseException>);
1977
2046
  }
1978
2047
  /**
1979
2048
  * <p>The configuration for an Amazon S3 data repository linked to an
@@ -2502,13 +2571,17 @@ export declare namespace CreateDataRepositoryTaskResponse {
2502
2571
  * <p>An existing data repository task is currently executing on the file system.
2503
2572
  * Wait until the existing task has completed, then create the new task.</p>
2504
2573
  */
2505
- export interface DataRepositoryTaskExecuting extends __SmithyException, $MetadataBearer {
2506
- name: "DataRepositoryTaskExecuting";
2507
- $fault: "client";
2574
+ export declare class DataRepositoryTaskExecuting extends __BaseException {
2575
+ readonly name: "DataRepositoryTaskExecuting";
2576
+ readonly $fault: "client";
2508
2577
  /**
2509
2578
  * <p>A detailed error message.</p>
2510
2579
  */
2511
2580
  Message?: string;
2581
+ /**
2582
+ * @internal
2583
+ */
2584
+ constructor(opts: __ExceptionOptionType<DataRepositoryTaskExecuting, __BaseException>);
2512
2585
  }
2513
2586
  /**
2514
2587
  * <p>The Lustre logging configuration used when creating or updating an
@@ -3510,31 +3583,39 @@ export declare namespace CreateFileSystemRequest {
3510
3583
  /**
3511
3584
  * <p>The path provided for data repository export isn't valid.</p>
3512
3585
  */
3513
- export interface InvalidExportPath extends __SmithyException, $MetadataBearer {
3514
- name: "InvalidExportPath";
3515
- $fault: "client";
3586
+ export declare class InvalidExportPath extends __BaseException {
3587
+ readonly name: "InvalidExportPath";
3588
+ readonly $fault: "client";
3516
3589
  /**
3517
3590
  * <p>A detailed error message.</p>
3518
3591
  */
3519
3592
  Message?: string;
3593
+ /**
3594
+ * @internal
3595
+ */
3596
+ constructor(opts: __ExceptionOptionType<InvalidExportPath, __BaseException>);
3520
3597
  }
3521
3598
  /**
3522
3599
  * <p>The path provided for data repository import isn't valid.</p>
3523
3600
  */
3524
- export interface InvalidImportPath extends __SmithyException, $MetadataBearer {
3525
- name: "InvalidImportPath";
3526
- $fault: "client";
3601
+ export declare class InvalidImportPath extends __BaseException {
3602
+ readonly name: "InvalidImportPath";
3603
+ readonly $fault: "client";
3527
3604
  /**
3528
3605
  * <p>A detailed error message.</p>
3529
3606
  */
3530
3607
  Message?: string;
3608
+ /**
3609
+ * @internal
3610
+ */
3611
+ constructor(opts: __ExceptionOptionType<InvalidImportPath, __BaseException>);
3531
3612
  }
3532
3613
  /**
3533
3614
  * <p>One or more network settings specified in the request are invalid.</p>
3534
3615
  */
3535
- export interface InvalidNetworkSettings extends __SmithyException, $MetadataBearer {
3536
- name: "InvalidNetworkSettings";
3537
- $fault: "client";
3616
+ export declare class InvalidNetworkSettings extends __BaseException {
3617
+ readonly name: "InvalidNetworkSettings";
3618
+ readonly $fault: "client";
3538
3619
  /**
3539
3620
  * <p>Error message explaining what's wrong with network settings.</p>
3540
3621
  */
@@ -3551,28 +3632,40 @@ export interface InvalidNetworkSettings extends __SmithyException, $MetadataBear
3551
3632
  * <p>The route table ID is either invalid or not part of the VPC specified.</p>
3552
3633
  */
3553
3634
  InvalidRouteTableId?: string;
3635
+ /**
3636
+ * @internal
3637
+ */
3638
+ constructor(opts: __ExceptionOptionType<InvalidNetworkSettings, __BaseException>);
3554
3639
  }
3555
3640
  /**
3556
3641
  * <p>An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create your file system again, using a valid value.</p>
3557
3642
  */
3558
- export interface InvalidPerUnitStorageThroughput extends __SmithyException, $MetadataBearer {
3559
- name: "InvalidPerUnitStorageThroughput";
3560
- $fault: "client";
3643
+ export declare class InvalidPerUnitStorageThroughput extends __BaseException {
3644
+ readonly name: "InvalidPerUnitStorageThroughput";
3645
+ readonly $fault: "client";
3561
3646
  /**
3562
3647
  * <p>A detailed error message.</p>
3563
3648
  */
3564
3649
  Message?: string;
3650
+ /**
3651
+ * @internal
3652
+ */
3653
+ constructor(opts: __ExceptionOptionType<InvalidPerUnitStorageThroughput, __BaseException>);
3565
3654
  }
3566
3655
  /**
3567
3656
  * <p>A file system configuration is required for this operation.</p>
3568
3657
  */
3569
- export interface MissingFileSystemConfiguration extends __SmithyException, $MetadataBearer {
3570
- name: "MissingFileSystemConfiguration";
3571
- $fault: "client";
3658
+ export declare class MissingFileSystemConfiguration extends __BaseException {
3659
+ readonly name: "MissingFileSystemConfiguration";
3660
+ readonly $fault: "client";
3572
3661
  /**
3573
3662
  * <p>A detailed error message.</p>
3574
3663
  */
3575
3664
  Message?: string;
3665
+ /**
3666
+ * @internal
3667
+ */
3668
+ constructor(opts: __ExceptionOptionType<MissingFileSystemConfiguration, __BaseException>);
3576
3669
  }
3577
3670
  /**
3578
3671
  * <p>The request object for the <code>CreateFileSystemFromBackup</code>
@@ -4239,24 +4332,32 @@ export declare namespace CreateVolumeRequest {
4239
4332
  /**
4240
4333
  * <p>A volume configuration is required for this operation.</p>
4241
4334
  */
4242
- export interface MissingVolumeConfiguration extends __SmithyException, $MetadataBearer {
4243
- name: "MissingVolumeConfiguration";
4244
- $fault: "client";
4335
+ export declare class MissingVolumeConfiguration extends __BaseException {
4336
+ readonly name: "MissingVolumeConfiguration";
4337
+ readonly $fault: "client";
4245
4338
  /**
4246
4339
  * <p>A detailed error message.</p>
4247
4340
  */
4248
4341
  Message?: string;
4342
+ /**
4343
+ * @internal
4344
+ */
4345
+ constructor(opts: __ExceptionOptionType<MissingVolumeConfiguration, __BaseException>);
4249
4346
  }
4250
4347
  /**
4251
4348
  * <p>No Amazon FSx for NetApp ONTAP SVMs were found based upon the supplied parameters.</p>
4252
4349
  */
4253
- export interface StorageVirtualMachineNotFound extends __SmithyException, $MetadataBearer {
4254
- name: "StorageVirtualMachineNotFound";
4255
- $fault: "client";
4350
+ export declare class StorageVirtualMachineNotFound extends __BaseException {
4351
+ readonly name: "StorageVirtualMachineNotFound";
4352
+ readonly $fault: "client";
4256
4353
  /**
4257
4354
  * <p>A detailed error message.</p>
4258
4355
  */
4259
4356
  Message?: string;
4357
+ /**
4358
+ * @internal
4359
+ */
4360
+ constructor(opts: __ExceptionOptionType<StorageVirtualMachineNotFound, __BaseException>);
4260
4361
  }
4261
4362
  export interface CreateVolumeFromBackupRequest {
4262
4363
  /**
@@ -4291,9 +4392,9 @@ export declare namespace CreateVolumeFromBackupRequest {
4291
4392
  /**
4292
4393
  * <p>You can't delete a backup while it's being copied.</p>
4293
4394
  */
4294
- export interface BackupBeingCopied extends __SmithyException, $MetadataBearer {
4295
- name: "BackupBeingCopied";
4296
- $fault: "client";
4395
+ export declare class BackupBeingCopied extends __BaseException {
4396
+ readonly name: "BackupBeingCopied";
4397
+ readonly $fault: "client";
4297
4398
  /**
4298
4399
  * <p>A detailed error message.</p>
4299
4400
  */
@@ -4302,14 +4403,18 @@ export interface BackupBeingCopied extends __SmithyException, $MetadataBearer {
4302
4403
  * <p>The ID of the source backup. Specifies the backup that you are copying.</p>
4303
4404
  */
4304
4405
  BackupId?: string;
4406
+ /**
4407
+ * @internal
4408
+ */
4409
+ constructor(opts: __ExceptionOptionType<BackupBeingCopied, __BaseException>);
4305
4410
  }
4306
4411
  /**
4307
4412
  * <p>You can't delete a backup while it's being used to restore a file
4308
4413
  * system.</p>
4309
4414
  */
4310
- export interface BackupRestoring extends __SmithyException, $MetadataBearer {
4311
- name: "BackupRestoring";
4312
- $fault: "client";
4415
+ export declare class BackupRestoring extends __BaseException {
4416
+ readonly name: "BackupRestoring";
4417
+ readonly $fault: "client";
4313
4418
  /**
4314
4419
  * <p>A detailed error message.</p>
4315
4420
  */
@@ -4318,6 +4423,10 @@ export interface BackupRestoring extends __SmithyException, $MetadataBearer {
4318
4423
  * <p>The ID of a file system being restored from the backup.</p>
4319
4424
  */
4320
4425
  FileSystemId?: string;
4426
+ /**
4427
+ * @internal
4428
+ */
4429
+ constructor(opts: __ExceptionOptionType<BackupRestoring, __BaseException>);
4321
4430
  }
4322
4431
  /**
4323
4432
  * <p>The request object for the <code>DeleteBackup</code> operation.</p>
@@ -4363,13 +4472,17 @@ export declare namespace DeleteBackupResponse {
4363
4472
  /**
4364
4473
  * <p>No data repository associations were found based upon the supplied parameters.</p>
4365
4474
  */
4366
- export interface DataRepositoryAssociationNotFound extends __SmithyException, $MetadataBearer {
4367
- name: "DataRepositoryAssociationNotFound";
4368
- $fault: "client";
4475
+ export declare class DataRepositoryAssociationNotFound extends __BaseException {
4476
+ readonly name: "DataRepositoryAssociationNotFound";
4477
+ readonly $fault: "client";
4369
4478
  /**
4370
4479
  * <p>A detailed error message.</p>
4371
4480
  */
4372
4481
  Message?: string;
4482
+ /**
4483
+ * @internal
4484
+ */
4485
+ constructor(opts: __ExceptionOptionType<DataRepositoryAssociationNotFound, __BaseException>);
4373
4486
  }
4374
4487
  export interface DeleteDataRepositoryAssociationRequest {
4375
4488
  /**
@@ -4661,13 +4774,17 @@ export declare namespace DeleteSnapshotResponse {
4661
4774
  /**
4662
4775
  * <p>No Amazon FSx snapshots were found based on the supplied parameters.</p>
4663
4776
  */
4664
- export interface SnapshotNotFound extends __SmithyException, $MetadataBearer {
4665
- name: "SnapshotNotFound";
4666
- $fault: "client";
4777
+ export declare class SnapshotNotFound extends __BaseException {
4778
+ readonly name: "SnapshotNotFound";
4779
+ readonly $fault: "client";
4667
4780
  /**
4668
4781
  * <p>A detailed error message.</p>
4669
4782
  */
4670
4783
  Message?: string;
4784
+ /**
4785
+ * @internal
4786
+ */
4787
+ constructor(opts: __ExceptionOptionType<SnapshotNotFound, __BaseException>);
4671
4788
  }
4672
4789
  export interface DeleteStorageVirtualMachineRequest {
4673
4790
  /**
@@ -4925,13 +5042,17 @@ export declare namespace DescribeDataRepositoryAssociationsResponse {
4925
5042
  /**
4926
5043
  * <p>You have filtered the response to a data repository type that is not supported.</p>
4927
5044
  */
4928
- export interface InvalidDataRepositoryType extends __SmithyException, $MetadataBearer {
4929
- name: "InvalidDataRepositoryType";
4930
- $fault: "client";
5045
+ export declare class InvalidDataRepositoryType extends __BaseException {
5046
+ readonly name: "InvalidDataRepositoryType";
5047
+ readonly $fault: "client";
4931
5048
  /**
4932
5049
  * <p>A detailed error message.</p>
4933
5050
  */
4934
5051
  Message?: string;
5052
+ /**
5053
+ * @internal
5054
+ */
5055
+ constructor(opts: __ExceptionOptionType<InvalidDataRepositoryType, __BaseException>);
4935
5056
  }
4936
5057
  export declare enum DataRepositoryTaskFilterName {
4937
5058
  DATA_REPO_ASSOCIATION_ID = "data-repository-association-id",
@@ -5374,9 +5495,9 @@ export declare namespace ListTagsForResourceResponse {
5374
5495
  * <p>The resource specified for the tagging operation is not a resource type owned by
5375
5496
  * Amazon FSx. Use the API of the relevant service to perform the operation. </p>
5376
5497
  */
5377
- export interface NotServiceResourceError extends __SmithyException, $MetadataBearer {
5378
- name: "NotServiceResourceError";
5379
- $fault: "client";
5498
+ export declare class NotServiceResourceError extends __BaseException {
5499
+ readonly name: "NotServiceResourceError";
5500
+ readonly $fault: "client";
5380
5501
  /**
5381
5502
  * <p>The Amazon Resource Name (ARN) of the non-Amazon FSx resource.</p>
5382
5503
  */
@@ -5385,13 +5506,17 @@ export interface NotServiceResourceError extends __SmithyException, $MetadataBea
5385
5506
  * <p>A detailed error message.</p>
5386
5507
  */
5387
5508
  Message?: string;
5509
+ /**
5510
+ * @internal
5511
+ */
5512
+ constructor(opts: __ExceptionOptionType<NotServiceResourceError, __BaseException>);
5388
5513
  }
5389
5514
  /**
5390
5515
  * <p>The resource specified does not support tagging. </p>
5391
5516
  */
5392
- export interface ResourceDoesNotSupportTagging extends __SmithyException, $MetadataBearer {
5393
- name: "ResourceDoesNotSupportTagging";
5394
- $fault: "client";
5517
+ export declare class ResourceDoesNotSupportTagging extends __BaseException {
5518
+ readonly name: "ResourceDoesNotSupportTagging";
5519
+ readonly $fault: "client";
5395
5520
  /**
5396
5521
  * <p>The Amazon Resource Name (ARN) of the resource that doesn't support
5397
5522
  * tagging.</p>
@@ -5401,13 +5526,17 @@ export interface ResourceDoesNotSupportTagging extends __SmithyException, $Metad
5401
5526
  * <p>A detailed error message.</p>
5402
5527
  */
5403
5528
  Message?: string;
5529
+ /**
5530
+ * @internal
5531
+ */
5532
+ constructor(opts: __ExceptionOptionType<ResourceDoesNotSupportTagging, __BaseException>);
5404
5533
  }
5405
5534
  /**
5406
5535
  * <p>The resource specified by the Amazon Resource Name (ARN) can't be found.</p>
5407
5536
  */
5408
- export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
5409
- name: "ResourceNotFound";
5410
- $fault: "client";
5537
+ export declare class ResourceNotFound extends __BaseException {
5538
+ readonly name: "ResourceNotFound";
5539
+ readonly $fault: "client";
5411
5540
  /**
5412
5541
  * <p>The resource ARN of the resource that can't be found.</p>
5413
5542
  */
@@ -5416,6 +5545,10 @@ export interface ResourceNotFound extends __SmithyException, $MetadataBearer {
5416
5545
  * <p>A detailed error message.</p>
5417
5546
  */
5418
5547
  Message?: string;
5548
+ /**
5549
+ * @internal
5550
+ */
5551
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
5419
5552
  }
5420
5553
  export interface ReleaseFileSystemNfsV3LocksRequest {
5421
5554
  /**
@@ -3,3 +3,4 @@ export * from "./FSxClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { FSxServiceException } from "./models/FSxServiceException";