@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/FSxClient.ts
DELETED
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
AssociateFileSystemAliasesCommandInput,
|
|
54
|
-
AssociateFileSystemAliasesCommandOutput,
|
|
55
|
-
} from "./commands/AssociateFileSystemAliasesCommand";
|
|
56
|
-
import {
|
|
57
|
-
CancelDataRepositoryTaskCommandInput,
|
|
58
|
-
CancelDataRepositoryTaskCommandOutput,
|
|
59
|
-
} from "./commands/CancelDataRepositoryTaskCommand";
|
|
60
|
-
import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/CopyBackupCommand";
|
|
61
|
-
import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand";
|
|
62
|
-
import {
|
|
63
|
-
CreateDataRepositoryTaskCommandInput,
|
|
64
|
-
CreateDataRepositoryTaskCommandOutput,
|
|
65
|
-
} from "./commands/CreateDataRepositoryTaskCommand";
|
|
66
|
-
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
67
|
-
import {
|
|
68
|
-
CreateFileSystemFromBackupCommandInput,
|
|
69
|
-
CreateFileSystemFromBackupCommandOutput,
|
|
70
|
-
} from "./commands/CreateFileSystemFromBackupCommand";
|
|
71
|
-
import {
|
|
72
|
-
CreateStorageVirtualMachineCommandInput,
|
|
73
|
-
CreateStorageVirtualMachineCommandOutput,
|
|
74
|
-
} from "./commands/CreateStorageVirtualMachineCommand";
|
|
75
|
-
import { CreateVolumeCommandInput, CreateVolumeCommandOutput } from "./commands/CreateVolumeCommand";
|
|
76
|
-
import {
|
|
77
|
-
CreateVolumeFromBackupCommandInput,
|
|
78
|
-
CreateVolumeFromBackupCommandOutput,
|
|
79
|
-
} from "./commands/CreateVolumeFromBackupCommand";
|
|
80
|
-
import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand";
|
|
81
|
-
import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
82
|
-
import {
|
|
83
|
-
DeleteStorageVirtualMachineCommandInput,
|
|
84
|
-
DeleteStorageVirtualMachineCommandOutput,
|
|
85
|
-
} from "./commands/DeleteStorageVirtualMachineCommand";
|
|
86
|
-
import { DeleteVolumeCommandInput, DeleteVolumeCommandOutput } from "./commands/DeleteVolumeCommand";
|
|
87
|
-
import { DescribeBackupsCommandInput, DescribeBackupsCommandOutput } from "./commands/DescribeBackupsCommand";
|
|
88
|
-
import {
|
|
89
|
-
DescribeDataRepositoryTasksCommandInput,
|
|
90
|
-
DescribeDataRepositoryTasksCommandOutput,
|
|
91
|
-
} from "./commands/DescribeDataRepositoryTasksCommand";
|
|
92
|
-
import {
|
|
93
|
-
DescribeFileSystemAliasesCommandInput,
|
|
94
|
-
DescribeFileSystemAliasesCommandOutput,
|
|
95
|
-
} from "./commands/DescribeFileSystemAliasesCommand";
|
|
96
|
-
import {
|
|
97
|
-
DescribeFileSystemsCommandInput,
|
|
98
|
-
DescribeFileSystemsCommandOutput,
|
|
99
|
-
} from "./commands/DescribeFileSystemsCommand";
|
|
100
|
-
import {
|
|
101
|
-
DescribeStorageVirtualMachinesCommandInput,
|
|
102
|
-
DescribeStorageVirtualMachinesCommandOutput,
|
|
103
|
-
} from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
104
|
-
import { DescribeVolumesCommandInput, DescribeVolumesCommandOutput } from "./commands/DescribeVolumesCommand";
|
|
105
|
-
import {
|
|
106
|
-
DisassociateFileSystemAliasesCommandInput,
|
|
107
|
-
DisassociateFileSystemAliasesCommandOutput,
|
|
108
|
-
} from "./commands/DisassociateFileSystemAliasesCommand";
|
|
109
|
-
import {
|
|
110
|
-
ListTagsForResourceCommandInput,
|
|
111
|
-
ListTagsForResourceCommandOutput,
|
|
112
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
113
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
114
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
115
|
-
import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
|
|
116
|
-
import {
|
|
117
|
-
UpdateStorageVirtualMachineCommandInput,
|
|
118
|
-
UpdateStorageVirtualMachineCommandOutput,
|
|
119
|
-
} from "./commands/UpdateStorageVirtualMachineCommand";
|
|
120
|
-
import { UpdateVolumeCommandInput, UpdateVolumeCommandOutput } from "./commands/UpdateVolumeCommand";
|
|
121
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
122
|
-
|
|
123
|
-
export type ServiceInputTypes =
|
|
124
|
-
| AssociateFileSystemAliasesCommandInput
|
|
125
|
-
| CancelDataRepositoryTaskCommandInput
|
|
126
|
-
| CopyBackupCommandInput
|
|
127
|
-
| CreateBackupCommandInput
|
|
128
|
-
| CreateDataRepositoryTaskCommandInput
|
|
129
|
-
| CreateFileSystemCommandInput
|
|
130
|
-
| CreateFileSystemFromBackupCommandInput
|
|
131
|
-
| CreateStorageVirtualMachineCommandInput
|
|
132
|
-
| CreateVolumeCommandInput
|
|
133
|
-
| CreateVolumeFromBackupCommandInput
|
|
134
|
-
| DeleteBackupCommandInput
|
|
135
|
-
| DeleteFileSystemCommandInput
|
|
136
|
-
| DeleteStorageVirtualMachineCommandInput
|
|
137
|
-
| DeleteVolumeCommandInput
|
|
138
|
-
| DescribeBackupsCommandInput
|
|
139
|
-
| DescribeDataRepositoryTasksCommandInput
|
|
140
|
-
| DescribeFileSystemAliasesCommandInput
|
|
141
|
-
| DescribeFileSystemsCommandInput
|
|
142
|
-
| DescribeStorageVirtualMachinesCommandInput
|
|
143
|
-
| DescribeVolumesCommandInput
|
|
144
|
-
| DisassociateFileSystemAliasesCommandInput
|
|
145
|
-
| ListTagsForResourceCommandInput
|
|
146
|
-
| TagResourceCommandInput
|
|
147
|
-
| UntagResourceCommandInput
|
|
148
|
-
| UpdateFileSystemCommandInput
|
|
149
|
-
| UpdateStorageVirtualMachineCommandInput
|
|
150
|
-
| UpdateVolumeCommandInput;
|
|
151
|
-
|
|
152
|
-
export type ServiceOutputTypes =
|
|
153
|
-
| AssociateFileSystemAliasesCommandOutput
|
|
154
|
-
| CancelDataRepositoryTaskCommandOutput
|
|
155
|
-
| CopyBackupCommandOutput
|
|
156
|
-
| CreateBackupCommandOutput
|
|
157
|
-
| CreateDataRepositoryTaskCommandOutput
|
|
158
|
-
| CreateFileSystemCommandOutput
|
|
159
|
-
| CreateFileSystemFromBackupCommandOutput
|
|
160
|
-
| CreateStorageVirtualMachineCommandOutput
|
|
161
|
-
| CreateVolumeCommandOutput
|
|
162
|
-
| CreateVolumeFromBackupCommandOutput
|
|
163
|
-
| DeleteBackupCommandOutput
|
|
164
|
-
| DeleteFileSystemCommandOutput
|
|
165
|
-
| DeleteStorageVirtualMachineCommandOutput
|
|
166
|
-
| DeleteVolumeCommandOutput
|
|
167
|
-
| DescribeBackupsCommandOutput
|
|
168
|
-
| DescribeDataRepositoryTasksCommandOutput
|
|
169
|
-
| DescribeFileSystemAliasesCommandOutput
|
|
170
|
-
| DescribeFileSystemsCommandOutput
|
|
171
|
-
| DescribeStorageVirtualMachinesCommandOutput
|
|
172
|
-
| DescribeVolumesCommandOutput
|
|
173
|
-
| DisassociateFileSystemAliasesCommandOutput
|
|
174
|
-
| ListTagsForResourceCommandOutput
|
|
175
|
-
| TagResourceCommandOutput
|
|
176
|
-
| UntagResourceCommandOutput
|
|
177
|
-
| UpdateFileSystemCommandOutput
|
|
178
|
-
| UpdateStorageVirtualMachineCommandOutput
|
|
179
|
-
| UpdateVolumeCommandOutput;
|
|
180
|
-
|
|
181
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
182
|
-
/**
|
|
183
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
184
|
-
*/
|
|
185
|
-
requestHandler?: __HttpHandler;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
189
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
sha256?: __HashConstructor;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
urlParser?: __UrlParser;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* A function that can calculate the length of a request body.
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* A function that converts a stream into an array of bytes.
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
streamCollector?: __StreamCollector;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
base64Decoder?: __Decoder;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
220
|
-
* @internal
|
|
221
|
-
*/
|
|
222
|
-
base64Encoder?: __Encoder;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
226
|
-
* @internal
|
|
227
|
-
*/
|
|
228
|
-
utf8Decoder?: __Decoder;
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
utf8Encoder?: __Encoder;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* The runtime environment.
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
runtime?: string;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
244
|
-
* trait of an operation.
|
|
245
|
-
*/
|
|
246
|
-
disableHostPrefix?: boolean;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
250
|
-
*/
|
|
251
|
-
maxAttempts?: number | __Provider<number>;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Specifies which retry algorithm to use.
|
|
255
|
-
*/
|
|
256
|
-
retryMode?: string | __Provider<string>;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Optional logger for logging debug/info/warn/error.
|
|
260
|
-
*/
|
|
261
|
-
logger?: __Logger;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Unique service identifier.
|
|
265
|
-
* @internal
|
|
266
|
-
*/
|
|
267
|
-
serviceId?: string;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* The AWS region to which this client will send requests
|
|
271
|
-
*/
|
|
272
|
-
region?: string | __Provider<string>;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Default credentials provider; Not available in browser runtime.
|
|
276
|
-
* @internal
|
|
277
|
-
*/
|
|
278
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
288
|
-
* @internal
|
|
289
|
-
*/
|
|
290
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
type FSxClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
294
|
-
ClientDefaults &
|
|
295
|
-
RegionInputConfig &
|
|
296
|
-
EndpointsInputConfig &
|
|
297
|
-
RetryInputConfig &
|
|
298
|
-
HostHeaderInputConfig &
|
|
299
|
-
AwsAuthInputConfig &
|
|
300
|
-
UserAgentInputConfig;
|
|
301
|
-
/**
|
|
302
|
-
* The configuration interface of FSxClient class constructor that set the region, credentials and other options.
|
|
303
|
-
*/
|
|
304
|
-
export interface FSxClientConfig extends FSxClientConfigType {}
|
|
305
|
-
|
|
306
|
-
type FSxClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
307
|
-
Required<ClientDefaults> &
|
|
308
|
-
RegionResolvedConfig &
|
|
309
|
-
EndpointsResolvedConfig &
|
|
310
|
-
RetryResolvedConfig &
|
|
311
|
-
HostHeaderResolvedConfig &
|
|
312
|
-
AwsAuthResolvedConfig &
|
|
313
|
-
UserAgentResolvedConfig;
|
|
314
|
-
/**
|
|
315
|
-
* The resolved configuration interface of FSxClient class. This is resolved and normalized from the {@link FSxClientConfig | constructor configuration interface}.
|
|
316
|
-
*/
|
|
317
|
-
export interface FSxClientResolvedConfig extends FSxClientResolvedConfigType {}
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* <p>Amazon FSx is a fully managed service that makes it easy for storage and
|
|
321
|
-
* application administrators to launch and use shared file storage.</p>
|
|
322
|
-
*/
|
|
323
|
-
export class FSxClient extends __Client<
|
|
324
|
-
__HttpHandlerOptions,
|
|
325
|
-
ServiceInputTypes,
|
|
326
|
-
ServiceOutputTypes,
|
|
327
|
-
FSxClientResolvedConfig
|
|
328
|
-
> {
|
|
329
|
-
/**
|
|
330
|
-
* The resolved configuration of FSxClient class. This is resolved and normalized from the {@link FSxClientConfig | constructor configuration interface}.
|
|
331
|
-
*/
|
|
332
|
-
readonly config: FSxClientResolvedConfig;
|
|
333
|
-
|
|
334
|
-
constructor(configuration: FSxClientConfig) {
|
|
335
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
336
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
337
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
338
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
339
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
340
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
341
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
342
|
-
super(_config_6);
|
|
343
|
-
this.config = _config_6;
|
|
344
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
345
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
346
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
347
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
348
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
349
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
354
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
355
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
356
|
-
*/
|
|
357
|
-
destroy(): void {
|
|
358
|
-
super.destroy();
|
|
359
|
-
}
|
|
360
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
15
|
-
import { AssociateFileSystemAliasesRequest, AssociateFileSystemAliasesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1AssociateFileSystemAliasesCommand,
|
|
18
|
-
serializeAws_json1_1AssociateFileSystemAliasesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface AssociateFileSystemAliasesCommandInput extends AssociateFileSystemAliasesRequest {}
|
|
22
|
-
export interface AssociateFileSystemAliasesCommandOutput extends AssociateFileSystemAliasesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <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.
|
|
26
|
-
* A file system can have a maximum of 50 DNS aliases associated with it at any one time. If you try to
|
|
27
|
-
* associate a DNS alias that is already associated with the file system, FSx takes no action on that alias in the request.
|
|
28
|
-
* For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working with DNS Aliases</a> and
|
|
29
|
-
* <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
|
|
30
|
-
* additional steps you must take to be able to access your file system using a DNS alias.</p>
|
|
31
|
-
* <p>The system response shows the DNS aliases that
|
|
32
|
-
* Amazon FSx is attempting to associate with the file system.
|
|
33
|
-
* Use the API
|
|
34
|
-
* operation to monitor the status of the aliases Amazon FSx is
|
|
35
|
-
* associating with the file system.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { FSxClient, AssociateFileSystemAliasesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
40
|
-
* // const { FSxClient, AssociateFileSystemAliasesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
41
|
-
* const client = new FSxClient(config);
|
|
42
|
-
* const command = new AssociateFileSystemAliasesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link AssociateFileSystemAliasesCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link AssociateFileSystemAliasesCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class AssociateFileSystemAliasesCommand extends $Command<
|
|
52
|
-
AssociateFileSystemAliasesCommandInput,
|
|
53
|
-
AssociateFileSystemAliasesCommandOutput,
|
|
54
|
-
FSxClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: AssociateFileSystemAliasesCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: FSxClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<AssociateFileSystemAliasesCommandInput, AssociateFileSystemAliasesCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "FSxClient";
|
|
79
|
-
const commandName = "AssociateFileSystemAliasesCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: AssociateFileSystemAliasesRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: AssociateFileSystemAliasesResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: AssociateFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1AssociateFileSystemAliasesCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<AssociateFileSystemAliasesCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_1AssociateFileSystemAliasesCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
15
|
-
import { CancelDataRepositoryTaskRequest, CancelDataRepositoryTaskResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CancelDataRepositoryTaskCommand,
|
|
18
|
-
serializeAws_json1_1CancelDataRepositoryTaskCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CancelDataRepositoryTaskCommandInput extends CancelDataRepositoryTaskRequest {}
|
|
22
|
-
export interface CancelDataRepositoryTaskCommandOutput extends CancelDataRepositoryTaskResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the
|
|
26
|
-
* <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel a task, Amazon FSx does the following.</p>
|
|
27
|
-
* <ul>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Any files that FSx has already exported are not reverted.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>FSx continues to export any files that are "in-flight" when the cancel operation is received.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>FSx does not export any files that have not yet been exported.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* </ul>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { FSxClient, CancelDataRepositoryTaskCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
42
|
-
* // const { FSxClient, CancelDataRepositoryTaskCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
43
|
-
* const client = new FSxClient(config);
|
|
44
|
-
* const command = new CancelDataRepositoryTaskCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link CancelDataRepositoryTaskCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link CancelDataRepositoryTaskCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class CancelDataRepositoryTaskCommand extends $Command<
|
|
54
|
-
CancelDataRepositoryTaskCommandInput,
|
|
55
|
-
CancelDataRepositoryTaskCommandOutput,
|
|
56
|
-
FSxClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: CancelDataRepositoryTaskCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: FSxClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<CancelDataRepositoryTaskCommandInput, CancelDataRepositoryTaskCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "FSxClient";
|
|
81
|
-
const commandName = "CancelDataRepositoryTaskCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: CancelDataRepositoryTaskRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: CancelDataRepositoryTaskResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: CancelDataRepositoryTaskCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1CancelDataRepositoryTaskCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelDataRepositoryTaskCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1CancelDataRepositoryTaskCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
15
|
-
import { CopyBackupRequest, CopyBackupResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CopyBackupCommand,
|
|
18
|
-
serializeAws_json1_1CopyBackupCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CopyBackupCommandInput extends CopyBackupRequest {}
|
|
22
|
-
export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Copies an existing backup within the same Amazon Web Services account to another Amazon Web Services Region
|
|
26
|
-
* (cross-Region copy) or within the same Amazon Web Services Region (in-Region copy). You can have up to five
|
|
27
|
-
* backup copy requests in progress to a single destination Region per account.</p>
|
|
28
|
-
* <p>You can use cross-Region backup copies for cross-region disaster recovery.
|
|
29
|
-
* You periodically take backups and copy them to another Region so that in the
|
|
30
|
-
* event of a disaster in the primary Region, you can restore from backup and recover
|
|
31
|
-
* availability quickly in the other Region. You can make cross-Region copies
|
|
32
|
-
* only within your Amazon Web Services partition.</p>
|
|
33
|
-
* <p> You can also use backup copies to clone your file data set to another Region
|
|
34
|
-
* or within the same Region.</p>
|
|
35
|
-
* <p>You can use the <code>SourceRegion</code> parameter to specify the Amazon Web Services Region
|
|
36
|
-
* from which the backup will be copied. For example, if you make the call from the
|
|
37
|
-
* <code>us-west-1</code> Region and want to copy a backup from the <code>us-east-2</code>
|
|
38
|
-
* Region, you specify <code>us-east-2</code> in the <code>SourceRegion</code> parameter
|
|
39
|
-
* to make a cross-Region copy. If you don't specify a Region, the backup copy is
|
|
40
|
-
* created in the same Region where the request is sent from (in-Region copy).</p>
|
|
41
|
-
* <p>For more information on creating backup copies, see
|
|
42
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#copy-backups">
|
|
43
|
-
* Copying backups</a> in the <i>Amazon FSx for Windows User Guide</i> and
|
|
44
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html#copy-backups">Copying backups</a>
|
|
45
|
-
* in the <i>Amazon FSx for Lustre User Guide</i>.</p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { FSxClient, CopyBackupCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
50
|
-
* // const { FSxClient, CopyBackupCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
51
|
-
* const client = new FSxClient(config);
|
|
52
|
-
* const command = new CopyBackupCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link CopyBackupCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link CopyBackupCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class CopyBackupCommand extends $Command<
|
|
62
|
-
CopyBackupCommandInput,
|
|
63
|
-
CopyBackupCommandOutput,
|
|
64
|
-
FSxClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: CopyBackupCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: FSxClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<CopyBackupCommandInput, CopyBackupCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "FSxClient";
|
|
89
|
-
const commandName = "CopyBackupCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: CopyBackupRequest.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: CopyBackupResponse.filterSensitiveLog,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: CopyBackupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_json1_1CopyBackupCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CopyBackupCommandOutput> {
|
|
110
|
-
return deserializeAws_json1_1CopyBackupCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|