@aws-sdk/client-fsx 3.35.0 → 3.38.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 +48 -0
- package/dist-cjs/FSx.js +0 -5
- package/dist-cjs/FSxClient.js +0 -10
- package/dist-cjs/commands/AssociateFileSystemAliasesCommand.js +0 -35
- package/dist-cjs/commands/CancelDataRepositoryTaskCommand.js +0 -37
- package/dist-cjs/commands/CopyBackupCommand.js +0 -45
- package/dist-cjs/commands/CreateBackupCommand.js +0 -80
- package/dist-cjs/commands/CreateDataRepositoryTaskCommand.js +0 -33
- package/dist-cjs/commands/CreateFileSystemCommand.js +0 -57
- package/dist-cjs/commands/CreateFileSystemFromBackupCommand.js +0 -61
- package/dist-cjs/commands/CreateStorageVirtualMachineCommand.js +0 -25
- package/dist-cjs/commands/CreateVolumeCommand.js +0 -25
- package/dist-cjs/commands/CreateVolumeFromBackupCommand.js +0 -26
- package/dist-cjs/commands/DeleteBackupCommand.js +0 -33
- package/dist-cjs/commands/DeleteFileSystemCommand.js +0 -50
- package/dist-cjs/commands/DeleteStorageVirtualMachineCommand.js +0 -26
- package/dist-cjs/commands/DeleteVolumeCommand.js +0 -28
- package/dist-cjs/commands/DescribeBackupsCommand.js +0 -54
- package/dist-cjs/commands/DescribeDataRepositoryTasksCommand.js +0 -35
- package/dist-cjs/commands/DescribeFileSystemAliasesCommand.js +0 -27
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +0 -56
- package/dist-cjs/commands/DescribeStorageVirtualMachinesCommand.js +0 -25
- package/dist-cjs/commands/DescribeVolumesCommand.js +0 -25
- package/dist-cjs/commands/DisassociateFileSystemAliasesCommand.js +0 -33
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -53
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateFileSystemCommand.js +0 -89
- package/dist-cjs/commands/UpdateStorageVirtualMachineCommand.js +0 -25
- package/dist-cjs/commands/UpdateVolumeCommand.js +0 -25
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -38
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -415
- package/dist-cjs/pagination/DescribeBackupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDataRepositoryTasksPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeFileSystemAliasesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeStorageVirtualMachinesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeVolumesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +5 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/FSx.js +0 -1
- package/dist-es/FSxClient.js +0 -1
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js +0 -1
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js +0 -1
- package/dist-es/commands/CopyBackupCommand.js +0 -1
- package/dist-es/commands/CreateBackupCommand.js +0 -1
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js +0 -1
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js +0 -1
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js +0 -1
- package/dist-es/commands/CreateVolumeCommand.js +0 -1
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +0 -1
- package/dist-es/commands/DeleteBackupCommand.js +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js +0 -1
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +0 -1
- package/dist-es/commands/DeleteVolumeCommand.js +0 -1
- package/dist-es/commands/DescribeBackupsCommand.js +0 -1
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +0 -1
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +0 -1
- package/dist-es/commands/DescribeVolumesCommand.js +0 -1
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +0 -1
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +0 -1
- package/dist-es/commands/UpdateVolumeCommand.js +0 -1
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -38
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeBackupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +0 -1
- package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +0 -1
- package/dist-es/pagination/DescribeVolumesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +6 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +4 -37
- package/dist-types/models/models_0.d.ts +36 -6
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/FSx.d.ts +28 -468
- package/dist-types/ts3.4/FSxClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/AssociateFileSystemAliasesCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/CancelDataRepositoryTaskCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/CopyBackupCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/CreateDataRepositoryTaskCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/CreateFileSystemFromBackupCommand.d.ts +2 -56
- package/dist-types/ts3.4/commands/CreateStorageVirtualMachineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateVolumeFromBackupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteFileSystemCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/DeleteStorageVirtualMachineCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DescribeDataRepositoryTasksCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DescribeFileSystemAliasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/DescribeStorageVirtualMachinesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateFileSystemAliasesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -84
- package/dist-types/ts3.4/commands/UpdateStorageVirtualMachineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateVolumeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +4 -37
- package/dist-types/ts3.4/models/models_0.d.ts +721 -3612
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/FSx.js.map +0 -1
- package/dist-cjs/FSxClient.js.map +0 -1
- package/dist-cjs/commands/AssociateFileSystemAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/CancelDataRepositoryTaskCommand.js.map +0 -1
- package/dist-cjs/commands/CopyBackupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateBackupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDataRepositoryTaskCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFileSystemFromBackupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateStorageVirtualMachineCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateVolumeFromBackupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteBackupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteStorageVirtualMachineCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteVolumeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeBackupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDataRepositoryTasksCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeStorageVirtualMachinesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeVolumesCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateFileSystemAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateStorageVirtualMachineCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateVolumeCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeBackupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDataRepositoryTasksPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemAliasesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeStorageVirtualMachinesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeVolumesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/FSx.js.map +0 -1
- package/dist-es/FSxClient.js.map +0 -1
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js.map +0 -1
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js.map +0 -1
- package/dist-es/commands/CopyBackupCommand.js.map +0 -1
- package/dist-es/commands/CreateBackupCommand.js.map +0 -1
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js.map +0 -1
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js.map +0 -1
- package/dist-es/commands/CreateVolumeCommand.js.map +0 -1
- package/dist-es/commands/CreateVolumeFromBackupCommand.js.map +0 -1
- package/dist-es/commands/DeleteBackupCommand.js.map +0 -1
- package/dist-es/commands/DeleteFileSystemCommand.js.map +0 -1
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js.map +0 -1
- package/dist-es/commands/DeleteVolumeCommand.js.map +0 -1
- package/dist-es/commands/DescribeBackupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js.map +0 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js.map +0 -1
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js.map +0 -1
- package/dist-es/commands/DescribeVolumesCommand.js.map +0 -1
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFileSystemCommand.js.map +0 -1
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js.map +0 -1
- package/dist-es/commands/UpdateVolumeCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeBackupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeFileSystemsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeVolumesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/FSx.ts +0 -1356
- package/src/FSxClient.ts +0 -360
- package/src/commands/AssociateFileSystemAliasesCommand.ts +0 -108
- package/src/commands/CancelDataRepositoryTaskCommand.ts +0 -107
- package/src/commands/CopyBackupCommand.ts +0 -115
- package/src/commands/CreateBackupCommand.ts +0 -150
- package/src/commands/CreateDataRepositoryTaskCommand.ts +0 -103
- package/src/commands/CreateFileSystemCommand.ts +0 -127
- package/src/commands/CreateFileSystemFromBackupCommand.ts +0 -134
- package/src/commands/CreateStorageVirtualMachineCommand.ts +0 -100
- package/src/commands/CreateVolumeCommand.ts +0 -95
- package/src/commands/CreateVolumeFromBackupCommand.ts +0 -96
- package/src/commands/DeleteBackupCommand.ts +0 -103
- package/src/commands/DeleteFileSystemCommand.ts +0 -120
- package/src/commands/DeleteStorageVirtualMachineCommand.ts +0 -101
- package/src/commands/DeleteVolumeCommand.ts +0 -98
- package/src/commands/DescribeBackupsCommand.ts +0 -124
- package/src/commands/DescribeDataRepositoryTasksCommand.ts +0 -110
- package/src/commands/DescribeFileSystemAliasesCommand.ts +0 -100
- package/src/commands/DescribeFileSystemsCommand.ts +0 -126
- package/src/commands/DescribeStorageVirtualMachinesCommand.ts +0 -103
- package/src/commands/DescribeVolumesCommand.ts +0 -95
- package/src/commands/DisassociateFileSystemAliasesCommand.ts +0 -108
- package/src/commands/ListTagsForResourceCommand.ts +0 -123
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateFileSystemCommand.ts +0 -159
- package/src/commands/UpdateStorageVirtualMachineCommand.ts +0 -100
- package/src/commands/UpdateVolumeCommand.ts +0 -95
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -38
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5999
- package/src/pagination/DescribeBackupsPaginator.ts +0 -59
- package/src/pagination/DescribeDataRepositoryTasksPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemAliasesPaginator.ts +0 -59
- package/src/pagination/DescribeFileSystemsPaginator.ts +0 -59
- package/src/pagination/DescribeStorageVirtualMachinesPaginator.ts +0 -59
- package/src/pagination/DescribeVolumesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -5910
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/FSx.ts
DELETED
|
@@ -1,1356 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateFileSystemAliasesCommand,
|
|
5
|
-
AssociateFileSystemAliasesCommandInput,
|
|
6
|
-
AssociateFileSystemAliasesCommandOutput,
|
|
7
|
-
} from "./commands/AssociateFileSystemAliasesCommand";
|
|
8
|
-
import {
|
|
9
|
-
CancelDataRepositoryTaskCommand,
|
|
10
|
-
CancelDataRepositoryTaskCommandInput,
|
|
11
|
-
CancelDataRepositoryTaskCommandOutput,
|
|
12
|
-
} from "./commands/CancelDataRepositoryTaskCommand";
|
|
13
|
-
import { CopyBackupCommand, CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/CopyBackupCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreateBackupCommand,
|
|
16
|
-
CreateBackupCommandInput,
|
|
17
|
-
CreateBackupCommandOutput,
|
|
18
|
-
} from "./commands/CreateBackupCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateDataRepositoryTaskCommand,
|
|
21
|
-
CreateDataRepositoryTaskCommandInput,
|
|
22
|
-
CreateDataRepositoryTaskCommandOutput,
|
|
23
|
-
} from "./commands/CreateDataRepositoryTaskCommand";
|
|
24
|
-
import {
|
|
25
|
-
CreateFileSystemCommand,
|
|
26
|
-
CreateFileSystemCommandInput,
|
|
27
|
-
CreateFileSystemCommandOutput,
|
|
28
|
-
} from "./commands/CreateFileSystemCommand";
|
|
29
|
-
import {
|
|
30
|
-
CreateFileSystemFromBackupCommand,
|
|
31
|
-
CreateFileSystemFromBackupCommandInput,
|
|
32
|
-
CreateFileSystemFromBackupCommandOutput,
|
|
33
|
-
} from "./commands/CreateFileSystemFromBackupCommand";
|
|
34
|
-
import {
|
|
35
|
-
CreateStorageVirtualMachineCommand,
|
|
36
|
-
CreateStorageVirtualMachineCommandInput,
|
|
37
|
-
CreateStorageVirtualMachineCommandOutput,
|
|
38
|
-
} from "./commands/CreateStorageVirtualMachineCommand";
|
|
39
|
-
import {
|
|
40
|
-
CreateVolumeCommand,
|
|
41
|
-
CreateVolumeCommandInput,
|
|
42
|
-
CreateVolumeCommandOutput,
|
|
43
|
-
} from "./commands/CreateVolumeCommand";
|
|
44
|
-
import {
|
|
45
|
-
CreateVolumeFromBackupCommand,
|
|
46
|
-
CreateVolumeFromBackupCommandInput,
|
|
47
|
-
CreateVolumeFromBackupCommandOutput,
|
|
48
|
-
} from "./commands/CreateVolumeFromBackupCommand";
|
|
49
|
-
import {
|
|
50
|
-
DeleteBackupCommand,
|
|
51
|
-
DeleteBackupCommandInput,
|
|
52
|
-
DeleteBackupCommandOutput,
|
|
53
|
-
} from "./commands/DeleteBackupCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteFileSystemCommand,
|
|
56
|
-
DeleteFileSystemCommandInput,
|
|
57
|
-
DeleteFileSystemCommandOutput,
|
|
58
|
-
} from "./commands/DeleteFileSystemCommand";
|
|
59
|
-
import {
|
|
60
|
-
DeleteStorageVirtualMachineCommand,
|
|
61
|
-
DeleteStorageVirtualMachineCommandInput,
|
|
62
|
-
DeleteStorageVirtualMachineCommandOutput,
|
|
63
|
-
} from "./commands/DeleteStorageVirtualMachineCommand";
|
|
64
|
-
import {
|
|
65
|
-
DeleteVolumeCommand,
|
|
66
|
-
DeleteVolumeCommandInput,
|
|
67
|
-
DeleteVolumeCommandOutput,
|
|
68
|
-
} from "./commands/DeleteVolumeCommand";
|
|
69
|
-
import {
|
|
70
|
-
DescribeBackupsCommand,
|
|
71
|
-
DescribeBackupsCommandInput,
|
|
72
|
-
DescribeBackupsCommandOutput,
|
|
73
|
-
} from "./commands/DescribeBackupsCommand";
|
|
74
|
-
import {
|
|
75
|
-
DescribeDataRepositoryTasksCommand,
|
|
76
|
-
DescribeDataRepositoryTasksCommandInput,
|
|
77
|
-
DescribeDataRepositoryTasksCommandOutput,
|
|
78
|
-
} from "./commands/DescribeDataRepositoryTasksCommand";
|
|
79
|
-
import {
|
|
80
|
-
DescribeFileSystemAliasesCommand,
|
|
81
|
-
DescribeFileSystemAliasesCommandInput,
|
|
82
|
-
DescribeFileSystemAliasesCommandOutput,
|
|
83
|
-
} from "./commands/DescribeFileSystemAliasesCommand";
|
|
84
|
-
import {
|
|
85
|
-
DescribeFileSystemsCommand,
|
|
86
|
-
DescribeFileSystemsCommandInput,
|
|
87
|
-
DescribeFileSystemsCommandOutput,
|
|
88
|
-
} from "./commands/DescribeFileSystemsCommand";
|
|
89
|
-
import {
|
|
90
|
-
DescribeStorageVirtualMachinesCommand,
|
|
91
|
-
DescribeStorageVirtualMachinesCommandInput,
|
|
92
|
-
DescribeStorageVirtualMachinesCommandOutput,
|
|
93
|
-
} from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
94
|
-
import {
|
|
95
|
-
DescribeVolumesCommand,
|
|
96
|
-
DescribeVolumesCommandInput,
|
|
97
|
-
DescribeVolumesCommandOutput,
|
|
98
|
-
} from "./commands/DescribeVolumesCommand";
|
|
99
|
-
import {
|
|
100
|
-
DisassociateFileSystemAliasesCommand,
|
|
101
|
-
DisassociateFileSystemAliasesCommandInput,
|
|
102
|
-
DisassociateFileSystemAliasesCommandOutput,
|
|
103
|
-
} from "./commands/DisassociateFileSystemAliasesCommand";
|
|
104
|
-
import {
|
|
105
|
-
ListTagsForResourceCommand,
|
|
106
|
-
ListTagsForResourceCommandInput,
|
|
107
|
-
ListTagsForResourceCommandOutput,
|
|
108
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
109
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
110
|
-
import {
|
|
111
|
-
UntagResourceCommand,
|
|
112
|
-
UntagResourceCommandInput,
|
|
113
|
-
UntagResourceCommandOutput,
|
|
114
|
-
} from "./commands/UntagResourceCommand";
|
|
115
|
-
import {
|
|
116
|
-
UpdateFileSystemCommand,
|
|
117
|
-
UpdateFileSystemCommandInput,
|
|
118
|
-
UpdateFileSystemCommandOutput,
|
|
119
|
-
} from "./commands/UpdateFileSystemCommand";
|
|
120
|
-
import {
|
|
121
|
-
UpdateStorageVirtualMachineCommand,
|
|
122
|
-
UpdateStorageVirtualMachineCommandInput,
|
|
123
|
-
UpdateStorageVirtualMachineCommandOutput,
|
|
124
|
-
} from "./commands/UpdateStorageVirtualMachineCommand";
|
|
125
|
-
import {
|
|
126
|
-
UpdateVolumeCommand,
|
|
127
|
-
UpdateVolumeCommandInput,
|
|
128
|
-
UpdateVolumeCommandOutput,
|
|
129
|
-
} from "./commands/UpdateVolumeCommand";
|
|
130
|
-
import { FSxClient } from "./FSxClient";
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* <p>Amazon FSx is a fully managed service that makes it easy for storage and
|
|
134
|
-
* application administrators to launch and use shared file storage.</p>
|
|
135
|
-
*/
|
|
136
|
-
export class FSx extends FSxClient {
|
|
137
|
-
/**
|
|
138
|
-
* <p>Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system.
|
|
139
|
-
* A file system can have a maximum of 50 DNS aliases associated with it at any one time. If you try to
|
|
140
|
-
* associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request.
|
|
141
|
-
* For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working with DNS Aliases</a> and
|
|
142
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html">Walkthrough 5: Using DNS aliases to access your file system</a>, including
|
|
143
|
-
* additional steps you must take to be able to access your file system using a DNS alias.</p>
|
|
144
|
-
* <p>The system response shows the DNS aliases that
|
|
145
|
-
* Amazon FSx is attempting to associate with the file system.
|
|
146
|
-
* Use the API
|
|
147
|
-
* operation to monitor the status of the aliases Amazon FSx is
|
|
148
|
-
* associating with the file system.</p>
|
|
149
|
-
*/
|
|
150
|
-
public associateFileSystemAliases(
|
|
151
|
-
args: AssociateFileSystemAliasesCommandInput,
|
|
152
|
-
options?: __HttpHandlerOptions
|
|
153
|
-
): Promise<AssociateFileSystemAliasesCommandOutput>;
|
|
154
|
-
public associateFileSystemAliases(
|
|
155
|
-
args: AssociateFileSystemAliasesCommandInput,
|
|
156
|
-
cb: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void
|
|
157
|
-
): void;
|
|
158
|
-
public associateFileSystemAliases(
|
|
159
|
-
args: AssociateFileSystemAliasesCommandInput,
|
|
160
|
-
options: __HttpHandlerOptions,
|
|
161
|
-
cb: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void
|
|
162
|
-
): void;
|
|
163
|
-
public associateFileSystemAliases(
|
|
164
|
-
args: AssociateFileSystemAliasesCommandInput,
|
|
165
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateFileSystemAliasesCommandOutput) => void),
|
|
166
|
-
cb?: (err: any, data?: AssociateFileSystemAliasesCommandOutput) => void
|
|
167
|
-
): Promise<AssociateFileSystemAliasesCommandOutput> | void {
|
|
168
|
-
const command = new AssociateFileSystemAliasesCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
} else if (typeof cb === "function") {
|
|
172
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
} else {
|
|
175
|
-
return this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* <p>Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the
|
|
181
|
-
* <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel a task, Amazon FSx does the following.</p>
|
|
182
|
-
* <ul>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>Any files that FSx has already exported are not reverted.</p>
|
|
185
|
-
* </li>
|
|
186
|
-
* <li>
|
|
187
|
-
* <p>FSx continues to export any files that are "in-flight" when the cancel operation is received.</p>
|
|
188
|
-
* </li>
|
|
189
|
-
* <li>
|
|
190
|
-
* <p>FSx does not export any files that have not yet been exported.</p>
|
|
191
|
-
* </li>
|
|
192
|
-
* </ul>
|
|
193
|
-
*/
|
|
194
|
-
public cancelDataRepositoryTask(
|
|
195
|
-
args: CancelDataRepositoryTaskCommandInput,
|
|
196
|
-
options?: __HttpHandlerOptions
|
|
197
|
-
): Promise<CancelDataRepositoryTaskCommandOutput>;
|
|
198
|
-
public cancelDataRepositoryTask(
|
|
199
|
-
args: CancelDataRepositoryTaskCommandInput,
|
|
200
|
-
cb: (err: any, data?: CancelDataRepositoryTaskCommandOutput) => void
|
|
201
|
-
): void;
|
|
202
|
-
public cancelDataRepositoryTask(
|
|
203
|
-
args: CancelDataRepositoryTaskCommandInput,
|
|
204
|
-
options: __HttpHandlerOptions,
|
|
205
|
-
cb: (err: any, data?: CancelDataRepositoryTaskCommandOutput) => void
|
|
206
|
-
): void;
|
|
207
|
-
public cancelDataRepositoryTask(
|
|
208
|
-
args: CancelDataRepositoryTaskCommandInput,
|
|
209
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelDataRepositoryTaskCommandOutput) => void),
|
|
210
|
-
cb?: (err: any, data?: CancelDataRepositoryTaskCommandOutput) => void
|
|
211
|
-
): Promise<CancelDataRepositoryTaskCommandOutput> | void {
|
|
212
|
-
const command = new CancelDataRepositoryTaskCommand(args);
|
|
213
|
-
if (typeof optionsOrCb === "function") {
|
|
214
|
-
this.send(command, optionsOrCb);
|
|
215
|
-
} else if (typeof cb === "function") {
|
|
216
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
} else {
|
|
219
|
-
return this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* <p>Copies an existing backup within the same Amazon Web Services account to another Amazon Web Services Region
|
|
225
|
-
* (cross-Region copy) or within the same Amazon Web Services Region (in-Region copy). You can have up to five
|
|
226
|
-
* backup copy requests in progress to a single destination Region per account.</p>
|
|
227
|
-
* <p>You can use cross-Region backup copies for cross-region disaster recovery.
|
|
228
|
-
* You periodically take backups and copy them to another Region so that in the
|
|
229
|
-
* event of a disaster in the primary Region, you can restore from backup and recover
|
|
230
|
-
* availability quickly in the other Region. You can make cross-Region copies
|
|
231
|
-
* only within your Amazon Web Services partition.</p>
|
|
232
|
-
* <p> You can also use backup copies to clone your file data set to another Region
|
|
233
|
-
* or within the same Region.</p>
|
|
234
|
-
* <p>You can use the <code>SourceRegion</code> parameter to specify the Amazon Web Services Region
|
|
235
|
-
* from which the backup will be copied. For example, if you make the call from the
|
|
236
|
-
* <code>us-west-1</code> Region and want to copy a backup from the <code>us-east-2</code>
|
|
237
|
-
* Region, you specify <code>us-east-2</code> in the <code>SourceRegion</code> parameter
|
|
238
|
-
* to make a cross-Region copy. If you don't specify a Region, the backup copy is
|
|
239
|
-
* created in the same Region where the request is sent from (in-Region copy).</p>
|
|
240
|
-
* <p>For more information on creating backup copies, see
|
|
241
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#copy-backups">
|
|
242
|
-
* Copying backups</a> in the <i>Amazon FSx for Windows User Guide</i> and
|
|
243
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html#copy-backups">Copying backups</a>
|
|
244
|
-
* in the <i>Amazon FSx for Lustre User Guide</i>.</p>
|
|
245
|
-
*/
|
|
246
|
-
public copyBackup(args: CopyBackupCommandInput, options?: __HttpHandlerOptions): Promise<CopyBackupCommandOutput>;
|
|
247
|
-
public copyBackup(args: CopyBackupCommandInput, cb: (err: any, data?: CopyBackupCommandOutput) => void): void;
|
|
248
|
-
public copyBackup(
|
|
249
|
-
args: CopyBackupCommandInput,
|
|
250
|
-
options: __HttpHandlerOptions,
|
|
251
|
-
cb: (err: any, data?: CopyBackupCommandOutput) => void
|
|
252
|
-
): void;
|
|
253
|
-
public copyBackup(
|
|
254
|
-
args: CopyBackupCommandInput,
|
|
255
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopyBackupCommandOutput) => void),
|
|
256
|
-
cb?: (err: any, data?: CopyBackupCommandOutput) => void
|
|
257
|
-
): Promise<CopyBackupCommandOutput> | void {
|
|
258
|
-
const command = new CopyBackupCommand(args);
|
|
259
|
-
if (typeof optionsOrCb === "function") {
|
|
260
|
-
this.send(command, optionsOrCb);
|
|
261
|
-
} else if (typeof cb === "function") {
|
|
262
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
} else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* <p>Creates a backup of an existing Amazon FSx for Windows File Server
|
|
271
|
-
* or Amazon FSx for Lustre file system, or of an Amazon FSx for NetApp ONTAP
|
|
272
|
-
* volume. Creating regular backups is a best practice, enabling you to restore
|
|
273
|
-
* a file system or volume from a backup if an issue arises with the original
|
|
274
|
-
* file system or volume.</p>
|
|
275
|
-
* <p>For Amazon FSx for Lustre file systems, you can create a backup only
|
|
276
|
-
* for file systems with the following configuration:</p>
|
|
277
|
-
* <ul>
|
|
278
|
-
* <li>
|
|
279
|
-
* <p>a Persistent deployment type</p>
|
|
280
|
-
* </li>
|
|
281
|
-
* <li>
|
|
282
|
-
* <p>is <i>not</i> linked to a data repository.</p>
|
|
283
|
-
* </li>
|
|
284
|
-
* </ul>
|
|
285
|
-
* <p>For more information about backups, see the following:</p>
|
|
286
|
-
* <ul>
|
|
287
|
-
* <li>
|
|
288
|
-
* <p>For Amazon FSx for Lustre,
|
|
289
|
-
* see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html">Working with FSx for Lustre backups</a>.</p>
|
|
290
|
-
* </li>
|
|
291
|
-
* <li>
|
|
292
|
-
* <p>For Amazon FSx for Windows,
|
|
293
|
-
* see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html">Working with FSx for Windows backups</a>.</p>
|
|
294
|
-
* </li>
|
|
295
|
-
* <li>
|
|
296
|
-
* <p>For Amazon FSx for NetApp ONTAP,
|
|
297
|
-
* see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/using-backups.html">Working with FSx for NetApp ONTAP backups</a>.</p>
|
|
298
|
-
* </li>
|
|
299
|
-
* </ul>
|
|
300
|
-
* <p>If a backup with the specified client request token exists, and the parameters
|
|
301
|
-
* match, this operation returns the description of the existing backup. If a backup
|
|
302
|
-
* specified client request token exists, and the parameters don't match, this
|
|
303
|
-
* operation returns <code>IncompatibleParameterError</code>. If a backup with the
|
|
304
|
-
* specified client request token doesn't exist, <code>CreateBackup</code> does the
|
|
305
|
-
* following: </p>
|
|
306
|
-
* <ul>
|
|
307
|
-
* <li>
|
|
308
|
-
* <p>Creates a new Amazon FSx backup with an assigned ID, and an initial
|
|
309
|
-
* lifecycle state of <code>CREATING</code>.</p>
|
|
310
|
-
* </li>
|
|
311
|
-
* <li>
|
|
312
|
-
* <p>Returns the description of the backup.</p>
|
|
313
|
-
* </li>
|
|
314
|
-
* </ul>
|
|
315
|
-
*
|
|
316
|
-
* <p>By using the idempotent operation, you can retry a <code>CreateBackup</code>
|
|
317
|
-
* operation without the risk of creating an extra backup. This approach can be useful when
|
|
318
|
-
* an initial call fails in a way that makes it unclear whether a backup was created. If
|
|
319
|
-
* you use the same client request token and the initial call created a backup, the
|
|
320
|
-
* operation returns a successful result because all the parameters are the same.</p>
|
|
321
|
-
*
|
|
322
|
-
* <p>The <code>CreateBackup</code> operation returns while the backup's
|
|
323
|
-
* lifecycle state is still <code>CREATING</code>. You can check the backup creation
|
|
324
|
-
* status by calling the <a>DescribeBackups</a> operation, which returns the
|
|
325
|
-
* backup state along with other information.</p>
|
|
326
|
-
*/
|
|
327
|
-
public createBackup(
|
|
328
|
-
args: CreateBackupCommandInput,
|
|
329
|
-
options?: __HttpHandlerOptions
|
|
330
|
-
): Promise<CreateBackupCommandOutput>;
|
|
331
|
-
public createBackup(args: CreateBackupCommandInput, cb: (err: any, data?: CreateBackupCommandOutput) => void): void;
|
|
332
|
-
public createBackup(
|
|
333
|
-
args: CreateBackupCommandInput,
|
|
334
|
-
options: __HttpHandlerOptions,
|
|
335
|
-
cb: (err: any, data?: CreateBackupCommandOutput) => void
|
|
336
|
-
): void;
|
|
337
|
-
public createBackup(
|
|
338
|
-
args: CreateBackupCommandInput,
|
|
339
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBackupCommandOutput) => void),
|
|
340
|
-
cb?: (err: any, data?: CreateBackupCommandOutput) => void
|
|
341
|
-
): Promise<CreateBackupCommandOutput> | void {
|
|
342
|
-
const command = new CreateBackupCommand(args);
|
|
343
|
-
if (typeof optionsOrCb === "function") {
|
|
344
|
-
this.send(command, optionsOrCb);
|
|
345
|
-
} else if (typeof cb === "function") {
|
|
346
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
} else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* <p>Creates an Amazon FSx for Lustre data repository task. You use data repository tasks
|
|
355
|
-
* to perform bulk operations between your Amazon FSx file system and its linked data
|
|
356
|
-
* repository. An example of a data repository task is
|
|
357
|
-
* exporting any data and metadata changes, including POSIX metadata, to files, directories, and symbolic links (symlinks) from your FSx file system to its linked data repository. A
|
|
358
|
-
* <code>CreateDataRepositoryTask</code> operation will fail if a data repository is not
|
|
359
|
-
* linked to the FSx file system. To learn more about data repository tasks, see
|
|
360
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-repository-tasks.html">Data Repository Tasks</a>.
|
|
361
|
-
* To learn more about linking a data repository to your file system, see
|
|
362
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-fs-linked-data-repo.html">Linking your file system to an S3 bucket</a>.</p>
|
|
363
|
-
*/
|
|
364
|
-
public createDataRepositoryTask(
|
|
365
|
-
args: CreateDataRepositoryTaskCommandInput,
|
|
366
|
-
options?: __HttpHandlerOptions
|
|
367
|
-
): Promise<CreateDataRepositoryTaskCommandOutput>;
|
|
368
|
-
public createDataRepositoryTask(
|
|
369
|
-
args: CreateDataRepositoryTaskCommandInput,
|
|
370
|
-
cb: (err: any, data?: CreateDataRepositoryTaskCommandOutput) => void
|
|
371
|
-
): void;
|
|
372
|
-
public createDataRepositoryTask(
|
|
373
|
-
args: CreateDataRepositoryTaskCommandInput,
|
|
374
|
-
options: __HttpHandlerOptions,
|
|
375
|
-
cb: (err: any, data?: CreateDataRepositoryTaskCommandOutput) => void
|
|
376
|
-
): void;
|
|
377
|
-
public createDataRepositoryTask(
|
|
378
|
-
args: CreateDataRepositoryTaskCommandInput,
|
|
379
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDataRepositoryTaskCommandOutput) => void),
|
|
380
|
-
cb?: (err: any, data?: CreateDataRepositoryTaskCommandOutput) => void
|
|
381
|
-
): Promise<CreateDataRepositoryTaskCommandOutput> | void {
|
|
382
|
-
const command = new CreateDataRepositoryTaskCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
} else if (typeof cb === "function") {
|
|
386
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
387
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
388
|
-
} else {
|
|
389
|
-
return this.send(command, optionsOrCb);
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* <p>Creates a new, empty Amazon FSx file system.</p>
|
|
395
|
-
*
|
|
396
|
-
* <p>If a file system with the specified client request token exists and the parameters
|
|
397
|
-
* match, <code>CreateFileSystem</code> returns the description of the existing file
|
|
398
|
-
* system. If a file system specified client request token exists and the parameters
|
|
399
|
-
* don't match, this call returns <code>IncompatibleParameterError</code>. If a file
|
|
400
|
-
* system with the specified client request token doesn't exist,
|
|
401
|
-
* <code>CreateFileSystem</code> does the following: </p>
|
|
402
|
-
* <ul>
|
|
403
|
-
* <li>
|
|
404
|
-
* <p>Creates a new, empty Amazon FSx file system with an assigned ID, and an
|
|
405
|
-
* initial lifecycle state of <code>CREATING</code>.</p>
|
|
406
|
-
* </li>
|
|
407
|
-
* <li>
|
|
408
|
-
* <p>Returns the description of the file system.</p>
|
|
409
|
-
* </li>
|
|
410
|
-
* </ul>
|
|
411
|
-
*
|
|
412
|
-
* <p>This operation requires a client request token in the request that Amazon FSx uses
|
|
413
|
-
* to ensure idempotent creation. This means that calling the operation multiple times with
|
|
414
|
-
* the same client request token has no effect. By using the idempotent operation, you can
|
|
415
|
-
* retry a <code>CreateFileSystem</code> operation without the risk of creating an extra
|
|
416
|
-
* file system. This approach can be useful when an initial call fails in a way that makes
|
|
417
|
-
* it unclear whether a file system was created. Examples are if a transport level timeout
|
|
418
|
-
* occurred, or your connection was reset. If you use the same client request token and the
|
|
419
|
-
* initial call created a file system, the client receives success as long as the
|
|
420
|
-
* parameters are the same.</p>
|
|
421
|
-
* <note>
|
|
422
|
-
* <p>The <code>CreateFileSystem</code> call returns while the file system's
|
|
423
|
-
* lifecycle state is still <code>CREATING</code>. You can check the file-system
|
|
424
|
-
* creation status by calling the <a>DescribeFileSystems</a> operation,
|
|
425
|
-
* which returns the file system state along with other information.</p>
|
|
426
|
-
* </note>
|
|
427
|
-
*/
|
|
428
|
-
public createFileSystem(
|
|
429
|
-
args: CreateFileSystemCommandInput,
|
|
430
|
-
options?: __HttpHandlerOptions
|
|
431
|
-
): Promise<CreateFileSystemCommandOutput>;
|
|
432
|
-
public createFileSystem(
|
|
433
|
-
args: CreateFileSystemCommandInput,
|
|
434
|
-
cb: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
435
|
-
): void;
|
|
436
|
-
public createFileSystem(
|
|
437
|
-
args: CreateFileSystemCommandInput,
|
|
438
|
-
options: __HttpHandlerOptions,
|
|
439
|
-
cb: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
440
|
-
): void;
|
|
441
|
-
public createFileSystem(
|
|
442
|
-
args: CreateFileSystemCommandInput,
|
|
443
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFileSystemCommandOutput) => void),
|
|
444
|
-
cb?: (err: any, data?: CreateFileSystemCommandOutput) => void
|
|
445
|
-
): Promise<CreateFileSystemCommandOutput> | void {
|
|
446
|
-
const command = new CreateFileSystemCommand(args);
|
|
447
|
-
if (typeof optionsOrCb === "function") {
|
|
448
|
-
this.send(command, optionsOrCb);
|
|
449
|
-
} else if (typeof cb === "function") {
|
|
450
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
-
} else {
|
|
453
|
-
return this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* <p>Creates a new Amazon FSx for Lustre or Amazon FSx for Windows File Server file system
|
|
459
|
-
* from an existing Amazon FSx backup.</p>
|
|
460
|
-
*
|
|
461
|
-
* <p>If a file system with the specified client request token exists and the parameters
|
|
462
|
-
* match, this operation returns the description of the file system. If a client
|
|
463
|
-
* request token specified by the file system exists and the parameters don't match,
|
|
464
|
-
* this call returns <code>IncompatibleParameterError</code>. If a file system with the
|
|
465
|
-
* specified client request token doesn't exist, this operation does the following:</p>
|
|
466
|
-
*
|
|
467
|
-
* <ul>
|
|
468
|
-
* <li>
|
|
469
|
-
* <p>Creates a new Amazon FSx file system from backup with an assigned ID, and
|
|
470
|
-
* an initial lifecycle state of <code>CREATING</code>.</p>
|
|
471
|
-
* </li>
|
|
472
|
-
* <li>
|
|
473
|
-
* <p>Returns the description of the file system.</p>
|
|
474
|
-
* </li>
|
|
475
|
-
* </ul>
|
|
476
|
-
*
|
|
477
|
-
* <p>Parameters like Active Directory, default share name, automatic backup, and backup
|
|
478
|
-
* settings default to the parameters of the file system that was backed up, unless
|
|
479
|
-
* overridden. You can explicitly supply other settings.</p>
|
|
480
|
-
*
|
|
481
|
-
* <p>By using the idempotent operation, you can retry a
|
|
482
|
-
* <code>CreateFileSystemFromBackup</code> call without the risk of creating an extra
|
|
483
|
-
* file system. This approach can be useful when an initial call fails in a way that makes
|
|
484
|
-
* it unclear whether a file system was created. Examples are if a transport level timeout
|
|
485
|
-
* occurred, or your connection was reset. If you use the same client request token and the
|
|
486
|
-
* initial call created a file system, the client receives success as long as the
|
|
487
|
-
* parameters are the same.</p>
|
|
488
|
-
* <note>
|
|
489
|
-
* <p>The <code>CreateFileSystemFromBackup</code> call returns while the file
|
|
490
|
-
* system's lifecycle state is still <code>CREATING</code>. You can check the
|
|
491
|
-
* file-system creation status by calling the <a>DescribeFileSystems</a>
|
|
492
|
-
* operation, which returns the file system state along with other
|
|
493
|
-
* information.</p>
|
|
494
|
-
* </note>
|
|
495
|
-
*/
|
|
496
|
-
public createFileSystemFromBackup(
|
|
497
|
-
args: CreateFileSystemFromBackupCommandInput,
|
|
498
|
-
options?: __HttpHandlerOptions
|
|
499
|
-
): Promise<CreateFileSystemFromBackupCommandOutput>;
|
|
500
|
-
public createFileSystemFromBackup(
|
|
501
|
-
args: CreateFileSystemFromBackupCommandInput,
|
|
502
|
-
cb: (err: any, data?: CreateFileSystemFromBackupCommandOutput) => void
|
|
503
|
-
): void;
|
|
504
|
-
public createFileSystemFromBackup(
|
|
505
|
-
args: CreateFileSystemFromBackupCommandInput,
|
|
506
|
-
options: __HttpHandlerOptions,
|
|
507
|
-
cb: (err: any, data?: CreateFileSystemFromBackupCommandOutput) => void
|
|
508
|
-
): void;
|
|
509
|
-
public createFileSystemFromBackup(
|
|
510
|
-
args: CreateFileSystemFromBackupCommandInput,
|
|
511
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFileSystemFromBackupCommandOutput) => void),
|
|
512
|
-
cb?: (err: any, data?: CreateFileSystemFromBackupCommandOutput) => void
|
|
513
|
-
): Promise<CreateFileSystemFromBackupCommandOutput> | void {
|
|
514
|
-
const command = new CreateFileSystemFromBackupCommand(args);
|
|
515
|
-
if (typeof optionsOrCb === "function") {
|
|
516
|
-
this.send(command, optionsOrCb);
|
|
517
|
-
} else if (typeof cb === "function") {
|
|
518
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
} else {
|
|
521
|
-
return this.send(command, optionsOrCb);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* <p>Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system.</p>
|
|
527
|
-
*/
|
|
528
|
-
public createStorageVirtualMachine(
|
|
529
|
-
args: CreateStorageVirtualMachineCommandInput,
|
|
530
|
-
options?: __HttpHandlerOptions
|
|
531
|
-
): Promise<CreateStorageVirtualMachineCommandOutput>;
|
|
532
|
-
public createStorageVirtualMachine(
|
|
533
|
-
args: CreateStorageVirtualMachineCommandInput,
|
|
534
|
-
cb: (err: any, data?: CreateStorageVirtualMachineCommandOutput) => void
|
|
535
|
-
): void;
|
|
536
|
-
public createStorageVirtualMachine(
|
|
537
|
-
args: CreateStorageVirtualMachineCommandInput,
|
|
538
|
-
options: __HttpHandlerOptions,
|
|
539
|
-
cb: (err: any, data?: CreateStorageVirtualMachineCommandOutput) => void
|
|
540
|
-
): void;
|
|
541
|
-
public createStorageVirtualMachine(
|
|
542
|
-
args: CreateStorageVirtualMachineCommandInput,
|
|
543
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStorageVirtualMachineCommandOutput) => void),
|
|
544
|
-
cb?: (err: any, data?: CreateStorageVirtualMachineCommandOutput) => void
|
|
545
|
-
): Promise<CreateStorageVirtualMachineCommandOutput> | void {
|
|
546
|
-
const command = new CreateStorageVirtualMachineCommand(args);
|
|
547
|
-
if (typeof optionsOrCb === "function") {
|
|
548
|
-
this.send(command, optionsOrCb);
|
|
549
|
-
} else if (typeof cb === "function") {
|
|
550
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
551
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
552
|
-
} else {
|
|
553
|
-
return this.send(command, optionsOrCb);
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/**
|
|
558
|
-
* <p>Creates an Amazon FSx for NetApp ONTAP storage volume.</p>
|
|
559
|
-
*/
|
|
560
|
-
public createVolume(
|
|
561
|
-
args: CreateVolumeCommandInput,
|
|
562
|
-
options?: __HttpHandlerOptions
|
|
563
|
-
): Promise<CreateVolumeCommandOutput>;
|
|
564
|
-
public createVolume(args: CreateVolumeCommandInput, cb: (err: any, data?: CreateVolumeCommandOutput) => void): void;
|
|
565
|
-
public createVolume(
|
|
566
|
-
args: CreateVolumeCommandInput,
|
|
567
|
-
options: __HttpHandlerOptions,
|
|
568
|
-
cb: (err: any, data?: CreateVolumeCommandOutput) => void
|
|
569
|
-
): void;
|
|
570
|
-
public createVolume(
|
|
571
|
-
args: CreateVolumeCommandInput,
|
|
572
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVolumeCommandOutput) => void),
|
|
573
|
-
cb?: (err: any, data?: CreateVolumeCommandOutput) => void
|
|
574
|
-
): Promise<CreateVolumeCommandOutput> | void {
|
|
575
|
-
const command = new CreateVolumeCommand(args);
|
|
576
|
-
if (typeof optionsOrCb === "function") {
|
|
577
|
-
this.send(command, optionsOrCb);
|
|
578
|
-
} else if (typeof cb === "function") {
|
|
579
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
580
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
581
|
-
} else {
|
|
582
|
-
return this.send(command, optionsOrCb);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* <p>Creates a new Amazon FSx for NetApp ONTAP volume from an
|
|
588
|
-
* existing Amazon FSx volume backup.</p>
|
|
589
|
-
*/
|
|
590
|
-
public createVolumeFromBackup(
|
|
591
|
-
args: CreateVolumeFromBackupCommandInput,
|
|
592
|
-
options?: __HttpHandlerOptions
|
|
593
|
-
): Promise<CreateVolumeFromBackupCommandOutput>;
|
|
594
|
-
public createVolumeFromBackup(
|
|
595
|
-
args: CreateVolumeFromBackupCommandInput,
|
|
596
|
-
cb: (err: any, data?: CreateVolumeFromBackupCommandOutput) => void
|
|
597
|
-
): void;
|
|
598
|
-
public createVolumeFromBackup(
|
|
599
|
-
args: CreateVolumeFromBackupCommandInput,
|
|
600
|
-
options: __HttpHandlerOptions,
|
|
601
|
-
cb: (err: any, data?: CreateVolumeFromBackupCommandOutput) => void
|
|
602
|
-
): void;
|
|
603
|
-
public createVolumeFromBackup(
|
|
604
|
-
args: CreateVolumeFromBackupCommandInput,
|
|
605
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateVolumeFromBackupCommandOutput) => void),
|
|
606
|
-
cb?: (err: any, data?: CreateVolumeFromBackupCommandOutput) => void
|
|
607
|
-
): Promise<CreateVolumeFromBackupCommandOutput> | void {
|
|
608
|
-
const command = new CreateVolumeFromBackupCommand(args);
|
|
609
|
-
if (typeof optionsOrCb === "function") {
|
|
610
|
-
this.send(command, optionsOrCb);
|
|
611
|
-
} else if (typeof cb === "function") {
|
|
612
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
613
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
614
|
-
} else {
|
|
615
|
-
return this.send(command, optionsOrCb);
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* <p>Deletes an Amazon FSx backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.</p>
|
|
621
|
-
*
|
|
622
|
-
* <p>The <code>DeleteBackup</code> call returns instantly. The backup will not show up
|
|
623
|
-
* in later <code>DescribeBackups</code> calls.</p>
|
|
624
|
-
*
|
|
625
|
-
* <important>
|
|
626
|
-
* <p>The data in a deleted backup is also deleted and can't be recovered by any
|
|
627
|
-
* means.</p>
|
|
628
|
-
* </important>
|
|
629
|
-
*/
|
|
630
|
-
public deleteBackup(
|
|
631
|
-
args: DeleteBackupCommandInput,
|
|
632
|
-
options?: __HttpHandlerOptions
|
|
633
|
-
): Promise<DeleteBackupCommandOutput>;
|
|
634
|
-
public deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void;
|
|
635
|
-
public deleteBackup(
|
|
636
|
-
args: DeleteBackupCommandInput,
|
|
637
|
-
options: __HttpHandlerOptions,
|
|
638
|
-
cb: (err: any, data?: DeleteBackupCommandOutput) => void
|
|
639
|
-
): void;
|
|
640
|
-
public deleteBackup(
|
|
641
|
-
args: DeleteBackupCommandInput,
|
|
642
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBackupCommandOutput) => void),
|
|
643
|
-
cb?: (err: any, data?: DeleteBackupCommandOutput) => void
|
|
644
|
-
): Promise<DeleteBackupCommandOutput> | void {
|
|
645
|
-
const command = new DeleteBackupCommand(args);
|
|
646
|
-
if (typeof optionsOrCb === "function") {
|
|
647
|
-
this.send(command, optionsOrCb);
|
|
648
|
-
} else if (typeof cb === "function") {
|
|
649
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
650
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
651
|
-
} else {
|
|
652
|
-
return this.send(command, optionsOrCb);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* <p>Deletes a file system, deleting its contents. After deletion, the file system no
|
|
658
|
-
* longer exists, and its data is gone. Any existing automatic backups will also be
|
|
659
|
-
* deleted.</p>
|
|
660
|
-
* <p>To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes
|
|
661
|
-
* and SVMs on the file system. Then provide a <code>FileSystemId</code> value to the
|
|
662
|
-
* <code>DeleFileSystem</code> operation.</p>
|
|
663
|
-
*
|
|
664
|
-
* <p>By default, when you delete an Amazon FSx for Windows File Server file system, a
|
|
665
|
-
* final backup is created upon deletion. This final backup is not subject to the file
|
|
666
|
-
* system's retention policy, and must be manually deleted.</p>
|
|
667
|
-
*
|
|
668
|
-
* <p>The <code>DeleteFileSystem</code> action returns while the file system has the
|
|
669
|
-
* <code>DELETING</code> status. You can check the file system deletion status by
|
|
670
|
-
* calling the <a>DescribeFileSystems</a> action, which returns a list of file
|
|
671
|
-
* systems in your account. If you pass the file system ID for a deleted file system, the
|
|
672
|
-
* <a>DescribeFileSystems</a> returns a <code>FileSystemNotFound</code>
|
|
673
|
-
* error.</p>
|
|
674
|
-
* <note>
|
|
675
|
-
* <p>Deleting an Amazon FSx for Lustre file system will fail with a 400 BadRequest if
|
|
676
|
-
* a data repository task is in a <code>PENDING</code> or <code>EXECUTING</code>
|
|
677
|
-
* state.</p>
|
|
678
|
-
* </note>
|
|
679
|
-
* <important>
|
|
680
|
-
* <p>The data in a deleted file system is also deleted and can't be recovered by
|
|
681
|
-
* any means.</p>
|
|
682
|
-
* </important>
|
|
683
|
-
*/
|
|
684
|
-
public deleteFileSystem(
|
|
685
|
-
args: DeleteFileSystemCommandInput,
|
|
686
|
-
options?: __HttpHandlerOptions
|
|
687
|
-
): Promise<DeleteFileSystemCommandOutput>;
|
|
688
|
-
public deleteFileSystem(
|
|
689
|
-
args: DeleteFileSystemCommandInput,
|
|
690
|
-
cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
691
|
-
): void;
|
|
692
|
-
public deleteFileSystem(
|
|
693
|
-
args: DeleteFileSystemCommandInput,
|
|
694
|
-
options: __HttpHandlerOptions,
|
|
695
|
-
cb: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
696
|
-
): void;
|
|
697
|
-
public deleteFileSystem(
|
|
698
|
-
args: DeleteFileSystemCommandInput,
|
|
699
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFileSystemCommandOutput) => void),
|
|
700
|
-
cb?: (err: any, data?: DeleteFileSystemCommandOutput) => void
|
|
701
|
-
): Promise<DeleteFileSystemCommandOutput> | void {
|
|
702
|
-
const command = new DeleteFileSystemCommand(args);
|
|
703
|
-
if (typeof optionsOrCb === "function") {
|
|
704
|
-
this.send(command, optionsOrCb);
|
|
705
|
-
} else if (typeof cb === "function") {
|
|
706
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
707
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
708
|
-
} else {
|
|
709
|
-
return this.send(command, optionsOrCb);
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* <p>Deletes an existing Amazon FSx for ONTAP storage virtual machine (SVM). Prior
|
|
715
|
-
* to deleting an SVM, you must delete all non-root volumes in the SVM, otherwise the operation will fail.</p>
|
|
716
|
-
*/
|
|
717
|
-
public deleteStorageVirtualMachine(
|
|
718
|
-
args: DeleteStorageVirtualMachineCommandInput,
|
|
719
|
-
options?: __HttpHandlerOptions
|
|
720
|
-
): Promise<DeleteStorageVirtualMachineCommandOutput>;
|
|
721
|
-
public deleteStorageVirtualMachine(
|
|
722
|
-
args: DeleteStorageVirtualMachineCommandInput,
|
|
723
|
-
cb: (err: any, data?: DeleteStorageVirtualMachineCommandOutput) => void
|
|
724
|
-
): void;
|
|
725
|
-
public deleteStorageVirtualMachine(
|
|
726
|
-
args: DeleteStorageVirtualMachineCommandInput,
|
|
727
|
-
options: __HttpHandlerOptions,
|
|
728
|
-
cb: (err: any, data?: DeleteStorageVirtualMachineCommandOutput) => void
|
|
729
|
-
): void;
|
|
730
|
-
public deleteStorageVirtualMachine(
|
|
731
|
-
args: DeleteStorageVirtualMachineCommandInput,
|
|
732
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteStorageVirtualMachineCommandOutput) => void),
|
|
733
|
-
cb?: (err: any, data?: DeleteStorageVirtualMachineCommandOutput) => void
|
|
734
|
-
): Promise<DeleteStorageVirtualMachineCommandOutput> | void {
|
|
735
|
-
const command = new DeleteStorageVirtualMachineCommand(args);
|
|
736
|
-
if (typeof optionsOrCb === "function") {
|
|
737
|
-
this.send(command, optionsOrCb);
|
|
738
|
-
} else if (typeof cb === "function") {
|
|
739
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
740
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
741
|
-
} else {
|
|
742
|
-
return this.send(command, optionsOrCb);
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
* <p>Deletes an Amazon FSx for NetApp ONTAP volume. When deleting a volume,
|
|
748
|
-
* you have the option of creating a final backup. If you create a final backup, you have the option to
|
|
749
|
-
* apply Tags to the backup. You need to have <code>fsx:TagResource</code>
|
|
750
|
-
* permission in order to apply tags to the backup.</p>
|
|
751
|
-
*/
|
|
752
|
-
public deleteVolume(
|
|
753
|
-
args: DeleteVolumeCommandInput,
|
|
754
|
-
options?: __HttpHandlerOptions
|
|
755
|
-
): Promise<DeleteVolumeCommandOutput>;
|
|
756
|
-
public deleteVolume(args: DeleteVolumeCommandInput, cb: (err: any, data?: DeleteVolumeCommandOutput) => void): void;
|
|
757
|
-
public deleteVolume(
|
|
758
|
-
args: DeleteVolumeCommandInput,
|
|
759
|
-
options: __HttpHandlerOptions,
|
|
760
|
-
cb: (err: any, data?: DeleteVolumeCommandOutput) => void
|
|
761
|
-
): void;
|
|
762
|
-
public deleteVolume(
|
|
763
|
-
args: DeleteVolumeCommandInput,
|
|
764
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteVolumeCommandOutput) => void),
|
|
765
|
-
cb?: (err: any, data?: DeleteVolumeCommandOutput) => void
|
|
766
|
-
): Promise<DeleteVolumeCommandOutput> | void {
|
|
767
|
-
const command = new DeleteVolumeCommand(args);
|
|
768
|
-
if (typeof optionsOrCb === "function") {
|
|
769
|
-
this.send(command, optionsOrCb);
|
|
770
|
-
} else if (typeof cb === "function") {
|
|
771
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
772
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
773
|
-
} else {
|
|
774
|
-
return this.send(command, optionsOrCb);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* <p>Returns the description of specific Amazon FSx backups, if
|
|
780
|
-
* a <code>BackupIds</code> value is provided for that backup. Otherwise, it returns all
|
|
781
|
-
* backups owned by your Amazon Web Services account in the Amazon Web Services Region
|
|
782
|
-
* of the endpoint that you're calling.</p>
|
|
783
|
-
*
|
|
784
|
-
* <p>When retrieving all backups, you can optionally specify the <code>MaxResults</code>
|
|
785
|
-
* parameter to limit the number of backups in a response. If more backups remain, Amazon
|
|
786
|
-
* FSx returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
787
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
788
|
-
* <code>NextToken</code> from the last response.</p>
|
|
789
|
-
*
|
|
790
|
-
* <p>This action is used in an iterative process to retrieve a list of your backups.
|
|
791
|
-
* <code>DescribeBackups</code> is called first without a <code>NextToken</code>value.
|
|
792
|
-
* Then the action continues to be called with the <code>NextToken</code> parameter set to
|
|
793
|
-
* the value of the last <code>NextToken</code> value until a response has no
|
|
794
|
-
* <code>NextToken</code>.</p>
|
|
795
|
-
*
|
|
796
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
797
|
-
* <ul>
|
|
798
|
-
* <li>
|
|
799
|
-
* <p>The implementation might return fewer than <code>MaxResults</code>
|
|
800
|
-
* backup descriptions while still including a <code>NextToken</code>
|
|
801
|
-
* value.</p>
|
|
802
|
-
* </li>
|
|
803
|
-
* <li>
|
|
804
|
-
* <p>The order of backups returned in the response of one
|
|
805
|
-
* <code>DescribeBackups</code> call and the order of backups returned across
|
|
806
|
-
* the responses of a multi-call iteration is unspecified.</p>
|
|
807
|
-
* </li>
|
|
808
|
-
* </ul>
|
|
809
|
-
*/
|
|
810
|
-
public describeBackups(
|
|
811
|
-
args: DescribeBackupsCommandInput,
|
|
812
|
-
options?: __HttpHandlerOptions
|
|
813
|
-
): Promise<DescribeBackupsCommandOutput>;
|
|
814
|
-
public describeBackups(
|
|
815
|
-
args: DescribeBackupsCommandInput,
|
|
816
|
-
cb: (err: any, data?: DescribeBackupsCommandOutput) => void
|
|
817
|
-
): void;
|
|
818
|
-
public describeBackups(
|
|
819
|
-
args: DescribeBackupsCommandInput,
|
|
820
|
-
options: __HttpHandlerOptions,
|
|
821
|
-
cb: (err: any, data?: DescribeBackupsCommandOutput) => void
|
|
822
|
-
): void;
|
|
823
|
-
public describeBackups(
|
|
824
|
-
args: DescribeBackupsCommandInput,
|
|
825
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeBackupsCommandOutput) => void),
|
|
826
|
-
cb?: (err: any, data?: DescribeBackupsCommandOutput) => void
|
|
827
|
-
): Promise<DescribeBackupsCommandOutput> | void {
|
|
828
|
-
const command = new DescribeBackupsCommand(args);
|
|
829
|
-
if (typeof optionsOrCb === "function") {
|
|
830
|
-
this.send(command, optionsOrCb);
|
|
831
|
-
} else if (typeof cb === "function") {
|
|
832
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
833
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
834
|
-
} else {
|
|
835
|
-
return this.send(command, optionsOrCb);
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* <p>Returns the description of specific Amazon FSx for Lustre data repository tasks, if
|
|
841
|
-
* one or more <code>TaskIds</code> values are provided in the request, or if filters are used in the request.
|
|
842
|
-
* You can use filters to narrow the response to include just tasks for specific file systems,
|
|
843
|
-
* or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned
|
|
844
|
-
* by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
845
|
-
*
|
|
846
|
-
* <p>When retrieving all tasks, you can paginate the response by using the optional <code>MaxResults</code>
|
|
847
|
-
* parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon
|
|
848
|
-
* FSx returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
849
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
850
|
-
* <code>NextToken</code> from the last response.</p>
|
|
851
|
-
*/
|
|
852
|
-
public describeDataRepositoryTasks(
|
|
853
|
-
args: DescribeDataRepositoryTasksCommandInput,
|
|
854
|
-
options?: __HttpHandlerOptions
|
|
855
|
-
): Promise<DescribeDataRepositoryTasksCommandOutput>;
|
|
856
|
-
public describeDataRepositoryTasks(
|
|
857
|
-
args: DescribeDataRepositoryTasksCommandInput,
|
|
858
|
-
cb: (err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void
|
|
859
|
-
): void;
|
|
860
|
-
public describeDataRepositoryTasks(
|
|
861
|
-
args: DescribeDataRepositoryTasksCommandInput,
|
|
862
|
-
options: __HttpHandlerOptions,
|
|
863
|
-
cb: (err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void
|
|
864
|
-
): void;
|
|
865
|
-
public describeDataRepositoryTasks(
|
|
866
|
-
args: DescribeDataRepositoryTasksCommandInput,
|
|
867
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void),
|
|
868
|
-
cb?: (err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void
|
|
869
|
-
): Promise<DescribeDataRepositoryTasksCommandOutput> | void {
|
|
870
|
-
const command = new DescribeDataRepositoryTasksCommand(args);
|
|
871
|
-
if (typeof optionsOrCb === "function") {
|
|
872
|
-
this.send(command, optionsOrCb);
|
|
873
|
-
} else if (typeof cb === "function") {
|
|
874
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
875
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
876
|
-
} else {
|
|
877
|
-
return this.send(command, optionsOrCb);
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* <p>Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of
|
|
883
|
-
* all DNS aliases that have been associated with and disassociated from the file system is available in the list of <a>AdministrativeAction</a>
|
|
884
|
-
* provided in the <a>DescribeFileSystems</a> operation response.</p>
|
|
885
|
-
*/
|
|
886
|
-
public describeFileSystemAliases(
|
|
887
|
-
args: DescribeFileSystemAliasesCommandInput,
|
|
888
|
-
options?: __HttpHandlerOptions
|
|
889
|
-
): Promise<DescribeFileSystemAliasesCommandOutput>;
|
|
890
|
-
public describeFileSystemAliases(
|
|
891
|
-
args: DescribeFileSystemAliasesCommandInput,
|
|
892
|
-
cb: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void
|
|
893
|
-
): void;
|
|
894
|
-
public describeFileSystemAliases(
|
|
895
|
-
args: DescribeFileSystemAliasesCommandInput,
|
|
896
|
-
options: __HttpHandlerOptions,
|
|
897
|
-
cb: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void
|
|
898
|
-
): void;
|
|
899
|
-
public describeFileSystemAliases(
|
|
900
|
-
args: DescribeFileSystemAliasesCommandInput,
|
|
901
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemAliasesCommandOutput) => void),
|
|
902
|
-
cb?: (err: any, data?: DescribeFileSystemAliasesCommandOutput) => void
|
|
903
|
-
): Promise<DescribeFileSystemAliasesCommandOutput> | void {
|
|
904
|
-
const command = new DescribeFileSystemAliasesCommand(args);
|
|
905
|
-
if (typeof optionsOrCb === "function") {
|
|
906
|
-
this.send(command, optionsOrCb);
|
|
907
|
-
} else if (typeof cb === "function") {
|
|
908
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
909
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
910
|
-
} else {
|
|
911
|
-
return this.send(command, optionsOrCb);
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* <p>Returns the description of specific Amazon FSx file systems, if a
|
|
917
|
-
* <code>FileSystemIds</code> value is provided for that file system. Otherwise, it
|
|
918
|
-
* returns descriptions of all file systems owned by your Amazon Web Services account in
|
|
919
|
-
* the Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
920
|
-
*
|
|
921
|
-
* <p>When retrieving all file system descriptions, you can optionally specify the
|
|
922
|
-
* <code>MaxResults</code> parameter to limit the number of descriptions in a response.
|
|
923
|
-
* If more file system descriptions remain, Amazon FSx returns a <code>NextToken</code>
|
|
924
|
-
* value in the response. In this case, send a later request with the
|
|
925
|
-
* <code>NextToken</code> request parameter set to the value of <code>NextToken</code>
|
|
926
|
-
* from the last response.</p>
|
|
927
|
-
*
|
|
928
|
-
* <p>This action is used in an iterative process to retrieve a list of your file system
|
|
929
|
-
* descriptions. <code>DescribeFileSystems</code> is called first without a
|
|
930
|
-
* <code>NextToken</code>value. Then the action continues to be called with the
|
|
931
|
-
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
932
|
-
* value until a response has no <code>NextToken</code>.</p>
|
|
933
|
-
*
|
|
934
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
935
|
-
* <ul>
|
|
936
|
-
* <li>
|
|
937
|
-
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
938
|
-
* system descriptions while still including a <code>NextToken</code>
|
|
939
|
-
* value.</p>
|
|
940
|
-
*
|
|
941
|
-
* </li>
|
|
942
|
-
* <li>
|
|
943
|
-
* <p>The order of file systems returned in the response of one
|
|
944
|
-
* <code>DescribeFileSystems</code> call and the order of file systems returned
|
|
945
|
-
* across the responses of a multicall iteration is unspecified.</p>
|
|
946
|
-
* </li>
|
|
947
|
-
* </ul>
|
|
948
|
-
*/
|
|
949
|
-
public describeFileSystems(
|
|
950
|
-
args: DescribeFileSystemsCommandInput,
|
|
951
|
-
options?: __HttpHandlerOptions
|
|
952
|
-
): Promise<DescribeFileSystemsCommandOutput>;
|
|
953
|
-
public describeFileSystems(
|
|
954
|
-
args: DescribeFileSystemsCommandInput,
|
|
955
|
-
cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
956
|
-
): void;
|
|
957
|
-
public describeFileSystems(
|
|
958
|
-
args: DescribeFileSystemsCommandInput,
|
|
959
|
-
options: __HttpHandlerOptions,
|
|
960
|
-
cb: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
961
|
-
): void;
|
|
962
|
-
public describeFileSystems(
|
|
963
|
-
args: DescribeFileSystemsCommandInput,
|
|
964
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFileSystemsCommandOutput) => void),
|
|
965
|
-
cb?: (err: any, data?: DescribeFileSystemsCommandOutput) => void
|
|
966
|
-
): Promise<DescribeFileSystemsCommandOutput> | void {
|
|
967
|
-
const command = new DescribeFileSystemsCommand(args);
|
|
968
|
-
if (typeof optionsOrCb === "function") {
|
|
969
|
-
this.send(command, optionsOrCb);
|
|
970
|
-
} else if (typeof cb === "function") {
|
|
971
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
972
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
973
|
-
} else {
|
|
974
|
-
return this.send(command, optionsOrCb);
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* <p>Describes one or more Amazon FSx for NetApp ONTAP storage virtual machines (SVMs).</p>
|
|
980
|
-
*/
|
|
981
|
-
public describeStorageVirtualMachines(
|
|
982
|
-
args: DescribeStorageVirtualMachinesCommandInput,
|
|
983
|
-
options?: __HttpHandlerOptions
|
|
984
|
-
): Promise<DescribeStorageVirtualMachinesCommandOutput>;
|
|
985
|
-
public describeStorageVirtualMachines(
|
|
986
|
-
args: DescribeStorageVirtualMachinesCommandInput,
|
|
987
|
-
cb: (err: any, data?: DescribeStorageVirtualMachinesCommandOutput) => void
|
|
988
|
-
): void;
|
|
989
|
-
public describeStorageVirtualMachines(
|
|
990
|
-
args: DescribeStorageVirtualMachinesCommandInput,
|
|
991
|
-
options: __HttpHandlerOptions,
|
|
992
|
-
cb: (err: any, data?: DescribeStorageVirtualMachinesCommandOutput) => void
|
|
993
|
-
): void;
|
|
994
|
-
public describeStorageVirtualMachines(
|
|
995
|
-
args: DescribeStorageVirtualMachinesCommandInput,
|
|
996
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeStorageVirtualMachinesCommandOutput) => void),
|
|
997
|
-
cb?: (err: any, data?: DescribeStorageVirtualMachinesCommandOutput) => void
|
|
998
|
-
): Promise<DescribeStorageVirtualMachinesCommandOutput> | void {
|
|
999
|
-
const command = new DescribeStorageVirtualMachinesCommand(args);
|
|
1000
|
-
if (typeof optionsOrCb === "function") {
|
|
1001
|
-
this.send(command, optionsOrCb);
|
|
1002
|
-
} else if (typeof cb === "function") {
|
|
1003
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1004
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1005
|
-
} else {
|
|
1006
|
-
return this.send(command, optionsOrCb);
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
/**
|
|
1011
|
-
* <p>Describes one or more Amazon FSx for NetApp ONTAP volumes.</p>
|
|
1012
|
-
*/
|
|
1013
|
-
public describeVolumes(
|
|
1014
|
-
args: DescribeVolumesCommandInput,
|
|
1015
|
-
options?: __HttpHandlerOptions
|
|
1016
|
-
): Promise<DescribeVolumesCommandOutput>;
|
|
1017
|
-
public describeVolumes(
|
|
1018
|
-
args: DescribeVolumesCommandInput,
|
|
1019
|
-
cb: (err: any, data?: DescribeVolumesCommandOutput) => void
|
|
1020
|
-
): void;
|
|
1021
|
-
public describeVolumes(
|
|
1022
|
-
args: DescribeVolumesCommandInput,
|
|
1023
|
-
options: __HttpHandlerOptions,
|
|
1024
|
-
cb: (err: any, data?: DescribeVolumesCommandOutput) => void
|
|
1025
|
-
): void;
|
|
1026
|
-
public describeVolumes(
|
|
1027
|
-
args: DescribeVolumesCommandInput,
|
|
1028
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeVolumesCommandOutput) => void),
|
|
1029
|
-
cb?: (err: any, data?: DescribeVolumesCommandOutput) => void
|
|
1030
|
-
): Promise<DescribeVolumesCommandOutput> | void {
|
|
1031
|
-
const command = new DescribeVolumesCommand(args);
|
|
1032
|
-
if (typeof optionsOrCb === "function") {
|
|
1033
|
-
this.send(command, optionsOrCb);
|
|
1034
|
-
} else if (typeof cb === "function") {
|
|
1035
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1036
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1037
|
-
} else {
|
|
1038
|
-
return this.send(command, optionsOrCb);
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* <p>Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases
|
|
1044
|
-
* from an Amazon FSx for Windows File Server file system. If you attempt to disassociate a DNS alias that is not
|
|
1045
|
-
* associated with the file system, Amazon FSx responds with a 400 Bad Request. For more information, see
|
|
1046
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working with DNS Aliases</a>.</p>
|
|
1047
|
-
* <p>The system generated response showing the DNS aliases that
|
|
1048
|
-
* Amazon FSx is attempting to disassociate from the file system.
|
|
1049
|
-
* Use the API
|
|
1050
|
-
* operation to monitor the status of the aliases Amazon FSx is
|
|
1051
|
-
* disassociating with the file system.</p>
|
|
1052
|
-
*/
|
|
1053
|
-
public disassociateFileSystemAliases(
|
|
1054
|
-
args: DisassociateFileSystemAliasesCommandInput,
|
|
1055
|
-
options?: __HttpHandlerOptions
|
|
1056
|
-
): Promise<DisassociateFileSystemAliasesCommandOutput>;
|
|
1057
|
-
public disassociateFileSystemAliases(
|
|
1058
|
-
args: DisassociateFileSystemAliasesCommandInput,
|
|
1059
|
-
cb: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void
|
|
1060
|
-
): void;
|
|
1061
|
-
public disassociateFileSystemAliases(
|
|
1062
|
-
args: DisassociateFileSystemAliasesCommandInput,
|
|
1063
|
-
options: __HttpHandlerOptions,
|
|
1064
|
-
cb: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void
|
|
1065
|
-
): void;
|
|
1066
|
-
public disassociateFileSystemAliases(
|
|
1067
|
-
args: DisassociateFileSystemAliasesCommandInput,
|
|
1068
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void),
|
|
1069
|
-
cb?: (err: any, data?: DisassociateFileSystemAliasesCommandOutput) => void
|
|
1070
|
-
): Promise<DisassociateFileSystemAliasesCommandOutput> | void {
|
|
1071
|
-
const command = new DisassociateFileSystemAliasesCommand(args);
|
|
1072
|
-
if (typeof optionsOrCb === "function") {
|
|
1073
|
-
this.send(command, optionsOrCb);
|
|
1074
|
-
} else if (typeof cb === "function") {
|
|
1075
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1076
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1077
|
-
} else {
|
|
1078
|
-
return this.send(command, optionsOrCb);
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* <p>Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for
|
|
1084
|
-
* Windows File Server.</p>
|
|
1085
|
-
*
|
|
1086
|
-
* <p>When retrieving all tags, you can optionally specify the <code>MaxResults</code>
|
|
1087
|
-
* parameter to limit the number of tags in a response. If more tags remain, Amazon FSx
|
|
1088
|
-
* returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
1089
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
1090
|
-
* <code>NextToken</code> from the last response.</p>
|
|
1091
|
-
*
|
|
1092
|
-
* <p>This action is used in an iterative process to retrieve a list of your tags.
|
|
1093
|
-
* <code>ListTagsForResource</code> is called first without a
|
|
1094
|
-
* <code>NextToken</code>value. Then the action continues to be called with the
|
|
1095
|
-
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
1096
|
-
* value until a response has no <code>NextToken</code>.</p>
|
|
1097
|
-
*
|
|
1098
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
1099
|
-
* <ul>
|
|
1100
|
-
* <li>
|
|
1101
|
-
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
1102
|
-
* system descriptions while still including a <code>NextToken</code>
|
|
1103
|
-
* value.</p>
|
|
1104
|
-
*
|
|
1105
|
-
* </li>
|
|
1106
|
-
* <li>
|
|
1107
|
-
* <p>The order of tags returned in the response of one
|
|
1108
|
-
* <code>ListTagsForResource</code> call and the order of tags returned across
|
|
1109
|
-
* the responses of a multi-call iteration is unspecified.</p>
|
|
1110
|
-
* </li>
|
|
1111
|
-
* </ul>
|
|
1112
|
-
*/
|
|
1113
|
-
public listTagsForResource(
|
|
1114
|
-
args: ListTagsForResourceCommandInput,
|
|
1115
|
-
options?: __HttpHandlerOptions
|
|
1116
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1117
|
-
public listTagsForResource(
|
|
1118
|
-
args: ListTagsForResourceCommandInput,
|
|
1119
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1120
|
-
): void;
|
|
1121
|
-
public listTagsForResource(
|
|
1122
|
-
args: ListTagsForResourceCommandInput,
|
|
1123
|
-
options: __HttpHandlerOptions,
|
|
1124
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1125
|
-
): void;
|
|
1126
|
-
public listTagsForResource(
|
|
1127
|
-
args: ListTagsForResourceCommandInput,
|
|
1128
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1129
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1130
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1131
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1132
|
-
if (typeof optionsOrCb === "function") {
|
|
1133
|
-
this.send(command, optionsOrCb);
|
|
1134
|
-
} else if (typeof cb === "function") {
|
|
1135
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1137
|
-
} else {
|
|
1138
|
-
return this.send(command, optionsOrCb);
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* <p>Tags an Amazon FSx resource.</p>
|
|
1144
|
-
*/
|
|
1145
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1146
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1147
|
-
public tagResource(
|
|
1148
|
-
args: TagResourceCommandInput,
|
|
1149
|
-
options: __HttpHandlerOptions,
|
|
1150
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1151
|
-
): void;
|
|
1152
|
-
public tagResource(
|
|
1153
|
-
args: TagResourceCommandInput,
|
|
1154
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1155
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1156
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1157
|
-
const command = new TagResourceCommand(args);
|
|
1158
|
-
if (typeof optionsOrCb === "function") {
|
|
1159
|
-
this.send(command, optionsOrCb);
|
|
1160
|
-
} else if (typeof cb === "function") {
|
|
1161
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1162
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1163
|
-
} else {
|
|
1164
|
-
return this.send(command, optionsOrCb);
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* <p>This action removes a tag from an Amazon FSx resource.</p>
|
|
1170
|
-
*/
|
|
1171
|
-
public untagResource(
|
|
1172
|
-
args: UntagResourceCommandInput,
|
|
1173
|
-
options?: __HttpHandlerOptions
|
|
1174
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1175
|
-
public untagResource(
|
|
1176
|
-
args: UntagResourceCommandInput,
|
|
1177
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1178
|
-
): void;
|
|
1179
|
-
public untagResource(
|
|
1180
|
-
args: UntagResourceCommandInput,
|
|
1181
|
-
options: __HttpHandlerOptions,
|
|
1182
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1183
|
-
): void;
|
|
1184
|
-
public untagResource(
|
|
1185
|
-
args: UntagResourceCommandInput,
|
|
1186
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1187
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1188
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1189
|
-
const command = new UntagResourceCommand(args);
|
|
1190
|
-
if (typeof optionsOrCb === "function") {
|
|
1191
|
-
this.send(command, optionsOrCb);
|
|
1192
|
-
} else if (typeof cb === "function") {
|
|
1193
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1194
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1195
|
-
} else {
|
|
1196
|
-
return this.send(command, optionsOrCb);
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
/**
|
|
1201
|
-
* <p>Use this operation to update the configuration of an existing Amazon FSx file system.
|
|
1202
|
-
* You can update multiple properties in a single request.</p>
|
|
1203
|
-
* <p>For Amazon FSx for Windows File Server file systems, you can update the following
|
|
1204
|
-
* properties:</p>
|
|
1205
|
-
* <ul>
|
|
1206
|
-
* <li>
|
|
1207
|
-
* <p>AuditLogConfiguration</p>
|
|
1208
|
-
* </li>
|
|
1209
|
-
* <li>
|
|
1210
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
1211
|
-
* </li>
|
|
1212
|
-
* <li>
|
|
1213
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
1214
|
-
* </li>
|
|
1215
|
-
* <li>
|
|
1216
|
-
* <p>SelfManagedActiveDirectoryConfiguration</p>
|
|
1217
|
-
* </li>
|
|
1218
|
-
* <li>
|
|
1219
|
-
* <p>StorageCapacity</p>
|
|
1220
|
-
* </li>
|
|
1221
|
-
* <li>
|
|
1222
|
-
* <p>ThroughputCapacity</p>
|
|
1223
|
-
* </li>
|
|
1224
|
-
* <li>
|
|
1225
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
1226
|
-
* </li>
|
|
1227
|
-
* </ul>
|
|
1228
|
-
* <p>For Amazon FSx for Lustre file systems, you can update the following
|
|
1229
|
-
* properties:</p>
|
|
1230
|
-
* <ul>
|
|
1231
|
-
* <li>
|
|
1232
|
-
* <p>AutoImportPolicy</p>
|
|
1233
|
-
* </li>
|
|
1234
|
-
* <li>
|
|
1235
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
1236
|
-
* </li>
|
|
1237
|
-
* <li>
|
|
1238
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
1239
|
-
* </li>
|
|
1240
|
-
* <li>
|
|
1241
|
-
* <p>DataCompressionType</p>
|
|
1242
|
-
* </li>
|
|
1243
|
-
* <li>
|
|
1244
|
-
* <p>StorageCapacity</p>
|
|
1245
|
-
* </li>
|
|
1246
|
-
* <li>
|
|
1247
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
1248
|
-
* </li>
|
|
1249
|
-
* </ul>
|
|
1250
|
-
* <p>For Amazon FSx for NetApp ONTAP file systems, you can update the following
|
|
1251
|
-
* properties:</p>
|
|
1252
|
-
* <ul>
|
|
1253
|
-
* <li>
|
|
1254
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
1255
|
-
* </li>
|
|
1256
|
-
* <li>
|
|
1257
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
1258
|
-
* </li>
|
|
1259
|
-
* <li>
|
|
1260
|
-
* <p>FsxAdminPassword</p>
|
|
1261
|
-
* </li>
|
|
1262
|
-
* <li>
|
|
1263
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
1264
|
-
* </li>
|
|
1265
|
-
* </ul>
|
|
1266
|
-
*/
|
|
1267
|
-
public updateFileSystem(
|
|
1268
|
-
args: UpdateFileSystemCommandInput,
|
|
1269
|
-
options?: __HttpHandlerOptions
|
|
1270
|
-
): Promise<UpdateFileSystemCommandOutput>;
|
|
1271
|
-
public updateFileSystem(
|
|
1272
|
-
args: UpdateFileSystemCommandInput,
|
|
1273
|
-
cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1274
|
-
): void;
|
|
1275
|
-
public updateFileSystem(
|
|
1276
|
-
args: UpdateFileSystemCommandInput,
|
|
1277
|
-
options: __HttpHandlerOptions,
|
|
1278
|
-
cb: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1279
|
-
): void;
|
|
1280
|
-
public updateFileSystem(
|
|
1281
|
-
args: UpdateFileSystemCommandInput,
|
|
1282
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFileSystemCommandOutput) => void),
|
|
1283
|
-
cb?: (err: any, data?: UpdateFileSystemCommandOutput) => void
|
|
1284
|
-
): Promise<UpdateFileSystemCommandOutput> | void {
|
|
1285
|
-
const command = new UpdateFileSystemCommand(args);
|
|
1286
|
-
if (typeof optionsOrCb === "function") {
|
|
1287
|
-
this.send(command, optionsOrCb);
|
|
1288
|
-
} else if (typeof cb === "function") {
|
|
1289
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1291
|
-
} else {
|
|
1292
|
-
return this.send(command, optionsOrCb);
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* <p>Updates an Amazon FSx for ONTAP storage virtual machine (SVM).</p>
|
|
1298
|
-
*/
|
|
1299
|
-
public updateStorageVirtualMachine(
|
|
1300
|
-
args: UpdateStorageVirtualMachineCommandInput,
|
|
1301
|
-
options?: __HttpHandlerOptions
|
|
1302
|
-
): Promise<UpdateStorageVirtualMachineCommandOutput>;
|
|
1303
|
-
public updateStorageVirtualMachine(
|
|
1304
|
-
args: UpdateStorageVirtualMachineCommandInput,
|
|
1305
|
-
cb: (err: any, data?: UpdateStorageVirtualMachineCommandOutput) => void
|
|
1306
|
-
): void;
|
|
1307
|
-
public updateStorageVirtualMachine(
|
|
1308
|
-
args: UpdateStorageVirtualMachineCommandInput,
|
|
1309
|
-
options: __HttpHandlerOptions,
|
|
1310
|
-
cb: (err: any, data?: UpdateStorageVirtualMachineCommandOutput) => void
|
|
1311
|
-
): void;
|
|
1312
|
-
public updateStorageVirtualMachine(
|
|
1313
|
-
args: UpdateStorageVirtualMachineCommandInput,
|
|
1314
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateStorageVirtualMachineCommandOutput) => void),
|
|
1315
|
-
cb?: (err: any, data?: UpdateStorageVirtualMachineCommandOutput) => void
|
|
1316
|
-
): Promise<UpdateStorageVirtualMachineCommandOutput> | void {
|
|
1317
|
-
const command = new UpdateStorageVirtualMachineCommand(args);
|
|
1318
|
-
if (typeof optionsOrCb === "function") {
|
|
1319
|
-
this.send(command, optionsOrCb);
|
|
1320
|
-
} else if (typeof cb === "function") {
|
|
1321
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1322
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1323
|
-
} else {
|
|
1324
|
-
return this.send(command, optionsOrCb);
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* <p>Updates an Amazon FSx for NetApp ONTAP volume's configuration.</p>
|
|
1330
|
-
*/
|
|
1331
|
-
public updateVolume(
|
|
1332
|
-
args: UpdateVolumeCommandInput,
|
|
1333
|
-
options?: __HttpHandlerOptions
|
|
1334
|
-
): Promise<UpdateVolumeCommandOutput>;
|
|
1335
|
-
public updateVolume(args: UpdateVolumeCommandInput, cb: (err: any, data?: UpdateVolumeCommandOutput) => void): void;
|
|
1336
|
-
public updateVolume(
|
|
1337
|
-
args: UpdateVolumeCommandInput,
|
|
1338
|
-
options: __HttpHandlerOptions,
|
|
1339
|
-
cb: (err: any, data?: UpdateVolumeCommandOutput) => void
|
|
1340
|
-
): void;
|
|
1341
|
-
public updateVolume(
|
|
1342
|
-
args: UpdateVolumeCommandInput,
|
|
1343
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateVolumeCommandOutput) => void),
|
|
1344
|
-
cb?: (err: any, data?: UpdateVolumeCommandOutput) => void
|
|
1345
|
-
): Promise<UpdateVolumeCommandOutput> | void {
|
|
1346
|
-
const command = new UpdateVolumeCommand(args);
|
|
1347
|
-
if (typeof optionsOrCb === "function") {
|
|
1348
|
-
this.send(command, optionsOrCb);
|
|
1349
|
-
} else if (typeof cb === "function") {
|
|
1350
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1351
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1352
|
-
} else {
|
|
1353
|
-
return this.send(command, optionsOrCb);
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
}
|