@aws-sdk/client-fsx 3.180.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist-cjs/FSx.js +60 -0
- package/dist-cjs/commands/CreateFileCacheCommand.js +36 -0
- package/dist-cjs/commands/DeleteFileCacheCommand.js +36 -0
- package/dist-cjs/commands/DescribeFileCachesCommand.js +36 -0
- package/dist-cjs/commands/UpdateFileCacheCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +154 -27
- package/dist-cjs/pagination/DescribeFileCachesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +587 -39
- package/dist-es/FSx.js +209 -156
- package/dist-es/FSxClient.js +22 -28
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js +21 -28
- package/dist-es/commands/CopyBackupCommand.js +21 -28
- package/dist-es/commands/CreateBackupCommand.js +21 -28
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js +21 -28
- package/dist-es/commands/CreateFileCacheCommand.js +32 -0
- package/dist-es/commands/CreateFileSystemCommand.js +21 -28
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/CreateVolumeCommand.js +21 -28
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +21 -28
- package/dist-es/commands/DeleteBackupCommand.js +21 -28
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/DeleteFileCacheCommand.js +32 -0
- package/dist-es/commands/DeleteFileSystemCommand.js +21 -28
- package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/DeleteVolumeCommand.js +21 -28
- package/dist-es/commands/DescribeBackupsCommand.js +21 -28
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +21 -28
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +21 -28
- package/dist-es/commands/DescribeFileCachesCommand.js +32 -0
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/DescribeFileSystemsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +21 -28
- package/dist-es/commands/DescribeVolumesCommand.js +21 -28
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +21 -28
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/UpdateFileCacheCommand.js +32 -0
- package/dist-es/commands/UpdateFileSystemCommand.js +21 -28
- package/dist-es/commands/UpdateSnapshotCommand.js +21 -28
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/UpdateVolumeCommand.js +21 -28
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FSxServiceException.js +5 -10
- package/dist-es/models/models_0.js +1043 -617
- package/dist-es/pagination/DescribeBackupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +25 -68
- package/dist-es/pagination/DescribeFileCachesPaginator.js +32 -0
- package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +25 -68
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +25 -68
- package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +25 -68
- package/dist-es/pagination/DescribeVolumesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +3959 -3957
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/FSx.d.ts +118 -26
- package/dist-types/FSxClient.d.ts +6 -2
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +6 -0
- package/dist-types/commands/CreateFileCacheCommand.d.ts +58 -0
- package/dist-types/commands/CreateFileSystemCommand.d.ts +0 -10
- package/dist-types/commands/DeleteFileCacheCommand.d.ts +48 -0
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +13 -11
- package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +4 -4
- package/dist-types/commands/DescribeFileCachesCommand.d.ts +65 -0
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +0 -1
- package/dist-types/commands/UpdateFileCacheCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +964 -125
- package/dist-types/pagination/DescribeFileCachesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/FSx.d.ts +68 -0
- package/dist-types/ts3.4/FSxClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeFileCachesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +239 -25
- package/dist-types/ts3.4/pagination/DescribeFileCachesPaginator.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 +48 -0
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateStorageVirtualMachineRequestFilterSensitiveLog, UpdateStorageVirtualMachineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateStorageVirtualMachineCommand, serializeAws_json1_1UpdateStorageVirtualMachineCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateStorageVirtualMachineCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "FSxClient";
|
|
15
|
+
const commandName = "UpdateStorageVirtualMachineCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateStorageVirtualMachineRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateStorageVirtualMachineResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateStorageVirtualMachineCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateStorageVirtualMachineCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateStorageVirtualMachineCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateStorageVirtualMachineCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateVolumeRequestFilterSensitiveLog, UpdateVolumeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1UpdateVolumeCommand, serializeAws_json1_1UpdateVolumeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateVolumeCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "FSxClient";
|
|
15
|
+
const commandName = "UpdateVolumeCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateVolumeRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateVolumeResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateVolumeCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_json1_1UpdateVolumeCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1UpdateVolumeCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateVolumeCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./CopyBackupCommand";
|
|
|
4
4
|
export * from "./CreateBackupCommand";
|
|
5
5
|
export * from "./CreateDataRepositoryAssociationCommand";
|
|
6
6
|
export * from "./CreateDataRepositoryTaskCommand";
|
|
7
|
+
export * from "./CreateFileCacheCommand";
|
|
7
8
|
export * from "./CreateFileSystemCommand";
|
|
8
9
|
export * from "./CreateFileSystemFromBackupCommand";
|
|
9
10
|
export * from "./CreateSnapshotCommand";
|
|
@@ -12,6 +13,7 @@ export * from "./CreateVolumeCommand";
|
|
|
12
13
|
export * from "./CreateVolumeFromBackupCommand";
|
|
13
14
|
export * from "./DeleteBackupCommand";
|
|
14
15
|
export * from "./DeleteDataRepositoryAssociationCommand";
|
|
16
|
+
export * from "./DeleteFileCacheCommand";
|
|
15
17
|
export * from "./DeleteFileSystemCommand";
|
|
16
18
|
export * from "./DeleteSnapshotCommand";
|
|
17
19
|
export * from "./DeleteStorageVirtualMachineCommand";
|
|
@@ -19,6 +21,7 @@ export * from "./DeleteVolumeCommand";
|
|
|
19
21
|
export * from "./DescribeBackupsCommand";
|
|
20
22
|
export * from "./DescribeDataRepositoryAssociationsCommand";
|
|
21
23
|
export * from "./DescribeDataRepositoryTasksCommand";
|
|
24
|
+
export * from "./DescribeFileCachesCommand";
|
|
22
25
|
export * from "./DescribeFileSystemAliasesCommand";
|
|
23
26
|
export * from "./DescribeFileSystemsCommand";
|
|
24
27
|
export * from "./DescribeSnapshotsCommand";
|
|
@@ -31,6 +34,7 @@ export * from "./RestoreVolumeFromSnapshotCommand";
|
|
|
31
34
|
export * from "./TagResourceCommand";
|
|
32
35
|
export * from "./UntagResourceCommand";
|
|
33
36
|
export * from "./UpdateDataRepositoryAssociationCommand";
|
|
37
|
+
export * from "./UpdateFileCacheCommand";
|
|
34
38
|
export * from "./UpdateFileSystemCommand";
|
|
35
39
|
export * from "./UpdateSnapshotCommand";
|
|
36
40
|
export * from "./UpdateStorageVirtualMachineCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"ca-central-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -50,7 +49,7 @@ var regionHash = {
|
|
|
50
49
|
],
|
|
51
50
|
},
|
|
52
51
|
};
|
|
53
|
-
|
|
52
|
+
const partitionHash = {
|
|
54
53
|
aws: {
|
|
55
54
|
regions: [
|
|
56
55
|
"af-south-1",
|
|
@@ -191,8 +190,9 @@ var partitionHash = {
|
|
|
191
190
|
],
|
|
192
191
|
},
|
|
193
192
|
};
|
|
194
|
-
export
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
194
|
+
...options,
|
|
195
|
+
signingService: "fsx",
|
|
196
|
+
regionHash,
|
|
197
|
+
partitionHash,
|
|
198
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, FSxServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class FSxServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, FSxServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { FSxServiceException };
|
|
7
|
+
}
|