@aws-sdk/client-fsx 3.835.0 → 3.839.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 +24 -0
- package/dist-cjs/index.js +470 -66
- package/dist-es/FSx.js +6 -0
- package/dist-es/commands/CopyBackupCommand.js +1 -1
- package/dist-es/commands/CreateAndAttachS3AccessPointCommand.js +22 -0
- package/dist-es/commands/CreateBackupCommand.js +1 -1
- package/dist-es/commands/CreateFileSystemCommand.js +2 -1
- package/dist-es/commands/CreateSnapshotCommand.js +1 -1
- package/dist-es/commands/CreateVolumeCommand.js +1 -1
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +1 -1
- package/dist-es/commands/DescribeBackupsCommand.js +1 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +1 -1
- package/dist-es/commands/DescribeS3AccessPointAttachmentsCommand.js +22 -0
- package/dist-es/commands/DescribeSnapshotsCommand.js +1 -1
- package/dist-es/commands/DescribeVolumesCommand.js +1 -1
- package/dist-es/commands/DetachAndDeleteS3AccessPointCommand.js +22 -0
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +1 -1
- package/dist-es/commands/StartMisconfiguredStateRecoveryCommand.js +1 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +2 -1
- package/dist-es/commands/UpdateSnapshotCommand.js +1 -1
- package/dist-es/commands/UpdateVolumeCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +100 -61
- package/dist-es/models/models_1.js +58 -0
- package/dist-es/pagination/DescribeS3AccessPointAttachmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +166 -4
- package/dist-types/FSx.d.ts +22 -0
- package/dist-types/FSxClient.d.ts +5 -2
- package/dist-types/commands/CopyBackupCommand.d.ts +2 -1
- package/dist-types/commands/CreateAndAttachS3AccessPointCommand.d.ts +196 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +2 -1
- package/dist-types/commands/CreateFileSystemCommand.d.ts +2 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +6 -0
- package/dist-types/commands/DescribeBackupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeS3AccessPointAttachmentsCommand.d.ts +135 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/DetachAndDeleteS3AccessPointCommand.d.ts +104 -0
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +2 -1
- package/dist-types/commands/StartMisconfiguredStateRecoveryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/UpdateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2132 -2044
- package/dist-types/models/models_1.d.ts +384 -0
- package/dist-types/pagination/DescribeS3AccessPointAttachmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/FSx.d.ts +52 -0
- package/dist-types/ts3.4/FSxClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CopyBackupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateAndAttachS3AccessPointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateVolumeFromBackupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeS3AccessPointAttachmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DetachAndDeleteS3AccessPointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartMisconfiguredStateRecoveryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateVolumeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +147 -120
- package/dist-types/ts3.4/models/models_1.d.ts +125 -0
- package/dist-types/ts3.4/pagination/DescribeS3AccessPointAttachmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +11 -11
|
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { FSxServiceException as __BaseException } from "../models/FSxServiceException";
|
|
6
|
-
import { ActiveDirectoryError, BackupBeingCopied, BackupInProgress, BackupNotFound, BackupRestoring, BadRequest, DataRepositoryAssociationNotFound, DataRepositoryTaskEnded, DataRepositoryTaskExecuting, DataRepositoryTaskNotFound, FileCacheNotFound, FileSystemNotFound, IncompatibleParameterError, IncompatibleRegionForMultiAZ, InternalServerError, InvalidDataRepositoryType, InvalidDestinationKmsKey, InvalidExportPath, InvalidImportPath, InvalidNetworkSettings, InvalidPerUnitStorageThroughput, InvalidRegion, InvalidSourceKmsKey, MissingFileCacheConfiguration, MissingFileSystemConfiguration, MissingVolumeConfiguration, NotServiceResourceError, ResourceDoesNotSupportTagging, ResourceNotFound, ServiceLimitExceeded, SnapshotNotFound, SourceBackupUnavailable, StorageVirtualMachineNotFound, UnsupportedOperation, VolumeNotFound, } from "../models/models_0";
|
|
6
|
+
import { AccessPointAlreadyOwnedByYou, ActiveDirectoryError, BackupBeingCopied, BackupInProgress, BackupNotFound, BackupRestoring, BadRequest, DataRepositoryAssociationNotFound, DataRepositoryTaskEnded, DataRepositoryTaskExecuting, DataRepositoryTaskNotFound, FileCacheNotFound, FileSystemNotFound, IncompatibleParameterError, IncompatibleRegionForMultiAZ, InternalServerError, InvalidAccessPoint, InvalidDataRepositoryType, InvalidDestinationKmsKey, InvalidExportPath, InvalidImportPath, InvalidNetworkSettings, InvalidPerUnitStorageThroughput, InvalidRegion, InvalidRequest, InvalidSourceKmsKey, MissingFileCacheConfiguration, MissingFileSystemConfiguration, MissingVolumeConfiguration, NotServiceResourceError, ResourceDoesNotSupportTagging, ResourceNotFound, S3AccessPointAttachmentNotFound, ServiceLimitExceeded, SnapshotNotFound, SourceBackupUnavailable, StorageVirtualMachineNotFound, TooManyAccessPoints, UnsupportedOperation, VolumeNotFound, } from "../models/models_0";
|
|
7
7
|
export const se_AssociateFileSystemAliasesCommand = async (input, context) => {
|
|
8
8
|
const headers = sharedHeaders("AssociateFileSystemAliases");
|
|
9
9
|
let body;
|
|
@@ -28,6 +28,12 @@ export const se_CopySnapshotAndUpdateVolumeCommand = async (input, context) => {
|
|
|
28
28
|
body = JSON.stringify(se_CopySnapshotAndUpdateVolumeRequest(input, context));
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
31
|
+
export const se_CreateAndAttachS3AccessPointCommand = async (input, context) => {
|
|
32
|
+
const headers = sharedHeaders("CreateAndAttachS3AccessPoint");
|
|
33
|
+
let body;
|
|
34
|
+
body = JSON.stringify(se_CreateAndAttachS3AccessPointRequest(input, context));
|
|
35
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
+
};
|
|
31
37
|
export const se_CreateBackupCommand = async (input, context) => {
|
|
32
38
|
const headers = sharedHeaders("CreateBackup");
|
|
33
39
|
let body;
|
|
@@ -166,6 +172,12 @@ export const se_DescribeFileSystemsCommand = async (input, context) => {
|
|
|
166
172
|
body = JSON.stringify(_json(input));
|
|
167
173
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
174
|
};
|
|
175
|
+
export const se_DescribeS3AccessPointAttachmentsCommand = async (input, context) => {
|
|
176
|
+
const headers = sharedHeaders("DescribeS3AccessPointAttachments");
|
|
177
|
+
let body;
|
|
178
|
+
body = JSON.stringify(_json(input));
|
|
179
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
+
};
|
|
169
181
|
export const se_DescribeSharedVpcConfigurationCommand = async (input, context) => {
|
|
170
182
|
const headers = sharedHeaders("DescribeSharedVpcConfiguration");
|
|
171
183
|
let body;
|
|
@@ -190,6 +202,12 @@ export const se_DescribeVolumesCommand = async (input, context) => {
|
|
|
190
202
|
body = JSON.stringify(_json(input));
|
|
191
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
204
|
};
|
|
205
|
+
export const se_DetachAndDeleteS3AccessPointCommand = async (input, context) => {
|
|
206
|
+
const headers = sharedHeaders("DetachAndDeleteS3AccessPoint");
|
|
207
|
+
let body;
|
|
208
|
+
body = JSON.stringify(se_DetachAndDeleteS3AccessPointRequest(input, context));
|
|
209
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
+
};
|
|
193
211
|
export const se_DisassociateFileSystemAliasesCommand = async (input, context) => {
|
|
194
212
|
const headers = sharedHeaders("DisassociateFileSystemAliases");
|
|
195
213
|
let body;
|
|
@@ -326,6 +344,19 @@ export const de_CopySnapshotAndUpdateVolumeCommand = async (output, context) =>
|
|
|
326
344
|
};
|
|
327
345
|
return response;
|
|
328
346
|
};
|
|
347
|
+
export const de_CreateAndAttachS3AccessPointCommand = async (output, context) => {
|
|
348
|
+
if (output.statusCode >= 300) {
|
|
349
|
+
return de_CommandError(output, context);
|
|
350
|
+
}
|
|
351
|
+
const data = await parseBody(output.body, context);
|
|
352
|
+
let contents = {};
|
|
353
|
+
contents = de_CreateAndAttachS3AccessPointResponse(data, context);
|
|
354
|
+
const response = {
|
|
355
|
+
$metadata: deserializeMetadata(output),
|
|
356
|
+
...contents,
|
|
357
|
+
};
|
|
358
|
+
return response;
|
|
359
|
+
};
|
|
329
360
|
export const de_CreateBackupCommand = async (output, context) => {
|
|
330
361
|
if (output.statusCode >= 300) {
|
|
331
362
|
return de_CommandError(output, context);
|
|
@@ -625,6 +656,19 @@ export const de_DescribeFileSystemsCommand = async (output, context) => {
|
|
|
625
656
|
};
|
|
626
657
|
return response;
|
|
627
658
|
};
|
|
659
|
+
export const de_DescribeS3AccessPointAttachmentsCommand = async (output, context) => {
|
|
660
|
+
if (output.statusCode >= 300) {
|
|
661
|
+
return de_CommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const data = await parseBody(output.body, context);
|
|
664
|
+
let contents = {};
|
|
665
|
+
contents = de_DescribeS3AccessPointAttachmentsResponse(data, context);
|
|
666
|
+
const response = {
|
|
667
|
+
$metadata: deserializeMetadata(output),
|
|
668
|
+
...contents,
|
|
669
|
+
};
|
|
670
|
+
return response;
|
|
671
|
+
};
|
|
628
672
|
export const de_DescribeSharedVpcConfigurationCommand = async (output, context) => {
|
|
629
673
|
if (output.statusCode >= 300) {
|
|
630
674
|
return de_CommandError(output, context);
|
|
@@ -677,6 +721,19 @@ export const de_DescribeVolumesCommand = async (output, context) => {
|
|
|
677
721
|
};
|
|
678
722
|
return response;
|
|
679
723
|
};
|
|
724
|
+
export const de_DetachAndDeleteS3AccessPointCommand = async (output, context) => {
|
|
725
|
+
if (output.statusCode >= 300) {
|
|
726
|
+
return de_CommandError(output, context);
|
|
727
|
+
}
|
|
728
|
+
const data = await parseBody(output.body, context);
|
|
729
|
+
let contents = {};
|
|
730
|
+
contents = _json(data);
|
|
731
|
+
const response = {
|
|
732
|
+
$metadata: deserializeMetadata(output),
|
|
733
|
+
...contents,
|
|
734
|
+
};
|
|
735
|
+
return response;
|
|
736
|
+
};
|
|
680
737
|
export const de_DisassociateFileSystemAliasesCommand = async (output, context) => {
|
|
681
738
|
if (output.statusCode >= 300) {
|
|
682
739
|
return de_CommandError(output, context);
|
|
@@ -908,12 +965,24 @@ const de_CommandError = async (output, context) => {
|
|
|
908
965
|
case "SourceBackupUnavailable":
|
|
909
966
|
case "com.amazonaws.fsx#SourceBackupUnavailable":
|
|
910
967
|
throw await de_SourceBackupUnavailableRes(parsedOutput, context);
|
|
911
|
-
case "
|
|
912
|
-
case "com.amazonaws.fsx#
|
|
913
|
-
throw await
|
|
968
|
+
case "AccessPointAlreadyOwnedByYou":
|
|
969
|
+
case "com.amazonaws.fsx#AccessPointAlreadyOwnedByYou":
|
|
970
|
+
throw await de_AccessPointAlreadyOwnedByYouRes(parsedOutput, context);
|
|
971
|
+
case "InvalidAccessPoint":
|
|
972
|
+
case "com.amazonaws.fsx#InvalidAccessPoint":
|
|
973
|
+
throw await de_InvalidAccessPointRes(parsedOutput, context);
|
|
974
|
+
case "InvalidRequest":
|
|
975
|
+
case "com.amazonaws.fsx#InvalidRequest":
|
|
976
|
+
throw await de_InvalidRequestRes(parsedOutput, context);
|
|
977
|
+
case "TooManyAccessPoints":
|
|
978
|
+
case "com.amazonaws.fsx#TooManyAccessPoints":
|
|
979
|
+
throw await de_TooManyAccessPointsRes(parsedOutput, context);
|
|
914
980
|
case "VolumeNotFound":
|
|
915
981
|
case "com.amazonaws.fsx#VolumeNotFound":
|
|
916
982
|
throw await de_VolumeNotFoundRes(parsedOutput, context);
|
|
983
|
+
case "BackupInProgress":
|
|
984
|
+
case "com.amazonaws.fsx#BackupInProgress":
|
|
985
|
+
throw await de_BackupInProgressRes(parsedOutput, context);
|
|
917
986
|
case "DataRepositoryTaskExecuting":
|
|
918
987
|
case "com.amazonaws.fsx#DataRepositoryTaskExecuting":
|
|
919
988
|
throw await de_DataRepositoryTaskExecutingRes(parsedOutput, context);
|
|
@@ -962,6 +1031,9 @@ const de_CommandError = async (output, context) => {
|
|
|
962
1031
|
case "InvalidDataRepositoryType":
|
|
963
1032
|
case "com.amazonaws.fsx#InvalidDataRepositoryType":
|
|
964
1033
|
throw await de_InvalidDataRepositoryTypeRes(parsedOutput, context);
|
|
1034
|
+
case "S3AccessPointAttachmentNotFound":
|
|
1035
|
+
case "com.amazonaws.fsx#S3AccessPointAttachmentNotFound":
|
|
1036
|
+
throw await de_S3AccessPointAttachmentNotFoundRes(parsedOutput, context);
|
|
965
1037
|
case "NotServiceResourceError":
|
|
966
1038
|
case "com.amazonaws.fsx#NotServiceResourceError":
|
|
967
1039
|
throw await de_NotServiceResourceErrorRes(parsedOutput, context);
|
|
@@ -980,6 +1052,15 @@ const de_CommandError = async (output, context) => {
|
|
|
980
1052
|
});
|
|
981
1053
|
}
|
|
982
1054
|
};
|
|
1055
|
+
const de_AccessPointAlreadyOwnedByYouRes = async (parsedOutput, context) => {
|
|
1056
|
+
const body = parsedOutput.body;
|
|
1057
|
+
const deserialized = _json(body);
|
|
1058
|
+
const exception = new AccessPointAlreadyOwnedByYou({
|
|
1059
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1060
|
+
...deserialized,
|
|
1061
|
+
});
|
|
1062
|
+
return __decorateServiceException(exception, body);
|
|
1063
|
+
};
|
|
983
1064
|
const de_ActiveDirectoryErrorRes = async (parsedOutput, context) => {
|
|
984
1065
|
const body = parsedOutput.body;
|
|
985
1066
|
const deserialized = _json(body);
|
|
@@ -1115,6 +1196,15 @@ const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
|
1115
1196
|
});
|
|
1116
1197
|
return __decorateServiceException(exception, body);
|
|
1117
1198
|
};
|
|
1199
|
+
const de_InvalidAccessPointRes = async (parsedOutput, context) => {
|
|
1200
|
+
const body = parsedOutput.body;
|
|
1201
|
+
const deserialized = _json(body);
|
|
1202
|
+
const exception = new InvalidAccessPoint({
|
|
1203
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
|
+
...deserialized,
|
|
1205
|
+
});
|
|
1206
|
+
return __decorateServiceException(exception, body);
|
|
1207
|
+
};
|
|
1118
1208
|
const de_InvalidDataRepositoryTypeRes = async (parsedOutput, context) => {
|
|
1119
1209
|
const body = parsedOutput.body;
|
|
1120
1210
|
const deserialized = _json(body);
|
|
@@ -1178,6 +1268,15 @@ const de_InvalidRegionRes = async (parsedOutput, context) => {
|
|
|
1178
1268
|
});
|
|
1179
1269
|
return __decorateServiceException(exception, body);
|
|
1180
1270
|
};
|
|
1271
|
+
const de_InvalidRequestRes = async (parsedOutput, context) => {
|
|
1272
|
+
const body = parsedOutput.body;
|
|
1273
|
+
const deserialized = _json(body);
|
|
1274
|
+
const exception = new InvalidRequest({
|
|
1275
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1276
|
+
...deserialized,
|
|
1277
|
+
});
|
|
1278
|
+
return __decorateServiceException(exception, body);
|
|
1279
|
+
};
|
|
1181
1280
|
const de_InvalidSourceKmsKeyRes = async (parsedOutput, context) => {
|
|
1182
1281
|
const body = parsedOutput.body;
|
|
1183
1282
|
const deserialized = _json(body);
|
|
@@ -1241,6 +1340,15 @@ const de_ResourceNotFoundRes = async (parsedOutput, context) => {
|
|
|
1241
1340
|
});
|
|
1242
1341
|
return __decorateServiceException(exception, body);
|
|
1243
1342
|
};
|
|
1343
|
+
const de_S3AccessPointAttachmentNotFoundRes = async (parsedOutput, context) => {
|
|
1344
|
+
const body = parsedOutput.body;
|
|
1345
|
+
const deserialized = _json(body);
|
|
1346
|
+
const exception = new S3AccessPointAttachmentNotFound({
|
|
1347
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1348
|
+
...deserialized,
|
|
1349
|
+
});
|
|
1350
|
+
return __decorateServiceException(exception, body);
|
|
1351
|
+
};
|
|
1244
1352
|
const de_ServiceLimitExceededRes = async (parsedOutput, context) => {
|
|
1245
1353
|
const body = parsedOutput.body;
|
|
1246
1354
|
const deserialized = _json(body);
|
|
@@ -1277,6 +1385,15 @@ const de_StorageVirtualMachineNotFoundRes = async (parsedOutput, context) => {
|
|
|
1277
1385
|
});
|
|
1278
1386
|
return __decorateServiceException(exception, body);
|
|
1279
1387
|
};
|
|
1388
|
+
const de_TooManyAccessPointsRes = async (parsedOutput, context) => {
|
|
1389
|
+
const body = parsedOutput.body;
|
|
1390
|
+
const deserialized = _json(body);
|
|
1391
|
+
const exception = new TooManyAccessPoints({
|
|
1392
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1393
|
+
...deserialized,
|
|
1394
|
+
});
|
|
1395
|
+
return __decorateServiceException(exception, body);
|
|
1396
|
+
};
|
|
1280
1397
|
const de_UnsupportedOperationRes = async (parsedOutput, context) => {
|
|
1281
1398
|
const body = parsedOutput.body;
|
|
1282
1399
|
const deserialized = _json(body);
|
|
@@ -1321,6 +1438,15 @@ const se_CopySnapshotAndUpdateVolumeRequest = (input, context) => {
|
|
|
1321
1438
|
VolumeId: [],
|
|
1322
1439
|
});
|
|
1323
1440
|
};
|
|
1441
|
+
const se_CreateAndAttachS3AccessPointRequest = (input, context) => {
|
|
1442
|
+
return take(input, {
|
|
1443
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1444
|
+
Name: [],
|
|
1445
|
+
OpenZFSConfiguration: _json,
|
|
1446
|
+
S3AccessPoint: _json,
|
|
1447
|
+
Type: [],
|
|
1448
|
+
});
|
|
1449
|
+
};
|
|
1324
1450
|
const se_CreateBackupRequest = (input, context) => {
|
|
1325
1451
|
return take(input, {
|
|
1326
1452
|
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -1495,6 +1621,12 @@ const se_DescribeFileSystemAliasesRequest = (input, context) => {
|
|
|
1495
1621
|
NextToken: [],
|
|
1496
1622
|
});
|
|
1497
1623
|
};
|
|
1624
|
+
const se_DetachAndDeleteS3AccessPointRequest = (input, context) => {
|
|
1625
|
+
return take(input, {
|
|
1626
|
+
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1627
|
+
Name: [],
|
|
1628
|
+
});
|
|
1629
|
+
};
|
|
1498
1630
|
const se_DisassociateFileSystemAliasesRequest = (input, context) => {
|
|
1499
1631
|
return take(input, {
|
|
1500
1632
|
Aliases: _json,
|
|
@@ -1643,6 +1775,11 @@ const de_CopySnapshotAndUpdateVolumeResponse = (output, context) => {
|
|
|
1643
1775
|
VolumeId: __expectString,
|
|
1644
1776
|
});
|
|
1645
1777
|
};
|
|
1778
|
+
const de_CreateAndAttachS3AccessPointResponse = (output, context) => {
|
|
1779
|
+
return take(output, {
|
|
1780
|
+
S3AccessPointAttachment: (_) => de_S3AccessPointAttachment(_, context),
|
|
1781
|
+
});
|
|
1782
|
+
};
|
|
1646
1783
|
const de_CreateBackupResponse = (output, context) => {
|
|
1647
1784
|
return take(output, {
|
|
1648
1785
|
Backup: (_) => de_Backup(_, context),
|
|
@@ -1788,6 +1925,12 @@ const de_DescribeFileSystemsResponse = (output, context) => {
|
|
|
1788
1925
|
NextToken: __expectString,
|
|
1789
1926
|
});
|
|
1790
1927
|
};
|
|
1928
|
+
const de_DescribeS3AccessPointAttachmentsResponse = (output, context) => {
|
|
1929
|
+
return take(output, {
|
|
1930
|
+
NextToken: __expectString,
|
|
1931
|
+
S3AccessPointAttachments: (_) => de_S3AccessPointAttachments(_, context),
|
|
1932
|
+
});
|
|
1933
|
+
};
|
|
1791
1934
|
const de_DescribeSnapshotsResponse = (output, context) => {
|
|
1792
1935
|
return take(output, {
|
|
1793
1936
|
NextToken: __expectString,
|
|
@@ -1901,6 +2044,25 @@ const de_RestoreVolumeFromSnapshotResponse = (output, context) => {
|
|
|
1901
2044
|
VolumeId: __expectString,
|
|
1902
2045
|
});
|
|
1903
2046
|
};
|
|
2047
|
+
const de_S3AccessPointAttachment = (output, context) => {
|
|
2048
|
+
return take(output, {
|
|
2049
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2050
|
+
Lifecycle: __expectString,
|
|
2051
|
+
LifecycleTransitionReason: _json,
|
|
2052
|
+
Name: __expectString,
|
|
2053
|
+
OpenZFSConfiguration: _json,
|
|
2054
|
+
S3AccessPoint: _json,
|
|
2055
|
+
Type: __expectString,
|
|
2056
|
+
});
|
|
2057
|
+
};
|
|
2058
|
+
const de_S3AccessPointAttachments = (output, context) => {
|
|
2059
|
+
const retVal = (output || [])
|
|
2060
|
+
.filter((e) => e != null)
|
|
2061
|
+
.map((entry) => {
|
|
2062
|
+
return de_S3AccessPointAttachment(entry, context);
|
|
2063
|
+
});
|
|
2064
|
+
return retVal;
|
|
2065
|
+
};
|
|
1904
2066
|
const de_Snapshot = (output, context) => {
|
|
1905
2067
|
return take(output, {
|
|
1906
2068
|
AdministrativeActions: (_) => de_AdministrativeActions(_, context),
|
package/dist-types/FSx.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { AssociateFileSystemAliasesCommandInput, AssociateFileSystemAliasesComma
|
|
|
3
3
|
import { CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput } from "./commands/CancelDataRepositoryTaskCommand";
|
|
4
4
|
import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/CopyBackupCommand";
|
|
5
5
|
import { CopySnapshotAndUpdateVolumeCommandInput, CopySnapshotAndUpdateVolumeCommandOutput } from "./commands/CopySnapshotAndUpdateVolumeCommand";
|
|
6
|
+
import { CreateAndAttachS3AccessPointCommandInput, CreateAndAttachS3AccessPointCommandOutput } from "./commands/CreateAndAttachS3AccessPointCommand";
|
|
6
7
|
import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand";
|
|
7
8
|
import { CreateDataRepositoryAssociationCommandInput, CreateDataRepositoryAssociationCommandOutput } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
8
9
|
import { CreateDataRepositoryTaskCommandInput, CreateDataRepositoryTaskCommandOutput } from "./commands/CreateDataRepositoryTaskCommand";
|
|
@@ -26,10 +27,12 @@ import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCom
|
|
|
26
27
|
import { DescribeFileCachesCommandInput, DescribeFileCachesCommandOutput } from "./commands/DescribeFileCachesCommand";
|
|
27
28
|
import { DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput } from "./commands/DescribeFileSystemAliasesCommand";
|
|
28
29
|
import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } from "./commands/DescribeFileSystemsCommand";
|
|
30
|
+
import { DescribeS3AccessPointAttachmentsCommandInput, DescribeS3AccessPointAttachmentsCommandOutput } from "./commands/DescribeS3AccessPointAttachmentsCommand";
|
|
29
31
|
import { DescribeSharedVpcConfigurationCommandInput, DescribeSharedVpcConfigurationCommandOutput } from "./commands/DescribeSharedVpcConfigurationCommand";
|
|
30
32
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
31
33
|
import { DescribeStorageVirtualMachinesCommandInput, DescribeStorageVirtualMachinesCommandOutput } from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
32
34
|
import { DescribeVolumesCommandInput, DescribeVolumesCommandOutput } from "./commands/DescribeVolumesCommand";
|
|
35
|
+
import { DetachAndDeleteS3AccessPointCommandInput, DetachAndDeleteS3AccessPointCommandOutput } from "./commands/DetachAndDeleteS3AccessPointCommand";
|
|
33
36
|
import { DisassociateFileSystemAliasesCommandInput, DisassociateFileSystemAliasesCommandOutput } from "./commands/DisassociateFileSystemAliasesCommand";
|
|
34
37
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
35
38
|
import { ReleaseFileSystemNfsV3LocksCommandInput, ReleaseFileSystemNfsV3LocksCommandOutput } from "./commands/ReleaseFileSystemNfsV3LocksCommand";
|
|
@@ -70,6 +73,12 @@ export interface FSx {
|
|
|
70
73
|
copySnapshotAndUpdateVolume(args: CopySnapshotAndUpdateVolumeCommandInput, options?: __HttpHandlerOptions): Promise<CopySnapshotAndUpdateVolumeCommandOutput>;
|
|
71
74
|
copySnapshotAndUpdateVolume(args: CopySnapshotAndUpdateVolumeCommandInput, cb: (err: any, data?: CopySnapshotAndUpdateVolumeCommandOutput) => void): void;
|
|
72
75
|
copySnapshotAndUpdateVolume(args: CopySnapshotAndUpdateVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopySnapshotAndUpdateVolumeCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link CreateAndAttachS3AccessPointCommand}
|
|
78
|
+
*/
|
|
79
|
+
createAndAttachS3AccessPoint(args: CreateAndAttachS3AccessPointCommandInput, options?: __HttpHandlerOptions): Promise<CreateAndAttachS3AccessPointCommandOutput>;
|
|
80
|
+
createAndAttachS3AccessPoint(args: CreateAndAttachS3AccessPointCommandInput, cb: (err: any, data?: CreateAndAttachS3AccessPointCommandOutput) => void): void;
|
|
81
|
+
createAndAttachS3AccessPoint(args: CreateAndAttachS3AccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAndAttachS3AccessPointCommandOutput) => void): void;
|
|
73
82
|
/**
|
|
74
83
|
* @see {@link CreateBackupCommand}
|
|
75
84
|
*/
|
|
@@ -214,6 +223,13 @@ export interface FSx {
|
|
|
214
223
|
describeFileSystems(args: DescribeFileSystemsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFileSystemsCommandOutput>;
|
|
215
224
|
describeFileSystems(args: DescribeFileSystemsCommandInput, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
|
|
216
225
|
describeFileSystems(args: DescribeFileSystemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void): void;
|
|
226
|
+
/**
|
|
227
|
+
* @see {@link DescribeS3AccessPointAttachmentsCommand}
|
|
228
|
+
*/
|
|
229
|
+
describeS3AccessPointAttachments(): Promise<DescribeS3AccessPointAttachmentsCommandOutput>;
|
|
230
|
+
describeS3AccessPointAttachments(args: DescribeS3AccessPointAttachmentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeS3AccessPointAttachmentsCommandOutput>;
|
|
231
|
+
describeS3AccessPointAttachments(args: DescribeS3AccessPointAttachmentsCommandInput, cb: (err: any, data?: DescribeS3AccessPointAttachmentsCommandOutput) => void): void;
|
|
232
|
+
describeS3AccessPointAttachments(args: DescribeS3AccessPointAttachmentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeS3AccessPointAttachmentsCommandOutput) => void): void;
|
|
217
233
|
/**
|
|
218
234
|
* @see {@link DescribeSharedVpcConfigurationCommand}
|
|
219
235
|
*/
|
|
@@ -242,6 +258,12 @@ export interface FSx {
|
|
|
242
258
|
describeVolumes(args: DescribeVolumesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVolumesCommandOutput>;
|
|
243
259
|
describeVolumes(args: DescribeVolumesCommandInput, cb: (err: any, data?: DescribeVolumesCommandOutput) => void): void;
|
|
244
260
|
describeVolumes(args: DescribeVolumesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVolumesCommandOutput) => void): void;
|
|
261
|
+
/**
|
|
262
|
+
* @see {@link DetachAndDeleteS3AccessPointCommand}
|
|
263
|
+
*/
|
|
264
|
+
detachAndDeleteS3AccessPoint(args: DetachAndDeleteS3AccessPointCommandInput, options?: __HttpHandlerOptions): Promise<DetachAndDeleteS3AccessPointCommandOutput>;
|
|
265
|
+
detachAndDeleteS3AccessPoint(args: DetachAndDeleteS3AccessPointCommandInput, cb: (err: any, data?: DetachAndDeleteS3AccessPointCommandOutput) => void): void;
|
|
266
|
+
detachAndDeleteS3AccessPoint(args: DetachAndDeleteS3AccessPointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachAndDeleteS3AccessPointCommandOutput) => void): void;
|
|
245
267
|
/**
|
|
246
268
|
* @see {@link DisassociateFileSystemAliasesCommand}
|
|
247
269
|
*/
|
|
@@ -11,6 +11,7 @@ import { AssociateFileSystemAliasesCommandInput, AssociateFileSystemAliasesComma
|
|
|
11
11
|
import { CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput } from "./commands/CancelDataRepositoryTaskCommand";
|
|
12
12
|
import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/CopyBackupCommand";
|
|
13
13
|
import { CopySnapshotAndUpdateVolumeCommandInput, CopySnapshotAndUpdateVolumeCommandOutput } from "./commands/CopySnapshotAndUpdateVolumeCommand";
|
|
14
|
+
import { CreateAndAttachS3AccessPointCommandInput, CreateAndAttachS3AccessPointCommandOutput } from "./commands/CreateAndAttachS3AccessPointCommand";
|
|
14
15
|
import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand";
|
|
15
16
|
import { CreateDataRepositoryAssociationCommandInput, CreateDataRepositoryAssociationCommandOutput } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
16
17
|
import { CreateDataRepositoryTaskCommandInput, CreateDataRepositoryTaskCommandOutput } from "./commands/CreateDataRepositoryTaskCommand";
|
|
@@ -34,10 +35,12 @@ import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCom
|
|
|
34
35
|
import { DescribeFileCachesCommandInput, DescribeFileCachesCommandOutput } from "./commands/DescribeFileCachesCommand";
|
|
35
36
|
import { DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput } from "./commands/DescribeFileSystemAliasesCommand";
|
|
36
37
|
import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } from "./commands/DescribeFileSystemsCommand";
|
|
38
|
+
import { DescribeS3AccessPointAttachmentsCommandInput, DescribeS3AccessPointAttachmentsCommandOutput } from "./commands/DescribeS3AccessPointAttachmentsCommand";
|
|
37
39
|
import { DescribeSharedVpcConfigurationCommandInput, DescribeSharedVpcConfigurationCommandOutput } from "./commands/DescribeSharedVpcConfigurationCommand";
|
|
38
40
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
39
41
|
import { DescribeStorageVirtualMachinesCommandInput, DescribeStorageVirtualMachinesCommandOutput } from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
40
42
|
import { DescribeVolumesCommandInput, DescribeVolumesCommandOutput } from "./commands/DescribeVolumesCommand";
|
|
43
|
+
import { DetachAndDeleteS3AccessPointCommandInput, DetachAndDeleteS3AccessPointCommandOutput } from "./commands/DetachAndDeleteS3AccessPointCommand";
|
|
41
44
|
import { DisassociateFileSystemAliasesCommandInput, DisassociateFileSystemAliasesCommandOutput } from "./commands/DisassociateFileSystemAliasesCommand";
|
|
42
45
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
43
46
|
import { ReleaseFileSystemNfsV3LocksCommandInput, ReleaseFileSystemNfsV3LocksCommandOutput } from "./commands/ReleaseFileSystemNfsV3LocksCommand";
|
|
@@ -58,11 +61,11 @@ export { __Client };
|
|
|
58
61
|
/**
|
|
59
62
|
* @public
|
|
60
63
|
*/
|
|
61
|
-
export type ServiceInputTypes = AssociateFileSystemAliasesCommandInput | CancelDataRepositoryTaskCommandInput | CopyBackupCommandInput | CopySnapshotAndUpdateVolumeCommandInput | CreateBackupCommandInput | CreateDataRepositoryAssociationCommandInput | CreateDataRepositoryTaskCommandInput | CreateFileCacheCommandInput | CreateFileSystemCommandInput | CreateFileSystemFromBackupCommandInput | CreateSnapshotCommandInput | CreateStorageVirtualMachineCommandInput | CreateVolumeCommandInput | CreateVolumeFromBackupCommandInput | DeleteBackupCommandInput | DeleteDataRepositoryAssociationCommandInput | DeleteFileCacheCommandInput | DeleteFileSystemCommandInput | DeleteSnapshotCommandInput | DeleteStorageVirtualMachineCommandInput | DeleteVolumeCommandInput | DescribeBackupsCommandInput | DescribeDataRepositoryAssociationsCommandInput | DescribeDataRepositoryTasksCommandInput | DescribeFileCachesCommandInput | DescribeFileSystemAliasesCommandInput | DescribeFileSystemsCommandInput | DescribeSharedVpcConfigurationCommandInput | DescribeSnapshotsCommandInput | DescribeStorageVirtualMachinesCommandInput | DescribeVolumesCommandInput | DisassociateFileSystemAliasesCommandInput | ListTagsForResourceCommandInput | ReleaseFileSystemNfsV3LocksCommandInput | RestoreVolumeFromSnapshotCommandInput | StartMisconfiguredStateRecoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataRepositoryAssociationCommandInput | UpdateFileCacheCommandInput | UpdateFileSystemCommandInput | UpdateSharedVpcConfigurationCommandInput | UpdateSnapshotCommandInput | UpdateStorageVirtualMachineCommandInput | UpdateVolumeCommandInput;
|
|
64
|
+
export type ServiceInputTypes = AssociateFileSystemAliasesCommandInput | CancelDataRepositoryTaskCommandInput | CopyBackupCommandInput | CopySnapshotAndUpdateVolumeCommandInput | CreateAndAttachS3AccessPointCommandInput | CreateBackupCommandInput | CreateDataRepositoryAssociationCommandInput | CreateDataRepositoryTaskCommandInput | CreateFileCacheCommandInput | CreateFileSystemCommandInput | CreateFileSystemFromBackupCommandInput | CreateSnapshotCommandInput | CreateStorageVirtualMachineCommandInput | CreateVolumeCommandInput | CreateVolumeFromBackupCommandInput | DeleteBackupCommandInput | DeleteDataRepositoryAssociationCommandInput | DeleteFileCacheCommandInput | DeleteFileSystemCommandInput | DeleteSnapshotCommandInput | DeleteStorageVirtualMachineCommandInput | DeleteVolumeCommandInput | DescribeBackupsCommandInput | DescribeDataRepositoryAssociationsCommandInput | DescribeDataRepositoryTasksCommandInput | DescribeFileCachesCommandInput | DescribeFileSystemAliasesCommandInput | DescribeFileSystemsCommandInput | DescribeS3AccessPointAttachmentsCommandInput | DescribeSharedVpcConfigurationCommandInput | DescribeSnapshotsCommandInput | DescribeStorageVirtualMachinesCommandInput | DescribeVolumesCommandInput | DetachAndDeleteS3AccessPointCommandInput | DisassociateFileSystemAliasesCommandInput | ListTagsForResourceCommandInput | ReleaseFileSystemNfsV3LocksCommandInput | RestoreVolumeFromSnapshotCommandInput | StartMisconfiguredStateRecoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataRepositoryAssociationCommandInput | UpdateFileCacheCommandInput | UpdateFileSystemCommandInput | UpdateSharedVpcConfigurationCommandInput | UpdateSnapshotCommandInput | UpdateStorageVirtualMachineCommandInput | UpdateVolumeCommandInput;
|
|
62
65
|
/**
|
|
63
66
|
* @public
|
|
64
67
|
*/
|
|
65
|
-
export type ServiceOutputTypes = AssociateFileSystemAliasesCommandOutput | CancelDataRepositoryTaskCommandOutput | CopyBackupCommandOutput | CopySnapshotAndUpdateVolumeCommandOutput | CreateBackupCommandOutput | CreateDataRepositoryAssociationCommandOutput | CreateDataRepositoryTaskCommandOutput | CreateFileCacheCommandOutput | CreateFileSystemCommandOutput | CreateFileSystemFromBackupCommandOutput | CreateSnapshotCommandOutput | CreateStorageVirtualMachineCommandOutput | CreateVolumeCommandOutput | CreateVolumeFromBackupCommandOutput | DeleteBackupCommandOutput | DeleteDataRepositoryAssociationCommandOutput | DeleteFileCacheCommandOutput | DeleteFileSystemCommandOutput | DeleteSnapshotCommandOutput | DeleteStorageVirtualMachineCommandOutput | DeleteVolumeCommandOutput | DescribeBackupsCommandOutput | DescribeDataRepositoryAssociationsCommandOutput | DescribeDataRepositoryTasksCommandOutput | DescribeFileCachesCommandOutput | DescribeFileSystemAliasesCommandOutput | DescribeFileSystemsCommandOutput | DescribeSharedVpcConfigurationCommandOutput | DescribeSnapshotsCommandOutput | DescribeStorageVirtualMachinesCommandOutput | DescribeVolumesCommandOutput | DisassociateFileSystemAliasesCommandOutput | ListTagsForResourceCommandOutput | ReleaseFileSystemNfsV3LocksCommandOutput | RestoreVolumeFromSnapshotCommandOutput | StartMisconfiguredStateRecoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataRepositoryAssociationCommandOutput | UpdateFileCacheCommandOutput | UpdateFileSystemCommandOutput | UpdateSharedVpcConfigurationCommandOutput | UpdateSnapshotCommandOutput | UpdateStorageVirtualMachineCommandOutput | UpdateVolumeCommandOutput;
|
|
68
|
+
export type ServiceOutputTypes = AssociateFileSystemAliasesCommandOutput | CancelDataRepositoryTaskCommandOutput | CopyBackupCommandOutput | CopySnapshotAndUpdateVolumeCommandOutput | CreateAndAttachS3AccessPointCommandOutput | CreateBackupCommandOutput | CreateDataRepositoryAssociationCommandOutput | CreateDataRepositoryTaskCommandOutput | CreateFileCacheCommandOutput | CreateFileSystemCommandOutput | CreateFileSystemFromBackupCommandOutput | CreateSnapshotCommandOutput | CreateStorageVirtualMachineCommandOutput | CreateVolumeCommandOutput | CreateVolumeFromBackupCommandOutput | DeleteBackupCommandOutput | DeleteDataRepositoryAssociationCommandOutput | DeleteFileCacheCommandOutput | DeleteFileSystemCommandOutput | DeleteSnapshotCommandOutput | DeleteStorageVirtualMachineCommandOutput | DeleteVolumeCommandOutput | DescribeBackupsCommandOutput | DescribeDataRepositoryAssociationsCommandOutput | DescribeDataRepositoryTasksCommandOutput | DescribeFileCachesCommandOutput | DescribeFileSystemAliasesCommandOutput | DescribeFileSystemsCommandOutput | DescribeS3AccessPointAttachmentsCommandOutput | DescribeSharedVpcConfigurationCommandOutput | DescribeSnapshotsCommandOutput | DescribeStorageVirtualMachinesCommandOutput | DescribeVolumesCommandOutput | DetachAndDeleteS3AccessPointCommandOutput | DisassociateFileSystemAliasesCommandOutput | ListTagsForResourceCommandOutput | ReleaseFileSystemNfsV3LocksCommandOutput | RestoreVolumeFromSnapshotCommandOutput | StartMisconfiguredStateRecoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataRepositoryAssociationCommandOutput | UpdateFileCacheCommandOutput | UpdateFileSystemCommandOutput | UpdateSharedVpcConfigurationCommandOutput | UpdateSnapshotCommandOutput | UpdateStorageVirtualMachineCommandOutput | UpdateVolumeCommandOutput;
|
|
66
69
|
/**
|
|
67
70
|
* @public
|
|
68
71
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CopyBackupRequest
|
|
4
|
+
import { CopyBackupRequest } from "../models/models_0";
|
|
5
|
+
import { CopyBackupResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { CreateAndAttachS3AccessPointRequest, CreateAndAttachS3AccessPointResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAndAttachS3AccessPointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAndAttachS3AccessPointCommandInput extends CreateAndAttachS3AccessPointRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAndAttachS3AccessPointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAndAttachS3AccessPointCommandOutput extends CreateAndAttachS3AccessPointResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateAndAttachS3AccessPointCommand_base: {
|
|
25
|
+
new (input: CreateAndAttachS3AccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAndAttachS3AccessPointCommandInput, CreateAndAttachS3AccessPointCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateAndAttachS3AccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAndAttachS3AccessPointCommandInput, CreateAndAttachS3AccessPointCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates an S3 access point and attaches it to an Amazon FSx volume. For FSx for OpenZFS file systems, the
|
|
31
|
+
* volume must be hosted on a high-availability file system, either Single-AZ or Multi-AZ. For more information,
|
|
32
|
+
* see <a href="fsx/latest/OpenZFSGuide/s3accesspoints-for-FSx.html">Accessing your data using access points</a>
|
|
33
|
+
* in the Amazon FSx for OpenZFS User Guide.
|
|
34
|
+
* </p>
|
|
35
|
+
* <p>The requester requires the following permissions to perform these actions:</p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>fsx:CreateAndAttachS3AccessPoint</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>s3:CreateAccessPoint</code>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>s3:GetAccessPoint</code>
|
|
50
|
+
* </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>s3:PutAccessPointPolicy</code>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <code>s3:DeleteAccessPoint</code>
|
|
60
|
+
* </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
* <p>The following actions are related to <code>CreateAndAttachS3AccessPoint</code>:</p>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <a>DescribeS3AccessPointAttachments</a>
|
|
68
|
+
* </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <a>DetachAndDeleteS3AccessPoint</a>
|
|
73
|
+
* </p>
|
|
74
|
+
* </li>
|
|
75
|
+
* </ul>
|
|
76
|
+
* @example
|
|
77
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
78
|
+
* ```javascript
|
|
79
|
+
* import { FSxClient, CreateAndAttachS3AccessPointCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
80
|
+
* // const { FSxClient, CreateAndAttachS3AccessPointCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
81
|
+
* const client = new FSxClient(config);
|
|
82
|
+
* const input = { // CreateAndAttachS3AccessPointRequest
|
|
83
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
84
|
+
* Name: "STRING_VALUE", // required
|
|
85
|
+
* Type: "OPENZFS", // required
|
|
86
|
+
* OpenZFSConfiguration: { // CreateAndAttachS3AccessPointOpenZFSConfiguration
|
|
87
|
+
* VolumeId: "STRING_VALUE", // required
|
|
88
|
+
* FileSystemIdentity: { // OpenZFSFileSystemIdentity
|
|
89
|
+
* Type: "POSIX", // required
|
|
90
|
+
* PosixUser: { // OpenZFSPosixFileSystemUser
|
|
91
|
+
* Uid: Number("long"), // required
|
|
92
|
+
* Gid: Number("long"), // required
|
|
93
|
+
* SecondaryGids: [ // FileSystemSecondaryGIDs
|
|
94
|
+
* Number("long"),
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* S3AccessPoint: { // CreateAndAttachS3AccessPointS3Configuration
|
|
100
|
+
* VpcConfiguration: { // S3AccessPointVpcConfiguration
|
|
101
|
+
* VpcId: "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* Policy: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* };
|
|
106
|
+
* const command = new CreateAndAttachS3AccessPointCommand(input);
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* // { // CreateAndAttachS3AccessPointResponse
|
|
109
|
+
* // S3AccessPointAttachment: { // S3AccessPointAttachment
|
|
110
|
+
* // Lifecycle: "AVAILABLE" || "CREATING" || "DELETING" || "UPDATING" || "FAILED",
|
|
111
|
+
* // LifecycleTransitionReason: { // LifecycleTransitionReason
|
|
112
|
+
* // Message: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
115
|
+
* // Name: "STRING_VALUE",
|
|
116
|
+
* // Type: "OPENZFS",
|
|
117
|
+
* // OpenZFSConfiguration: { // S3AccessPointOpenZFSConfiguration
|
|
118
|
+
* // VolumeId: "STRING_VALUE",
|
|
119
|
+
* // FileSystemIdentity: { // OpenZFSFileSystemIdentity
|
|
120
|
+
* // Type: "POSIX", // required
|
|
121
|
+
* // PosixUser: { // OpenZFSPosixFileSystemUser
|
|
122
|
+
* // Uid: Number("long"), // required
|
|
123
|
+
* // Gid: Number("long"), // required
|
|
124
|
+
* // SecondaryGids: [ // FileSystemSecondaryGIDs
|
|
125
|
+
* // Number("long"),
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // S3AccessPoint: { // S3AccessPoint
|
|
131
|
+
* // ResourceARN: "STRING_VALUE",
|
|
132
|
+
* // Alias: "STRING_VALUE",
|
|
133
|
+
* // VpcConfiguration: { // S3AccessPointVpcConfiguration
|
|
134
|
+
* // VpcId: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // };
|
|
139
|
+
*
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* @param CreateAndAttachS3AccessPointCommandInput - {@link CreateAndAttachS3AccessPointCommandInput}
|
|
143
|
+
* @returns {@link CreateAndAttachS3AccessPointCommandOutput}
|
|
144
|
+
* @see {@link CreateAndAttachS3AccessPointCommandInput} for command's `input` shape.
|
|
145
|
+
* @see {@link CreateAndAttachS3AccessPointCommandOutput} for command's `response` shape.
|
|
146
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link AccessPointAlreadyOwnedByYou} (client fault)
|
|
149
|
+
* <p>An access point with that name already exists in the Amazon Web Services Region in your Amazon Web Services account.</p>
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link BadRequest} (client fault)
|
|
152
|
+
* <p>A generic error indicating a failure with a client request.</p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link IncompatibleParameterError} (client fault)
|
|
155
|
+
* <p>The error returned when a second request is received with the same client request
|
|
156
|
+
* token but different parameters settings. A client request token should always uniquely
|
|
157
|
+
* identify a single request.</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link InternalServerError} (server fault)
|
|
160
|
+
* <p>A generic error indicating a server-side failure.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link InvalidAccessPoint} (client fault)
|
|
163
|
+
* <p>The access point specified doesn't exist.</p>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link InvalidRequest} (client fault)
|
|
166
|
+
* <p>The action or operation requested is invalid. Verify that the action is typed correctly.</p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link TooManyAccessPoints} (client fault)
|
|
169
|
+
* <p>You have reached the maximum number of S3 access points attachments allowed for your account in this Amazon Web Services Region, or for the file system. For more information, or to request an increase,
|
|
170
|
+
* see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/limits.html">Service quotas on FSx resources</a> in the FSx for OpenZFS User Guide.</p>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
173
|
+
* <p>The requested operation is not supported for this resource or API.</p>
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link VolumeNotFound} (client fault)
|
|
176
|
+
* <p>No Amazon FSx volumes were found based upon the supplied parameters.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link FSxServiceException}
|
|
179
|
+
* <p>Base exception class for all service exceptions from FSx service.</p>
|
|
180
|
+
*
|
|
181
|
+
*
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export declare class CreateAndAttachS3AccessPointCommand extends CreateAndAttachS3AccessPointCommand_base {
|
|
185
|
+
/** @internal type navigation helper, not in runtime. */
|
|
186
|
+
protected static __types: {
|
|
187
|
+
api: {
|
|
188
|
+
input: CreateAndAttachS3AccessPointRequest;
|
|
189
|
+
output: CreateAndAttachS3AccessPointResponse;
|
|
190
|
+
};
|
|
191
|
+
sdk: {
|
|
192
|
+
input: CreateAndAttachS3AccessPointCommandInput;
|
|
193
|
+
output: CreateAndAttachS3AccessPointCommandOutput;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CreateBackupRequest
|
|
4
|
+
import { CreateBackupRequest } from "../models/models_0";
|
|
5
|
+
import { CreateBackupResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CreateFileSystemRequest
|
|
4
|
+
import { CreateFileSystemRequest } from "../models/models_0";
|
|
5
|
+
import { CreateFileSystemResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CreateSnapshotRequest
|
|
4
|
+
import { CreateSnapshotRequest } from "../models/models_0";
|
|
5
|
+
import { CreateSnapshotResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|