@aws-sdk/client-fsx 3.53.0 → 3.54.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/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +15 -10
- package/dist-cjs/protocols/Aws_json1_1.js +21 -0
- package/dist-es/models/models_0.js +9 -4
- package/dist-es/protocols/Aws_json1_1.js +25 -8
- package/dist-types/FSx.d.ts +9 -10
- package/dist-types/FSxClient.d.ts +2 -2
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +193 -81
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/FSxClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +25 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OpenZFSCopyStrategy = exports.OpenZFSNfsExport = exports.OpenZFSClientConfiguration = exports.OpenZFSDataCompressionType = exports.OntapVolumeConfiguration = exports.TieringPolicy = exports.TieringPolicyName = exports.SecurityStyle = exports.OntapVolumeType = exports.FlexCacheEndpointType = exports.
|
|
3
|
+
exports.OpenZFSCopyStrategy = exports.OpenZFSNfsExport = exports.OpenZFSClientConfiguration = exports.OpenZFSDataCompressionType = exports.OntapVolumeConfiguration = exports.TieringPolicy = exports.TieringPolicyName = exports.SecurityStyle = exports.OntapVolumeType = exports.FlexCacheEndpointType = exports.VolumeLifecycle = exports.LifecycleTransitionReason = exports.SnapshotLifecycle = exports.WindowsFileSystemConfiguration = exports.SelfManagedActiveDirectoryAttributes = exports.FileSystemMaintenanceOperation = exports.WindowsDeploymentType = exports.WindowsAuditLogConfiguration = exports.WindowsAccessAuditLogLevel = exports.Alias = exports.AliasLifecycle = exports.Tag = exports.StorageType = exports.OpenZFSFileSystemConfiguration = exports.OpenZFSDeploymentType = exports.OntapFileSystemConfiguration = exports.FileSystemEndpoints = exports.FileSystemEndpoint = exports.DiskIopsConfiguration = exports.DiskIopsConfigurationMode = exports.OntapDeploymentType = exports.LustreFileSystemConfiguration = exports.LustreLogConfiguration = exports.LustreAccessAuditLogLevel = exports.DriveCacheType = exports.LustreDeploymentType = exports.DataRepositoryConfiguration = exports.DataRepositoryLifecycle = exports.DataRepositoryFailureDetails = exports.AutoImportPolicyType = exports.DataCompressionType = exports.FileSystemLifecycle = exports.FileSystemType = exports.FileSystemFailureDetails = exports.Status = exports.AdministrativeActionFailureDetails = exports.AdministrativeActionType = exports.ActiveDirectoryError = exports.ActiveDirectoryErrorType = exports.ActiveDirectoryBackupAttributes = void 0;
|
|
4
4
|
exports.DataRepositoryTaskExecuting = exports.CreateDataRepositoryTaskResponse = exports.DataRepositoryTask = exports.DataRepositoryTaskStatus = exports.DataRepositoryTaskFailureDetails = exports.CreateDataRepositoryTaskRequest = exports.DataRepositoryTaskType = exports.CompletionReport = exports.ReportScope = exports.ReportFormat = exports.CreateDataRepositoryAssociationResponse = exports.DataRepositoryAssociation = exports.CreateDataRepositoryAssociationRequest = exports.S3DataRepositoryConfiguration = exports.VolumeNotFound = exports.CreateBackupRequest = exports.BackupInProgress = exports.SourceBackupUnavailable = exports.ServiceLimitExceeded = exports.ServiceLimit = exports.InvalidSourceKmsKey = exports.InvalidRegion = exports.InvalidDestinationKmsKey = exports.IncompatibleRegionForMultiAZ = exports.IncompatibleParameterError = exports.BackupType = exports.ResourceType = exports.BackupLifecycle = exports.BackupFailureDetails = exports.CopyBackupRequest = exports.BackupNotFound = exports.UnsupportedOperation = exports.DataRepositoryTaskNotFound = exports.DataRepositoryTaskEnded = exports.CancelDataRepositoryTaskResponse = exports.DataRepositoryTaskLifecycle = exports.CancelDataRepositoryTaskRequest = exports.AutoImportPolicy = exports.AutoExportPolicy = exports.EventType = exports.InternalServerError = exports.FileSystemNotFound = exports.BadRequest = exports.AssociateFileSystemAliasesResponse = exports.AssociateFileSystemAliasesRequest = exports.VolumeType = exports.OpenZFSVolumeConfiguration = exports.OpenZFSUserOrGroupQuota = exports.OpenZFSQuotaType = exports.OpenZFSOriginSnapshotConfiguration = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.DescribeBackupsResponse = exports.CreateBackupResponse = exports.CopyBackupResponse = exports.Backup = exports.DescribeVolumesResponse = exports.DescribeSnapshotsResponse = exports.DescribeFileSystemsResponse = exports.UpdateVolumeResponse = exports.UpdateSnapshotResponse = exports.UpdateFileSystemResponse = exports.ReleaseFileSystemNfsV3LocksResponse = exports.CreateVolumeResponse = exports.CreateVolumeFromBackupResponse = exports.CreateSnapshotResponse = exports.CreateFileSystemResponse = exports.CreateFileSystemFromBackupResponse = exports.Volume = exports.Snapshot = exports.FileSystem = exports.AdministrativeAction = exports.UpdateVolumeRequest = exports.UpdateOpenZFSVolumeConfiguration = exports.UpdateOntapVolumeConfiguration = exports.UpdateStorageVirtualMachineResponse = exports.UpdateStorageVirtualMachineRequest = exports.UpdateSvmActiveDirectoryConfiguration = exports.UpdateSnapshotRequest = exports.UpdateFileSystemRequest = exports.UpdateFileSystemWindowsConfiguration = exports.SelfManagedActiveDirectoryConfigurationUpdates = exports.UpdateFileSystemOpenZFSConfiguration = exports.UpdateFileSystemOntapConfiguration = void 0;
|
|
5
|
+
exports.DeleteSnapshotRequest = exports.DeleteFileSystemResponse = exports.DeleteFileSystemWindowsResponse = exports.DeleteFileSystemOpenZFSResponse = exports.DeleteFileSystemLustreResponse = exports.DeleteFileSystemRequest = exports.DeleteFileSystemWindowsConfiguration = exports.DeleteFileSystemOpenZFSConfiguration = exports.DeleteFileSystemOpenZFSOption = exports.DeleteFileSystemLustreConfiguration = exports.DeleteDataRepositoryAssociationResponse = exports.DeleteDataRepositoryAssociationRequest = exports.DataRepositoryAssociationNotFound = exports.DeleteBackupResponse = exports.DeleteBackupRequest = exports.BackupRestoring = exports.BackupBeingCopied = exports.CreateVolumeFromBackupRequest = exports.StorageVirtualMachineNotFound = exports.MissingVolumeConfiguration = exports.CreateVolumeRequest = exports.CreateOpenZFSVolumeConfiguration = exports.CreateOpenZFSOriginSnapshotConfiguration = exports.CreateOntapVolumeConfiguration = exports.CreateStorageVirtualMachineResponse = exports.StorageVirtualMachine = exports.StorageVirtualMachineSubtype = exports.StorageVirtualMachineLifecycle = exports.SvmEndpoints = exports.SvmEndpoint = exports.SvmActiveDirectoryConfiguration = exports.CreateStorageVirtualMachineRequest = exports.StorageVirtualMachineRootVolumeSecurityStyle = exports.CreateSvmActiveDirectoryConfiguration = exports.CreateSnapshotRequest = exports.CreateFileSystemFromBackupRequest = exports.MissingFileSystemConfiguration = exports.InvalidPerUnitStorageThroughput = exports.InvalidNetworkSettings = exports.InvalidImportPath = exports.InvalidExportPath = exports.CreateFileSystemRequest = exports.CreateFileSystemWindowsConfiguration = exports.SelfManagedActiveDirectoryConfiguration = exports.WindowsAuditLogCreateConfiguration = exports.CreateFileSystemOpenZFSConfiguration = exports.OpenZFSCreateRootVolumeConfiguration = exports.CreateFileSystemOntapConfiguration = exports.CreateFileSystemLustreConfiguration = exports.LustreLogCreateConfiguration = void 0;
|
|
6
|
+
exports.UpdateDataRepositoryAssociationResponse = exports.UpdateDataRepositoryAssociationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RestoreVolumeFromSnapshotResponse = exports.RestoreVolumeFromSnapshotRequest = exports.RestoreOpenZFSVolumeOption = exports.ReleaseFileSystemNfsV3LocksRequest = exports.ResourceNotFound = exports.ResourceDoesNotSupportTagging = exports.NotServiceResourceError = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.DisassociateFileSystemAliasesResponse = exports.DisassociateFileSystemAliasesRequest = exports.DescribeVolumesRequest = exports.VolumeFilter = exports.VolumeFilterName = exports.DescribeStorageVirtualMachinesResponse = exports.DescribeStorageVirtualMachinesRequest = exports.StorageVirtualMachineFilter = exports.StorageVirtualMachineFilterName = exports.DescribeSnapshotsRequest = exports.SnapshotFilter = exports.SnapshotFilterName = exports.DescribeFileSystemsRequest = exports.DescribeFileSystemAliasesResponse = exports.DescribeFileSystemAliasesRequest = exports.DescribeDataRepositoryTasksResponse = exports.DescribeDataRepositoryTasksRequest = exports.DataRepositoryTaskFilter = exports.DataRepositoryTaskFilterName = exports.InvalidDataRepositoryType = exports.DescribeDataRepositoryAssociationsResponse = exports.DescribeDataRepositoryAssociationsRequest = exports.DescribeBackupsRequest = exports.Filter = exports.FilterName = exports.DeleteVolumeResponse = exports.DeleteVolumeOntapResponse = exports.DeleteVolumeRequest = exports.DeleteVolumeOpenZFSConfiguration = exports.DeleteOpenZFSVolumeOption = exports.DeleteVolumeOntapConfiguration = exports.DeleteStorageVirtualMachineResponse = exports.DeleteStorageVirtualMachineRequest = exports.SnapshotNotFound = exports.DeleteSnapshotResponse = void 0;
|
|
7
|
+
exports.DescribeBackupsResponse = exports.CreateBackupResponse = exports.CopyBackupResponse = exports.Backup = exports.DescribeVolumesResponse = exports.DescribeSnapshotsResponse = exports.DescribeFileSystemsResponse = exports.UpdateVolumeResponse = exports.UpdateSnapshotResponse = exports.UpdateFileSystemResponse = exports.ReleaseFileSystemNfsV3LocksResponse = exports.CreateVolumeResponse = exports.CreateVolumeFromBackupResponse = exports.CreateSnapshotResponse = exports.CreateFileSystemResponse = exports.CreateFileSystemFromBackupResponse = exports.Volume = exports.Snapshot = exports.FileSystem = exports.AdministrativeAction = exports.UpdateVolumeRequest = exports.UpdateOpenZFSVolumeConfiguration = exports.UpdateOntapVolumeConfiguration = exports.UpdateStorageVirtualMachineResponse = exports.UpdateStorageVirtualMachineRequest = exports.UpdateSvmActiveDirectoryConfiguration = exports.UpdateSnapshotRequest = exports.UpdateFileSystemRequest = exports.UpdateFileSystemWindowsConfiguration = exports.SelfManagedActiveDirectoryConfigurationUpdates = exports.UpdateFileSystemOpenZFSConfiguration = exports.UpdateFileSystemOntapConfiguration = exports.UpdateFileSystemLustreConfiguration = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const FSxServiceException_1 = require("./FSxServiceException");
|
|
10
10
|
var ActiveDirectoryBackupAttributes;
|
|
@@ -257,6 +257,12 @@ var SnapshotLifecycle;
|
|
|
257
257
|
SnapshotLifecycle["DELETING"] = "DELETING";
|
|
258
258
|
SnapshotLifecycle["PENDING"] = "PENDING";
|
|
259
259
|
})(SnapshotLifecycle = exports.SnapshotLifecycle || (exports.SnapshotLifecycle = {}));
|
|
260
|
+
var LifecycleTransitionReason;
|
|
261
|
+
(function (LifecycleTransitionReason) {
|
|
262
|
+
LifecycleTransitionReason.filterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
})(LifecycleTransitionReason = exports.LifecycleTransitionReason || (exports.LifecycleTransitionReason = {}));
|
|
260
266
|
var VolumeLifecycle;
|
|
261
267
|
(function (VolumeLifecycle) {
|
|
262
268
|
VolumeLifecycle["AVAILABLE"] = "AVAILABLE";
|
|
@@ -267,12 +273,6 @@ var VolumeLifecycle;
|
|
|
267
273
|
VolumeLifecycle["MISCONFIGURED"] = "MISCONFIGURED";
|
|
268
274
|
VolumeLifecycle["PENDING"] = "PENDING";
|
|
269
275
|
})(VolumeLifecycle = exports.VolumeLifecycle || (exports.VolumeLifecycle = {}));
|
|
270
|
-
var LifecycleTransitionReason;
|
|
271
|
-
(function (LifecycleTransitionReason) {
|
|
272
|
-
LifecycleTransitionReason.filterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
});
|
|
275
|
-
})(LifecycleTransitionReason = exports.LifecycleTransitionReason || (exports.LifecycleTransitionReason = {}));
|
|
276
276
|
var FlexCacheEndpointType;
|
|
277
277
|
(function (FlexCacheEndpointType) {
|
|
278
278
|
FlexCacheEndpointType["CACHE"] = "CACHE";
|
|
@@ -312,6 +312,7 @@ var OntapVolumeConfiguration;
|
|
|
312
312
|
})(OntapVolumeConfiguration = exports.OntapVolumeConfiguration || (exports.OntapVolumeConfiguration = {}));
|
|
313
313
|
var OpenZFSDataCompressionType;
|
|
314
314
|
(function (OpenZFSDataCompressionType) {
|
|
315
|
+
OpenZFSDataCompressionType["LZ4"] = "LZ4";
|
|
315
316
|
OpenZFSDataCompressionType["NONE"] = "NONE";
|
|
316
317
|
OpenZFSDataCompressionType["ZSTD"] = "ZSTD";
|
|
317
318
|
})(OpenZFSDataCompressionType = exports.OpenZFSDataCompressionType || (exports.OpenZFSDataCompressionType = {}));
|
|
@@ -1132,6 +1133,10 @@ var DeleteFileSystemLustreConfiguration;
|
|
|
1132
1133
|
...obj,
|
|
1133
1134
|
});
|
|
1134
1135
|
})(DeleteFileSystemLustreConfiguration = exports.DeleteFileSystemLustreConfiguration || (exports.DeleteFileSystemLustreConfiguration = {}));
|
|
1136
|
+
var DeleteFileSystemOpenZFSOption;
|
|
1137
|
+
(function (DeleteFileSystemOpenZFSOption) {
|
|
1138
|
+
DeleteFileSystemOpenZFSOption["DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"] = "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS";
|
|
1139
|
+
})(DeleteFileSystemOpenZFSOption = exports.DeleteFileSystemOpenZFSOption || (exports.DeleteFileSystemOpenZFSOption = {}));
|
|
1135
1140
|
var DeleteFileSystemOpenZFSConfiguration;
|
|
1136
1141
|
(function (DeleteFileSystemOpenZFSConfiguration) {
|
|
1137
1142
|
DeleteFileSystemOpenZFSConfiguration.filterSensitiveLog = (obj) => ({
|
|
@@ -2817,6 +2817,7 @@ const serializeAws_json1_1CreateOpenZFSVolumeConfiguration = (input, context) =>
|
|
|
2817
2817
|
...(input.ParentVolumeId !== undefined &&
|
|
2818
2818
|
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId }),
|
|
2819
2819
|
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
2820
|
+
...(input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
2820
2821
|
...(input.StorageCapacityQuotaGiB !== undefined &&
|
|
2821
2822
|
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
2822
2823
|
...(input.StorageCapacityReservationGiB !== undefined &&
|
|
@@ -2969,10 +2970,24 @@ const serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration = (input, context
|
|
|
2969
2970
|
return {
|
|
2970
2971
|
...(input.FinalBackupTags !== undefined &&
|
|
2971
2972
|
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) }),
|
|
2973
|
+
...(input.Options !== undefined &&
|
|
2974
|
+
input.Options !== null && {
|
|
2975
|
+
Options: serializeAws_json1_1DeleteFileSystemOpenZFSOptions(input.Options, context),
|
|
2976
|
+
}),
|
|
2972
2977
|
...(input.SkipFinalBackup !== undefined &&
|
|
2973
2978
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }),
|
|
2974
2979
|
};
|
|
2975
2980
|
};
|
|
2981
|
+
const serializeAws_json1_1DeleteFileSystemOpenZFSOptions = (input, context) => {
|
|
2982
|
+
return input
|
|
2983
|
+
.filter((e) => e != null)
|
|
2984
|
+
.map((entry) => {
|
|
2985
|
+
if (entry === null) {
|
|
2986
|
+
return null;
|
|
2987
|
+
}
|
|
2988
|
+
return entry;
|
|
2989
|
+
});
|
|
2990
|
+
};
|
|
2976
2991
|
const serializeAws_json1_1DeleteFileSystemRequest = (input, context) => {
|
|
2977
2992
|
var _a;
|
|
2978
2993
|
return {
|
|
@@ -3248,6 +3263,7 @@ const serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration = (input, context
|
|
|
3248
3263
|
...(input.NfsExports !== undefined &&
|
|
3249
3264
|
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) }),
|
|
3250
3265
|
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
3266
|
+
...(input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
3251
3267
|
...(input.UserAndGroupQuotas !== undefined &&
|
|
3252
3268
|
input.UserAndGroupQuotas !== null && {
|
|
3253
3269
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
@@ -3672,6 +3688,7 @@ const serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = (input, context) =>
|
|
|
3672
3688
|
...(input.NfsExports !== undefined &&
|
|
3673
3689
|
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) }),
|
|
3674
3690
|
...(input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly }),
|
|
3691
|
+
...(input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB }),
|
|
3675
3692
|
...(input.StorageCapacityQuotaGiB !== undefined &&
|
|
3676
3693
|
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB }),
|
|
3677
3694
|
...(input.StorageCapacityReservationGiB !== undefined &&
|
|
@@ -4705,6 +4722,7 @@ const deserializeAws_json1_1OpenZFSVolumeConfiguration = (output, context) => {
|
|
|
4705
4722
|
: undefined,
|
|
4706
4723
|
ParentVolumeId: smithy_client_1.expectString(output.ParentVolumeId),
|
|
4707
4724
|
ReadOnly: smithy_client_1.expectBoolean(output.ReadOnly),
|
|
4725
|
+
RecordSizeKiB: smithy_client_1.expectInt32(output.RecordSizeKiB),
|
|
4708
4726
|
StorageCapacityQuotaGiB: smithy_client_1.expectInt32(output.StorageCapacityQuotaGiB),
|
|
4709
4727
|
StorageCapacityReservationGiB: smithy_client_1.expectInt32(output.StorageCapacityReservationGiB),
|
|
4710
4728
|
UserAndGroupQuotas: output.UserAndGroupQuotas !== undefined && output.UserAndGroupQuotas !== null
|
|
@@ -4785,6 +4803,9 @@ const deserializeAws_json1_1Snapshot = (output, context) => {
|
|
|
4785
4803
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4786
4804
|
: undefined,
|
|
4787
4805
|
Lifecycle: smithy_client_1.expectString(output.Lifecycle),
|
|
4806
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason !== undefined && output.LifecycleTransitionReason !== null
|
|
4807
|
+
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
4808
|
+
: undefined,
|
|
4788
4809
|
Name: smithy_client_1.expectString(output.Name),
|
|
4789
4810
|
ResourceARN: smithy_client_1.expectString(output.ResourceARN),
|
|
4790
4811
|
SnapshotId: smithy_client_1.expectString(output.SnapshotId),
|
|
@@ -216,6 +216,10 @@ export var SnapshotLifecycle;
|
|
|
216
216
|
SnapshotLifecycle["DELETING"] = "DELETING";
|
|
217
217
|
SnapshotLifecycle["PENDING"] = "PENDING";
|
|
218
218
|
})(SnapshotLifecycle || (SnapshotLifecycle = {}));
|
|
219
|
+
export var LifecycleTransitionReason;
|
|
220
|
+
(function (LifecycleTransitionReason) {
|
|
221
|
+
LifecycleTransitionReason.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
})(LifecycleTransitionReason || (LifecycleTransitionReason = {}));
|
|
219
223
|
export var VolumeLifecycle;
|
|
220
224
|
(function (VolumeLifecycle) {
|
|
221
225
|
VolumeLifecycle["AVAILABLE"] = "AVAILABLE";
|
|
@@ -226,10 +230,6 @@ export var VolumeLifecycle;
|
|
|
226
230
|
VolumeLifecycle["MISCONFIGURED"] = "MISCONFIGURED";
|
|
227
231
|
VolumeLifecycle["PENDING"] = "PENDING";
|
|
228
232
|
})(VolumeLifecycle || (VolumeLifecycle = {}));
|
|
229
|
-
export var LifecycleTransitionReason;
|
|
230
|
-
(function (LifecycleTransitionReason) {
|
|
231
|
-
LifecycleTransitionReason.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
-
})(LifecycleTransitionReason || (LifecycleTransitionReason = {}));
|
|
233
233
|
export var FlexCacheEndpointType;
|
|
234
234
|
(function (FlexCacheEndpointType) {
|
|
235
235
|
FlexCacheEndpointType["CACHE"] = "CACHE";
|
|
@@ -265,6 +265,7 @@ export var OntapVolumeConfiguration;
|
|
|
265
265
|
})(OntapVolumeConfiguration || (OntapVolumeConfiguration = {}));
|
|
266
266
|
export var OpenZFSDataCompressionType;
|
|
267
267
|
(function (OpenZFSDataCompressionType) {
|
|
268
|
+
OpenZFSDataCompressionType["LZ4"] = "LZ4";
|
|
268
269
|
OpenZFSDataCompressionType["NONE"] = "NONE";
|
|
269
270
|
OpenZFSDataCompressionType["ZSTD"] = "ZSTD";
|
|
270
271
|
})(OpenZFSDataCompressionType || (OpenZFSDataCompressionType = {}));
|
|
@@ -945,6 +946,10 @@ export var DeleteFileSystemLustreConfiguration;
|
|
|
945
946
|
(function (DeleteFileSystemLustreConfiguration) {
|
|
946
947
|
DeleteFileSystemLustreConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
947
948
|
})(DeleteFileSystemLustreConfiguration || (DeleteFileSystemLustreConfiguration = {}));
|
|
949
|
+
export var DeleteFileSystemOpenZFSOption;
|
|
950
|
+
(function (DeleteFileSystemOpenZFSOption) {
|
|
951
|
+
DeleteFileSystemOpenZFSOption["DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"] = "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS";
|
|
952
|
+
})(DeleteFileSystemOpenZFSOption || (DeleteFileSystemOpenZFSOption = {}));
|
|
948
953
|
export var DeleteFileSystemOpenZFSConfiguration;
|
|
949
954
|
(function (DeleteFileSystemOpenZFSConfiguration) {
|
|
950
955
|
DeleteFileSystemOpenZFSConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -3386,14 +3386,14 @@ var serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration = function (inp
|
|
|
3386
3386
|
return __assign(__assign({}, (input.CopyStrategy !== undefined && input.CopyStrategy !== null && { CopyStrategy: input.CopyStrategy })), (input.SnapshotARN !== undefined && input.SnapshotARN !== null && { SnapshotARN: input.SnapshotARN }));
|
|
3387
3387
|
};
|
|
3388
3388
|
var serializeAws_json1_1CreateOpenZFSVolumeConfiguration = function (input, context) {
|
|
3389
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots !== undefined &&
|
|
3389
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots !== undefined &&
|
|
3390
3390
|
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3391
3391
|
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3392
3392
|
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.OriginSnapshot !== undefined &&
|
|
3393
3393
|
input.OriginSnapshot !== null && {
|
|
3394
3394
|
OriginSnapshot: serializeAws_json1_1CreateOpenZFSOriginSnapshotConfiguration(input.OriginSnapshot, context),
|
|
3395
3395
|
})), (input.ParentVolumeId !== undefined &&
|
|
3396
|
-
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
3396
|
+
input.ParentVolumeId !== null && { ParentVolumeId: input.ParentVolumeId })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
3397
3397
|
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
3398
3398
|
input.StorageCapacityReservationGiB !== null && {
|
|
3399
3399
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
@@ -3497,10 +3497,23 @@ var serializeAws_json1_1DeleteFileSystemLustreConfiguration = function (input, c
|
|
|
3497
3497
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3498
3498
|
};
|
|
3499
3499
|
var serializeAws_json1_1DeleteFileSystemOpenZFSConfiguration = function (input, context) {
|
|
3500
|
-
return __assign(__assign({}, (input.FinalBackupTags !== undefined &&
|
|
3501
|
-
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.
|
|
3500
|
+
return __assign(__assign(__assign({}, (input.FinalBackupTags !== undefined &&
|
|
3501
|
+
input.FinalBackupTags !== null && { FinalBackupTags: serializeAws_json1_1Tags(input.FinalBackupTags, context) })), (input.Options !== undefined &&
|
|
3502
|
+
input.Options !== null && {
|
|
3503
|
+
Options: serializeAws_json1_1DeleteFileSystemOpenZFSOptions(input.Options, context),
|
|
3504
|
+
})), (input.SkipFinalBackup !== undefined &&
|
|
3502
3505
|
input.SkipFinalBackup !== null && { SkipFinalBackup: input.SkipFinalBackup }));
|
|
3503
3506
|
};
|
|
3507
|
+
var serializeAws_json1_1DeleteFileSystemOpenZFSOptions = function (input, context) {
|
|
3508
|
+
return input
|
|
3509
|
+
.filter(function (e) { return e != null; })
|
|
3510
|
+
.map(function (entry) {
|
|
3511
|
+
if (entry === null) {
|
|
3512
|
+
return null;
|
|
3513
|
+
}
|
|
3514
|
+
return entry;
|
|
3515
|
+
});
|
|
3516
|
+
};
|
|
3504
3517
|
var serializeAws_json1_1DeleteFileSystemRequest = function (input, context) {
|
|
3505
3518
|
var _a;
|
|
3506
3519
|
return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.FileSystemId !== undefined && input.FileSystemId !== null && { FileSystemId: input.FileSystemId })), (input.LustreConfiguration !== undefined &&
|
|
@@ -3684,10 +3697,10 @@ var serializeAws_json1_1OpenZFSClientConfigurations = function (input, context)
|
|
|
3684
3697
|
});
|
|
3685
3698
|
};
|
|
3686
3699
|
var serializeAws_json1_1OpenZFSCreateRootVolumeConfiguration = function (input, context) {
|
|
3687
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots !== undefined &&
|
|
3700
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CopyTagsToSnapshots !== undefined &&
|
|
3688
3701
|
input.CopyTagsToSnapshots !== null && { CopyTagsToSnapshots: input.CopyTagsToSnapshots })), (input.DataCompressionType !== undefined &&
|
|
3689
3702
|
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
3690
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.UserAndGroupQuotas !== undefined &&
|
|
3703
|
+
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.UserAndGroupQuotas !== undefined &&
|
|
3691
3704
|
input.UserAndGroupQuotas !== null && {
|
|
3692
3705
|
UserAndGroupQuotas: serializeAws_json1_1OpenZFSUserAndGroupQuotas(input.UserAndGroupQuotas, context),
|
|
3693
3706
|
}));
|
|
@@ -4011,9 +4024,9 @@ var serializeAws_json1_1UpdateOntapVolumeConfiguration = function (input, contex
|
|
|
4011
4024
|
}));
|
|
4012
4025
|
};
|
|
4013
4026
|
var serializeAws_json1_1UpdateOpenZFSVolumeConfiguration = function (input, context) {
|
|
4014
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType !== undefined &&
|
|
4027
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCompressionType !== undefined &&
|
|
4015
4028
|
input.DataCompressionType !== null && { DataCompressionType: input.DataCompressionType })), (input.NfsExports !== undefined &&
|
|
4016
|
-
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
4029
|
+
input.NfsExports !== null && { NfsExports: serializeAws_json1_1OpenZFSNfsExports(input.NfsExports, context) })), (input.ReadOnly !== undefined && input.ReadOnly !== null && { ReadOnly: input.ReadOnly })), (input.RecordSizeKiB !== undefined && input.RecordSizeKiB !== null && { RecordSizeKiB: input.RecordSizeKiB })), (input.StorageCapacityQuotaGiB !== undefined &&
|
|
4017
4030
|
input.StorageCapacityQuotaGiB !== null && { StorageCapacityQuotaGiB: input.StorageCapacityQuotaGiB })), (input.StorageCapacityReservationGiB !== undefined &&
|
|
4018
4031
|
input.StorageCapacityReservationGiB !== null && {
|
|
4019
4032
|
StorageCapacityReservationGiB: input.StorageCapacityReservationGiB,
|
|
@@ -5019,6 +5032,7 @@ var deserializeAws_json1_1OpenZFSVolumeConfiguration = function (output, context
|
|
|
5019
5032
|
: undefined,
|
|
5020
5033
|
ParentVolumeId: __expectString(output.ParentVolumeId),
|
|
5021
5034
|
ReadOnly: __expectBoolean(output.ReadOnly),
|
|
5035
|
+
RecordSizeKiB: __expectInt32(output.RecordSizeKiB),
|
|
5022
5036
|
StorageCapacityQuotaGiB: __expectInt32(output.StorageCapacityQuotaGiB),
|
|
5023
5037
|
StorageCapacityReservationGiB: __expectInt32(output.StorageCapacityReservationGiB),
|
|
5024
5038
|
UserAndGroupQuotas: output.UserAndGroupQuotas !== undefined && output.UserAndGroupQuotas !== null
|
|
@@ -5099,6 +5113,9 @@ var deserializeAws_json1_1Snapshot = function (output, context) {
|
|
|
5099
5113
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
5100
5114
|
: undefined,
|
|
5101
5115
|
Lifecycle: __expectString(output.Lifecycle),
|
|
5116
|
+
LifecycleTransitionReason: output.LifecycleTransitionReason !== undefined && output.LifecycleTransitionReason !== null
|
|
5117
|
+
? deserializeAws_json1_1LifecycleTransitionReason(output.LifecycleTransitionReason, context)
|
|
5118
|
+
: undefined,
|
|
5102
5119
|
Name: __expectString(output.Name),
|
|
5103
5120
|
ResourceARN: __expectString(output.ResourceARN),
|
|
5104
5121
|
SnapshotId: __expectString(output.SnapshotId),
|
package/dist-types/FSx.d.ts
CHANGED
|
@@ -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
|
|
266
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
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
|
|
15
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|