@aws-sdk/client-datasync 3.810.0 → 3.814.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +3 -107
  2. package/dist-cjs/index.js +26 -890
  3. package/dist-es/DataSync.js +0 -26
  4. package/dist-es/commands/index.js +0 -13
  5. package/dist-es/models/models_0.js +18 -62
  6. package/dist-es/pagination/index.js +0 -4
  7. package/dist-es/protocols/Aws_json1_1.js +2 -554
  8. package/dist-types/DataSync.d.ts +3 -96
  9. package/dist-types/DataSyncClient.d.ts +5 -18
  10. package/dist-types/commands/CreateAgentCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +3 -3
  12. package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +5 -4
  13. package/dist-types/commands/CreateLocationHdfsCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -2
  15. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateLocationS3Command.d.ts +4 -2
  17. package/dist-types/commands/CreateTaskCommand.d.ts +4 -3
  18. package/dist-types/commands/DescribeAgentCommand.d.ts +2 -2
  19. package/dist-types/commands/DescribeLocationAzureBlobCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeTaskCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateLocationAzureBlobCommand.d.ts +2 -1
  22. package/dist-types/commands/UpdateLocationEfsCommand.d.ts +4 -2
  23. package/dist-types/commands/UpdateLocationFsxLustreCommand.d.ts +4 -2
  24. package/dist-types/commands/UpdateLocationFsxOntapCommand.d.ts +4 -2
  25. package/dist-types/commands/UpdateLocationFsxOpenZfsCommand.d.ts +5 -3
  26. package/dist-types/commands/UpdateLocationFsxWindowsCommand.d.ts +4 -2
  27. package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +4 -3
  28. package/dist-types/commands/UpdateLocationNfsCommand.d.ts +4 -3
  29. package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +4 -2
  30. package/dist-types/commands/UpdateLocationS3Command.d.ts +3 -2
  31. package/dist-types/commands/UpdateLocationSmbCommand.d.ts +4 -3
  32. package/dist-types/commands/UpdateTaskCommand.d.ts +2 -1
  33. package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +2 -2
  34. package/dist-types/commands/index.d.ts +0 -13
  35. package/dist-types/index.d.ts +3 -3
  36. package/dist-types/models/models_0.d.ts +368 -1499
  37. package/dist-types/pagination/index.d.ts +0 -4
  38. package/dist-types/protocols/Aws_json1_1.d.ts +0 -117
  39. package/dist-types/ts3.4/DataSync.d.ts +0 -229
  40. package/dist-types/ts3.4/DataSyncClient.d.ts +0 -78
  41. package/dist-types/ts3.4/commands/index.d.ts +0 -13
  42. package/dist-types/ts3.4/models/models_0.d.ts +18 -307
  43. package/dist-types/ts3.4/pagination/index.d.ts +0 -4
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -156
  45. package/package.json +6 -8
  46. package/dist-es/commands/AddStorageSystemCommand.js +0 -23
  47. package/dist-es/commands/DescribeDiscoveryJobCommand.js +0 -22
  48. package/dist-es/commands/DescribeStorageSystemCommand.js +0 -22
  49. package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +0 -22
  50. package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +0 -22
  51. package/dist-es/commands/GenerateRecommendationsCommand.js +0 -22
  52. package/dist-es/commands/ListDiscoveryJobsCommand.js +0 -22
  53. package/dist-es/commands/ListStorageSystemsCommand.js +0 -22
  54. package/dist-es/commands/RemoveStorageSystemCommand.js +0 -22
  55. package/dist-es/commands/StartDiscoveryJobCommand.js +0 -22
  56. package/dist-es/commands/StopDiscoveryJobCommand.js +0 -22
  57. package/dist-es/commands/UpdateDiscoveryJobCommand.js +0 -22
  58. package/dist-es/commands/UpdateStorageSystemCommand.js +0 -23
  59. package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +0 -4
  60. package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +0 -4
  61. package/dist-es/pagination/ListDiscoveryJobsPaginator.js +0 -4
  62. package/dist-es/pagination/ListStorageSystemsPaginator.js +0 -4
  63. package/dist-types/commands/AddStorageSystemCommand.d.ts +0 -100
  64. package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +0 -84
  65. package/dist-types/commands/DescribeStorageSystemCommand.d.ts +0 -94
  66. package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -118
  67. package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -208
  68. package/dist-types/commands/GenerateRecommendationsCommand.d.ts +0 -85
  69. package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +0 -88
  70. package/dist-types/commands/ListStorageSystemsCommand.d.ts +0 -86
  71. package/dist-types/commands/RemoveStorageSystemCommand.d.ts +0 -78
  72. package/dist-types/commands/StartDiscoveryJobCommand.d.ts +0 -89
  73. package/dist-types/commands/StopDiscoveryJobCommand.d.ts +0 -80
  74. package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +0 -78
  75. package/dist-types/commands/UpdateStorageSystemCommand.d.ts +0 -91
  76. package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -7
  77. package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -7
  78. package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +0 -7
  79. package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +0 -7
  80. package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +0 -50
  81. package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +0 -51
  82. package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +0 -51
  83. package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +0 -51
  84. package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +0 -51
  85. package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +0 -51
  86. package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +0 -51
  87. package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +0 -51
  88. package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +0 -51
  89. package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +0 -51
  90. package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +0 -50
  91. package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +0 -51
  92. package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +0 -51
  93. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +0 -11
  94. package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +0 -11
  95. package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +0 -11
  96. package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +0 -11
@@ -1,85 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { GenerateRecommendationsRequest, GenerateRecommendationsResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link GenerateRecommendationsCommand}.
14
- */
15
- export interface GenerateRecommendationsCommandInput extends GenerateRecommendationsRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GenerateRecommendationsCommand}.
21
- */
22
- export interface GenerateRecommendationsCommandOutput extends GenerateRecommendationsResponse, __MetadataBearer {
23
- }
24
- declare const GenerateRecommendationsCommand_base: {
25
- new (input: GenerateRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendationsCommandInput, GenerateRecommendationsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GenerateRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateRecommendationsCommandInput, GenerateRecommendationsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Creates recommendations about where to migrate your data to in Amazon Web Services.
31
- * Recommendations are generated based on information that DataSync Discovery collects about your
32
- * on-premises storage system's resources. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html">Recommendations
33
- * provided by DataSync Discovery</a>.</p>
34
- * <p>Once generated, you can view your recommendations by using the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html">DescribeStorageSystemResources</a> operation.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { DataSyncClient, GenerateRecommendationsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
39
- * // const { DataSyncClient, GenerateRecommendationsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
40
- * const client = new DataSyncClient(config);
41
- * const input = { // GenerateRecommendationsRequest
42
- * DiscoveryJobArn: "STRING_VALUE", // required
43
- * ResourceIds: [ // ResourceIds // required
44
- * "STRING_VALUE",
45
- * ],
46
- * ResourceType: "SVM" || "VOLUME" || "CLUSTER", // required
47
- * };
48
- * const command = new GenerateRecommendationsCommand(input);
49
- * const response = await client.send(command);
50
- * // {};
51
- *
52
- * ```
53
- *
54
- * @param GenerateRecommendationsCommandInput - {@link GenerateRecommendationsCommandInput}
55
- * @returns {@link GenerateRecommendationsCommandOutput}
56
- * @see {@link GenerateRecommendationsCommandInput} for command's `input` shape.
57
- * @see {@link GenerateRecommendationsCommandOutput} for command's `response` shape.
58
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
59
- *
60
- * @throws {@link InternalException} (server fault)
61
- * <p>This exception is thrown when an error occurs in the DataSync
62
- * service.</p>
63
- *
64
- * @throws {@link InvalidRequestException} (client fault)
65
- * <p>This exception is thrown when the client submits a malformed request.</p>
66
- *
67
- * @throws {@link DataSyncServiceException}
68
- * <p>Base exception class for all service exceptions from DataSync service.</p>
69
- *
70
- *
71
- * @public
72
- */
73
- export declare class GenerateRecommendationsCommand extends GenerateRecommendationsCommand_base {
74
- /** @internal type navigation helper, not in runtime. */
75
- protected static __types: {
76
- api: {
77
- input: GenerateRecommendationsRequest;
78
- output: {};
79
- };
80
- sdk: {
81
- input: GenerateRecommendationsCommandInput;
82
- output: GenerateRecommendationsCommandOutput;
83
- };
84
- };
85
- }
@@ -1,88 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { ListDiscoveryJobsRequest, ListDiscoveryJobsResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link ListDiscoveryJobsCommand}.
14
- */
15
- export interface ListDiscoveryJobsCommandInput extends ListDiscoveryJobsRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListDiscoveryJobsCommand}.
21
- */
22
- export interface ListDiscoveryJobsCommandOutput extends ListDiscoveryJobsResponse, __MetadataBearer {
23
- }
24
- declare const ListDiscoveryJobsCommand_base: {
25
- new (input: ListDiscoveryJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDiscoveryJobsCommandInput, ListDiscoveryJobsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListDiscoveryJobsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDiscoveryJobsCommandInput, ListDiscoveryJobsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Provides a list of the existing discovery jobs in the Amazon Web Services Region and
31
- * Amazon Web Services account where you're using DataSync Discovery.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, ListDiscoveryJobsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, ListDiscoveryJobsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // ListDiscoveryJobsRequest
39
- * StorageSystemArn: "STRING_VALUE",
40
- * MaxResults: Number("int"),
41
- * NextToken: "STRING_VALUE",
42
- * };
43
- * const command = new ListDiscoveryJobsCommand(input);
44
- * const response = await client.send(command);
45
- * // { // ListDiscoveryJobsResponse
46
- * // DiscoveryJobs: [ // DiscoveryJobList
47
- * // { // DiscoveryJobListEntry
48
- * // DiscoveryJobArn: "STRING_VALUE",
49
- * // Status: "RUNNING" || "WARNING" || "TERMINATED" || "FAILED" || "STOPPED" || "COMPLETED" || "COMPLETED_WITH_ISSUES",
50
- * // },
51
- * // ],
52
- * // NextToken: "STRING_VALUE",
53
- * // };
54
- *
55
- * ```
56
- *
57
- * @param ListDiscoveryJobsCommandInput - {@link ListDiscoveryJobsCommandInput}
58
- * @returns {@link ListDiscoveryJobsCommandOutput}
59
- * @see {@link ListDiscoveryJobsCommandInput} for command's `input` shape.
60
- * @see {@link ListDiscoveryJobsCommandOutput} for command's `response` shape.
61
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
62
- *
63
- * @throws {@link InternalException} (server fault)
64
- * <p>This exception is thrown when an error occurs in the DataSync
65
- * service.</p>
66
- *
67
- * @throws {@link InvalidRequestException} (client fault)
68
- * <p>This exception is thrown when the client submits a malformed request.</p>
69
- *
70
- * @throws {@link DataSyncServiceException}
71
- * <p>Base exception class for all service exceptions from DataSync service.</p>
72
- *
73
- *
74
- * @public
75
- */
76
- export declare class ListDiscoveryJobsCommand extends ListDiscoveryJobsCommand_base {
77
- /** @internal type navigation helper, not in runtime. */
78
- protected static __types: {
79
- api: {
80
- input: ListDiscoveryJobsRequest;
81
- output: ListDiscoveryJobsResponse;
82
- };
83
- sdk: {
84
- input: ListDiscoveryJobsCommandInput;
85
- output: ListDiscoveryJobsCommandOutput;
86
- };
87
- };
88
- }
@@ -1,86 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { ListStorageSystemsRequest, ListStorageSystemsResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link ListStorageSystemsCommand}.
14
- */
15
- export interface ListStorageSystemsCommandInput extends ListStorageSystemsRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListStorageSystemsCommand}.
21
- */
22
- export interface ListStorageSystemsCommandOutput extends ListStorageSystemsResponse, __MetadataBearer {
23
- }
24
- declare const ListStorageSystemsCommand_base: {
25
- new (input: ListStorageSystemsCommandInput): import("@smithy/smithy-client").CommandImpl<ListStorageSystemsCommandInput, ListStorageSystemsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListStorageSystemsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListStorageSystemsCommandInput, ListStorageSystemsCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Lists the on-premises storage systems that you're using with DataSync Discovery.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { DataSyncClient, ListStorageSystemsCommand } from "@aws-sdk/client-datasync"; // ES Modules import
35
- * // const { DataSyncClient, ListStorageSystemsCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
36
- * const client = new DataSyncClient(config);
37
- * const input = { // ListStorageSystemsRequest
38
- * MaxResults: Number("int"),
39
- * NextToken: "STRING_VALUE",
40
- * };
41
- * const command = new ListStorageSystemsCommand(input);
42
- * const response = await client.send(command);
43
- * // { // ListStorageSystemsResponse
44
- * // StorageSystems: [ // StorageSystemList
45
- * // { // StorageSystemListEntry
46
- * // StorageSystemArn: "STRING_VALUE",
47
- * // Name: "STRING_VALUE",
48
- * // },
49
- * // ],
50
- * // NextToken: "STRING_VALUE",
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param ListStorageSystemsCommandInput - {@link ListStorageSystemsCommandInput}
56
- * @returns {@link ListStorageSystemsCommandOutput}
57
- * @see {@link ListStorageSystemsCommandInput} for command's `input` shape.
58
- * @see {@link ListStorageSystemsCommandOutput} for command's `response` shape.
59
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
60
- *
61
- * @throws {@link InternalException} (server fault)
62
- * <p>This exception is thrown when an error occurs in the DataSync
63
- * service.</p>
64
- *
65
- * @throws {@link InvalidRequestException} (client fault)
66
- * <p>This exception is thrown when the client submits a malformed request.</p>
67
- *
68
- * @throws {@link DataSyncServiceException}
69
- * <p>Base exception class for all service exceptions from DataSync service.</p>
70
- *
71
- *
72
- * @public
73
- */
74
- export declare class ListStorageSystemsCommand extends ListStorageSystemsCommand_base {
75
- /** @internal type navigation helper, not in runtime. */
76
- protected static __types: {
77
- api: {
78
- input: ListStorageSystemsRequest;
79
- output: ListStorageSystemsResponse;
80
- };
81
- sdk: {
82
- input: ListStorageSystemsCommandInput;
83
- output: ListStorageSystemsCommandOutput;
84
- };
85
- };
86
- }
@@ -1,78 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { RemoveStorageSystemRequest, RemoveStorageSystemResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link RemoveStorageSystemCommand}.
14
- */
15
- export interface RemoveStorageSystemCommandInput extends RemoveStorageSystemRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link RemoveStorageSystemCommand}.
21
- */
22
- export interface RemoveStorageSystemCommandOutput extends RemoveStorageSystemResponse, __MetadataBearer {
23
- }
24
- declare const RemoveStorageSystemCommand_base: {
25
- new (input: RemoveStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveStorageSystemCommandInput, RemoveStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: RemoveStorageSystemCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveStorageSystemCommandInput, RemoveStorageSystemCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Permanently removes a storage system resource from DataSync Discovery, including the associated
31
- * discovery jobs, collected data, and recommendations.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DataSyncClient, RemoveStorageSystemCommand } from "@aws-sdk/client-datasync"; // ES Modules import
36
- * // const { DataSyncClient, RemoveStorageSystemCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
37
- * const client = new DataSyncClient(config);
38
- * const input = { // RemoveStorageSystemRequest
39
- * StorageSystemArn: "STRING_VALUE", // required
40
- * };
41
- * const command = new RemoveStorageSystemCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param RemoveStorageSystemCommandInput - {@link RemoveStorageSystemCommandInput}
48
- * @returns {@link RemoveStorageSystemCommandOutput}
49
- * @see {@link RemoveStorageSystemCommandInput} for command's `input` shape.
50
- * @see {@link RemoveStorageSystemCommandOutput} for command's `response` shape.
51
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
52
- *
53
- * @throws {@link InternalException} (server fault)
54
- * <p>This exception is thrown when an error occurs in the DataSync
55
- * service.</p>
56
- *
57
- * @throws {@link InvalidRequestException} (client fault)
58
- * <p>This exception is thrown when the client submits a malformed request.</p>
59
- *
60
- * @throws {@link DataSyncServiceException}
61
- * <p>Base exception class for all service exceptions from DataSync service.</p>
62
- *
63
- *
64
- * @public
65
- */
66
- export declare class RemoveStorageSystemCommand extends RemoveStorageSystemCommand_base {
67
- /** @internal type navigation helper, not in runtime. */
68
- protected static __types: {
69
- api: {
70
- input: RemoveStorageSystemRequest;
71
- output: {};
72
- };
73
- sdk: {
74
- input: RemoveStorageSystemCommandInput;
75
- output: RemoveStorageSystemCommandOutput;
76
- };
77
- };
78
- }
@@ -1,89 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { StartDiscoveryJobRequest, StartDiscoveryJobResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link StartDiscoveryJobCommand}.
14
- */
15
- export interface StartDiscoveryJobCommandInput extends StartDiscoveryJobRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link StartDiscoveryJobCommand}.
21
- */
22
- export interface StartDiscoveryJobCommandOutput extends StartDiscoveryJobResponse, __MetadataBearer {
23
- }
24
- declare const StartDiscoveryJobCommand_base: {
25
- new (input: StartDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartDiscoveryJobCommandInput, StartDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<StartDiscoveryJobCommandInput, StartDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Runs a DataSync discovery job on your on-premises storage system. If you haven't added the
31
- * 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>
32
- * operation.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { DataSyncClient, StartDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
37
- * // const { DataSyncClient, StartDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
38
- * const client = new DataSyncClient(config);
39
- * const input = { // StartDiscoveryJobRequest
40
- * StorageSystemArn: "STRING_VALUE", // required
41
- * CollectionDurationMinutes: Number("int"), // required
42
- * ClientToken: "STRING_VALUE", // required
43
- * Tags: [ // InputTagList
44
- * { // TagListEntry
45
- * Key: "STRING_VALUE", // required
46
- * Value: "STRING_VALUE",
47
- * },
48
- * ],
49
- * };
50
- * const command = new StartDiscoveryJobCommand(input);
51
- * const response = await client.send(command);
52
- * // { // StartDiscoveryJobResponse
53
- * // DiscoveryJobArn: "STRING_VALUE",
54
- * // };
55
- *
56
- * ```
57
- *
58
- * @param StartDiscoveryJobCommandInput - {@link StartDiscoveryJobCommandInput}
59
- * @returns {@link StartDiscoveryJobCommandOutput}
60
- * @see {@link StartDiscoveryJobCommandInput} for command's `input` shape.
61
- * @see {@link StartDiscoveryJobCommandOutput} for command's `response` shape.
62
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
63
- *
64
- * @throws {@link InternalException} (server fault)
65
- * <p>This exception is thrown when an error occurs in the DataSync
66
- * service.</p>
67
- *
68
- * @throws {@link InvalidRequestException} (client fault)
69
- * <p>This exception is thrown when the client submits a malformed request.</p>
70
- *
71
- * @throws {@link DataSyncServiceException}
72
- * <p>Base exception class for all service exceptions from DataSync service.</p>
73
- *
74
- *
75
- * @public
76
- */
77
- export declare class StartDiscoveryJobCommand extends StartDiscoveryJobCommand_base {
78
- /** @internal type navigation helper, not in runtime. */
79
- protected static __types: {
80
- api: {
81
- input: StartDiscoveryJobRequest;
82
- output: StartDiscoveryJobResponse;
83
- };
84
- sdk: {
85
- input: StartDiscoveryJobCommandInput;
86
- output: StartDiscoveryJobCommandOutput;
87
- };
88
- };
89
- }
@@ -1,80 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { StopDiscoveryJobRequest, StopDiscoveryJobResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link StopDiscoveryJobCommand}.
14
- */
15
- export interface StopDiscoveryJobCommandInput extends StopDiscoveryJobRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link StopDiscoveryJobCommand}.
21
- */
22
- export interface StopDiscoveryJobCommandOutput extends StopDiscoveryJobResponse, __MetadataBearer {
23
- }
24
- declare const StopDiscoveryJobCommand_base: {
25
- new (input: StopDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopDiscoveryJobCommandInput, StopDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StopDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopDiscoveryJobCommandInput, StopDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Stops a running DataSync discovery job.</p>
31
- * <p>You can stop a discovery job anytime. A job that's stopped before it's scheduled to end
32
- * likely will provide you some information about your on-premises storage system resources. To
33
- * 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>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { DataSyncClient, StopDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
38
- * // const { DataSyncClient, StopDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
39
- * const client = new DataSyncClient(config);
40
- * const input = { // StopDiscoveryJobRequest
41
- * DiscoveryJobArn: "STRING_VALUE", // required
42
- * };
43
- * const command = new StopDiscoveryJobCommand(input);
44
- * const response = await client.send(command);
45
- * // {};
46
- *
47
- * ```
48
- *
49
- * @param StopDiscoveryJobCommandInput - {@link StopDiscoveryJobCommandInput}
50
- * @returns {@link StopDiscoveryJobCommandOutput}
51
- * @see {@link StopDiscoveryJobCommandInput} for command's `input` shape.
52
- * @see {@link StopDiscoveryJobCommandOutput} for command's `response` shape.
53
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
54
- *
55
- * @throws {@link InternalException} (server fault)
56
- * <p>This exception is thrown when an error occurs in the DataSync
57
- * service.</p>
58
- *
59
- * @throws {@link InvalidRequestException} (client fault)
60
- * <p>This exception is thrown when the client submits a malformed request.</p>
61
- *
62
- * @throws {@link DataSyncServiceException}
63
- * <p>Base exception class for all service exceptions from DataSync service.</p>
64
- *
65
- *
66
- * @public
67
- */
68
- export declare class StopDiscoveryJobCommand extends StopDiscoveryJobCommand_base {
69
- /** @internal type navigation helper, not in runtime. */
70
- protected static __types: {
71
- api: {
72
- input: StopDiscoveryJobRequest;
73
- output: {};
74
- };
75
- sdk: {
76
- input: StopDiscoveryJobCommandInput;
77
- output: StopDiscoveryJobCommandOutput;
78
- };
79
- };
80
- }
@@ -1,78 +0,0 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
4
- import { UpdateDiscoveryJobRequest, UpdateDiscoveryJobResponse } from "../models/models_0";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link UpdateDiscoveryJobCommand}.
14
- */
15
- export interface UpdateDiscoveryJobCommandInput extends UpdateDiscoveryJobRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link UpdateDiscoveryJobCommand}.
21
- */
22
- export interface UpdateDiscoveryJobCommandOutput extends UpdateDiscoveryJobResponse, __MetadataBearer {
23
- }
24
- declare const UpdateDiscoveryJobCommand_base: {
25
- new (input: UpdateDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateDiscoveryJobCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDiscoveryJobCommandInput, UpdateDiscoveryJobCommandOutput, DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * <p>Edits a DataSync discovery job configuration.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { DataSyncClient, UpdateDiscoveryJobCommand } from "@aws-sdk/client-datasync"; // ES Modules import
35
- * // const { DataSyncClient, UpdateDiscoveryJobCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
36
- * const client = new DataSyncClient(config);
37
- * const input = { // UpdateDiscoveryJobRequest
38
- * DiscoveryJobArn: "STRING_VALUE", // required
39
- * CollectionDurationMinutes: Number("int"), // required
40
- * };
41
- * const command = new UpdateDiscoveryJobCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param UpdateDiscoveryJobCommandInput - {@link UpdateDiscoveryJobCommandInput}
48
- * @returns {@link UpdateDiscoveryJobCommandOutput}
49
- * @see {@link UpdateDiscoveryJobCommandInput} for command's `input` shape.
50
- * @see {@link UpdateDiscoveryJobCommandOutput} for command's `response` shape.
51
- * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
52
- *
53
- * @throws {@link InternalException} (server fault)
54
- * <p>This exception is thrown when an error occurs in the DataSync
55
- * service.</p>
56
- *
57
- * @throws {@link InvalidRequestException} (client fault)
58
- * <p>This exception is thrown when the client submits a malformed request.</p>
59
- *
60
- * @throws {@link DataSyncServiceException}
61
- * <p>Base exception class for all service exceptions from DataSync service.</p>
62
- *
63
- *
64
- * @public
65
- */
66
- export declare class UpdateDiscoveryJobCommand extends UpdateDiscoveryJobCommand_base {
67
- /** @internal type navigation helper, not in runtime. */
68
- protected static __types: {
69
- api: {
70
- input: UpdateDiscoveryJobRequest;
71
- output: {};
72
- };
73
- sdk: {
74
- input: UpdateDiscoveryJobCommandInput;
75
- output: UpdateDiscoveryJobCommandOutput;
76
- };
77
- };
78
- }