@aws-sdk/client-datasync 3.316.0 → 3.320.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 (136) hide show
  1. package/README.md +113 -8
  2. package/dist-cjs/DataSync.js +26 -0
  3. package/dist-cjs/commands/AddStorageSystemCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeDiscoveryJobCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeStorageSystemCommand.js +45 -0
  6. package/dist-cjs/commands/DescribeStorageSystemResourceMetricsCommand.js +45 -0
  7. package/dist-cjs/commands/DescribeStorageSystemResourcesCommand.js +45 -0
  8. package/dist-cjs/commands/GenerateRecommendationsCommand.js +45 -0
  9. package/dist-cjs/commands/ListDiscoveryJobsCommand.js +45 -0
  10. package/dist-cjs/commands/ListStorageSystemsCommand.js +45 -0
  11. package/dist-cjs/commands/RemoveStorageSystemCommand.js +45 -0
  12. package/dist-cjs/commands/StartDiscoveryJobCommand.js +45 -0
  13. package/dist-cjs/commands/StopDiscoveryJobCommand.js +45 -0
  14. package/dist-cjs/commands/UpdateDiscoveryJobCommand.js +45 -0
  15. package/dist-cjs/commands/UpdateStorageSystemCommand.js +46 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +56 -8
  18. package/dist-cjs/pagination/DescribeStorageSystemResourceMetricsPaginator.js +29 -0
  19. package/dist-cjs/pagination/DescribeStorageSystemResourcesPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListDiscoveryJobsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListStorageSystemsPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +4 -0
  23. package/dist-cjs/protocols/Aws_json1_1.js +948 -87
  24. package/dist-es/DataSync.js +26 -0
  25. package/dist-es/commands/AddStorageSystemCommand.js +42 -0
  26. package/dist-es/commands/DescribeDiscoveryJobCommand.js +41 -0
  27. package/dist-es/commands/DescribeStorageSystemCommand.js +41 -0
  28. package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +41 -0
  29. package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +41 -0
  30. package/dist-es/commands/GenerateRecommendationsCommand.js +41 -0
  31. package/dist-es/commands/ListDiscoveryJobsCommand.js +41 -0
  32. package/dist-es/commands/ListStorageSystemsCommand.js +41 -0
  33. package/dist-es/commands/RemoveStorageSystemCommand.js +41 -0
  34. package/dist-es/commands/StartDiscoveryJobCommand.js +41 -0
  35. package/dist-es/commands/StopDiscoveryJobCommand.js +41 -0
  36. package/dist-es/commands/UpdateDiscoveryJobCommand.js +41 -0
  37. package/dist-es/commands/UpdateStorageSystemCommand.js +42 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +51 -7
  40. package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +25 -0
  41. package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +25 -0
  42. package/dist-es/pagination/ListDiscoveryJobsPaginator.js +25 -0
  43. package/dist-es/pagination/ListStorageSystemsPaginator.js +25 -0
  44. package/dist-es/pagination/index.js +4 -0
  45. package/dist-es/protocols/Aws_json1_1.js +908 -74
  46. package/dist-types/DataSync.d.ts +94 -2
  47. package/dist-types/DataSyncClient.d.ts +18 -4
  48. package/dist-types/commands/AddStorageSystemCommand.d.ts +91 -0
  49. package/dist-types/commands/CancelTaskExecutionCommand.d.ts +4 -3
  50. package/dist-types/commands/CreateAgentCommand.d.ts +4 -3
  51. package/dist-types/commands/CreateLocationEfsCommand.d.ts +2 -1
  52. package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +2 -1
  53. package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +3 -3
  54. package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +4 -4
  55. package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +2 -1
  56. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +2 -1
  57. package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -1
  58. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +5 -2
  59. package/dist-types/commands/CreateLocationS3Command.d.ts +20 -3
  60. package/dist-types/commands/CreateLocationSmbCommand.d.ts +2 -1
  61. package/dist-types/commands/CreateTaskCommand.d.ts +8 -1
  62. package/dist-types/commands/DeleteAgentCommand.d.ts +4 -4
  63. package/dist-types/commands/DeleteLocationCommand.d.ts +2 -1
  64. package/dist-types/commands/DeleteTaskCommand.d.ts +2 -1
  65. package/dist-types/commands/DescribeAgentCommand.d.ts +4 -2
  66. package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +70 -0
  67. package/dist-types/commands/DescribeLocationEfsCommand.d.ts +4 -2
  68. package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +2 -1
  69. package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +2 -1
  70. package/dist-types/commands/DescribeLocationFsxOpenZfsCommand.d.ts +3 -2
  71. package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +4 -3
  72. package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +2 -1
  73. package/dist-types/commands/DescribeLocationNfsCommand.d.ts +2 -1
  74. package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +4 -2
  75. package/dist-types/commands/DescribeLocationS3Command.d.ts +2 -1
  76. package/dist-types/commands/DescribeLocationSmbCommand.d.ts +2 -1
  77. package/dist-types/commands/DescribeStorageSystemCommand.d.ts +71 -0
  78. package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +77 -0
  79. package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +82 -0
  80. package/dist-types/commands/DescribeTaskCommand.d.ts +2 -1
  81. package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +2 -1
  82. package/dist-types/commands/GenerateRecommendationsCommand.d.ts +82 -0
  83. package/dist-types/commands/ListAgentsCommand.d.ts +2 -1
  84. package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +73 -0
  85. package/dist-types/commands/ListLocationsCommand.d.ts +2 -1
  86. package/dist-types/commands/ListStorageSystemsCommand.d.ts +71 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  88. package/dist-types/commands/ListTaskExecutionsCommand.d.ts +2 -1
  89. package/dist-types/commands/ListTasksCommand.d.ts +2 -1
  90. package/dist-types/commands/RemoveStorageSystemCommand.d.ts +71 -0
  91. package/dist-types/commands/StartDiscoveryJobCommand.d.ts +80 -0
  92. package/dist-types/commands/StartTaskExecutionCommand.d.ts +10 -2
  93. package/dist-types/commands/StopDiscoveryJobCommand.d.ts +73 -0
  94. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  95. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  96. package/dist-types/commands/UpdateAgentCommand.d.ts +2 -1
  97. package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +71 -0
  98. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +2 -1
  99. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +5 -3
  100. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +2 -1
  101. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +4 -3
  102. package/dist-types/commands/UpdateStorageSystemCommand.d.ts +84 -0
  103. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -1
  104. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +7 -7
  105. package/dist-types/commands/index.d.ts +13 -0
  106. package/dist-types/models/models_0.d.ts +1429 -296
  107. package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/index.d.ts +4 -0
  112. package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
  113. package/dist-types/ts3.4/DataSync.d.ts +227 -0
  114. package/dist-types/ts3.4/DataSyncClient.d.ts +78 -0
  115. package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +37 -0
  116. package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +41 -0
  117. package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +41 -0
  118. package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +41 -0
  119. package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +41 -0
  120. package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +41 -0
  121. package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +38 -0
  122. package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +37 -0
  126. package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +38 -0
  127. package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  129. package/dist-types/ts3.4/models/models_0.d.ts +302 -18
  130. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  135. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
  136. package/package.json +8 -6
package/README.md CHANGED
@@ -12,7 +12,8 @@ AWS SDK for JavaScript DataSync Client for Node.js, Browser and React Native.
12
12
  <fullname>DataSync</fullname>
13
13
 
14
14
  <p>DataSync is a managed data transfer service that makes it simpler for you
15
- to automate moving data between on-premises storage and Amazon Web Services storage services. You also can use DataSync to transfer data between other cloud providers and Amazon Web Services storage services.</p>
15
+ to automate moving data between on-premises storage and Amazon Web Services storage services.
16
+ You also can use DataSync to transfer data between other cloud providers and Amazon Web Services storage services.</p>
16
17
  <p>This API interface reference includes documentation for using DataSync
17
18
  programmatically. For complete information, see the <i>
18
19
  <a href="https://docs.aws.amazon.com/datasync/latest/userguide/what-is-datasync.html">DataSync User
@@ -34,16 +35,16 @@ using your favorite package manager:
34
35
 
35
36
  The AWS SDK is modulized by clients and commands.
36
37
  To send a request, you only need to import the `DataSyncClient` and
37
- the commands you need, for example `CancelTaskExecutionCommand`:
38
+ the commands you need, for example `AddStorageSystemCommand`:
38
39
 
39
40
  ```js
40
41
  // ES5 example
41
- const { DataSyncClient, CancelTaskExecutionCommand } = require("@aws-sdk/client-datasync");
42
+ const { DataSyncClient, AddStorageSystemCommand } = require("@aws-sdk/client-datasync");
42
43
  ```
43
44
 
44
45
  ```ts
45
46
  // ES6+ example
46
- import { DataSyncClient, CancelTaskExecutionCommand } from "@aws-sdk/client-datasync";
47
+ import { DataSyncClient, AddStorageSystemCommand } from "@aws-sdk/client-datasync";
47
48
  ```
48
49
 
49
50
  ### Usage
@@ -62,7 +63,7 @@ const client = new DataSyncClient({ region: "REGION" });
62
63
  const params = {
63
64
  /** input parameters */
64
65
  };
65
- const command = new CancelTaskExecutionCommand(params);
66
+ const command = new AddStorageSystemCommand(params);
66
67
  ```
67
68
 
68
69
  #### Async/await
@@ -141,7 +142,7 @@ const client = new AWS.DataSync({ region: "REGION" });
141
142
 
142
143
  // async/await.
143
144
  try {
144
- const data = await client.cancelTaskExecution(params);
145
+ const data = await client.addStorageSystem(params);
145
146
  // process data.
146
147
  } catch (error) {
147
148
  // error handling.
@@ -149,7 +150,7 @@ try {
149
150
 
150
151
  // Promises.
151
152
  client
152
- .cancelTaskExecution(params)
153
+ .addStorageSystem(params)
153
154
  .then((data) => {
154
155
  // process data.
155
156
  })
@@ -158,7 +159,7 @@ client
158
159
  });
159
160
 
160
161
  // callbacks.
161
- client.cancelTaskExecution(params, (err, data) => {
162
+ client.addStorageSystem(params, (err, data) => {
162
163
  // process err and data.
163
164
  });
164
165
  ```
@@ -214,6 +215,14 @@ see LICENSE for more information.
214
215
 
215
216
  ## Client Commands (Operations List)
216
217
 
218
+ <details>
219
+ <summary>
220
+ AddStorageSystem
221
+ </summary>
222
+
223
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/addstoragesystemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/addstoragesystemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/addstoragesystemcommandoutput.html)
224
+
225
+ </details>
217
226
  <details>
218
227
  <summary>
219
228
  CancelTaskExecution
@@ -349,6 +358,14 @@ DescribeAgent
349
358
 
350
359
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describeagentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describeagentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describeagentcommandoutput.html)
351
360
 
361
+ </details>
362
+ <details>
363
+ <summary>
364
+ DescribeDiscoveryJob
365
+ </summary>
366
+
367
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describediscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describediscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describediscoveryjobcommandoutput.html)
368
+
352
369
  </details>
353
370
  <details>
354
371
  <summary>
@@ -429,6 +446,30 @@ DescribeLocationSmb
429
446
 
430
447
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describelocationsmbcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describelocationsmbcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describelocationsmbcommandoutput.html)
431
448
 
449
+ </details>
450
+ <details>
451
+ <summary>
452
+ DescribeStorageSystem
453
+ </summary>
454
+
455
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describestoragesystemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemcommandoutput.html)
456
+
457
+ </details>
458
+ <details>
459
+ <summary>
460
+ DescribeStorageSystemResourceMetrics
461
+ </summary>
462
+
463
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describestoragesystemresourcemetricscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemresourcemetricscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemresourcemetricscommandoutput.html)
464
+
465
+ </details>
466
+ <details>
467
+ <summary>
468
+ DescribeStorageSystemResources
469
+ </summary>
470
+
471
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describestoragesystemresourcescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemresourcescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describestoragesystemresourcescommandoutput.html)
472
+
432
473
  </details>
433
474
  <details>
434
475
  <summary>
@@ -445,6 +486,14 @@ DescribeTaskExecution
445
486
 
446
487
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/describetaskexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describetaskexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/describetaskexecutioncommandoutput.html)
447
488
 
489
+ </details>
490
+ <details>
491
+ <summary>
492
+ GenerateRecommendations
493
+ </summary>
494
+
495
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/generaterecommendationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/generaterecommendationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/generaterecommendationscommandoutput.html)
496
+
448
497
  </details>
449
498
  <details>
450
499
  <summary>
@@ -453,6 +502,14 @@ ListAgents
453
502
 
454
503
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/listagentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listagentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listagentscommandoutput.html)
455
504
 
505
+ </details>
506
+ <details>
507
+ <summary>
508
+ ListDiscoveryJobs
509
+ </summary>
510
+
511
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/listdiscoveryjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listdiscoveryjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listdiscoveryjobscommandoutput.html)
512
+
456
513
  </details>
457
514
  <details>
458
515
  <summary>
@@ -461,6 +518,14 @@ ListLocations
461
518
 
462
519
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/listlocationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listlocationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listlocationscommandoutput.html)
463
520
 
521
+ </details>
522
+ <details>
523
+ <summary>
524
+ ListStorageSystems
525
+ </summary>
526
+
527
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/liststoragesystemscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/liststoragesystemscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/liststoragesystemscommandoutput.html)
528
+
464
529
  </details>
465
530
  <details>
466
531
  <summary>
@@ -485,6 +550,22 @@ ListTasks
485
550
 
486
551
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/listtaskscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listtaskscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/listtaskscommandoutput.html)
487
552
 
553
+ </details>
554
+ <details>
555
+ <summary>
556
+ RemoveStorageSystem
557
+ </summary>
558
+
559
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/removestoragesystemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/removestoragesystemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/removestoragesystemcommandoutput.html)
560
+
561
+ </details>
562
+ <details>
563
+ <summary>
564
+ StartDiscoveryJob
565
+ </summary>
566
+
567
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/startdiscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/startdiscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/startdiscoveryjobcommandoutput.html)
568
+
488
569
  </details>
489
570
  <details>
490
571
  <summary>
@@ -493,6 +574,14 @@ StartTaskExecution
493
574
 
494
575
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/starttaskexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/starttaskexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/starttaskexecutioncommandoutput.html)
495
576
 
577
+ </details>
578
+ <details>
579
+ <summary>
580
+ StopDiscoveryJob
581
+ </summary>
582
+
583
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/stopdiscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/stopdiscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/stopdiscoveryjobcommandoutput.html)
584
+
496
585
  </details>
497
586
  <details>
498
587
  <summary>
@@ -517,6 +606,14 @@ UpdateAgent
517
606
 
518
607
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updateagentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updateagentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updateagentcommandoutput.html)
519
608
 
609
+ </details>
610
+ <details>
611
+ <summary>
612
+ UpdateDiscoveryJob
613
+ </summary>
614
+
615
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updatediscoveryjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatediscoveryjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatediscoveryjobcommandoutput.html)
616
+
520
617
  </details>
521
618
  <details>
522
619
  <summary>
@@ -549,6 +646,14 @@ UpdateLocationSmb
549
646
 
550
647
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updatelocationsmbcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatelocationsmbcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatelocationsmbcommandoutput.html)
551
648
 
649
+ </details>
650
+ <details>
651
+ <summary>
652
+ UpdateStorageSystem
653
+ </summary>
654
+
655
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/classes/updatestoragesystemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatestoragesystemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-datasync/interfaces/updatestoragesystemcommandoutput.html)
656
+
552
657
  </details>
553
658
  <details>
554
659
  <summary>
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DataSync = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const AddStorageSystemCommand_1 = require("./commands/AddStorageSystemCommand");
5
6
  const CancelTaskExecutionCommand_1 = require("./commands/CancelTaskExecutionCommand");
6
7
  const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
7
8
  const CreateLocationEfsCommand_1 = require("./commands/CreateLocationEfsCommand");
@@ -19,6 +20,7 @@ const DeleteAgentCommand_1 = require("./commands/DeleteAgentCommand");
19
20
  const DeleteLocationCommand_1 = require("./commands/DeleteLocationCommand");
20
21
  const DeleteTaskCommand_1 = require("./commands/DeleteTaskCommand");
21
22
  const DescribeAgentCommand_1 = require("./commands/DescribeAgentCommand");
23
+ const DescribeDiscoveryJobCommand_1 = require("./commands/DescribeDiscoveryJobCommand");
22
24
  const DescribeLocationEfsCommand_1 = require("./commands/DescribeLocationEfsCommand");
23
25
  const DescribeLocationFsxLustreCommand_1 = require("./commands/DescribeLocationFsxLustreCommand");
24
26
  const DescribeLocationFsxOntapCommand_1 = require("./commands/DescribeLocationFsxOntapCommand");
@@ -29,25 +31,37 @@ const DescribeLocationNfsCommand_1 = require("./commands/DescribeLocationNfsComm
29
31
  const DescribeLocationObjectStorageCommand_1 = require("./commands/DescribeLocationObjectStorageCommand");
30
32
  const DescribeLocationS3Command_1 = require("./commands/DescribeLocationS3Command");
31
33
  const DescribeLocationSmbCommand_1 = require("./commands/DescribeLocationSmbCommand");
34
+ const DescribeStorageSystemCommand_1 = require("./commands/DescribeStorageSystemCommand");
35
+ const DescribeStorageSystemResourceMetricsCommand_1 = require("./commands/DescribeStorageSystemResourceMetricsCommand");
36
+ const DescribeStorageSystemResourcesCommand_1 = require("./commands/DescribeStorageSystemResourcesCommand");
32
37
  const DescribeTaskCommand_1 = require("./commands/DescribeTaskCommand");
33
38
  const DescribeTaskExecutionCommand_1 = require("./commands/DescribeTaskExecutionCommand");
39
+ const GenerateRecommendationsCommand_1 = require("./commands/GenerateRecommendationsCommand");
34
40
  const ListAgentsCommand_1 = require("./commands/ListAgentsCommand");
41
+ const ListDiscoveryJobsCommand_1 = require("./commands/ListDiscoveryJobsCommand");
35
42
  const ListLocationsCommand_1 = require("./commands/ListLocationsCommand");
43
+ const ListStorageSystemsCommand_1 = require("./commands/ListStorageSystemsCommand");
36
44
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
37
45
  const ListTaskExecutionsCommand_1 = require("./commands/ListTaskExecutionsCommand");
38
46
  const ListTasksCommand_1 = require("./commands/ListTasksCommand");
47
+ const RemoveStorageSystemCommand_1 = require("./commands/RemoveStorageSystemCommand");
48
+ const StartDiscoveryJobCommand_1 = require("./commands/StartDiscoveryJobCommand");
39
49
  const StartTaskExecutionCommand_1 = require("./commands/StartTaskExecutionCommand");
50
+ const StopDiscoveryJobCommand_1 = require("./commands/StopDiscoveryJobCommand");
40
51
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
41
52
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
42
53
  const UpdateAgentCommand_1 = require("./commands/UpdateAgentCommand");
54
+ const UpdateDiscoveryJobCommand_1 = require("./commands/UpdateDiscoveryJobCommand");
43
55
  const UpdateLocationHdfsCommand_1 = require("./commands/UpdateLocationHdfsCommand");
44
56
  const UpdateLocationNfsCommand_1 = require("./commands/UpdateLocationNfsCommand");
45
57
  const UpdateLocationObjectStorageCommand_1 = require("./commands/UpdateLocationObjectStorageCommand");
46
58
  const UpdateLocationSmbCommand_1 = require("./commands/UpdateLocationSmbCommand");
59
+ const UpdateStorageSystemCommand_1 = require("./commands/UpdateStorageSystemCommand");
47
60
  const UpdateTaskCommand_1 = require("./commands/UpdateTaskCommand");
48
61
  const UpdateTaskExecutionCommand_1 = require("./commands/UpdateTaskExecutionCommand");
49
62
  const DataSyncClient_1 = require("./DataSyncClient");
50
63
  const commands = {
64
+ AddStorageSystemCommand: AddStorageSystemCommand_1.AddStorageSystemCommand,
51
65
  CancelTaskExecutionCommand: CancelTaskExecutionCommand_1.CancelTaskExecutionCommand,
52
66
  CreateAgentCommand: CreateAgentCommand_1.CreateAgentCommand,
53
67
  CreateLocationEfsCommand: CreateLocationEfsCommand_1.CreateLocationEfsCommand,
@@ -65,6 +79,7 @@ const commands = {
65
79
  DeleteLocationCommand: DeleteLocationCommand_1.DeleteLocationCommand,
66
80
  DeleteTaskCommand: DeleteTaskCommand_1.DeleteTaskCommand,
67
81
  DescribeAgentCommand: DescribeAgentCommand_1.DescribeAgentCommand,
82
+ DescribeDiscoveryJobCommand: DescribeDiscoveryJobCommand_1.DescribeDiscoveryJobCommand,
68
83
  DescribeLocationEfsCommand: DescribeLocationEfsCommand_1.DescribeLocationEfsCommand,
69
84
  DescribeLocationFsxLustreCommand: DescribeLocationFsxLustreCommand_1.DescribeLocationFsxLustreCommand,
70
85
  DescribeLocationFsxOntapCommand: DescribeLocationFsxOntapCommand_1.DescribeLocationFsxOntapCommand,
@@ -75,21 +90,32 @@ const commands = {
75
90
  DescribeLocationObjectStorageCommand: DescribeLocationObjectStorageCommand_1.DescribeLocationObjectStorageCommand,
76
91
  DescribeLocationS3Command: DescribeLocationS3Command_1.DescribeLocationS3Command,
77
92
  DescribeLocationSmbCommand: DescribeLocationSmbCommand_1.DescribeLocationSmbCommand,
93
+ DescribeStorageSystemCommand: DescribeStorageSystemCommand_1.DescribeStorageSystemCommand,
94
+ DescribeStorageSystemResourceMetricsCommand: DescribeStorageSystemResourceMetricsCommand_1.DescribeStorageSystemResourceMetricsCommand,
95
+ DescribeStorageSystemResourcesCommand: DescribeStorageSystemResourcesCommand_1.DescribeStorageSystemResourcesCommand,
78
96
  DescribeTaskCommand: DescribeTaskCommand_1.DescribeTaskCommand,
79
97
  DescribeTaskExecutionCommand: DescribeTaskExecutionCommand_1.DescribeTaskExecutionCommand,
98
+ GenerateRecommendationsCommand: GenerateRecommendationsCommand_1.GenerateRecommendationsCommand,
80
99
  ListAgentsCommand: ListAgentsCommand_1.ListAgentsCommand,
100
+ ListDiscoveryJobsCommand: ListDiscoveryJobsCommand_1.ListDiscoveryJobsCommand,
81
101
  ListLocationsCommand: ListLocationsCommand_1.ListLocationsCommand,
102
+ ListStorageSystemsCommand: ListStorageSystemsCommand_1.ListStorageSystemsCommand,
82
103
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
83
104
  ListTaskExecutionsCommand: ListTaskExecutionsCommand_1.ListTaskExecutionsCommand,
84
105
  ListTasksCommand: ListTasksCommand_1.ListTasksCommand,
106
+ RemoveStorageSystemCommand: RemoveStorageSystemCommand_1.RemoveStorageSystemCommand,
107
+ StartDiscoveryJobCommand: StartDiscoveryJobCommand_1.StartDiscoveryJobCommand,
85
108
  StartTaskExecutionCommand: StartTaskExecutionCommand_1.StartTaskExecutionCommand,
109
+ StopDiscoveryJobCommand: StopDiscoveryJobCommand_1.StopDiscoveryJobCommand,
86
110
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
87
111
  UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
88
112
  UpdateAgentCommand: UpdateAgentCommand_1.UpdateAgentCommand,
113
+ UpdateDiscoveryJobCommand: UpdateDiscoveryJobCommand_1.UpdateDiscoveryJobCommand,
89
114
  UpdateLocationHdfsCommand: UpdateLocationHdfsCommand_1.UpdateLocationHdfsCommand,
90
115
  UpdateLocationNfsCommand: UpdateLocationNfsCommand_1.UpdateLocationNfsCommand,
91
116
  UpdateLocationObjectStorageCommand: UpdateLocationObjectStorageCommand_1.UpdateLocationObjectStorageCommand,
92
117
  UpdateLocationSmbCommand: UpdateLocationSmbCommand_1.UpdateLocationSmbCommand,
118
+ UpdateStorageSystemCommand: UpdateStorageSystemCommand_1.UpdateStorageSystemCommand,
93
119
  UpdateTaskCommand: UpdateTaskCommand_1.UpdateTaskCommand,
94
120
  UpdateTaskExecutionCommand: UpdateTaskExecutionCommand_1.UpdateTaskExecutionCommand,
95
121
  };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddStorageSystemCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class AddStorageSystemCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddStorageSystemCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "DataSyncClient";
28
+ const commandName = "AddStorageSystemCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.AddStorageSystemRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.se_AddStorageSystemCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.de_AddStorageSystemCommand)(output, context);
44
+ }
45
+ }
46
+ exports.AddStorageSystemCommand = AddStorageSystemCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDiscoveryJobCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeDiscoveryJobCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDiscoveryJobCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "DataSyncClient";
27
+ const commandName = "DescribeDiscoveryJobCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_1_1.se_DescribeDiscoveryJobCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_1_1.de_DescribeDiscoveryJobCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeDiscoveryJobCommand = DescribeDiscoveryJobCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeStorageSystemCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeStorageSystemCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeStorageSystemCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "DataSyncClient";
27
+ const commandName = "DescribeStorageSystemCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_1_1.se_DescribeStorageSystemCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_1_1.de_DescribeStorageSystemCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeStorageSystemCommand = DescribeStorageSystemCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeStorageSystemResourceMetricsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeStorageSystemResourceMetricsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeStorageSystemResourceMetricsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "DataSyncClient";
27
+ const commandName = "DescribeStorageSystemResourceMetricsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_1_1.se_DescribeStorageSystemResourceMetricsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_1_1.de_DescribeStorageSystemResourceMetricsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeStorageSystemResourceMetricsCommand = DescribeStorageSystemResourceMetricsCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeStorageSystemResourcesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeStorageSystemResourcesCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeStorageSystemResourcesCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "DataSyncClient";
27
+ const commandName = "DescribeStorageSystemResourcesCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_1_1.se_DescribeStorageSystemResourcesCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_1_1.de_DescribeStorageSystemResourcesCommand)(output, context);
43
+ }
44
+ }
45
+ exports.DescribeStorageSystemResourcesCommand = DescribeStorageSystemResourcesCommand;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GenerateRecommendationsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GenerateRecommendationsCommand extends smithy_client_1.Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GenerateRecommendationsCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "DataSyncClient";
27
+ const commandName = "GenerateRecommendationsCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
34
+ };
35
+ const { requestHandler } = configuration;
36
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
+ }
38
+ serialize(input, context) {
39
+ return (0, Aws_json1_1_1.se_GenerateRecommendationsCommand)(input, context);
40
+ }
41
+ deserialize(output, context) {
42
+ return (0, Aws_json1_1_1.de_GenerateRecommendationsCommand)(output, context);
43
+ }
44
+ }
45
+ exports.GenerateRecommendationsCommand = GenerateRecommendationsCommand;