@aws-sdk/client-datasync 3.810.0 → 3.814.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.
Files changed (96) hide show
  1. package/README.md +3 -107
  2. package/dist-cjs/index.js +26 -890
  3. package/dist-es/DataSync.js +0 -26
  4. package/dist-es/commands/index.js +0 -13
  5. package/dist-es/models/models_0.js +18 -62
  6. package/dist-es/pagination/index.js +0 -4
  7. package/dist-es/protocols/Aws_json1_1.js +2 -554
  8. package/dist-types/DataSync.d.ts +3 -96
  9. package/dist-types/DataSyncClient.d.ts +5 -18
  10. package/dist-types/commands/CreateAgentCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +3 -3
  12. package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +5 -4
  13. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateLocationS3Command.d.ts +4 -2
  17. package/dist-types/commands/CreateTaskCommand.d.ts +4 -3
  18. package/dist-types/commands/DescribeAgentCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeTaskCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
  22. package/dist-types/commands/UpdateLocationEfsCommand.d.ts +4 -2
  23. package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +4 -2
  24. package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +4 -2
  25. package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +5 -3
  26. package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +4 -2
  27. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +4 -3
  28. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +4 -3
  29. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +4 -2
  30. package/dist-types/commands/UpdateLocationS3Command.d.ts +3 -2
  31. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +4 -3
  32. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -1
  33. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  34. package/dist-types/commands/index.d.ts +0 -13
  35. package/dist-types/index.d.ts +3 -3
  36. package/dist-types/models/models_0.d.ts +368 -1499
  37. package/dist-types/pagination/index.d.ts +0 -4
  38. package/dist-types/protocols/Aws_json1_1.d.ts +0 -117
  39. package/dist-types/ts3.4/DataSync.d.ts +0 -229
  40. package/dist-types/ts3.4/DataSyncClient.d.ts +0 -78
  41. package/dist-types/ts3.4/commands/index.d.ts +0 -13
  42. package/dist-types/ts3.4/models/models_0.d.ts +18 -307
  43. package/dist-types/ts3.4/pagination/index.d.ts +0 -4
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -156
  45. package/package.json +6 -8
  46. package/dist-es/commands/AddStorageSystemCommand.js +0 -23
  47. package/dist-es/commands/DescribeDiscoveryJobCommand.js +0 -22
  48. package/dist-es/commands/DescribeStorageSystemCommand.js +0 -22
  49. package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +0 -22
  50. package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +0 -22
  51. package/dist-es/commands/GenerateRecommendationsCommand.js +0 -22
  52. package/dist-es/commands/ListDiscoveryJobsCommand.js +0 -22
  53. package/dist-es/commands/ListStorageSystemsCommand.js +0 -22
  54. package/dist-es/commands/RemoveStorageSystemCommand.js +0 -22
  55. package/dist-es/commands/StartDiscoveryJobCommand.js +0 -22
  56. package/dist-es/commands/StopDiscoveryJobCommand.js +0 -22
  57. package/dist-es/commands/UpdateDiscoveryJobCommand.js +0 -22
  58. package/dist-es/commands/UpdateStorageSystemCommand.js +0 -23
  59. package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +0 -4
  60. package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +0 -4
  61. package/dist-es/pagination/ListDiscoveryJobsPaginator.js +0 -4
  62. package/dist-es/pagination/ListStorageSystemsPaginator.js +0 -4
  63. package/dist-types/commands/AddStorageSystemCommand.d.ts +0 -100
  64. package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +0 -84
  65. package/dist-types/commands/DescribeStorageSystemCommand.d.ts +0 -94
  66. package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -118
  67. package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -208
  68. package/dist-types/commands/GenerateRecommendationsCommand.d.ts +0 -85
  69. package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +0 -88
  70. package/dist-types/commands/ListStorageSystemsCommand.d.ts +0 -86
  71. package/dist-types/commands/RemoveStorageSystemCommand.d.ts +0 -78
  72. package/dist-types/commands/StartDiscoveryJobCommand.d.ts +0 -89
  73. package/dist-types/commands/StopDiscoveryJobCommand.d.ts +0 -80
  74. package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +0 -78
  75. package/dist-types/commands/UpdateStorageSystemCommand.d.ts +0 -91
  76. package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -7
  77. package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -7
  78. package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +0 -7
  79. package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +0 -7
  80. package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +0 -50
  81. package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +0 -51
  82. package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +0 -51
  83. package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -51
  84. package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -51
  85. package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +0 -51
  86. package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +0 -51
  87. package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +0 -51
  88. package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +0 -51
  89. package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +0 -51
  90. package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +0 -50
  91. package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +0 -51
  92. package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +0 -51
  93. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -11
  94. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -11
  95. package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +0 -11
  96. package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +0 -11
@@ -1,23 +0,0 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateStorageSystemRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateStorageSystemCommand, se_UpdateStorageSystemCommand } from "../protocols/Aws_json1_1";
7
- export { $Command };
8
- export class UpdateStorageSystemCommand extends $Command
9
- .classBuilder()
10
- .ep(commonParams)
11
- .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
16
- })
17
- .s("FmrsService", "UpdateStorageSystem", {})
18
- .n("DataSyncClient", "UpdateStorageSystemCommand")
19
- .f(UpdateStorageSystemRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateStorageSystemCommand)
21
- .de(de_UpdateStorageSystemCommand)
22
- .build() {
23
- }
@@ -1,4 +0,0 @@
1
- import { createPaginator } from "@smithy/core";
2
- import { DescribeStorageSystemResourceMetricsCommand, } from "../commands/DescribeStorageSystemResourceMetricsCommand";
3
- import { DataSyncClient } from "../DataSyncClient";
4
- export const paginateDescribeStorageSystemResourceMetrics = createPaginator(DataSyncClient, DescribeStorageSystemResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,4 +0,0 @@
1
- import { createPaginator } from "@smithy/core";
2
- import { DescribeStorageSystemResourcesCommand, } from "../commands/DescribeStorageSystemResourcesCommand";
3
- import { DataSyncClient } from "../DataSyncClient";
4
- export const paginateDescribeStorageSystemResources = createPaginator(DataSyncClient, DescribeStorageSystemResourcesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,4 +0,0 @@
1
- import { createPaginator } from "@smithy/core";
2
- import { ListDiscoveryJobsCommand, } from "../commands/ListDiscoveryJobsCommand";
3
- import { DataSyncClient } from "../DataSyncClient";
4
- export const paginateListDiscoveryJobs = createPaginator(DataSyncClient, ListDiscoveryJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,4 +0,0 @@
1
- import { createPaginator } from "@smithy/core";
2
- import { ListStorageSystemsCommand, } from "../commands/ListStorageSystemsCommand";
3
- import { DataSyncClient } from "../DataSyncClient";
4
- export const paginateListStorageSystems = createPaginator(DataSyncClient, ListStorageSystemsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,100 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { AddStorageSystemRequest, AddStorageSystemResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link AddStorageSystemCommand}.
14
- */
15
- export interface AddStorageSystemCommandInput extends AddStorageSystemRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link AddStorageSystemCommand}.
21
- */
22
- export interface AddStorageSystemCommandOutput extends AddStorageSystemResponse, __MetadataBearer {
23
- }
24
- declare const AddStorageSystemCommand_base: {
25
- new (input: AddStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<AddStorageSystemCommandInput, AddStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<AddStorageSystemCommandInput, AddStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect
31
- * information about.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, AddStorageSystemCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, AddStorageSystemCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // AddStorageSystemRequest
39
- * ServerConfiguration: { // DiscoveryServerConfiguration
40
- * ServerHostname: "STRING_VALUE", // required
41
- * ServerPort: Number("int"),
42
- * },
43
- * SystemType: "NetAppONTAP", // required
44
- * AgentArns: [ // DiscoveryAgentArnList // required
45
- * "STRING_VALUE",
46
- * ],
47
- * CloudWatchLogGroupArn: "STRING_VALUE",
48
- * Tags: [ // InputTagList
49
- * { // TagListEntry
50
- * Key: "STRING_VALUE", // required
51
- * Value: "STRING_VALUE",
52
- * },
53
- * ],
54
- * Name: "STRING_VALUE",
55
- * ClientToken: "STRING_VALUE", // required
56
- * Credentials: { // Credentials
57
- * Username: "STRING_VALUE", // required
58
- * Password: "STRING_VALUE", // required
59
- * },
60
- * };
61
- * const command = new AddStorageSystemCommand(input);
62
- * const response = await client.send(command);
63
- * // { // AddStorageSystemResponse
64
- * // StorageSystemArn: "STRING_VALUE", // required
65
- * // };
66
- *
67
- * ```
68
- *
69
- * @param AddStorageSystemCommandInput - {@link AddStorageSystemCommandInput}
70
- * @returns {@link AddStorageSystemCommandOutput}
71
- * @see {@link AddStorageSystemCommandInput} for command's `input` shape.
72
- * @see {@link AddStorageSystemCommandOutput} for command's `response` shape.
73
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
74
- *
75
- * @throws {@link InternalException} (server fault)
76
- * <p>This exception is thrown when an error occurs in the DataSync
77
- * service.</p>
78
- *
79
- * @throws {@link InvalidRequestException} (client fault)
80
- * <p>This exception is thrown when the client submits a malformed request.</p>
81
- *
82
- * @throws {@link DataSyncServiceException}
83
- * <p>Base exception class for all service exceptions from DataSync service.</p>
84
- *
85
- *
86
- * @public
87
- */
88
- export declare class AddStorageSystemCommand extends AddStorageSystemCommand_base {
89
- /** @internal type navigation helper, not in runtime. */
90
- protected static __types: {
91
- api: {
92
- input: AddStorageSystemRequest;
93
- output: AddStorageSystemResponse;
94
- };
95
- sdk: {
96
- input: AddStorageSystemCommandInput;
97
- output: AddStorageSystemCommandOutput;
98
- };
99
- };
100
- }
@@ -1,84 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { DescribeDiscoveryJobRequest, DescribeDiscoveryJobResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link DescribeDiscoveryJobCommand}.
14
- */
15
- export interface DescribeDiscoveryJobCommandInput extends DescribeDiscoveryJobRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DescribeDiscoveryJobCommand}.
21
- */
22
- export interface DescribeDiscoveryJobCommandOutput extends DescribeDiscoveryJobResponse, __MetadataBearer {
23
- }
24
- declare const DescribeDiscoveryJobCommand_base: {
25
- new (input: DescribeDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDiscoveryJobCommandInput, DescribeDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeDiscoveryJobCommandInput, DescribeDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Returns information about a DataSync discovery job.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { DataSyncClient, DescribeDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
35
- * // const { DataSyncClient, DescribeDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
36
- * const client = new DataSyncClient(config);
37
- * const input = { // DescribeDiscoveryJobRequest
38
- * DiscoveryJobArn: "STRING_VALUE", // required
39
- * };
40
- * const command = new DescribeDiscoveryJobCommand(input);
41
- * const response = await client.send(command);
42
- * // { // DescribeDiscoveryJobResponse
43
- * // StorageSystemArn: "STRING_VALUE",
44
- * // DiscoveryJobArn: "STRING_VALUE",
45
- * // CollectionDurationMinutes: Number("int"),
46
- * // Status: "RUNNING" || "WARNING" || "TERMINATED" || "FAILED" || "STOPPED" || "COMPLETED" || "COMPLETED_WITH_ISSUES",
47
- * // JobStartTime: new Date("TIMESTAMP"),
48
- * // JobEndTime: new Date("TIMESTAMP"),
49
- * // };
50
- *
51
- * ```
52
- *
53
- * @param DescribeDiscoveryJobCommandInput - {@link DescribeDiscoveryJobCommandInput}
54
- * @returns {@link DescribeDiscoveryJobCommandOutput}
55
- * @see {@link DescribeDiscoveryJobCommandInput} for command's `input` shape.
56
- * @see {@link DescribeDiscoveryJobCommandOutput} for command's `response` shape.
57
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
58
- *
59
- * @throws {@link InternalException} (server fault)
60
- * <p>This exception is thrown when an error occurs in the DataSync
61
- * service.</p>
62
- *
63
- * @throws {@link InvalidRequestException} (client fault)
64
- * <p>This exception is thrown when the client submits a malformed request.</p>
65
- *
66
- * @throws {@link DataSyncServiceException}
67
- * <p>Base exception class for all service exceptions from DataSync service.</p>
68
- *
69
- *
70
- * @public
71
- */
72
- export declare class DescribeDiscoveryJobCommand extends DescribeDiscoveryJobCommand_base {
73
- /** @internal type navigation helper, not in runtime. */
74
- protected static __types: {
75
- api: {
76
- input: DescribeDiscoveryJobRequest;
77
- output: DescribeDiscoveryJobResponse;
78
- };
79
- sdk: {
80
- input: DescribeDiscoveryJobCommandInput;
81
- output: DescribeDiscoveryJobCommandOutput;
82
- };
83
- };
84
- }
@@ -1,94 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { DescribeStorageSystemRequest, DescribeStorageSystemResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link DescribeStorageSystemCommand}.
14
- */
15
- export interface DescribeStorageSystemCommandInput extends DescribeStorageSystemRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DescribeStorageSystemCommand}.
21
- */
22
- export interface DescribeStorageSystemCommandOutput extends DescribeStorageSystemResponse, __MetadataBearer {
23
- }
24
- declare const DescribeStorageSystemCommand_base: {
25
- new (input: DescribeStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemCommandInput, DescribeStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemCommandInput, DescribeStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Returns information about an on-premises storage system that you're using with
31
- * DataSync Discovery.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, DescribeStorageSystemCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, DescribeStorageSystemCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // DescribeStorageSystemRequest
39
- * StorageSystemArn: "STRING_VALUE", // required
40
- * };
41
- * const command = new DescribeStorageSystemCommand(input);
42
- * const response = await client.send(command);
43
- * // { // DescribeStorageSystemResponse
44
- * // StorageSystemArn: "STRING_VALUE",
45
- * // ServerConfiguration: { // DiscoveryServerConfiguration
46
- * // ServerHostname: "STRING_VALUE", // required
47
- * // ServerPort: Number("int"),
48
- * // },
49
- * // SystemType: "NetAppONTAP",
50
- * // AgentArns: [ // DiscoveryAgentArnList
51
- * // "STRING_VALUE",
52
- * // ],
53
- * // Name: "STRING_VALUE",
54
- * // ErrorMessage: "STRING_VALUE",
55
- * // ConnectivityStatus: "PASS" || "FAIL" || "UNKNOWN",
56
- * // CloudWatchLogGroupArn: "STRING_VALUE",
57
- * // CreationTime: new Date("TIMESTAMP"),
58
- * // SecretsManagerArn: "STRING_VALUE",
59
- * // };
60
- *
61
- * ```
62
- *
63
- * @param DescribeStorageSystemCommandInput - {@link DescribeStorageSystemCommandInput}
64
- * @returns {@link DescribeStorageSystemCommandOutput}
65
- * @see {@link DescribeStorageSystemCommandInput} for command's `input` shape.
66
- * @see {@link DescribeStorageSystemCommandOutput} for command's `response` shape.
67
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
68
- *
69
- * @throws {@link InternalException} (server fault)
70
- * <p>This exception is thrown when an error occurs in the DataSync
71
- * service.</p>
72
- *
73
- * @throws {@link InvalidRequestException} (client fault)
74
- * <p>This exception is thrown when the client submits a malformed request.</p>
75
- *
76
- * @throws {@link DataSyncServiceException}
77
- * <p>Base exception class for all service exceptions from DataSync service.</p>
78
- *
79
- *
80
- * @public
81
- */
82
- export declare class DescribeStorageSystemCommand extends DescribeStorageSystemCommand_base {
83
- /** @internal type navigation helper, not in runtime. */
84
- protected static __types: {
85
- api: {
86
- input: DescribeStorageSystemRequest;
87
- output: DescribeStorageSystemResponse;
88
- };
89
- sdk: {
90
- input: DescribeStorageSystemCommandInput;
91
- output: DescribeStorageSystemCommandOutput;
92
- };
93
- };
94
- }
@@ -1,118 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { DescribeStorageSystemResourceMetricsRequest, DescribeStorageSystemResourceMetricsResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link DescribeStorageSystemResourceMetricsCommand}.
14
- */
15
- export interface DescribeStorageSystemResourceMetricsCommandInput extends DescribeStorageSystemResourceMetricsRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DescribeStorageSystemResourceMetricsCommand}.
21
- */
22
- export interface DescribeStorageSystemResourceMetricsCommandOutput extends DescribeStorageSystemResourceMetricsResponse, __MetadataBearer {
23
- }
24
- declare const DescribeStorageSystemResourceMetricsCommand_base: {
25
- new (input: DescribeStorageSystemResourceMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemResourceMetricsCommandInput, DescribeStorageSystemResourceMetricsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeStorageSystemResourceMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemResourceMetricsCommandInput, DescribeStorageSystemResourceMetricsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Returns information, including performance data and capacity usage, which DataSync Discovery
31
- * collects about a specific resource in your-premises storage system.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, DescribeStorageSystemResourceMetricsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, DescribeStorageSystemResourceMetricsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // DescribeStorageSystemResourceMetricsRequest
39
- * DiscoveryJobArn: "STRING_VALUE", // required
40
- * ResourceType: "SVM" || "VOLUME" || "CLUSTER", // required
41
- * ResourceId: "STRING_VALUE", // required
42
- * StartTime: new Date("TIMESTAMP"),
43
- * EndTime: new Date("TIMESTAMP"),
44
- * MaxResults: Number("int"),
45
- * NextToken: "STRING_VALUE",
46
- * };
47
- * const command = new DescribeStorageSystemResourceMetricsCommand(input);
48
- * const response = await client.send(command);
49
- * // { // DescribeStorageSystemResourceMetricsResponse
50
- * // Metrics: [ // Metrics
51
- * // { // ResourceMetrics
52
- * // Timestamp: new Date("TIMESTAMP"),
53
- * // P95Metrics: { // P95Metrics
54
- * // IOPS: { // IOPS
55
- * // Read: Number("double"),
56
- * // Write: Number("double"),
57
- * // Other: Number("double"),
58
- * // Total: Number("double"),
59
- * // },
60
- * // Throughput: { // Throughput
61
- * // Read: Number("double"),
62
- * // Write: Number("double"),
63
- * // Other: Number("double"),
64
- * // Total: Number("double"),
65
- * // },
66
- * // Latency: { // Latency
67
- * // Read: Number("double"),
68
- * // Write: Number("double"),
69
- * // Other: Number("double"),
70
- * // },
71
- * // },
72
- * // Capacity: { // Capacity
73
- * // Used: Number("long"),
74
- * // Provisioned: Number("long"),
75
- * // LogicalUsed: Number("long"),
76
- * // ClusterCloudStorageUsed: Number("long"),
77
- * // },
78
- * // ResourceId: "STRING_VALUE",
79
- * // ResourceType: "SVM" || "VOLUME" || "CLUSTER",
80
- * // },
81
- * // ],
82
- * // NextToken: "STRING_VALUE",
83
- * // };
84
- *
85
- * ```
86
- *
87
- * @param DescribeStorageSystemResourceMetricsCommandInput - {@link DescribeStorageSystemResourceMetricsCommandInput}
88
- * @returns {@link DescribeStorageSystemResourceMetricsCommandOutput}
89
- * @see {@link DescribeStorageSystemResourceMetricsCommandInput} for command's `input` shape.
90
- * @see {@link DescribeStorageSystemResourceMetricsCommandOutput} for command's `response` shape.
91
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
92
- *
93
- * @throws {@link InternalException} (server fault)
94
- * <p>This exception is thrown when an error occurs in the DataSync
95
- * service.</p>
96
- *
97
- * @throws {@link InvalidRequestException} (client fault)
98
- * <p>This exception is thrown when the client submits a malformed request.</p>
99
- *
100
- * @throws {@link DataSyncServiceException}
101
- * <p>Base exception class for all service exceptions from DataSync service.</p>
102
- *
103
- *
104
- * @public
105
- */
106
- export declare class DescribeStorageSystemResourceMetricsCommand extends DescribeStorageSystemResourceMetricsCommand_base {
107
- /** @internal type navigation helper, not in runtime. */
108
- protected static __types: {
109
- api: {
110
- input: DescribeStorageSystemResourceMetricsRequest;
111
- output: DescribeStorageSystemResourceMetricsResponse;
112
- };
113
- sdk: {
114
- input: DescribeStorageSystemResourceMetricsCommandInput;
115
- output: DescribeStorageSystemResourceMetricsCommandOutput;
116
- };
117
- };
118
- }
@@ -1,208 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { DescribeStorageSystemResourcesRequest, DescribeStorageSystemResourcesResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link DescribeStorageSystemResourcesCommand}.
14
- */
15
- export interface DescribeStorageSystemResourcesCommandInput extends DescribeStorageSystemResourcesRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DescribeStorageSystemResourcesCommand}.
21
- */
22
- export interface DescribeStorageSystemResourcesCommandOutput extends DescribeStorageSystemResourcesResponse, __MetadataBearer {
23
- }
24
- declare const DescribeStorageSystemResourcesCommand_base: {
25
- new (input: DescribeStorageSystemResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemResourcesCommandInput, DescribeStorageSystemResourcesCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DescribeStorageSystemResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStorageSystemResourcesCommandInput, DescribeStorageSystemResourcesCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Returns information that DataSync Discovery collects about resources in your on-premises storage
31
- * system.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, DescribeStorageSystemResourcesCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, DescribeStorageSystemResourcesCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // DescribeStorageSystemResourcesRequest
39
- * DiscoveryJobArn: "STRING_VALUE", // required
40
- * ResourceType: "SVM" || "VOLUME" || "CLUSTER", // required
41
- * ResourceIds: [ // ResourceIds
42
- * "STRING_VALUE",
43
- * ],
44
- * Filter: { // ResourceFilters
45
- * "<keys>": [ // FilterMembers
46
- * "STRING_VALUE",
47
- * ],
48
- * },
49
- * MaxResults: Number("int"),
50
- * NextToken: "STRING_VALUE",
51
- * };
52
- * const command = new DescribeStorageSystemResourcesCommand(input);
53
- * const response = await client.send(command);
54
- * // { // DescribeStorageSystemResourcesResponse
55
- * // ResourceDetails: { // ResourceDetails
56
- * // NetAppONTAPSVMs: [ // NetAppONTAPSVMs
57
- * // { // NetAppONTAPSVM
58
- * // ClusterUuid: "STRING_VALUE",
59
- * // ResourceId: "STRING_VALUE",
60
- * // SvmName: "STRING_VALUE",
61
- * // CifsShareCount: Number("long"),
62
- * // EnabledProtocols: [ // EnabledProtocols
63
- * // "STRING_VALUE",
64
- * // ],
65
- * // TotalCapacityUsed: Number("long"),
66
- * // TotalCapacityProvisioned: Number("long"),
67
- * // TotalLogicalCapacityUsed: Number("long"),
68
- * // MaxP95Performance: { // MaxP95Performance
69
- * // IopsRead: Number("double"),
70
- * // IopsWrite: Number("double"),
71
- * // IopsOther: Number("double"),
72
- * // IopsTotal: Number("double"),
73
- * // ThroughputRead: Number("double"),
74
- * // ThroughputWrite: Number("double"),
75
- * // ThroughputOther: Number("double"),
76
- * // ThroughputTotal: Number("double"),
77
- * // LatencyRead: Number("double"),
78
- * // LatencyWrite: Number("double"),
79
- * // LatencyOther: Number("double"),
80
- * // },
81
- * // Recommendations: [ // Recommendations
82
- * // { // Recommendation
83
- * // StorageType: "STRING_VALUE",
84
- * // StorageConfiguration: { // RecommendationsConfigMap
85
- * // "<keys>": "STRING_VALUE",
86
- * // },
87
- * // EstimatedMonthlyStorageCost: "STRING_VALUE",
88
- * // },
89
- * // ],
90
- * // NfsExportedVolumes: Number("long"),
91
- * // RecommendationStatus: "NONE" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
92
- * // TotalSnapshotCapacityUsed: Number("long"),
93
- * // LunCount: Number("long"),
94
- * // },
95
- * // ],
96
- * // NetAppONTAPVolumes: [ // NetAppONTAPVolumes
97
- * // { // NetAppONTAPVolume
98
- * // VolumeName: "STRING_VALUE",
99
- * // ResourceId: "STRING_VALUE",
100
- * // CifsShareCount: Number("long"),
101
- * // SecurityStyle: "STRING_VALUE",
102
- * // SvmUuid: "STRING_VALUE",
103
- * // SvmName: "STRING_VALUE",
104
- * // CapacityUsed: Number("long"),
105
- * // CapacityProvisioned: Number("long"),
106
- * // LogicalCapacityUsed: Number("long"),
107
- * // NfsExported: true || false,
108
- * // SnapshotCapacityUsed: Number("long"),
109
- * // MaxP95Performance: {
110
- * // IopsRead: Number("double"),
111
- * // IopsWrite: Number("double"),
112
- * // IopsOther: Number("double"),
113
- * // IopsTotal: Number("double"),
114
- * // ThroughputRead: Number("double"),
115
- * // ThroughputWrite: Number("double"),
116
- * // ThroughputOther: Number("double"),
117
- * // ThroughputTotal: Number("double"),
118
- * // LatencyRead: Number("double"),
119
- * // LatencyWrite: Number("double"),
120
- * // LatencyOther: Number("double"),
121
- * // },
122
- * // Recommendations: [
123
- * // {
124
- * // StorageType: "STRING_VALUE",
125
- * // StorageConfiguration: {
126
- * // "<keys>": "STRING_VALUE",
127
- * // },
128
- * // EstimatedMonthlyStorageCost: "STRING_VALUE",
129
- * // },
130
- * // ],
131
- * // RecommendationStatus: "NONE" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
132
- * // LunCount: Number("long"),
133
- * // },
134
- * // ],
135
- * // NetAppONTAPClusters: [ // NetAppONTAPClusters
136
- * // { // NetAppONTAPCluster
137
- * // CifsShareCount: Number("long"),
138
- * // NfsExportedVolumes: Number("long"),
139
- * // ResourceId: "STRING_VALUE",
140
- * // ClusterName: "STRING_VALUE",
141
- * // MaxP95Performance: {
142
- * // IopsRead: Number("double"),
143
- * // IopsWrite: Number("double"),
144
- * // IopsOther: Number("double"),
145
- * // IopsTotal: Number("double"),
146
- * // ThroughputRead: Number("double"),
147
- * // ThroughputWrite: Number("double"),
148
- * // ThroughputOther: Number("double"),
149
- * // ThroughputTotal: Number("double"),
150
- * // LatencyRead: Number("double"),
151
- * // LatencyWrite: Number("double"),
152
- * // LatencyOther: Number("double"),
153
- * // },
154
- * // ClusterBlockStorageSize: Number("long"),
155
- * // ClusterBlockStorageUsed: Number("long"),
156
- * // ClusterBlockStorageLogicalUsed: Number("long"),
157
- * // Recommendations: [
158
- * // {
159
- * // StorageType: "STRING_VALUE",
160
- * // StorageConfiguration: {
161
- * // "<keys>": "STRING_VALUE",
162
- * // },
163
- * // EstimatedMonthlyStorageCost: "STRING_VALUE",
164
- * // },
165
- * // ],
166
- * // RecommendationStatus: "NONE" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
167
- * // LunCount: Number("long"),
168
- * // ClusterCloudStorageUsed: Number("long"),
169
- * // },
170
- * // ],
171
- * // },
172
- * // NextToken: "STRING_VALUE",
173
- * // };
174
- *
175
- * ```
176
- *
177
- * @param DescribeStorageSystemResourcesCommandInput - {@link DescribeStorageSystemResourcesCommandInput}
178
- * @returns {@link DescribeStorageSystemResourcesCommandOutput}
179
- * @see {@link DescribeStorageSystemResourcesCommandInput} for command's `input` shape.
180
- * @see {@link DescribeStorageSystemResourcesCommandOutput} for command's `response` shape.
181
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
182
- *
183
- * @throws {@link InternalException} (server fault)
184
- * <p>This exception is thrown when an error occurs in the DataSync
185
- * service.</p>
186
- *
187
- * @throws {@link InvalidRequestException} (client fault)
188
- * <p>This exception is thrown when the client submits a malformed request.</p>
189
- *
190
- * @throws {@link DataSyncServiceException}
191
- * <p>Base exception class for all service exceptions from DataSync service.</p>
192
- *
193
- *
194
- * @public
195
- */
196
- export declare class DescribeStorageSystemResourcesCommand extends DescribeStorageSystemResourcesCommand_base {
197
- /** @internal type navigation helper, not in runtime. */
198
- protected static __types: {
199
- api: {
200
- input: DescribeStorageSystemResourcesRequest;
201
- output: DescribeStorageSystemResourcesResponse;
202
- };
203
- sdk: {
204
- input: DescribeStorageSystemResourcesCommandInput;
205
- output: DescribeStorageSystemResourcesCommandOutput;
206
- };
207
- };
208
- }