@aws-sdk/client-fsx 3.454.0 → 3.458.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/README.md +66 -42
- package/dist-cjs/FSx.js +6 -0
- package/dist-cjs/commands/CopySnapshotAndUpdateVolumeCommand.js +52 -0
- package/dist-cjs/commands/DescribeSharedVpcConfigurationCommand.js +51 -0
- package/dist-cjs/commands/UpdateSharedVpcConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +23 -3
- package/dist-cjs/protocols/Aws_json1_1.js +164 -2
- package/dist-es/FSx.js +6 -0
- package/dist-es/commands/CopySnapshotAndUpdateVolumeCommand.js +48 -0
- package/dist-es/commands/DescribeSharedVpcConfigurationCommand.js +47 -0
- package/dist-es/commands/UpdateSharedVpcConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_json1_1.js +156 -0
- package/dist-types/FSx.d.ts +21 -0
- package/dist-types/FSxClient.d.ts +5 -2
- package/dist-types/commands/CopyBackupCommand.d.ts +36 -6
- package/dist-types/commands/CopySnapshotAndUpdateVolumeCommand.d.ts +666 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +36 -6
- package/dist-types/commands/CreateFileSystemCommand.d.ts +40 -8
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +36 -6
- package/dist-types/commands/CreateSnapshotCommand.d.ts +36 -6
- package/dist-types/commands/CreateVolumeCommand.d.ts +46 -8
- package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +45 -7
- package/dist-types/commands/DescribeBackupsCommand.d.ts +36 -6
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +36 -6
- package/dist-types/commands/DescribeSharedVpcConfigurationCommand.d.ts +79 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +36 -6
- package/dist-types/commands/DescribeVolumesCommand.d.ts +36 -6
- package/dist-types/commands/DisassociateFileSystemAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -6
- package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -6
- package/dist-types/commands/StartMisconfiguredStateRecoveryCommand.d.ts +36 -6
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +47 -6
- package/dist-types/commands/UpdateSharedVpcConfigurationCommand.d.ts +94 -0
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +36 -6
- package/dist-types/commands/UpdateVolumeCommand.d.ts +37 -6
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +478 -43
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/FSx.d.ts +51 -0
- package/dist-types/ts3.4/FSxClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CopySnapshotAndUpdateVolumeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeSharedVpcConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSharedVpcConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +69 -2
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +3 -3
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSharedVpcConfigurationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class UpdateSharedVpcConfigurationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSharedVpcConfigurationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FSxClient";
|
|
29
|
+
const commandName = "UpdateSharedVpcConfigurationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSSimbaAPIService_v20180301",
|
|
38
|
+
operation: "UpdateSharedVpcConfiguration",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_json1_1_1.se_UpdateSharedVpcConfigurationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_json1_1_1.de_UpdateSharedVpcConfigurationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateSharedVpcConfigurationCommand = UpdateSharedVpcConfigurationCommand;
|
|
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./AssociateFileSystemAliasesCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CancelDataRepositoryTaskCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CopyBackupCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CopySnapshotAndUpdateVolumeCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./CreateBackupCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateDataRepositoryAssociationCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateDataRepositoryTaskCommand"), exports);
|
|
@@ -27,6 +28,7 @@ tslib_1.__exportStar(require("./DescribeDataRepositoryTasksCommand"), exports);
|
|
|
27
28
|
tslib_1.__exportStar(require("./DescribeFileCachesCommand"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./DescribeFileSystemAliasesCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./DescribeFileSystemsCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DescribeSharedVpcConfigurationCommand"), exports);
|
|
30
32
|
tslib_1.__exportStar(require("./DescribeSnapshotsCommand"), exports);
|
|
31
33
|
tslib_1.__exportStar(require("./DescribeStorageVirtualMachinesCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./DescribeVolumesCommand"), exports);
|
|
@@ -40,6 +42,7 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
|
40
42
|
tslib_1.__exportStar(require("./UpdateDataRepositoryAssociationCommand"), exports);
|
|
41
43
|
tslib_1.__exportStar(require("./UpdateFileCacheCommand"), exports);
|
|
42
44
|
tslib_1.__exportStar(require("./UpdateFileSystemCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./UpdateSharedVpcConfigurationCommand"), exports);
|
|
43
46
|
tslib_1.__exportStar(require("./UpdateSnapshotCommand"), exports);
|
|
44
47
|
tslib_1.__exportStar(require("./UpdateStorageVirtualMachineCommand"), exports);
|
|
45
48
|
tslib_1.__exportStar(require("./UpdateVolumeCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.DescribeBackupsResponseFilterSensitiveLog = exports.CreateBackupResponseFilterSensitiveLog = exports.CopyBackupResponseFilterSensitiveLog = exports.BackupFilterSensitiveLog = exports.DescribeVolumesResponseFilterSensitiveLog = exports.DescribeSnapshotsResponseFilterSensitiveLog = exports.DescribeFileSystemsResponseFilterSensitiveLog = exports.UpdateVolumeResponseFilterSensitiveLog = exports.UpdateSnapshotResponseFilterSensitiveLog = exports.UpdateFileSystemResponseFilterSensitiveLog = exports.StartMisconfiguredStateRecoveryResponseFilterSensitiveLog = exports.ReleaseFileSystemNfsV3LocksResponseFilterSensitiveLog = exports.CreateVolumeResponseFilterSensitiveLog = exports.CreateVolumeFromBackupResponseFilterSensitiveLog = exports.CreateSnapshotResponseFilterSensitiveLog = exports.CreateFileSystemResponseFilterSensitiveLog = exports.CreateFileSystemFromBackupResponseFilterSensitiveLog = exports.RestoreVolumeFromSnapshotResponseFilterSensitiveLog = exports.VolumeFilterSensitiveLog = exports.SnapshotFilterSensitiveLog = exports.FileSystemFilterSensitiveLog = exports.AdministrativeActionFilterSensitiveLog = exports.UpdateStorageVirtualMachineRequestFilterSensitiveLog = exports.UpdateSvmActiveDirectoryConfigurationFilterSensitiveLog = exports.UpdateFileSystemRequestFilterSensitiveLog = exports.UpdateFileSystemWindowsConfigurationFilterSensitiveLog = exports.SelfManagedActiveDirectoryConfigurationUpdatesFilterSensitiveLog = exports.UpdateFileSystemOntapConfigurationFilterSensitiveLog = exports.CreateStorageVirtualMachineRequestFilterSensitiveLog = exports.CreateSvmActiveDirectoryConfigurationFilterSensitiveLog = void 0;
|
|
3
|
+
exports.InvalidDestinationKmsKey = exports.IncompatibleRegionForMultiAZ = exports.IncompatibleParameterError = exports.BackupType = exports.ResourceType = exports.BackupLifecycle = exports.BackupNotFound = exports.UnsupportedOperation = exports.DataRepositoryTaskNotFound = exports.DataRepositoryTaskEnded = exports.DataRepositoryTaskLifecycle = exports.EventType = exports.InternalServerError = exports.FileSystemNotFound = exports.BadRequest = exports.VolumeType = exports.OpenZFSQuotaType = exports.OpenZFSCopyStrategy = exports.OpenZFSDataCompressionType = exports.VolumeStyle = exports.TieringPolicyName = exports.SnaplockType = exports.RetentionPeriodType = exports.PrivilegedDelete = exports.AutocommitPeriodType = exports.SecurityStyle = exports.OntapVolumeType = exports.FlexCacheEndpointType = exports.VolumeLifecycle = exports.SnapshotLifecycle = exports.FileSystemMaintenanceOperation = exports.WindowsDeploymentType = exports.WindowsAccessAuditLogLevel = exports.AliasLifecycle = exports.StorageType = exports.OpenZFSDeploymentType = exports.DiskIopsConfigurationMode = exports.OntapDeploymentType = exports.LustreAccessAuditLogLevel = exports.DriveCacheType = exports.LustreDeploymentType = exports.DataRepositoryLifecycle = exports.AutoImportPolicyType = exports.DataCompressionType = exports.FileSystemLifecycle = exports.FileSystemType = exports.Status = exports.AdministrativeActionType = exports.ActiveDirectoryError = exports.ActiveDirectoryErrorType = void 0;
|
|
4
|
+
exports.CreateFileSystemWindowsConfigurationFilterSensitiveLog = exports.SelfManagedActiveDirectoryConfigurationFilterSensitiveLog = exports.CreateFileSystemOntapConfigurationFilterSensitiveLog = exports.OntapFileSystemConfigurationFilterSensitiveLog = exports.RestoreOpenZFSVolumeOption = exports.ResourceNotFound = exports.ResourceDoesNotSupportTagging = exports.NotServiceResourceError = exports.VolumeFilterName = exports.StorageVirtualMachineFilterName = exports.SnapshotFilterName = exports.DataRepositoryTaskFilterName = exports.InvalidDataRepositoryType = exports.FilterName = exports.DeleteOpenZFSVolumeOption = exports.SnapshotNotFound = exports.DeleteFileSystemOpenZFSOption = exports.FileCacheNotFound = exports.DataRepositoryAssociationNotFound = exports.BackupRestoring = exports.BackupBeingCopied = exports.StorageVirtualMachineNotFound = exports.MissingVolumeConfiguration = exports.InputOntapVolumeType = exports.StorageVirtualMachineSubtype = exports.StorageVirtualMachineLifecycle = exports.StorageVirtualMachineRootVolumeSecurityStyle = exports.MissingFileSystemConfiguration = exports.InvalidImportPath = exports.InvalidExportPath = exports.MissingFileCacheConfiguration = exports.InvalidPerUnitStorageThroughput = exports.InvalidNetworkSettings = exports.FileCacheLifecycle = exports.FileCacheLustreDeploymentType = exports.FileCacheType = exports.DataRepositoryTaskExecuting = exports.DataRepositoryTaskType = exports.ReportScope = exports.ReportFormat = exports.Unit = exports.NfsVersion = exports.VolumeNotFound = exports.BackupInProgress = exports.UpdateOpenZFSVolumeOption = exports.SourceBackupUnavailable = exports.ServiceLimitExceeded = exports.ServiceLimit = exports.InvalidSourceKmsKey = exports.InvalidRegion = void 0;
|
|
5
|
+
exports.DescribeBackupsResponseFilterSensitiveLog = exports.CreateBackupResponseFilterSensitiveLog = exports.CopyBackupResponseFilterSensitiveLog = exports.BackupFilterSensitiveLog = exports.DescribeVolumesResponseFilterSensitiveLog = exports.DescribeSnapshotsResponseFilterSensitiveLog = exports.DescribeFileSystemsResponseFilterSensitiveLog = exports.UpdateVolumeResponseFilterSensitiveLog = exports.UpdateSnapshotResponseFilterSensitiveLog = exports.UpdateFileSystemResponseFilterSensitiveLog = exports.StartMisconfiguredStateRecoveryResponseFilterSensitiveLog = exports.ReleaseFileSystemNfsV3LocksResponseFilterSensitiveLog = exports.CreateVolumeResponseFilterSensitiveLog = exports.CreateVolumeFromBackupResponseFilterSensitiveLog = exports.CreateSnapshotResponseFilterSensitiveLog = exports.CreateFileSystemResponseFilterSensitiveLog = exports.CreateFileSystemFromBackupResponseFilterSensitiveLog = exports.RestoreVolumeFromSnapshotResponseFilterSensitiveLog = exports.CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog = exports.VolumeFilterSensitiveLog = exports.SnapshotFilterSensitiveLog = exports.FileSystemFilterSensitiveLog = exports.AdministrativeActionFilterSensitiveLog = exports.UpdateStorageVirtualMachineRequestFilterSensitiveLog = exports.UpdateSvmActiveDirectoryConfigurationFilterSensitiveLog = exports.UpdateFileSystemRequestFilterSensitiveLog = exports.UpdateFileSystemWindowsConfigurationFilterSensitiveLog = exports.SelfManagedActiveDirectoryConfigurationUpdatesFilterSensitiveLog = exports.UpdateFileSystemOntapConfigurationFilterSensitiveLog = exports.CreateStorageVirtualMachineRequestFilterSensitiveLog = exports.CreateSvmActiveDirectoryConfigurationFilterSensitiveLog = exports.CreateFileSystemFromBackupRequestFilterSensitiveLog = exports.CreateFileSystemRequestFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const FSxServiceException_1 = require("./FSxServiceException");
|
|
8
8
|
exports.ActiveDirectoryErrorType = {
|
|
@@ -38,8 +38,10 @@ exports.AdministrativeActionType = {
|
|
|
38
38
|
STORAGE_OPTIMIZATION: "STORAGE_OPTIMIZATION",
|
|
39
39
|
STORAGE_TYPE_OPTIMIZATION: "STORAGE_TYPE_OPTIMIZATION",
|
|
40
40
|
THROUGHPUT_OPTIMIZATION: "THROUGHPUT_OPTIMIZATION",
|
|
41
|
+
VOLUME_INITIALIZE_WITH_SNAPSHOT: "VOLUME_INITIALIZE_WITH_SNAPSHOT",
|
|
41
42
|
VOLUME_RESTORE: "VOLUME_RESTORE",
|
|
42
43
|
VOLUME_UPDATE: "VOLUME_UPDATE",
|
|
44
|
+
VOLUME_UPDATE_WITH_SNAPSHOT: "VOLUME_UPDATE_WITH_SNAPSHOT",
|
|
43
45
|
};
|
|
44
46
|
exports.Status = {
|
|
45
47
|
COMPLETED: "COMPLETED",
|
|
@@ -100,6 +102,7 @@ exports.LustreAccessAuditLogLevel = {
|
|
|
100
102
|
exports.OntapDeploymentType = {
|
|
101
103
|
MULTI_AZ_1: "MULTI_AZ_1",
|
|
102
104
|
SINGLE_AZ_1: "SINGLE_AZ_1",
|
|
105
|
+
SINGLE_AZ_2: "SINGLE_AZ_2",
|
|
103
106
|
};
|
|
104
107
|
exports.DiskIopsConfigurationMode = {
|
|
105
108
|
AUTOMATIC: "AUTOMATIC",
|
|
@@ -199,6 +202,10 @@ exports.TieringPolicyName = {
|
|
|
199
202
|
NONE: "NONE",
|
|
200
203
|
SNAPSHOT_ONLY: "SNAPSHOT_ONLY",
|
|
201
204
|
};
|
|
205
|
+
exports.VolumeStyle = {
|
|
206
|
+
FLEXGROUP: "FLEXGROUP",
|
|
207
|
+
FLEXVOL: "FLEXVOL",
|
|
208
|
+
};
|
|
202
209
|
exports.OpenZFSDataCompressionType = {
|
|
203
210
|
LZ4: "LZ4",
|
|
204
211
|
NONE: "NONE",
|
|
@@ -207,6 +214,7 @@ exports.OpenZFSDataCompressionType = {
|
|
|
207
214
|
exports.OpenZFSCopyStrategy = {
|
|
208
215
|
CLONE: "CLONE",
|
|
209
216
|
FULL_COPY: "FULL_COPY",
|
|
217
|
+
INCREMENTAL_COPY: "INCREMENTAL_COPY",
|
|
210
218
|
};
|
|
211
219
|
exports.OpenZFSQuotaType = {
|
|
212
220
|
GROUP: "GROUP",
|
|
@@ -458,6 +466,11 @@ class SourceBackupUnavailable extends FSxServiceException_1.FSxServiceException
|
|
|
458
466
|
}
|
|
459
467
|
}
|
|
460
468
|
exports.SourceBackupUnavailable = SourceBackupUnavailable;
|
|
469
|
+
exports.UpdateOpenZFSVolumeOption = {
|
|
470
|
+
DELETE_CLONED_VOLUMES: "DELETE_CLONED_VOLUMES",
|
|
471
|
+
DELETE_INTERMEDIATE_DATA: "DELETE_INTERMEDIATE_DATA",
|
|
472
|
+
DELETE_INTERMEDIATE_SNAPSHOTS: "DELETE_INTERMEDIATE_SNAPSHOTS",
|
|
473
|
+
};
|
|
461
474
|
class BackupInProgress extends FSxServiceException_1.FSxServiceException {
|
|
462
475
|
constructor(opts) {
|
|
463
476
|
super({
|
|
@@ -963,6 +976,13 @@ const VolumeFilterSensitiveLog = (obj) => ({
|
|
|
963
976
|
}),
|
|
964
977
|
});
|
|
965
978
|
exports.VolumeFilterSensitiveLog = VolumeFilterSensitiveLog;
|
|
979
|
+
const CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog = (obj) => ({
|
|
980
|
+
...obj,
|
|
981
|
+
...(obj.AdministrativeActions && {
|
|
982
|
+
AdministrativeActions: obj.AdministrativeActions.map((item) => (0, exports.AdministrativeActionFilterSensitiveLog)(item)),
|
|
983
|
+
}),
|
|
984
|
+
});
|
|
985
|
+
exports.CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog = CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog;
|
|
966
986
|
const RestoreVolumeFromSnapshotResponseFilterSensitiveLog = (obj) => ({
|
|
967
987
|
...obj,
|
|
968
988
|
...(obj.AdministrativeActions && {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateVolumeCommand = exports.de_UpdateStorageVirtualMachineCommand = exports.de_UpdateSnapshotCommand = exports.de_UpdateFileSystemCommand = exports.de_UpdateFileCacheCommand = exports.de_UpdateDataRepositoryAssociationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartMisconfiguredStateRecoveryCommand = exports.de_RestoreVolumeFromSnapshotCommand = exports.de_ReleaseFileSystemNfsV3LocksCommand = exports.de_ListTagsForResourceCommand = exports.de_DisassociateFileSystemAliasesCommand = exports.de_DescribeVolumesCommand = exports.de_DescribeStorageVirtualMachinesCommand = exports.de_DescribeSnapshotsCommand = exports.de_DescribeFileSystemsCommand = exports.de_DescribeFileSystemAliasesCommand = exports.de_DescribeFileCachesCommand = exports.de_DescribeDataRepositoryTasksCommand = exports.de_DescribeDataRepositoryAssociationsCommand = exports.de_DescribeBackupsCommand = exports.de_DeleteVolumeCommand = exports.de_DeleteStorageVirtualMachineCommand = exports.de_DeleteSnapshotCommand = exports.de_DeleteFileSystemCommand = exports.de_DeleteFileCacheCommand = exports.de_DeleteDataRepositoryAssociationCommand = exports.de_DeleteBackupCommand = exports.de_CreateVolumeFromBackupCommand = exports.de_CreateVolumeCommand = exports.de_CreateStorageVirtualMachineCommand = exports.de_CreateSnapshotCommand = exports.de_CreateFileSystemFromBackupCommand = void 0;
|
|
3
|
+
exports.de_CreateBackupCommand = exports.de_CopySnapshotAndUpdateVolumeCommand = exports.de_CopyBackupCommand = exports.de_CancelDataRepositoryTaskCommand = exports.de_AssociateFileSystemAliasesCommand = exports.se_UpdateVolumeCommand = exports.se_UpdateStorageVirtualMachineCommand = exports.se_UpdateSnapshotCommand = exports.se_UpdateSharedVpcConfigurationCommand = exports.se_UpdateFileSystemCommand = exports.se_UpdateFileCacheCommand = exports.se_UpdateDataRepositoryAssociationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartMisconfiguredStateRecoveryCommand = exports.se_RestoreVolumeFromSnapshotCommand = exports.se_ReleaseFileSystemNfsV3LocksCommand = exports.se_ListTagsForResourceCommand = exports.se_DisassociateFileSystemAliasesCommand = exports.se_DescribeVolumesCommand = exports.se_DescribeStorageVirtualMachinesCommand = exports.se_DescribeSnapshotsCommand = exports.se_DescribeSharedVpcConfigurationCommand = exports.se_DescribeFileSystemsCommand = exports.se_DescribeFileSystemAliasesCommand = exports.se_DescribeFileCachesCommand = exports.se_DescribeDataRepositoryTasksCommand = exports.se_DescribeDataRepositoryAssociationsCommand = exports.se_DescribeBackupsCommand = exports.se_DeleteVolumeCommand = exports.se_DeleteStorageVirtualMachineCommand = exports.se_DeleteSnapshotCommand = exports.se_DeleteFileSystemCommand = exports.se_DeleteFileCacheCommand = exports.se_DeleteDataRepositoryAssociationCommand = exports.se_DeleteBackupCommand = exports.se_CreateVolumeFromBackupCommand = exports.se_CreateVolumeCommand = exports.se_CreateStorageVirtualMachineCommand = exports.se_CreateSnapshotCommand = exports.se_CreateFileSystemFromBackupCommand = exports.se_CreateFileSystemCommand = exports.se_CreateFileCacheCommand = exports.se_CreateDataRepositoryTaskCommand = exports.se_CreateDataRepositoryAssociationCommand = exports.se_CreateBackupCommand = exports.se_CopySnapshotAndUpdateVolumeCommand = exports.se_CopyBackupCommand = exports.se_CancelDataRepositoryTaskCommand = exports.se_AssociateFileSystemAliasesCommand = void 0;
|
|
4
|
+
exports.de_UpdateVolumeCommand = exports.de_UpdateStorageVirtualMachineCommand = exports.de_UpdateSnapshotCommand = exports.de_UpdateSharedVpcConfigurationCommand = exports.de_UpdateFileSystemCommand = exports.de_UpdateFileCacheCommand = exports.de_UpdateDataRepositoryAssociationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartMisconfiguredStateRecoveryCommand = exports.de_RestoreVolumeFromSnapshotCommand = exports.de_ReleaseFileSystemNfsV3LocksCommand = exports.de_ListTagsForResourceCommand = exports.de_DisassociateFileSystemAliasesCommand = exports.de_DescribeVolumesCommand = exports.de_DescribeStorageVirtualMachinesCommand = exports.de_DescribeSnapshotsCommand = exports.de_DescribeSharedVpcConfigurationCommand = exports.de_DescribeFileSystemsCommand = exports.de_DescribeFileSystemAliasesCommand = exports.de_DescribeFileCachesCommand = exports.de_DescribeDataRepositoryTasksCommand = exports.de_DescribeDataRepositoryAssociationsCommand = exports.de_DescribeBackupsCommand = exports.de_DeleteVolumeCommand = exports.de_DeleteStorageVirtualMachineCommand = exports.de_DeleteSnapshotCommand = exports.de_DeleteFileSystemCommand = exports.de_DeleteFileCacheCommand = exports.de_DeleteDataRepositoryAssociationCommand = exports.de_DeleteBackupCommand = exports.de_CreateVolumeFromBackupCommand = exports.de_CreateVolumeCommand = exports.de_CreateStorageVirtualMachineCommand = exports.de_CreateSnapshotCommand = exports.de_CreateFileSystemFromBackupCommand = exports.de_CreateFileSystemCommand = exports.de_CreateFileCacheCommand = exports.de_CreateDataRepositoryTaskCommand = exports.de_CreateDataRepositoryAssociationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
@@ -28,6 +28,13 @@ const se_CopyBackupCommand = async (input, context) => {
|
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
30
|
exports.se_CopyBackupCommand = se_CopyBackupCommand;
|
|
31
|
+
const se_CopySnapshotAndUpdateVolumeCommand = async (input, context) => {
|
|
32
|
+
const headers = sharedHeaders("CopySnapshotAndUpdateVolume");
|
|
33
|
+
let body;
|
|
34
|
+
body = JSON.stringify(se_CopySnapshotAndUpdateVolumeRequest(input, context));
|
|
35
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
+
};
|
|
37
|
+
exports.se_CopySnapshotAndUpdateVolumeCommand = se_CopySnapshotAndUpdateVolumeCommand;
|
|
31
38
|
const se_CreateBackupCommand = async (input, context) => {
|
|
32
39
|
const headers = sharedHeaders("CreateBackup");
|
|
33
40
|
let body;
|
|
@@ -189,6 +196,13 @@ const se_DescribeFileSystemsCommand = async (input, context) => {
|
|
|
189
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
197
|
};
|
|
191
198
|
exports.se_DescribeFileSystemsCommand = se_DescribeFileSystemsCommand;
|
|
199
|
+
const se_DescribeSharedVpcConfigurationCommand = async (input, context) => {
|
|
200
|
+
const headers = sharedHeaders("DescribeSharedVpcConfiguration");
|
|
201
|
+
let body;
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
203
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
+
};
|
|
205
|
+
exports.se_DescribeSharedVpcConfigurationCommand = se_DescribeSharedVpcConfigurationCommand;
|
|
192
206
|
const se_DescribeSnapshotsCommand = async (input, context) => {
|
|
193
207
|
const headers = sharedHeaders("DescribeSnapshots");
|
|
194
208
|
let body;
|
|
@@ -280,6 +294,13 @@ const se_UpdateFileSystemCommand = async (input, context) => {
|
|
|
280
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
295
|
};
|
|
282
296
|
exports.se_UpdateFileSystemCommand = se_UpdateFileSystemCommand;
|
|
297
|
+
const se_UpdateSharedVpcConfigurationCommand = async (input, context) => {
|
|
298
|
+
const headers = sharedHeaders("UpdateSharedVpcConfiguration");
|
|
299
|
+
let body;
|
|
300
|
+
body = JSON.stringify(se_UpdateSharedVpcConfigurationRequest(input, context));
|
|
301
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
|
+
};
|
|
303
|
+
exports.se_UpdateSharedVpcConfigurationCommand = se_UpdateSharedVpcConfigurationCommand;
|
|
283
304
|
const se_UpdateSnapshotCommand = async (input, context) => {
|
|
284
305
|
const headers = sharedHeaders("UpdateSnapshot");
|
|
285
306
|
let body;
|
|
@@ -448,6 +469,48 @@ const de_CopyBackupCommandError = async (output, context) => {
|
|
|
448
469
|
});
|
|
449
470
|
}
|
|
450
471
|
};
|
|
472
|
+
const de_CopySnapshotAndUpdateVolumeCommand = async (output, context) => {
|
|
473
|
+
if (output.statusCode >= 300) {
|
|
474
|
+
return de_CopySnapshotAndUpdateVolumeCommandError(output, context);
|
|
475
|
+
}
|
|
476
|
+
const data = await parseBody(output.body, context);
|
|
477
|
+
let contents = {};
|
|
478
|
+
contents = de_CopySnapshotAndUpdateVolumeResponse(data, context);
|
|
479
|
+
const response = {
|
|
480
|
+
$metadata: deserializeMetadata(output),
|
|
481
|
+
...contents,
|
|
482
|
+
};
|
|
483
|
+
return response;
|
|
484
|
+
};
|
|
485
|
+
exports.de_CopySnapshotAndUpdateVolumeCommand = de_CopySnapshotAndUpdateVolumeCommand;
|
|
486
|
+
const de_CopySnapshotAndUpdateVolumeCommandError = async (output, context) => {
|
|
487
|
+
const parsedOutput = {
|
|
488
|
+
...output,
|
|
489
|
+
body: await parseErrorBody(output.body, context),
|
|
490
|
+
};
|
|
491
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
492
|
+
switch (errorCode) {
|
|
493
|
+
case "BadRequest":
|
|
494
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
495
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
496
|
+
case "IncompatibleParameterError":
|
|
497
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
498
|
+
throw await de_IncompatibleParameterErrorRes(parsedOutput, context);
|
|
499
|
+
case "InternalServerError":
|
|
500
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
501
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
502
|
+
case "ServiceLimitExceeded":
|
|
503
|
+
case "com.amazonaws.fsx#ServiceLimitExceeded":
|
|
504
|
+
throw await de_ServiceLimitExceededRes(parsedOutput, context);
|
|
505
|
+
default:
|
|
506
|
+
const parsedBody = parsedOutput.body;
|
|
507
|
+
return throwDefaultError({
|
|
508
|
+
output,
|
|
509
|
+
parsedBody,
|
|
510
|
+
errorCode,
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
};
|
|
451
514
|
const de_CreateBackupCommand = async (output, context) => {
|
|
452
515
|
if (output.statusCode >= 300) {
|
|
453
516
|
return de_CreateBackupCommandError(output, context);
|
|
@@ -1531,6 +1594,42 @@ const de_DescribeFileSystemsCommandError = async (output, context) => {
|
|
|
1531
1594
|
});
|
|
1532
1595
|
}
|
|
1533
1596
|
};
|
|
1597
|
+
const de_DescribeSharedVpcConfigurationCommand = async (output, context) => {
|
|
1598
|
+
if (output.statusCode >= 300) {
|
|
1599
|
+
return de_DescribeSharedVpcConfigurationCommandError(output, context);
|
|
1600
|
+
}
|
|
1601
|
+
const data = await parseBody(output.body, context);
|
|
1602
|
+
let contents = {};
|
|
1603
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1604
|
+
const response = {
|
|
1605
|
+
$metadata: deserializeMetadata(output),
|
|
1606
|
+
...contents,
|
|
1607
|
+
};
|
|
1608
|
+
return response;
|
|
1609
|
+
};
|
|
1610
|
+
exports.de_DescribeSharedVpcConfigurationCommand = de_DescribeSharedVpcConfigurationCommand;
|
|
1611
|
+
const de_DescribeSharedVpcConfigurationCommandError = async (output, context) => {
|
|
1612
|
+
const parsedOutput = {
|
|
1613
|
+
...output,
|
|
1614
|
+
body: await parseErrorBody(output.body, context),
|
|
1615
|
+
};
|
|
1616
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1617
|
+
switch (errorCode) {
|
|
1618
|
+
case "BadRequest":
|
|
1619
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
1620
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
1621
|
+
case "InternalServerError":
|
|
1622
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
1623
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
1624
|
+
default:
|
|
1625
|
+
const parsedBody = parsedOutput.body;
|
|
1626
|
+
return throwDefaultError({
|
|
1627
|
+
output,
|
|
1628
|
+
parsedBody,
|
|
1629
|
+
errorCode,
|
|
1630
|
+
});
|
|
1631
|
+
}
|
|
1632
|
+
};
|
|
1534
1633
|
const de_DescribeSnapshotsCommand = async (output, context) => {
|
|
1535
1634
|
if (output.statusCode >= 300) {
|
|
1536
1635
|
return de_DescribeSnapshotsCommandError(output, context);
|
|
@@ -2095,6 +2194,45 @@ const de_UpdateFileSystemCommandError = async (output, context) => {
|
|
|
2095
2194
|
});
|
|
2096
2195
|
}
|
|
2097
2196
|
};
|
|
2197
|
+
const de_UpdateSharedVpcConfigurationCommand = async (output, context) => {
|
|
2198
|
+
if (output.statusCode >= 300) {
|
|
2199
|
+
return de_UpdateSharedVpcConfigurationCommandError(output, context);
|
|
2200
|
+
}
|
|
2201
|
+
const data = await parseBody(output.body, context);
|
|
2202
|
+
let contents = {};
|
|
2203
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2204
|
+
const response = {
|
|
2205
|
+
$metadata: deserializeMetadata(output),
|
|
2206
|
+
...contents,
|
|
2207
|
+
};
|
|
2208
|
+
return response;
|
|
2209
|
+
};
|
|
2210
|
+
exports.de_UpdateSharedVpcConfigurationCommand = de_UpdateSharedVpcConfigurationCommand;
|
|
2211
|
+
const de_UpdateSharedVpcConfigurationCommandError = async (output, context) => {
|
|
2212
|
+
const parsedOutput = {
|
|
2213
|
+
...output,
|
|
2214
|
+
body: await parseErrorBody(output.body, context),
|
|
2215
|
+
};
|
|
2216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2217
|
+
switch (errorCode) {
|
|
2218
|
+
case "BadRequest":
|
|
2219
|
+
case "com.amazonaws.fsx#BadRequest":
|
|
2220
|
+
throw await de_BadRequestRes(parsedOutput, context);
|
|
2221
|
+
case "IncompatibleParameterError":
|
|
2222
|
+
case "com.amazonaws.fsx#IncompatibleParameterError":
|
|
2223
|
+
throw await de_IncompatibleParameterErrorRes(parsedOutput, context);
|
|
2224
|
+
case "InternalServerError":
|
|
2225
|
+
case "com.amazonaws.fsx#InternalServerError":
|
|
2226
|
+
throw await de_InternalServerErrorRes(parsedOutput, context);
|
|
2227
|
+
default:
|
|
2228
|
+
const parsedBody = parsedOutput.body;
|
|
2229
|
+
return throwDefaultError({
|
|
2230
|
+
output,
|
|
2231
|
+
parsedBody,
|
|
2232
|
+
errorCode,
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
};
|
|
2098
2236
|
const de_UpdateSnapshotCommand = async (output, context) => {
|
|
2099
2237
|
if (output.statusCode >= 300) {
|
|
2100
2238
|
return de_UpdateSnapshotCommandError(output, context);
|
|
@@ -2556,6 +2694,15 @@ const se_CopyBackupRequest = (input, context) => {
|
|
|
2556
2694
|
Tags: smithy_client_1._json,
|
|
2557
2695
|
});
|
|
2558
2696
|
};
|
|
2697
|
+
const se_CopySnapshotAndUpdateVolumeRequest = (input, context) => {
|
|
2698
|
+
return (0, smithy_client_1.take)(input, {
|
|
2699
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2700
|
+
CopyStrategy: [],
|
|
2701
|
+
Options: smithy_client_1._json,
|
|
2702
|
+
SourceSnapshotARN: [],
|
|
2703
|
+
VolumeId: [],
|
|
2704
|
+
});
|
|
2705
|
+
};
|
|
2559
2706
|
const se_CreateBackupRequest = (input, context) => {
|
|
2560
2707
|
return (0, smithy_client_1.take)(input, {
|
|
2561
2708
|
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -2784,6 +2931,12 @@ const se_UpdateFileSystemRequest = (input, context) => {
|
|
|
2784
2931
|
WindowsConfiguration: smithy_client_1._json,
|
|
2785
2932
|
});
|
|
2786
2933
|
};
|
|
2934
|
+
const se_UpdateSharedVpcConfigurationRequest = (input, context) => {
|
|
2935
|
+
return (0, smithy_client_1.take)(input, {
|
|
2936
|
+
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2937
|
+
EnableFsxRouteTableUpdatesFromParticipantAccounts: [],
|
|
2938
|
+
});
|
|
2939
|
+
};
|
|
2787
2940
|
const se_UpdateSnapshotRequest = (input, context) => {
|
|
2788
2941
|
return (0, smithy_client_1.take)(input, {
|
|
2789
2942
|
ClientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
@@ -2813,11 +2966,13 @@ const de_AdministrativeAction = (output, context) => {
|
|
|
2813
2966
|
AdministrativeActionType: smithy_client_1.expectString,
|
|
2814
2967
|
FailureDetails: smithy_client_1._json,
|
|
2815
2968
|
ProgressPercent: smithy_client_1.expectInt32,
|
|
2969
|
+
RemainingTransferBytes: smithy_client_1.expectLong,
|
|
2816
2970
|
RequestTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2817
2971
|
Status: smithy_client_1.expectString,
|
|
2818
2972
|
TargetFileSystemValues: (_) => de_FileSystem(_, context),
|
|
2819
2973
|
TargetSnapshotValues: (_) => de_Snapshot(_, context),
|
|
2820
2974
|
TargetVolumeValues: (_) => de_Volume(_, context),
|
|
2975
|
+
TotalTransferBytes: smithy_client_1.expectLong,
|
|
2821
2976
|
});
|
|
2822
2977
|
};
|
|
2823
2978
|
const de_AdministrativeActions = (output, context) => {
|
|
@@ -2861,6 +3016,13 @@ const de_CopyBackupResponse = (output, context) => {
|
|
|
2861
3016
|
Backup: (_) => de_Backup(_, context),
|
|
2862
3017
|
});
|
|
2863
3018
|
};
|
|
3019
|
+
const de_CopySnapshotAndUpdateVolumeResponse = (output, context) => {
|
|
3020
|
+
return (0, smithy_client_1.take)(output, {
|
|
3021
|
+
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
|
3022
|
+
Lifecycle: smithy_client_1.expectString,
|
|
3023
|
+
VolumeId: smithy_client_1.expectString,
|
|
3024
|
+
});
|
|
3025
|
+
};
|
|
2864
3026
|
const de_CreateBackupResponse = (output, context) => {
|
|
2865
3027
|
return (0, smithy_client_1.take)(output, {
|
|
2866
3028
|
Backup: (_) => de_Backup(_, context),
|
package/dist-es/FSx.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
|
|
|
2
2
|
import { AssociateFileSystemAliasesCommand, } from "./commands/AssociateFileSystemAliasesCommand";
|
|
3
3
|
import { CancelDataRepositoryTaskCommand, } from "./commands/CancelDataRepositoryTaskCommand";
|
|
4
4
|
import { CopyBackupCommand } from "./commands/CopyBackupCommand";
|
|
5
|
+
import { CopySnapshotAndUpdateVolumeCommand, } from "./commands/CopySnapshotAndUpdateVolumeCommand";
|
|
5
6
|
import { CreateBackupCommand, } from "./commands/CreateBackupCommand";
|
|
6
7
|
import { CreateDataRepositoryAssociationCommand, } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
7
8
|
import { CreateDataRepositoryTaskCommand, } from "./commands/CreateDataRepositoryTaskCommand";
|
|
@@ -25,6 +26,7 @@ import { DescribeDataRepositoryTasksCommand, } from "./commands/DescribeDataRepo
|
|
|
25
26
|
import { DescribeFileCachesCommand, } from "./commands/DescribeFileCachesCommand";
|
|
26
27
|
import { DescribeFileSystemAliasesCommand, } from "./commands/DescribeFileSystemAliasesCommand";
|
|
27
28
|
import { DescribeFileSystemsCommand, } from "./commands/DescribeFileSystemsCommand";
|
|
29
|
+
import { DescribeSharedVpcConfigurationCommand, } from "./commands/DescribeSharedVpcConfigurationCommand";
|
|
28
30
|
import { DescribeSnapshotsCommand, } from "./commands/DescribeSnapshotsCommand";
|
|
29
31
|
import { DescribeStorageVirtualMachinesCommand, } from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
30
32
|
import { DescribeVolumesCommand, } from "./commands/DescribeVolumesCommand";
|
|
@@ -38,6 +40,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
38
40
|
import { UpdateDataRepositoryAssociationCommand, } from "./commands/UpdateDataRepositoryAssociationCommand";
|
|
39
41
|
import { UpdateFileCacheCommand, } from "./commands/UpdateFileCacheCommand";
|
|
40
42
|
import { UpdateFileSystemCommand, } from "./commands/UpdateFileSystemCommand";
|
|
43
|
+
import { UpdateSharedVpcConfigurationCommand, } from "./commands/UpdateSharedVpcConfigurationCommand";
|
|
41
44
|
import { UpdateSnapshotCommand, } from "./commands/UpdateSnapshotCommand";
|
|
42
45
|
import { UpdateStorageVirtualMachineCommand, } from "./commands/UpdateStorageVirtualMachineCommand";
|
|
43
46
|
import { UpdateVolumeCommand, } from "./commands/UpdateVolumeCommand";
|
|
@@ -46,6 +49,7 @@ const commands = {
|
|
|
46
49
|
AssociateFileSystemAliasesCommand,
|
|
47
50
|
CancelDataRepositoryTaskCommand,
|
|
48
51
|
CopyBackupCommand,
|
|
52
|
+
CopySnapshotAndUpdateVolumeCommand,
|
|
49
53
|
CreateBackupCommand,
|
|
50
54
|
CreateDataRepositoryAssociationCommand,
|
|
51
55
|
CreateDataRepositoryTaskCommand,
|
|
@@ -69,6 +73,7 @@ const commands = {
|
|
|
69
73
|
DescribeFileCachesCommand,
|
|
70
74
|
DescribeFileSystemAliasesCommand,
|
|
71
75
|
DescribeFileSystemsCommand,
|
|
76
|
+
DescribeSharedVpcConfigurationCommand,
|
|
72
77
|
DescribeSnapshotsCommand,
|
|
73
78
|
DescribeStorageVirtualMachinesCommand,
|
|
74
79
|
DescribeVolumesCommand,
|
|
@@ -82,6 +87,7 @@ const commands = {
|
|
|
82
87
|
UpdateDataRepositoryAssociationCommand,
|
|
83
88
|
UpdateFileCacheCommand,
|
|
84
89
|
UpdateFileSystemCommand,
|
|
90
|
+
UpdateSharedVpcConfigurationCommand,
|
|
85
91
|
UpdateSnapshotCommand,
|
|
86
92
|
UpdateStorageVirtualMachineCommand,
|
|
87
93
|
UpdateVolumeCommand,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CopySnapshotAndUpdateVolumeCommand, se_CopySnapshotAndUpdateVolumeCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CopySnapshotAndUpdateVolumeCommand extends $Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CopySnapshotAndUpdateVolumeCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "FSxClient";
|
|
27
|
+
const commandName = "CopySnapshotAndUpdateVolumeCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: CopySnapshotAndUpdateVolumeResponseFilterSensitiveLog,
|
|
34
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
+
service: "AWSSimbaAPIService_v20180301",
|
|
36
|
+
operation: "CopySnapshotAndUpdateVolume",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const { requestHandler } = configuration;
|
|
40
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
+
}
|
|
42
|
+
serialize(input, context) {
|
|
43
|
+
return se_CopySnapshotAndUpdateVolumeCommand(input, context);
|
|
44
|
+
}
|
|
45
|
+
deserialize(output, context) {
|
|
46
|
+
return de_CopySnapshotAndUpdateVolumeCommand(output, context);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DescribeSharedVpcConfigurationCommand, se_DescribeSharedVpcConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeSharedVpcConfigurationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSharedVpcConfigurationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "FSxClient";
|
|
26
|
+
const commandName = "DescribeSharedVpcConfigurationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSSimbaAPIService_v20180301",
|
|
35
|
+
operation: "DescribeSharedVpcConfiguration",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DescribeSharedVpcConfigurationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DescribeSharedVpcConfigurationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateSharedVpcConfigurationCommand, se_UpdateSharedVpcConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateSharedVpcConfigurationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSharedVpcConfigurationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "FSxClient";
|
|
26
|
+
const commandName = "UpdateSharedVpcConfigurationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AWSSimbaAPIService_v20180301",
|
|
35
|
+
operation: "UpdateSharedVpcConfiguration",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateSharedVpcConfigurationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateSharedVpcConfigurationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AssociateFileSystemAliasesCommand";
|
|
2
2
|
export * from "./CancelDataRepositoryTaskCommand";
|
|
3
3
|
export * from "./CopyBackupCommand";
|
|
4
|
+
export * from "./CopySnapshotAndUpdateVolumeCommand";
|
|
4
5
|
export * from "./CreateBackupCommand";
|
|
5
6
|
export * from "./CreateDataRepositoryAssociationCommand";
|
|
6
7
|
export * from "./CreateDataRepositoryTaskCommand";
|
|
@@ -24,6 +25,7 @@ export * from "./DescribeDataRepositoryTasksCommand";
|
|
|
24
25
|
export * from "./DescribeFileCachesCommand";
|
|
25
26
|
export * from "./DescribeFileSystemAliasesCommand";
|
|
26
27
|
export * from "./DescribeFileSystemsCommand";
|
|
28
|
+
export * from "./DescribeSharedVpcConfigurationCommand";
|
|
27
29
|
export * from "./DescribeSnapshotsCommand";
|
|
28
30
|
export * from "./DescribeStorageVirtualMachinesCommand";
|
|
29
31
|
export * from "./DescribeVolumesCommand";
|
|
@@ -37,6 +39,7 @@ export * from "./UntagResourceCommand";
|
|
|
37
39
|
export * from "./UpdateDataRepositoryAssociationCommand";
|
|
38
40
|
export * from "./UpdateFileCacheCommand";
|
|
39
41
|
export * from "./UpdateFileSystemCommand";
|
|
42
|
+
export * from "./UpdateSharedVpcConfigurationCommand";
|
|
40
43
|
export * from "./UpdateSnapshotCommand";
|
|
41
44
|
export * from "./UpdateStorageVirtualMachineCommand";
|
|
42
45
|
export * from "./UpdateVolumeCommand";
|