@aws-sdk/client-fsx 3.52.0 → 3.54.1

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/FSxServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +492 -10
  5. package/dist-cjs/protocols/Aws_json1_1.js +508 -1721
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/FSxServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +453 -5
  9. package/dist-es/protocols/Aws_json1_1.js +1003 -1812
  10. package/dist-types/FSx.d.ts +9 -10
  11. package/dist-types/FSxClient.d.ts +2 -2
  12. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -2
  15. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  17. package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
  18. package/dist-types/index.d.ts +1 -0
  19. package/dist-types/models/FSxServiceException.d.ts +10 -0
  20. package/dist-types/models/models_0.d.ts +426 -181
  21. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  22. package/dist-types/runtimeConfig.d.ts +1 -1
  23. package/dist-types/runtimeConfig.native.d.ts +1 -1
  24. package/dist-types/ts3.4/FSxClient.d.ts +2 -2
  25. package/dist-types/ts3.4/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/FSxServiceException.d.ts +6 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +192 -109
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  31. package/package.json +27 -27
@@ -262,8 +262,8 @@ export declare class FSx extends FSxClient {
262
262
  * Server, or Amazon FSx for OpenZFS file system from an existing Amazon FSx backup.</p>
263
263
  *
264
264
  * <p>If a file system with the specified client request token exists and the parameters
265
- * match, this operation returns the description of the file system. If a client request
266
- * token with the specified by the file system exists and the parameters don't match, this
265
+ * match, this operation returns the description of the file system. If a file system
266
+ * with the specified client request token exists but the parameters don't match, this
267
267
  * call returns <code>IncompatibleParameterError</code>. If a file system with the
268
268
  * specified client request token doesn't exist, this operation does the following:</p>
269
269
  *
@@ -300,7 +300,7 @@ export declare class FSx extends FSxClient {
300
300
  createFileSystemFromBackup(args: CreateFileSystemFromBackupCommandInput, cb: (err: any, data?: CreateFileSystemFromBackupCommandOutput) => void): void;
301
301
  createFileSystemFromBackup(args: CreateFileSystemFromBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFileSystemFromBackupCommandOutput) => void): void;
302
302
  /**
303
- * <p>Creates a snapshot of an existing Amazon FSx for OpenZFS file system. With
303
+ * <p>Creates a snapshot of an existing Amazon FSx for OpenZFS volume. With
304
304
  * snapshots, you can easily undo file changes and compare file versions by restoring the
305
305
  * volume to a previous version.</p>
306
306
  * <p>If a snapshot with the specified client request token exists, and the parameters
@@ -308,7 +308,7 @@ export declare class FSx extends FSxClient {
308
308
  * with the specified client request token exists, and the parameters don't match, this
309
309
  * operation returns <code>IncompatibleParameterError</code>. If a snapshot with the
310
310
  * specified client request token doesn't exist, <code>CreateSnapshot</code> does the
311
- * following: </p>
311
+ * following:</p>
312
312
  * <ul>
313
313
  * <li>
314
314
  * <p>Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle
@@ -327,7 +327,7 @@ export declare class FSx extends FSxClient {
327
327
  * <p>The <code>CreateSnapshot</code> operation returns while the snapshot's lifecycle state
328
328
  * is still <code>CREATING</code>. You can check the snapshot creation status by calling
329
329
  * the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeSnapshots.html">DescribeSnapshots</a> operation, which returns the snapshot state along with
330
- * other information. </p>
330
+ * other information.</p>
331
331
  */
332
332
  createSnapshot(args: CreateSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CreateSnapshotCommandOutput>;
333
333
  createSnapshot(args: CreateSnapshotCommandInput, cb: (err: any, data?: CreateSnapshotCommandOutput) => void): void;
@@ -339,8 +339,7 @@ export declare class FSx extends FSxClient {
339
339
  createStorageVirtualMachine(args: CreateStorageVirtualMachineCommandInput, cb: (err: any, data?: CreateStorageVirtualMachineCommandOutput) => void): void;
340
340
  createStorageVirtualMachine(args: CreateStorageVirtualMachineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStorageVirtualMachineCommandOutput) => void): void;
341
341
  /**
342
- * <p>Creates an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS storage
343
- * volume.</p>
342
+ * <p>Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.</p>
344
343
  */
345
344
  createVolume(args: CreateVolumeCommandInput, options?: __HttpHandlerOptions): Promise<CreateVolumeCommandOutput>;
346
345
  createVolume(args: CreateVolumeCommandInput, cb: (err: any, data?: CreateVolumeCommandOutput) => void): void;
@@ -410,7 +409,7 @@ export declare class FSx extends FSxClient {
410
409
  deleteFileSystem(args: DeleteFileSystemCommandInput, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
411
410
  deleteFileSystem(args: DeleteFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileSystemCommandOutput) => void): void;
412
411
  /**
413
- * <p>Deletes the Amazon FSx snapshot. After deletion, the snapshot no longer
412
+ * <p>Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer
414
413
  * exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a
415
414
  * file system backup. </p>
416
415
  * <p>The <code>DeleteSnapshot</code> operation returns instantly. The snapshot appears with
@@ -553,7 +552,7 @@ export declare class FSx extends FSxClient {
553
552
  describeFileSystems(args: DescribeFileSystemsCommandInput, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
554
553
  describeFileSystems(args: DescribeFileSystemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
555
554
  /**
556
- * <p>Returns the description of specific Amazon FSx snapshots, if a
555
+ * <p>Returns the description of specific Amazon FSx for OpenZFS snapshots, if a
557
556
  * <code>SnapshotIds</code> value is provided. Otherwise, this operation returns all
558
557
  * snapshots owned by your Amazon Web Services account in the Amazon Web Services Region of
559
558
  * the endpoint that you're calling.</p>
@@ -828,7 +827,7 @@ export declare class FSx extends FSxClient {
828
827
  updateFileSystem(args: UpdateFileSystemCommandInput, cb: (err: any, data?: UpdateFileSystemCommandOutput) => void): void;
829
828
  updateFileSystem(args: UpdateFileSystemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFileSystemCommandOutput) => void): void;
830
829
  /**
831
- * <p>Updates the name of a snapshot. </p>
830
+ * <p>Updates the name of an Amazon FSx for OpenZFS snapshot.</p>
832
831
  */
833
832
  updateSnapshot(args: UpdateSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSnapshotCommandOutput>;
834
833
  updateSnapshot(args: UpdateSnapshotCommandInput, cb: (err: any, data?: UpdateSnapshotCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateFileSystemAliasesCommandInput, AssociateFileSystemAliasesCommandOutput } from "./commands/AssociateFileSystemAliasesCommand";
10
10
  import { CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput } from "./commands/CancelDataRepositoryTaskCommand";
11
11
  import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/CopyBackupCommand";
@@ -65,7 +65,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
65
65
  * A function that can calculate the length of a request body.
66
66
  * @internal
67
67
  */
68
- bodyLengthChecker?: (body: any) => number | undefined;
68
+ bodyLengthChecker?: __BodyLengthCalculator;
69
69
  /**
70
70
  * A function that converts a stream into an array of bytes.
71
71
  * @internal
@@ -11,8 +11,8 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
11
11
  * Server, or Amazon FSx for OpenZFS file system from an existing Amazon FSx backup.</p>
12
12
  *
13
13
  * <p>If a file system with the specified client request token exists and the parameters
14
- * match, this operation returns the description of the file system. If a client request
15
- * token with the specified by the file system exists and the parameters don't match, this
14
+ * match, this operation returns the description of the file system. If a file system
15
+ * with the specified client request token exists but the parameters don't match, this
16
16
  * call returns <code>IncompatibleParameterError</code>. If a file system with the
17
17
  * specified client request token doesn't exist, this operation does the following:</p>
18
18
  *
@@ -7,7 +7,7 @@ export interface CreateSnapshotCommandInput extends CreateSnapshotRequest {
7
7
  export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a snapshot of an existing Amazon FSx for OpenZFS file system. With
10
+ * <p>Creates a snapshot of an existing Amazon FSx for OpenZFS volume. With
11
11
  * snapshots, you can easily undo file changes and compare file versions by restoring the
12
12
  * volume to a previous version.</p>
13
13
  * <p>If a snapshot with the specified client request token exists, and the parameters
@@ -15,7 +15,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
15
15
  * with the specified client request token exists, and the parameters don't match, this
16
16
  * operation returns <code>IncompatibleParameterError</code>. If a snapshot with the
17
17
  * specified client request token doesn't exist, <code>CreateSnapshot</code> does the
18
- * following: </p>
18
+ * following:</p>
19
19
  * <ul>
20
20
  * <li>
21
21
  * <p>Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle
@@ -34,7 +34,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
34
34
  * <p>The <code>CreateSnapshot</code> operation returns while the snapshot's lifecycle state
35
35
  * is still <code>CREATING</code>. You can check the snapshot creation status by calling
36
36
  * the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeSnapshots.html">DescribeSnapshots</a> operation, which returns the snapshot state along with
37
- * other information. </p>
37
+ * other information.</p>
38
38
  * @example
39
39
  * Use a bare-bones client and the command you need to make an API call.
40
40
  * ```javascript
@@ -7,8 +7,7 @@ export interface CreateVolumeCommandInput extends CreateVolumeRequest {
7
7
  export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS storage
11
- * volume.</p>
10
+ * <p>Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.</p>
12
11
  * @example
13
12
  * Use a bare-bones client and the command you need to make an API call.
14
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface DeleteSnapshotCommandInput extends DeleteSnapshotRequest {
7
7
  export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deletes the Amazon FSx snapshot. After deletion, the snapshot no longer
10
+ * <p>Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer
11
11
  * exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a
12
12
  * file system backup. </p>
13
13
  * <p>The <code>DeleteSnapshot</code> operation returns instantly. The snapshot appears with
@@ -7,7 +7,7 @@ export interface DescribeSnapshotsCommandInput extends DescribeSnapshotsRequest
7
7
  export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns the description of specific Amazon FSx snapshots, if a
10
+ * <p>Returns the description of specific Amazon FSx for OpenZFS snapshots, if a
11
11
  * <code>SnapshotIds</code> value is provided. Otherwise, this operation returns all
12
12
  * snapshots owned by your Amazon Web Services account in the Amazon Web Services Region of
13
13
  * the endpoint that you're calling.</p>
@@ -7,7 +7,7 @@ export interface UpdateSnapshotCommandInput extends UpdateSnapshotRequest {
7
7
  export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the name of a snapshot. </p>
10
+ * <p>Updates the name of an Amazon FSx for OpenZFS snapshot.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -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";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from FSx service.
4
+ */
5
+ export declare class FSxServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }