@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
|
@@ -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 { DisassociateFileSystemAliasesRequest, DisassociateFileSystemAliasesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DisassociateFileSystemAliasesCommand,
|
|
18
|
-
serializeAws_json1_1DisassociateFileSystemAliasesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DisassociateFileSystemAliasesCommandInput extends DisassociateFileSystemAliasesRequest {}
|
|
22
|
-
export interface DisassociateFileSystemAliasesCommandOutput
|
|
23
|
-
extends DisassociateFileSystemAliasesResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases
|
|
28
|
-
* from an Amazon FSx for Windows File Server file system. If you attempt to disassociate a DNS alias that is not
|
|
29
|
-
* associated with the file system, Amazon FSx responds with a 400 Bad Request. For more information, see
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html">Working with DNS Aliases</a>.</p>
|
|
31
|
-
* <p>The system generated response showing the DNS aliases that
|
|
32
|
-
* Amazon FSx is attempting to disassociate from the file system.
|
|
33
|
-
* Use the API
|
|
34
|
-
* operation to monitor the status of the aliases Amazon FSx is
|
|
35
|
-
* disassociating 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, DisassociateFileSystemAliasesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
40
|
-
* // const { FSxClient, DisassociateFileSystemAliasesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
41
|
-
* const client = new FSxClient(config);
|
|
42
|
-
* const command = new DisassociateFileSystemAliasesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DisassociateFileSystemAliasesCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DisassociateFileSystemAliasesCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class DisassociateFileSystemAliasesCommand extends $Command<
|
|
52
|
-
DisassociateFileSystemAliasesCommandInput,
|
|
53
|
-
DisassociateFileSystemAliasesCommandOutput,
|
|
54
|
-
FSxClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: DisassociateFileSystemAliasesCommandInput) {
|
|
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<DisassociateFileSystemAliasesCommandInput, DisassociateFileSystemAliasesCommandOutput> {
|
|
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 = "DisassociateFileSystemAliasesCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: DisassociateFileSystemAliasesRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: DisassociateFileSystemAliasesResponse.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: DisassociateFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_json1_1DisassociateFileSystemAliasesCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<DisassociateFileSystemAliasesCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_1DisassociateFileSystemAliasesCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,123 +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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists tags for an Amazon FSx file systems and backups in the case of Amazon FSx for
|
|
26
|
-
* Windows File Server.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>When retrieving all tags, you can optionally specify the <code>MaxResults</code>
|
|
29
|
-
* parameter to limit the number of tags in a response. If more tags remain, Amazon FSx
|
|
30
|
-
* returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
31
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
32
|
-
* <code>NextToken</code> from the last response.</p>
|
|
33
|
-
*
|
|
34
|
-
* <p>This action is used in an iterative process to retrieve a list of your tags.
|
|
35
|
-
* <code>ListTagsForResource</code> is called first without a
|
|
36
|
-
* <code>NextToken</code>value. Then the action continues to be called with the
|
|
37
|
-
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
38
|
-
* value until a response has no <code>NextToken</code>.</p>
|
|
39
|
-
*
|
|
40
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
41
|
-
* <ul>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
44
|
-
* system descriptions while still including a <code>NextToken</code>
|
|
45
|
-
* value.</p>
|
|
46
|
-
*
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>The order of tags returned in the response of one
|
|
50
|
-
* <code>ListTagsForResource</code> call and the order of tags returned across
|
|
51
|
-
* the responses of a multi-call iteration is unspecified.</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* </ul>
|
|
54
|
-
* @example
|
|
55
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
56
|
-
* ```javascript
|
|
57
|
-
* import { FSxClient, ListTagsForResourceCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
58
|
-
* // const { FSxClient, ListTagsForResourceCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
59
|
-
* const client = new FSxClient(config);
|
|
60
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
61
|
-
* const response = await client.send(command);
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
65
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
66
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
70
|
-
ListTagsForResourceCommandInput,
|
|
71
|
-
ListTagsForResourceCommandOutput,
|
|
72
|
-
FSxClientResolvedConfig
|
|
73
|
-
> {
|
|
74
|
-
// Start section: command_properties
|
|
75
|
-
// End section: command_properties
|
|
76
|
-
|
|
77
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
78
|
-
// Start section: command_constructor
|
|
79
|
-
super();
|
|
80
|
-
// End section: command_constructor
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
resolveMiddleware(
|
|
87
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
88
|
-
configuration: FSxClientResolvedConfig,
|
|
89
|
-
options?: __HttpHandlerOptions
|
|
90
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
91
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
92
|
-
|
|
93
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
94
|
-
|
|
95
|
-
const { logger } = configuration;
|
|
96
|
-
const clientName = "FSxClient";
|
|
97
|
-
const commandName = "ListTagsForResourceCommand";
|
|
98
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
99
|
-
logger,
|
|
100
|
-
clientName,
|
|
101
|
-
commandName,
|
|
102
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
103
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
104
|
-
};
|
|
105
|
-
const { requestHandler } = configuration;
|
|
106
|
-
return stack.resolve(
|
|
107
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
108
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
109
|
-
handlerExecutionContext
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
114
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
118
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// Start section: command_body_extra
|
|
122
|
-
// End section: command_body_extra
|
|
123
|
-
}
|
|
@@ -1,95 +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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
18
|
-
serializeAws_json1_1TagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Tags an Amazon FSx resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FSxClient, TagResourceCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
30
|
-
* // const { FSxClient, TagResourceCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
31
|
-
* const client = new FSxClient(config);
|
|
32
|
-
* const command = new TagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class TagResourceCommand extends $Command<
|
|
42
|
-
TagResourceCommandInput,
|
|
43
|
-
TagResourceCommandOutput,
|
|
44
|
-
FSxClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FSxClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FSxClient";
|
|
69
|
-
const commandName = "TagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
18
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
22
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This action removes a tag from an Amazon FSx resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FSxClient, UntagResourceCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
30
|
-
* // const { FSxClient, UntagResourceCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
31
|
-
* const client = new FSxClient(config);
|
|
32
|
-
* const command = new UntagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UntagResourceCommand extends $Command<
|
|
42
|
-
UntagResourceCommandInput,
|
|
43
|
-
UntagResourceCommandOutput,
|
|
44
|
-
FSxClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: FSxClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "FSxClient";
|
|
69
|
-
const commandName = "UntagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,159 +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 { UpdateFileSystemRequest, UpdateFileSystemResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateFileSystemCommand,
|
|
18
|
-
serializeAws_json1_1UpdateFileSystemCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateFileSystemCommandInput extends UpdateFileSystemRequest {}
|
|
22
|
-
export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Use this operation to update the configuration of an existing Amazon FSx file system.
|
|
26
|
-
* You can update multiple properties in a single request.</p>
|
|
27
|
-
* <p>For Amazon FSx for Windows File Server file systems, you can update the following
|
|
28
|
-
* properties:</p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>AuditLogConfiguration</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>SelfManagedActiveDirectoryConfiguration</p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>StorageCapacity</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>ThroughputCapacity</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* <p>For Amazon FSx for Lustre file systems, you can update the following
|
|
53
|
-
* properties:</p>
|
|
54
|
-
* <ul>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>AutoImportPolicy</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>DataCompressionType</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>StorageCapacity</p>
|
|
69
|
-
* </li>
|
|
70
|
-
* <li>
|
|
71
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* </ul>
|
|
74
|
-
* <p>For Amazon FSx for NetApp ONTAP file systems, you can update the following
|
|
75
|
-
* properties:</p>
|
|
76
|
-
* <ul>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>AutomaticBackupRetentionDays</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>DailyAutomaticBackupStartTime</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>FsxAdminPassword</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>WeeklyMaintenanceStartTime</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* </ul>
|
|
90
|
-
* @example
|
|
91
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
92
|
-
* ```javascript
|
|
93
|
-
* import { FSxClient, UpdateFileSystemCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
94
|
-
* // const { FSxClient, UpdateFileSystemCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
95
|
-
* const client = new FSxClient(config);
|
|
96
|
-
* const command = new UpdateFileSystemCommand(input);
|
|
97
|
-
* const response = await client.send(command);
|
|
98
|
-
* ```
|
|
99
|
-
*
|
|
100
|
-
* @see {@link UpdateFileSystemCommandInput} for command's `input` shape.
|
|
101
|
-
* @see {@link UpdateFileSystemCommandOutput} for command's `response` shape.
|
|
102
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
export class UpdateFileSystemCommand extends $Command<
|
|
106
|
-
UpdateFileSystemCommandInput,
|
|
107
|
-
UpdateFileSystemCommandOutput,
|
|
108
|
-
FSxClientResolvedConfig
|
|
109
|
-
> {
|
|
110
|
-
// Start section: command_properties
|
|
111
|
-
// End section: command_properties
|
|
112
|
-
|
|
113
|
-
constructor(readonly input: UpdateFileSystemCommandInput) {
|
|
114
|
-
// Start section: command_constructor
|
|
115
|
-
super();
|
|
116
|
-
// End section: command_constructor
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
resolveMiddleware(
|
|
123
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
124
|
-
configuration: FSxClientResolvedConfig,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
126
|
-
): Handler<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput> {
|
|
127
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
128
|
-
|
|
129
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
130
|
-
|
|
131
|
-
const { logger } = configuration;
|
|
132
|
-
const clientName = "FSxClient";
|
|
133
|
-
const commandName = "UpdateFileSystemCommand";
|
|
134
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
135
|
-
logger,
|
|
136
|
-
clientName,
|
|
137
|
-
commandName,
|
|
138
|
-
inputFilterSensitiveLog: UpdateFileSystemRequest.filterSensitiveLog,
|
|
139
|
-
outputFilterSensitiveLog: UpdateFileSystemResponse.filterSensitiveLog,
|
|
140
|
-
};
|
|
141
|
-
const { requestHandler } = configuration;
|
|
142
|
-
return stack.resolve(
|
|
143
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
144
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
145
|
-
handlerExecutionContext
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
private serialize(input: UpdateFileSystemCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
150
|
-
return serializeAws_json1_1UpdateFileSystemCommand(input, context);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFileSystemCommandOutput> {
|
|
154
|
-
return deserializeAws_json1_1UpdateFileSystemCommand(output, context);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// Start section: command_body_extra
|
|
158
|
-
// End section: command_body_extra
|
|
159
|
-
}
|
|
@@ -1,100 +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 { UpdateStorageVirtualMachineRequest, UpdateStorageVirtualMachineResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1UpdateStorageVirtualMachineCommand,
|
|
18
|
-
serializeAws_json1_1UpdateStorageVirtualMachineCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateStorageVirtualMachineCommandInput extends UpdateStorageVirtualMachineRequest {}
|
|
22
|
-
export interface UpdateStorageVirtualMachineCommandOutput
|
|
23
|
-
extends UpdateStorageVirtualMachineResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Updates an Amazon FSx for ONTAP storage virtual machine (SVM).</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { FSxClient, UpdateStorageVirtualMachineCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
32
|
-
* // const { FSxClient, UpdateStorageVirtualMachineCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
33
|
-
* const client = new FSxClient(config);
|
|
34
|
-
* const command = new UpdateStorageVirtualMachineCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link UpdateStorageVirtualMachineCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link UpdateStorageVirtualMachineCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class UpdateStorageVirtualMachineCommand extends $Command<
|
|
44
|
-
UpdateStorageVirtualMachineCommandInput,
|
|
45
|
-
UpdateStorageVirtualMachineCommandOutput,
|
|
46
|
-
FSxClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: UpdateStorageVirtualMachineCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: FSxClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<UpdateStorageVirtualMachineCommandInput, UpdateStorageVirtualMachineCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "FSxClient";
|
|
71
|
-
const commandName = "UpdateStorageVirtualMachineCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: UpdateStorageVirtualMachineRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: UpdateStorageVirtualMachineResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: UpdateStorageVirtualMachineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1UpdateStorageVirtualMachineCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<UpdateStorageVirtualMachineCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1UpdateStorageVirtualMachineCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|