@aws-sdk/client-fsx 3.53.0 → 3.55.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/FSxClient.js +13 -13
  3. package/dist-cjs/commands/AssociateFileSystemAliasesCommand.js +3 -3
  4. package/dist-cjs/commands/CancelDataRepositoryTaskCommand.js +3 -3
  5. package/dist-cjs/commands/CopyBackupCommand.js +3 -3
  6. package/dist-cjs/commands/CreateBackupCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +3 -3
  8. package/dist-cjs/commands/CreateDataRepositoryTaskCommand.js +3 -3
  9. package/dist-cjs/commands/CreateFileSystemCommand.js +3 -3
  10. package/dist-cjs/commands/CreateFileSystemFromBackupCommand.js +3 -3
  11. package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
  12. package/dist-cjs/commands/CreateStorageVirtualMachineCommand.js +3 -3
  13. package/dist-cjs/commands/CreateVolumeCommand.js +3 -3
  14. package/dist-cjs/commands/CreateVolumeFromBackupCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteFileSystemCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteStorageVirtualMachineCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteVolumeCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeBackupsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeDataRepositoryTasksCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeFileSystemAliasesCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeFileSystemsCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeStorageVirtualMachinesCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeVolumesCommand.js +3 -3
  29. package/dist-cjs/commands/DisassociateFileSystemAliasesCommand.js +3 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +3 -3
  32. package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +3 -3
  33. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateFileSystemCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateSnapshotCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateStorageVirtualMachineCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateVolumeCommand.js +3 -3
  40. package/dist-cjs/endpoints.js +1 -1
  41. package/dist-cjs/models/models_0.js +15 -10
  42. package/dist-cjs/protocols/Aws_json1_1.js +366 -345
  43. package/dist-cjs/runtimeConfig.browser.js +4 -4
  44. package/dist-cjs/runtimeConfig.js +9 -9
  45. package/dist-cjs/runtimeConfig.native.js +1 -1
  46. package/dist-es/FSx.js +37 -37
  47. package/dist-es/models/models_0.js +9 -4
  48. package/dist-es/pagination/DescribeBackupsPaginator.js +4 -4
  49. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +4 -4
  50. package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +4 -4
  51. package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +4 -4
  52. package/dist-es/pagination/DescribeFileSystemsPaginator.js +4 -4
  53. package/dist-es/pagination/DescribeSnapshotsPaginator.js +4 -4
  54. package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +4 -4
  55. package/dist-es/pagination/DescribeVolumesPaginator.js +4 -4
  56. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  57. package/dist-es/protocols/Aws_json1_1.js +25 -8
  58. package/dist-types/FSx.d.ts +9 -10
  59. package/dist-types/FSxClient.d.ts +2 -2
  60. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +2 -2
  61. package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
  62. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -2
  63. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  65. package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
  66. package/dist-types/models/models_0.d.ts +193 -81
  67. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  68. package/dist-types/runtimeConfig.d.ts +1 -1
  69. package/dist-types/runtimeConfig.native.d.ts +3 -3
  70. package/dist-types/ts3.4/FSxClient.d.ts +2 -2
  71. package/dist-types/ts3.4/models/models_0.d.ts +25 -9
  72. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  75. package/package.json +34 -34
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new DescribeSnapshotsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeSnapshotsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.describeSnapshots.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeSnapshots.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateDescribeSnapshots(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof FSx)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FSxClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new DescribeStorageVirtualMachinesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeStorageVirtualMachinesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.describeStorageVirtualMachines.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeStorageVirtualMachines.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateDescribeStorageVirtualMachines(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof FSx)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FSxClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new DescribeVolumesCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new DescribeVolumesCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.describeVolumes.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.describeVolumes.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateDescribeVolumes(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof FSx)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FSxClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListTagsForResource(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof FSx)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof FSxClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -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.SkipFinalBackup !== undefined &&
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),
@@ -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