@aws-sdk/client-datasync 3.319.0 → 3.321.1

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 +7 -5
@@ -0,0 +1,84 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
5
+ import { UpdateStorageSystemRequest, UpdateStorageSystemResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateStorageSystemCommand}.
10
+ */
11
+ export interface UpdateStorageSystemCommandInput extends UpdateStorageSystemRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateStorageSystemCommand}.
17
+ */
18
+ export interface UpdateStorageSystemCommandOutput extends UpdateStorageSystemResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Modifies some configurations of an on-premises storage system resource that you're using
23
+ * with DataSync Discovery.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { DataSyncClient, UpdateStorageSystemCommand } from "@aws-sdk/client-datasync"; // ES Modules import
28
+ * // const { DataSyncClient, UpdateStorageSystemCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
29
+ * const client = new DataSyncClient(config);
30
+ * const input = { // UpdateStorageSystemRequest
31
+ * StorageSystemArn: "STRING_VALUE", // required
32
+ * ServerConfiguration: { // DiscoveryServerConfiguration
33
+ * ServerHostname: "STRING_VALUE", // required
34
+ * ServerPort: Number("int"),
35
+ * },
36
+ * AgentArns: [ // DiscoveryAgentArnList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * Name: "STRING_VALUE",
40
+ * CloudWatchLogGroupArn: "STRING_VALUE",
41
+ * Credentials: { // Credentials
42
+ * Username: "STRING_VALUE", // required
43
+ * Password: "STRING_VALUE", // required
44
+ * },
45
+ * };
46
+ * const command = new UpdateStorageSystemCommand(input);
47
+ * const response = await client.send(command);
48
+ * ```
49
+ *
50
+ * @param UpdateStorageSystemCommandInput - {@link UpdateStorageSystemCommandInput}
51
+ * @returns {@link UpdateStorageSystemCommandOutput}
52
+ * @see {@link UpdateStorageSystemCommandInput} for command's `input` shape.
53
+ * @see {@link UpdateStorageSystemCommandOutput} for command's `response` shape.
54
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
55
+ *
56
+ * @throws {@link InternalException} (server fault)
57
+ * <p>This exception is thrown when an error occurs in the DataSync
58
+ * service.</p>
59
+ *
60
+ * @throws {@link InvalidRequestException} (client fault)
61
+ * <p>This exception is thrown when the client submits a malformed request.</p>
62
+ *
63
+ *
64
+ */
65
+ export declare class UpdateStorageSystemCommand extends $Command<UpdateStorageSystemCommandInput, UpdateStorageSystemCommandOutput, DataSyncClientResolvedConfig> {
66
+ readonly input: UpdateStorageSystemCommandInput;
67
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
71
+ constructor(input: UpdateStorageSystemCommandInput);
72
+ /**
73
+ * @internal
74
+ */
75
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStorageSystemCommandInput, UpdateStorageSystemCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
79
+ private serialize;
80
+ /**
81
+ * @internal
82
+ */
83
+ private deserialize;
84
+ }
@@ -74,7 +74,8 @@ export interface UpdateTaskCommandOutput extends UpdateTaskResponse, __MetadataB
74
74
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
75
75
  *
76
76
  * @throws {@link InternalException} (server fault)
77
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
77
+ * <p>This exception is thrown when an error occurs in the DataSync
78
+ * service.</p>
78
79
  *
79
80
  * @throws {@link InvalidRequestException} (client fault)
80
81
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -19,14 +19,13 @@ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Updates execution of a task.</p>
23
- * <p>You can modify bandwidth throttling for a task execution that is running or queued.
24
- * For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling">Adjusting Bandwidth Throttling for a Task Execution</a>.</p>
22
+ * <p>Modifies a running DataSync task.</p>
25
23
  * <note>
26
- * <p>The only <code>Option</code> that can be modified by <code>UpdateTaskExecution</code>
27
- * is <code>
24
+ * <p>Currently, the only <code>Option</code> that you can modify with
25
+ * <code>UpdateTaskExecution</code> is <code>
28
26
  * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond">BytesPerSecond</a>
29
- * </code>.</p>
27
+ * </code>, which throttles bandwidth for a running or queued
28
+ * task.</p>
30
29
  * </note>
31
30
  * @example
32
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -65,7 +64,8 @@ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionRes
65
64
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
66
65
  *
67
66
  * @throws {@link InternalException} (server fault)
68
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
67
+ * <p>This exception is thrown when an error occurs in the DataSync
68
+ * service.</p>
69
69
  *
70
70
  * @throws {@link InvalidRequestException} (client fault)
71
71
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -1,3 +1,4 @@
1
+ export * from "./AddStorageSystemCommand";
1
2
  export * from "./CancelTaskExecutionCommand";
2
3
  export * from "./CreateAgentCommand";
3
4
  export * from "./CreateLocationEfsCommand";
@@ -15,6 +16,7 @@ export * from "./DeleteAgentCommand";
15
16
  export * from "./DeleteLocationCommand";
16
17
  export * from "./DeleteTaskCommand";
17
18
  export * from "./DescribeAgentCommand";
19
+ export * from "./DescribeDiscoveryJobCommand";
18
20
  export * from "./DescribeLocationEfsCommand";
19
21
  export * from "./DescribeLocationFsxLustreCommand";
20
22
  export * from "./DescribeLocationFsxOntapCommand";
@@ -25,20 +27,31 @@ export * from "./DescribeLocationNfsCommand";
25
27
  export * from "./DescribeLocationObjectStorageCommand";
26
28
  export * from "./DescribeLocationS3Command";
27
29
  export * from "./DescribeLocationSmbCommand";
30
+ export * from "./DescribeStorageSystemCommand";
31
+ export * from "./DescribeStorageSystemResourceMetricsCommand";
32
+ export * from "./DescribeStorageSystemResourcesCommand";
28
33
  export * from "./DescribeTaskCommand";
29
34
  export * from "./DescribeTaskExecutionCommand";
35
+ export * from "./GenerateRecommendationsCommand";
30
36
  export * from "./ListAgentsCommand";
37
+ export * from "./ListDiscoveryJobsCommand";
31
38
  export * from "./ListLocationsCommand";
39
+ export * from "./ListStorageSystemsCommand";
32
40
  export * from "./ListTagsForResourceCommand";
33
41
  export * from "./ListTaskExecutionsCommand";
34
42
  export * from "./ListTasksCommand";
43
+ export * from "./RemoveStorageSystemCommand";
44
+ export * from "./StartDiscoveryJobCommand";
35
45
  export * from "./StartTaskExecutionCommand";
46
+ export * from "./StopDiscoveryJobCommand";
36
47
  export * from "./TagResourceCommand";
37
48
  export * from "./UntagResourceCommand";
38
49
  export * from "./UpdateAgentCommand";
50
+ export * from "./UpdateDiscoveryJobCommand";
39
51
  export * from "./UpdateLocationHdfsCommand";
40
52
  export * from "./UpdateLocationNfsCommand";
41
53
  export * from "./UpdateLocationObjectStorageCommand";
42
54
  export * from "./UpdateLocationSmbCommand";
55
+ export * from "./UpdateStorageSystemCommand";
43
56
  export * from "./UpdateTaskCommand";
44
57
  export * from "./UpdateTaskExecutionCommand";