@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,124 +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 { DescribeBackupsRequest, DescribeBackupsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeBackupsCommand,
|
|
18
|
-
serializeAws_json1_1DescribeBackupsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeBackupsCommandInput extends DescribeBackupsRequest {}
|
|
22
|
-
export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the description of specific Amazon FSx backups, if
|
|
26
|
-
* a <code>BackupIds</code> value is provided for that backup. Otherwise, it returns all
|
|
27
|
-
* backups owned by your Amazon Web Services account in the Amazon Web Services Region
|
|
28
|
-
* of the endpoint that you're calling.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>When retrieving all backups, you can optionally specify the <code>MaxResults</code>
|
|
31
|
-
* parameter to limit the number of backups in a response. If more backups remain, Amazon
|
|
32
|
-
* FSx returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
33
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
34
|
-
* <code>NextToken</code> from the last response.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>This action is used in an iterative process to retrieve a list of your backups.
|
|
37
|
-
* <code>DescribeBackups</code> is called first without a <code>NextToken</code>value.
|
|
38
|
-
* Then the action continues to be called with the <code>NextToken</code> parameter set to
|
|
39
|
-
* the value of the last <code>NextToken</code> value until a response has no
|
|
40
|
-
* <code>NextToken</code>.</p>
|
|
41
|
-
*
|
|
42
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>The implementation might return fewer than <code>MaxResults</code>
|
|
46
|
-
* backup descriptions while still including a <code>NextToken</code>
|
|
47
|
-
* value.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>The order of backups returned in the response of one
|
|
51
|
-
* <code>DescribeBackups</code> call and the order of backups returned across
|
|
52
|
-
* the responses of a multi-call iteration is unspecified.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { FSxClient, DescribeBackupsCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
59
|
-
* // const { FSxClient, DescribeBackupsCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
60
|
-
* const client = new FSxClient(config);
|
|
61
|
-
* const command = new DescribeBackupsCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link DescribeBackupsCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link DescribeBackupsCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class DescribeBackupsCommand extends $Command<
|
|
71
|
-
DescribeBackupsCommandInput,
|
|
72
|
-
DescribeBackupsCommandOutput,
|
|
73
|
-
FSxClientResolvedConfig
|
|
74
|
-
> {
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
|
|
78
|
-
constructor(readonly input: DescribeBackupsCommandInput) {
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
super();
|
|
81
|
-
// End section: command_constructor
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(
|
|
88
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
89
|
-
configuration: FSxClientResolvedConfig,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Handler<DescribeBackupsCommandInput, DescribeBackupsCommandOutput> {
|
|
92
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
93
|
-
|
|
94
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
95
|
-
|
|
96
|
-
const { logger } = configuration;
|
|
97
|
-
const clientName = "FSxClient";
|
|
98
|
-
const commandName = "DescribeBackupsCommand";
|
|
99
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
100
|
-
logger,
|
|
101
|
-
clientName,
|
|
102
|
-
commandName,
|
|
103
|
-
inputFilterSensitiveLog: DescribeBackupsRequest.filterSensitiveLog,
|
|
104
|
-
outputFilterSensitiveLog: DescribeBackupsResponse.filterSensitiveLog,
|
|
105
|
-
};
|
|
106
|
-
const { requestHandler } = configuration;
|
|
107
|
-
return stack.resolve(
|
|
108
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
109
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
110
|
-
handlerExecutionContext
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private serialize(input: DescribeBackupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
115
|
-
return serializeAws_json1_1DescribeBackupsCommand(input, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeBackupsCommandOutput> {
|
|
119
|
-
return deserializeAws_json1_1DescribeBackupsCommand(output, context);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Start section: command_body_extra
|
|
123
|
-
// End section: command_body_extra
|
|
124
|
-
}
|
|
@@ -1,110 +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 { DescribeDataRepositoryTasksRequest, DescribeDataRepositoryTasksResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeDataRepositoryTasksCommand,
|
|
18
|
-
serializeAws_json1_1DescribeDataRepositoryTasksCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDataRepositoryTasksCommandInput extends DescribeDataRepositoryTasksRequest {}
|
|
22
|
-
export interface DescribeDataRepositoryTasksCommandOutput
|
|
23
|
-
extends DescribeDataRepositoryTasksResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Returns the description of specific Amazon FSx for Lustre data repository tasks, if
|
|
28
|
-
* one or more <code>TaskIds</code> values are provided in the request, or if filters are used in the request.
|
|
29
|
-
* You can use filters to narrow the response to include just tasks for specific file systems,
|
|
30
|
-
* or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned
|
|
31
|
-
* by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
32
|
-
*
|
|
33
|
-
* <p>When retrieving all tasks, you can paginate the response by using the optional <code>MaxResults</code>
|
|
34
|
-
* parameter to limit the number of tasks returned in a response. If more tasks remain, Amazon
|
|
35
|
-
* FSx returns a <code>NextToken</code> value in the response. In this case, send a later
|
|
36
|
-
* request with the <code>NextToken</code> request parameter set to the value of
|
|
37
|
-
* <code>NextToken</code> from the last response.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { FSxClient, DescribeDataRepositoryTasksCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
42
|
-
* // const { FSxClient, DescribeDataRepositoryTasksCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
43
|
-
* const client = new FSxClient(config);
|
|
44
|
-
* const command = new DescribeDataRepositoryTasksCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link DescribeDataRepositoryTasksCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link DescribeDataRepositoryTasksCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class DescribeDataRepositoryTasksCommand extends $Command<
|
|
54
|
-
DescribeDataRepositoryTasksCommandInput,
|
|
55
|
-
DescribeDataRepositoryTasksCommandOutput,
|
|
56
|
-
FSxClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: DescribeDataRepositoryTasksCommandInput) {
|
|
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<DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput> {
|
|
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 = "DescribeDataRepositoryTasksCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: DescribeDataRepositoryTasksRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: DescribeDataRepositoryTasksResponse.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: DescribeDataRepositoryTasksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_json1_1DescribeDataRepositoryTasksCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(
|
|
102
|
-
output: __HttpResponse,
|
|
103
|
-
context: __SerdeContext
|
|
104
|
-
): Promise<DescribeDataRepositoryTasksCommandOutput> {
|
|
105
|
-
return deserializeAws_json1_1DescribeDataRepositoryTasksCommand(output, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// Start section: command_body_extra
|
|
109
|
-
// End section: command_body_extra
|
|
110
|
-
}
|
|
@@ -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 { DescribeFileSystemAliasesRequest, DescribeFileSystemAliasesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeFileSystemAliasesCommand,
|
|
18
|
-
serializeAws_json1_1DescribeFileSystemAliasesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeFileSystemAliasesCommandInput extends DescribeFileSystemAliasesRequest {}
|
|
22
|
-
export interface DescribeFileSystemAliasesCommandOutput extends DescribeFileSystemAliasesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of
|
|
26
|
-
* all DNS aliases that have been associated with and disassociated from the file system is available in the list of <a>AdministrativeAction</a>
|
|
27
|
-
* provided in the <a>DescribeFileSystems</a> operation response.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { FSxClient, DescribeFileSystemAliasesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
32
|
-
* // const { FSxClient, DescribeFileSystemAliasesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
33
|
-
* const client = new FSxClient(config);
|
|
34
|
-
* const command = new DescribeFileSystemAliasesCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeFileSystemAliasesCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeFileSystemAliasesCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeFileSystemAliasesCommand extends $Command<
|
|
44
|
-
DescribeFileSystemAliasesCommandInput,
|
|
45
|
-
DescribeFileSystemAliasesCommandOutput,
|
|
46
|
-
FSxClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeFileSystemAliasesCommandInput) {
|
|
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<DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput> {
|
|
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 = "DescribeFileSystemAliasesCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeFileSystemAliasesRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeFileSystemAliasesResponse.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: DescribeFileSystemAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1DescribeFileSystemAliasesCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<DescribeFileSystemAliasesCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DescribeFileSystemAliasesCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,126 +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 { DescribeFileSystemsRequest, DescribeFileSystemsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeFileSystemsCommand,
|
|
18
|
-
serializeAws_json1_1DescribeFileSystemsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeFileSystemsCommandInput extends DescribeFileSystemsRequest {}
|
|
22
|
-
export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the description of specific Amazon FSx file systems, if a
|
|
26
|
-
* <code>FileSystemIds</code> value is provided for that file system. Otherwise, it
|
|
27
|
-
* returns descriptions of all file systems owned by your Amazon Web Services account in
|
|
28
|
-
* the Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>When retrieving all file system descriptions, you can optionally specify the
|
|
31
|
-
* <code>MaxResults</code> parameter to limit the number of descriptions in a response.
|
|
32
|
-
* If more file system descriptions remain, Amazon FSx returns a <code>NextToken</code>
|
|
33
|
-
* value in the response. In this case, send a later request with the
|
|
34
|
-
* <code>NextToken</code> request parameter set to the value of <code>NextToken</code>
|
|
35
|
-
* from the last response.</p>
|
|
36
|
-
*
|
|
37
|
-
* <p>This action is used in an iterative process to retrieve a list of your file system
|
|
38
|
-
* descriptions. <code>DescribeFileSystems</code> is called first without a
|
|
39
|
-
* <code>NextToken</code>value. Then the action continues to be called with the
|
|
40
|
-
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
41
|
-
* value until a response has no <code>NextToken</code>.</p>
|
|
42
|
-
*
|
|
43
|
-
* <p>When using this action, keep the following in mind:</p>
|
|
44
|
-
* <ul>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
47
|
-
* system descriptions while still including a <code>NextToken</code>
|
|
48
|
-
* value.</p>
|
|
49
|
-
*
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>The order of file systems returned in the response of one
|
|
53
|
-
* <code>DescribeFileSystems</code> call and the order of file systems returned
|
|
54
|
-
* across the responses of a multicall iteration is unspecified.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* </ul>
|
|
57
|
-
* @example
|
|
58
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
-
* ```javascript
|
|
60
|
-
* import { FSxClient, DescribeFileSystemsCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
61
|
-
* // const { FSxClient, DescribeFileSystemsCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
62
|
-
* const client = new FSxClient(config);
|
|
63
|
-
* const command = new DescribeFileSystemsCommand(input);
|
|
64
|
-
* const response = await client.send(command);
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @see {@link DescribeFileSystemsCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link DescribeFileSystemsCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
export class DescribeFileSystemsCommand extends $Command<
|
|
73
|
-
DescribeFileSystemsCommandInput,
|
|
74
|
-
DescribeFileSystemsCommandOutput,
|
|
75
|
-
FSxClientResolvedConfig
|
|
76
|
-
> {
|
|
77
|
-
// Start section: command_properties
|
|
78
|
-
// End section: command_properties
|
|
79
|
-
|
|
80
|
-
constructor(readonly input: DescribeFileSystemsCommandInput) {
|
|
81
|
-
// Start section: command_constructor
|
|
82
|
-
super();
|
|
83
|
-
// End section: command_constructor
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(
|
|
90
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
91
|
-
configuration: FSxClientResolvedConfig,
|
|
92
|
-
options?: __HttpHandlerOptions
|
|
93
|
-
): Handler<DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput> {
|
|
94
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
95
|
-
|
|
96
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
97
|
-
|
|
98
|
-
const { logger } = configuration;
|
|
99
|
-
const clientName = "FSxClient";
|
|
100
|
-
const commandName = "DescribeFileSystemsCommand";
|
|
101
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
102
|
-
logger,
|
|
103
|
-
clientName,
|
|
104
|
-
commandName,
|
|
105
|
-
inputFilterSensitiveLog: DescribeFileSystemsRequest.filterSensitiveLog,
|
|
106
|
-
outputFilterSensitiveLog: DescribeFileSystemsResponse.filterSensitiveLog,
|
|
107
|
-
};
|
|
108
|
-
const { requestHandler } = configuration;
|
|
109
|
-
return stack.resolve(
|
|
110
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
111
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
112
|
-
handlerExecutionContext
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private serialize(input: DescribeFileSystemsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
117
|
-
return serializeAws_json1_1DescribeFileSystemsCommand(input, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFileSystemsCommandOutput> {
|
|
121
|
-
return deserializeAws_json1_1DescribeFileSystemsCommand(output, context);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Start section: command_body_extra
|
|
125
|
-
// End section: command_body_extra
|
|
126
|
-
}
|
|
@@ -1,103 +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 { DescribeStorageVirtualMachinesRequest, DescribeStorageVirtualMachinesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeStorageVirtualMachinesCommand,
|
|
18
|
-
serializeAws_json1_1DescribeStorageVirtualMachinesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeStorageVirtualMachinesCommandInput extends DescribeStorageVirtualMachinesRequest {}
|
|
22
|
-
export interface DescribeStorageVirtualMachinesCommandOutput
|
|
23
|
-
extends DescribeStorageVirtualMachinesResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Describes one or more Amazon FSx for NetApp ONTAP storage virtual machines (SVMs).</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { FSxClient, DescribeStorageVirtualMachinesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
32
|
-
* // const { FSxClient, DescribeStorageVirtualMachinesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
33
|
-
* const client = new FSxClient(config);
|
|
34
|
-
* const command = new DescribeStorageVirtualMachinesCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeStorageVirtualMachinesCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeStorageVirtualMachinesCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeStorageVirtualMachinesCommand extends $Command<
|
|
44
|
-
DescribeStorageVirtualMachinesCommandInput,
|
|
45
|
-
DescribeStorageVirtualMachinesCommandOutput,
|
|
46
|
-
FSxClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeStorageVirtualMachinesCommandInput) {
|
|
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<DescribeStorageVirtualMachinesCommandInput, DescribeStorageVirtualMachinesCommandOutput> {
|
|
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 = "DescribeStorageVirtualMachinesCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeStorageVirtualMachinesRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeStorageVirtualMachinesResponse.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(
|
|
88
|
-
input: DescribeStorageVirtualMachinesCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1DescribeStorageVirtualMachinesCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<DescribeStorageVirtualMachinesCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1DescribeStorageVirtualMachinesCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -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 { DescribeVolumesRequest, DescribeVolumesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeVolumesCommand,
|
|
18
|
-
serializeAws_json1_1DescribeVolumesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeVolumesCommandInput extends DescribeVolumesRequest {}
|
|
22
|
-
export interface DescribeVolumesCommandOutput extends DescribeVolumesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Describes one or more Amazon FSx for NetApp ONTAP volumes.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { FSxClient, DescribeVolumesCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
30
|
-
* // const { FSxClient, DescribeVolumesCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
31
|
-
* const client = new FSxClient(config);
|
|
32
|
-
* const command = new DescribeVolumesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeVolumesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeVolumesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeVolumesCommand extends $Command<
|
|
42
|
-
DescribeVolumesCommandInput,
|
|
43
|
-
DescribeVolumesCommandOutput,
|
|
44
|
-
FSxClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeVolumesCommandInput) {
|
|
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<DescribeVolumesCommandInput, DescribeVolumesCommandOutput> {
|
|
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 = "DescribeVolumesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeVolumesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeVolumesResponse.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: DescribeVolumesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeVolumesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeVolumesCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeVolumesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|