@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
@@ -51,7 +51,8 @@ export interface ListAgentsCommandOutput extends ListAgentsResponse, __MetadataB
51
51
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
52
52
  *
53
53
  * @throws {@link InternalException} (server fault)
54
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
54
+ * <p>This exception is thrown when an error occurs in the DataSync
55
+ * service.</p>
55
56
  *
56
57
  * @throws {@link InvalidRequestException} (client fault)
57
58
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -0,0 +1,73 @@
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 { ListDiscoveryJobsRequest, ListDiscoveryJobsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListDiscoveryJobsCommand}.
10
+ */
11
+ export interface ListDiscoveryJobsCommandInput extends ListDiscoveryJobsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListDiscoveryJobsCommand}.
17
+ */
18
+ export interface ListDiscoveryJobsCommandOutput extends ListDiscoveryJobsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Provides a list of the existing discovery jobs in the Amazon Web Services Region and
23
+ * Amazon Web Services account where you're using 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, ListDiscoveryJobsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
28
+ * // const { DataSyncClient, ListDiscoveryJobsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
29
+ * const client = new DataSyncClient(config);
30
+ * const input = { // ListDiscoveryJobsRequest
31
+ * StorageSystemArn: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * };
35
+ * const command = new ListDiscoveryJobsCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param ListDiscoveryJobsCommandInput - {@link ListDiscoveryJobsCommandInput}
40
+ * @returns {@link ListDiscoveryJobsCommandOutput}
41
+ * @see {@link ListDiscoveryJobsCommandInput} for command's `input` shape.
42
+ * @see {@link ListDiscoveryJobsCommandOutput} for command's `response` shape.
43
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
44
+ *
45
+ * @throws {@link InternalException} (server fault)
46
+ * <p>This exception is thrown when an error occurs in the DataSync
47
+ * service.</p>
48
+ *
49
+ * @throws {@link InvalidRequestException} (client fault)
50
+ * <p>This exception is thrown when the client submits a malformed request.</p>
51
+ *
52
+ *
53
+ */
54
+ export declare class ListDiscoveryJobsCommand extends $Command<ListDiscoveryJobsCommandInput, ListDiscoveryJobsCommandOutput, DataSyncClientResolvedConfig> {
55
+ readonly input: ListDiscoveryJobsCommandInput;
56
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
57
+ /**
58
+ * @public
59
+ */
60
+ constructor(input: ListDiscoveryJobsCommandInput);
61
+ /**
62
+ * @internal
63
+ */
64
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDiscoveryJobsCommandInput, ListDiscoveryJobsCommandOutput>;
65
+ /**
66
+ * @internal
67
+ */
68
+ private serialize;
69
+ /**
70
+ * @internal
71
+ */
72
+ private deserialize;
73
+ }
@@ -53,7 +53,8 @@ export interface ListLocationsCommandOutput extends ListLocationsResponse, __Met
53
53
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
54
54
  *
55
55
  * @throws {@link InternalException} (server fault)
56
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
56
+ * <p>This exception is thrown when an error occurs in the DataSync
57
+ * service.</p>
57
58
  *
58
59
  * @throws {@link InvalidRequestException} (client fault)
59
60
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -0,0 +1,71 @@
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 { ListStorageSystemsRequest, ListStorageSystemsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link ListStorageSystemsCommand}.
10
+ */
11
+ export interface ListStorageSystemsCommandInput extends ListStorageSystemsRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link ListStorageSystemsCommand}.
17
+ */
18
+ export interface ListStorageSystemsCommandOutput extends ListStorageSystemsResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Lists the on-premises storage systems that you're using with DataSync Discovery.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { DataSyncClient, ListStorageSystemsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
27
+ * // const { DataSyncClient, ListStorageSystemsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
28
+ * const client = new DataSyncClient(config);
29
+ * const input = { // ListStorageSystemsRequest
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * };
33
+ * const command = new ListStorageSystemsCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param ListStorageSystemsCommandInput - {@link ListStorageSystemsCommandInput}
38
+ * @returns {@link ListStorageSystemsCommandOutput}
39
+ * @see {@link ListStorageSystemsCommandInput} for command's `input` shape.
40
+ * @see {@link ListStorageSystemsCommandOutput} for command's `response` shape.
41
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
42
+ *
43
+ * @throws {@link InternalException} (server fault)
44
+ * <p>This exception is thrown when an error occurs in the DataSync
45
+ * service.</p>
46
+ *
47
+ * @throws {@link InvalidRequestException} (client fault)
48
+ * <p>This exception is thrown when the client submits a malformed request.</p>
49
+ *
50
+ *
51
+ */
52
+ export declare class ListStorageSystemsCommand extends $Command<ListStorageSystemsCommandInput, ListStorageSystemsCommandOutput, DataSyncClientResolvedConfig> {
53
+ readonly input: ListStorageSystemsCommandInput;
54
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
58
+ constructor(input: ListStorageSystemsCommandInput);
59
+ /**
60
+ * @internal
61
+ */
62
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStorageSystemsCommandInput, ListStorageSystemsCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
66
+ private serialize;
67
+ /**
68
+ * @internal
69
+ */
70
+ private deserialize;
71
+ }
@@ -42,7 +42,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
42
42
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
43
43
  *
44
44
  * @throws {@link InternalException} (server fault)
45
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
45
+ * <p>This exception is thrown when an error occurs in the DataSync
46
+ * service.</p>
46
47
  *
47
48
  * @throws {@link InvalidRequestException} (client fault)
48
49
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -42,7 +42,8 @@ export interface ListTaskExecutionsCommandOutput extends ListTaskExecutionsRespo
42
42
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
43
43
  *
44
44
  * @throws {@link InternalException} (server fault)
45
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
45
+ * <p>This exception is thrown when an error occurs in the DataSync
46
+ * service.</p>
46
47
  *
47
48
  * @throws {@link InvalidRequestException} (client fault)
48
49
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -50,7 +50,8 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
50
50
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
51
51
  *
52
52
  * @throws {@link InternalException} (server fault)
53
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
53
+ * <p>This exception is thrown when an error occurs in the DataSync
54
+ * service.</p>
54
55
  *
55
56
  * @throws {@link InvalidRequestException} (client fault)
56
57
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -0,0 +1,71 @@
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 { RemoveStorageSystemRequest, RemoveStorageSystemResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link RemoveStorageSystemCommand}.
10
+ */
11
+ export interface RemoveStorageSystemCommandInput extends RemoveStorageSystemRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link RemoveStorageSystemCommand}.
17
+ */
18
+ export interface RemoveStorageSystemCommandOutput extends RemoveStorageSystemResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Permanently removes a storage system resource from DataSync Discovery, including the associated
23
+ * discovery jobs, collected data, and recommendations.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { DataSyncClient, RemoveStorageSystemCommand } from "@aws-sdk/client-datasync"; // ES Modules import
28
+ * // const { DataSyncClient, RemoveStorageSystemCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
29
+ * const client = new DataSyncClient(config);
30
+ * const input = { // RemoveStorageSystemRequest
31
+ * StorageSystemArn: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new RemoveStorageSystemCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param RemoveStorageSystemCommandInput - {@link RemoveStorageSystemCommandInput}
38
+ * @returns {@link RemoveStorageSystemCommandOutput}
39
+ * @see {@link RemoveStorageSystemCommandInput} for command's `input` shape.
40
+ * @see {@link RemoveStorageSystemCommandOutput} for command's `response` shape.
41
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
42
+ *
43
+ * @throws {@link InternalException} (server fault)
44
+ * <p>This exception is thrown when an error occurs in the DataSync
45
+ * service.</p>
46
+ *
47
+ * @throws {@link InvalidRequestException} (client fault)
48
+ * <p>This exception is thrown when the client submits a malformed request.</p>
49
+ *
50
+ *
51
+ */
52
+ export declare class RemoveStorageSystemCommand extends $Command<RemoveStorageSystemCommandInput, RemoveStorageSystemCommandOutput, DataSyncClientResolvedConfig> {
53
+ readonly input: RemoveStorageSystemCommandInput;
54
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
58
+ constructor(input: RemoveStorageSystemCommandInput);
59
+ /**
60
+ * @internal
61
+ */
62
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveStorageSystemCommandInput, RemoveStorageSystemCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
66
+ private serialize;
67
+ /**
68
+ * @internal
69
+ */
70
+ private deserialize;
71
+ }
@@ -0,0 +1,80 @@
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 { StartDiscoveryJobRequest, StartDiscoveryJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link StartDiscoveryJobCommand}.
10
+ */
11
+ export interface StartDiscoveryJobCommandInput extends StartDiscoveryJobRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link StartDiscoveryJobCommand}.
17
+ */
18
+ export interface StartDiscoveryJobCommandOutput extends StartDiscoveryJobResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Runs a DataSync discovery job on your on-premises storage system. If you haven't added the
23
+ * storage system to DataSync Discovery yet, do this first by using the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_AddStorageSystem.html">AddStorageSystem</a>
24
+ * operation.</p>
25
+ * @example
26
+ * Use a bare-bones client and the command you need to make an API call.
27
+ * ```javascript
28
+ * import { DataSyncClient, StartDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
29
+ * // const { DataSyncClient, StartDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
30
+ * const client = new DataSyncClient(config);
31
+ * const input = { // StartDiscoveryJobRequest
32
+ * StorageSystemArn: "STRING_VALUE", // required
33
+ * CollectionDurationMinutes: Number("int"), // required
34
+ * ClientToken: "STRING_VALUE", // required
35
+ * Tags: [ // InputTagList
36
+ * { // TagListEntry
37
+ * Key: "STRING_VALUE", // required
38
+ * Value: "STRING_VALUE",
39
+ * },
40
+ * ],
41
+ * };
42
+ * const command = new StartDiscoveryJobCommand(input);
43
+ * const response = await client.send(command);
44
+ * ```
45
+ *
46
+ * @param StartDiscoveryJobCommandInput - {@link StartDiscoveryJobCommandInput}
47
+ * @returns {@link StartDiscoveryJobCommandOutput}
48
+ * @see {@link StartDiscoveryJobCommandInput} for command's `input` shape.
49
+ * @see {@link StartDiscoveryJobCommandOutput} for command's `response` shape.
50
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
51
+ *
52
+ * @throws {@link InternalException} (server fault)
53
+ * <p>This exception is thrown when an error occurs in the DataSync
54
+ * service.</p>
55
+ *
56
+ * @throws {@link InvalidRequestException} (client fault)
57
+ * <p>This exception is thrown when the client submits a malformed request.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class StartDiscoveryJobCommand extends $Command<StartDiscoveryJobCommandInput, StartDiscoveryJobCommandOutput, DataSyncClientResolvedConfig> {
62
+ readonly input: StartDiscoveryJobCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: StartDiscoveryJobCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDiscoveryJobCommandInput, StartDiscoveryJobCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -19,8 +19,15 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Starts an DataSync task. For each task, you can only run one task execution at a time.</p>
22
+ * <p>Starts an DataSync task. For each task, you can only run one task execution
23
+ * at a time.</p>
23
24
  * <p>There are several phases to a task execution. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses">Task execution statuses</a>.</p>
25
+ * <important>
26
+ * <p>If you're planning to transfer data to or from an Amazon S3 location, review
27
+ * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests">how
28
+ * DataSync can affect your S3 request charges</a> and the <a href="http://aws.amazon.com/datasync/pricing/">DataSync pricing page</a> before
29
+ * you begin.</p>
30
+ * </important>
24
31
  * @example
25
32
  * Use a bare-bones client and the command you need to make an API call.
26
33
  * ```javascript
@@ -76,7 +83,8 @@ export interface StartTaskExecutionCommandOutput extends StartTaskExecutionRespo
76
83
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
77
84
  *
78
85
  * @throws {@link InternalException} (server fault)
79
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
86
+ * <p>This exception is thrown when an error occurs in the DataSync
87
+ * service.</p>
80
88
  *
81
89
  * @throws {@link InvalidRequestException} (client fault)
82
90
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -0,0 +1,73 @@
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 { StopDiscoveryJobRequest, StopDiscoveryJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link StopDiscoveryJobCommand}.
10
+ */
11
+ export interface StopDiscoveryJobCommandInput extends StopDiscoveryJobRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link StopDiscoveryJobCommand}.
17
+ */
18
+ export interface StopDiscoveryJobCommandOutput extends StopDiscoveryJobResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Stops a running DataSync discovery job.</p>
23
+ * <p>You can stop a discovery job anytime. A job that's stopped before it's scheduled to end
24
+ * likely will provide you some information about your on-premises storage system resources. To
25
+ * get recommendations for a stopped job, you must use the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_GenerateRecommendations.html">GenerateRecommendations</a> operation.</p>
26
+ * @example
27
+ * Use a bare-bones client and the command you need to make an API call.
28
+ * ```javascript
29
+ * import { DataSyncClient, StopDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
30
+ * // const { DataSyncClient, StopDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
31
+ * const client = new DataSyncClient(config);
32
+ * const input = { // StopDiscoveryJobRequest
33
+ * DiscoveryJobArn: "STRING_VALUE", // required
34
+ * };
35
+ * const command = new StopDiscoveryJobCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @param StopDiscoveryJobCommandInput - {@link StopDiscoveryJobCommandInput}
40
+ * @returns {@link StopDiscoveryJobCommandOutput}
41
+ * @see {@link StopDiscoveryJobCommandInput} for command's `input` shape.
42
+ * @see {@link StopDiscoveryJobCommandOutput} for command's `response` shape.
43
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
44
+ *
45
+ * @throws {@link InternalException} (server fault)
46
+ * <p>This exception is thrown when an error occurs in the DataSync
47
+ * service.</p>
48
+ *
49
+ * @throws {@link InvalidRequestException} (client fault)
50
+ * <p>This exception is thrown when the client submits a malformed request.</p>
51
+ *
52
+ *
53
+ */
54
+ export declare class StopDiscoveryJobCommand extends $Command<StopDiscoveryJobCommandInput, StopDiscoveryJobCommandOutput, DataSyncClientResolvedConfig> {
55
+ readonly input: StopDiscoveryJobCommandInput;
56
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
57
+ /**
58
+ * @public
59
+ */
60
+ constructor(input: StopDiscoveryJobCommandInput);
61
+ /**
62
+ * @internal
63
+ */
64
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopDiscoveryJobCommandInput, StopDiscoveryJobCommandOutput>;
65
+ /**
66
+ * @internal
67
+ */
68
+ private serialize;
69
+ /**
70
+ * @internal
71
+ */
72
+ private deserialize;
73
+ }
@@ -19,9 +19,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Applies a <i>tag</i> to an Amazon Web Services
23
- * resource. Tags are key-value pairs that can help you manage, filter, and search for your resources.</p>
24
- * <p>These include DataSync resources, such as locations, tasks, and task executions.</p>
22
+ * <p>Applies a <i>tag</i> to an Amazon Web Services resource. Tags are
23
+ * key-value pairs that can help you manage, filter, and search for your resources.</p>
24
+ * <p>These include DataSync resources, such as locations, tasks, and task
25
+ * executions.</p>
25
26
  * @example
26
27
  * Use a bare-bones client and the command you need to make an API call.
27
28
  * ```javascript
@@ -48,7 +49,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
48
49
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
49
50
  *
50
51
  * @throws {@link InternalException} (server fault)
51
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
52
+ * <p>This exception is thrown when an error occurs in the DataSync
53
+ * service.</p>
52
54
  *
53
55
  * @throws {@link InvalidRequestException} (client fault)
54
56
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -43,7 +43,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
43
43
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
44
44
  *
45
45
  * @throws {@link InternalException} (server fault)
46
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
46
+ * <p>This exception is thrown when an error occurs in the DataSync
47
+ * service.</p>
47
48
  *
48
49
  * @throws {@link InvalidRequestException} (client fault)
49
50
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -41,7 +41,8 @@ export interface UpdateAgentCommandOutput extends UpdateAgentResponse, __Metadat
41
41
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
42
42
  *
43
43
  * @throws {@link InternalException} (server fault)
44
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
44
+ * <p>This exception is thrown when an error occurs in the DataSync
45
+ * service.</p>
45
46
  *
46
47
  * @throws {@link InvalidRequestException} (client fault)
47
48
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -0,0 +1,71 @@
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 { UpdateDiscoveryJobRequest, UpdateDiscoveryJobResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateDiscoveryJobCommand}.
10
+ */
11
+ export interface UpdateDiscoveryJobCommandInput extends UpdateDiscoveryJobRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateDiscoveryJobCommand}.
17
+ */
18
+ export interface UpdateDiscoveryJobCommandOutput extends UpdateDiscoveryJobResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Edits a DataSync discovery job configuration.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { DataSyncClient, UpdateDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
27
+ * // const { DataSyncClient, UpdateDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
28
+ * const client = new DataSyncClient(config);
29
+ * const input = { // UpdateDiscoveryJobRequest
30
+ * DiscoveryJobArn: "STRING_VALUE", // required
31
+ * CollectionDurationMinutes: Number("int"), // required
32
+ * };
33
+ * const command = new UpdateDiscoveryJobCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param UpdateDiscoveryJobCommandInput - {@link UpdateDiscoveryJobCommandInput}
38
+ * @returns {@link UpdateDiscoveryJobCommandOutput}
39
+ * @see {@link UpdateDiscoveryJobCommandInput} for command's `input` shape.
40
+ * @see {@link UpdateDiscoveryJobCommandOutput} for command's `response` shape.
41
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
42
+ *
43
+ * @throws {@link InternalException} (server fault)
44
+ * <p>This exception is thrown when an error occurs in the DataSync
45
+ * service.</p>
46
+ *
47
+ * @throws {@link InvalidRequestException} (client fault)
48
+ * <p>This exception is thrown when the client submits a malformed request.</p>
49
+ *
50
+ *
51
+ */
52
+ export declare class UpdateDiscoveryJobCommand extends $Command<UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput, DataSyncClientResolvedConfig> {
53
+ readonly input: UpdateDiscoveryJobCommandInput;
54
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
58
+ constructor(input: UpdateDiscoveryJobCommandInput);
59
+ /**
60
+ * @internal
61
+ */
62
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
66
+ private serialize;
67
+ /**
68
+ * @internal
69
+ */
70
+ private deserialize;
71
+ }
@@ -63,7 +63,8 @@ export interface UpdateLocationHdfsCommandOutput extends UpdateLocationHdfsRespo
63
63
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
64
64
  *
65
65
  * @throws {@link InternalException} (server fault)
66
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
66
+ * <p>This exception is thrown when an error occurs in the DataSync
67
+ * service.</p>
67
68
  *
68
69
  * @throws {@link InvalidRequestException} (client fault)
69
70
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -19,8 +19,9 @@ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsRespons
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Updates some of the parameters of a previously created location for Network File System (NFS) access.
23
- * For information about creating an NFS location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Creating a location for NFS</a>.</p>
22
+ * <p>Updates some of the parameters of a previously created location for Network File System
23
+ * (NFS) access. For information about creating an NFS location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html">Creating a location for
24
+ * NFS</a>.</p>
24
25
  * @example
25
26
  * Use a bare-bones client and the command you need to make an API call.
26
27
  * ```javascript
@@ -50,7 +51,8 @@ export interface UpdateLocationNfsCommandOutput extends UpdateLocationNfsRespons
50
51
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
51
52
  *
52
53
  * @throws {@link InternalException} (server fault)
53
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
54
+ * <p>This exception is thrown when an error occurs in the DataSync
55
+ * service.</p>
54
56
  *
55
57
  * @throws {@link InvalidRequestException} (client fault)
56
58
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -52,7 +52,8 @@ export interface UpdateLocationObjectStorageCommandOutput extends UpdateLocation
52
52
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
53
53
  *
54
54
  * @throws {@link InternalException} (server fault)
55
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
55
+ * <p>This exception is thrown when an error occurs in the DataSync
56
+ * service.</p>
56
57
  *
57
58
  * @throws {@link InvalidRequestException} (client fault)
58
59
  * <p>This exception is thrown when the client submits a malformed request.</p>
@@ -20,8 +20,8 @@ export interface UpdateLocationSmbCommandOutput extends UpdateLocationSmbRespons
20
20
  /**
21
21
  * @public
22
22
  * <p>Updates some of the parameters of a previously created location for Server Message Block
23
- * (SMB) file system access. For information about creating an SMB location, see
24
- * <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating a location for SMB</a>.</p>
23
+ * (SMB) file system access. For information about creating an SMB location, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html">Creating a
24
+ * location for SMB</a>.</p>
25
25
  * @example
26
26
  * Use a bare-bones client and the command you need to make an API call.
27
27
  * ```javascript
@@ -52,7 +52,8 @@ export interface UpdateLocationSmbCommandOutput extends UpdateLocationSmbRespons
52
52
  * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
53
53
  *
54
54
  * @throws {@link InternalException} (server fault)
55
- * <p>This exception is thrown when an error occurs in the DataSync service.</p>
55
+ * <p>This exception is thrown when an error occurs in the DataSync
56
+ * service.</p>
56
57
  *
57
58
  * @throws {@link InvalidRequestException} (client fault)
58
59
  * <p>This exception is thrown when the client submits a malformed request.</p>