@aws-sdk/client-datasync 3.316.0 → 3.320.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +113 -8
- package/dist-cjs/DataSync.js +26 -0
- package/dist-cjs/commands/AddStorageSystemCommand.js +46 -0
- package/dist-cjs/commands/DescribeDiscoveryJobCommand.js +45 -0
- package/dist-cjs/commands/DescribeStorageSystemCommand.js +45 -0
- package/dist-cjs/commands/DescribeStorageSystemResourceMetricsCommand.js +45 -0
- package/dist-cjs/commands/DescribeStorageSystemResourcesCommand.js +45 -0
- package/dist-cjs/commands/GenerateRecommendationsCommand.js +45 -0
- package/dist-cjs/commands/ListDiscoveryJobsCommand.js +45 -0
- package/dist-cjs/commands/ListStorageSystemsCommand.js +45 -0
- package/dist-cjs/commands/RemoveStorageSystemCommand.js +45 -0
- package/dist-cjs/commands/StartDiscoveryJobCommand.js +45 -0
- package/dist-cjs/commands/StopDiscoveryJobCommand.js +45 -0
- package/dist-cjs/commands/UpdateDiscoveryJobCommand.js +45 -0
- package/dist-cjs/commands/UpdateStorageSystemCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +56 -8
- package/dist-cjs/pagination/DescribeStorageSystemResourceMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeStorageSystemResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/ListDiscoveryJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListStorageSystemsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +948 -87
- package/dist-es/DataSync.js +26 -0
- package/dist-es/commands/AddStorageSystemCommand.js +42 -0
- package/dist-es/commands/DescribeDiscoveryJobCommand.js +41 -0
- package/dist-es/commands/DescribeStorageSystemCommand.js +41 -0
- package/dist-es/commands/DescribeStorageSystemResourceMetricsCommand.js +41 -0
- package/dist-es/commands/DescribeStorageSystemResourcesCommand.js +41 -0
- package/dist-es/commands/GenerateRecommendationsCommand.js +41 -0
- package/dist-es/commands/ListDiscoveryJobsCommand.js +41 -0
- package/dist-es/commands/ListStorageSystemsCommand.js +41 -0
- package/dist-es/commands/RemoveStorageSystemCommand.js +41 -0
- package/dist-es/commands/StartDiscoveryJobCommand.js +41 -0
- package/dist-es/commands/StopDiscoveryJobCommand.js +41 -0
- package/dist-es/commands/UpdateDiscoveryJobCommand.js +41 -0
- package/dist-es/commands/UpdateStorageSystemCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +51 -7
- package/dist-es/pagination/DescribeStorageSystemResourceMetricsPaginator.js +25 -0
- package/dist-es/pagination/DescribeStorageSystemResourcesPaginator.js +25 -0
- package/dist-es/pagination/ListDiscoveryJobsPaginator.js +25 -0
- package/dist-es/pagination/ListStorageSystemsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +908 -74
- package/dist-types/DataSync.d.ts +94 -2
- package/dist-types/DataSyncClient.d.ts +18 -4
- package/dist-types/commands/AddStorageSystemCommand.d.ts +91 -0
- package/dist-types/commands/CancelTaskExecutionCommand.d.ts +4 -3
- package/dist-types/commands/CreateAgentCommand.d.ts +4 -3
- package/dist-types/commands/CreateLocationEfsCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +3 -3
- package/dist-types/commands/CreateLocationFsxOpenZfsCommand.d.ts +4 -4
- package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocationHdfsCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +2 -1
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +5 -2
- package/dist-types/commands/CreateLocationS3Command.d.ts +20 -3
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +2 -1
- package/dist-types/commands/CreateTaskCommand.d.ts +8 -1
- package/dist-types/commands/DeleteAgentCommand.d.ts +4 -4
- package/dist-types/commands/DeleteLocationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTaskCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAgentCommand.d.ts +4 -2
- package/dist-types/commands/DescribeDiscoveryJobCommand.d.ts +70 -0
- package/dist-types/commands/DescribeLocationEfsCommand.d.ts +4 -2
- package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocationFsxOpenZfsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +4 -3
- package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +4 -2
- package/dist-types/commands/DescribeLocationS3Command.d.ts +2 -1
- package/dist-types/commands/DescribeLocationSmbCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStorageSystemCommand.d.ts +71 -0
- package/dist-types/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +77 -0
- package/dist-types/commands/DescribeStorageSystemResourcesCommand.d.ts +82 -0
- package/dist-types/commands/DescribeTaskCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +2 -1
- package/dist-types/commands/GenerateRecommendationsCommand.d.ts +82 -0
- package/dist-types/commands/ListAgentsCommand.d.ts +2 -1
- package/dist-types/commands/ListDiscoveryJobsCommand.d.ts +73 -0
- package/dist-types/commands/ListLocationsCommand.d.ts +2 -1
- package/dist-types/commands/ListStorageSystemsCommand.d.ts +71 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListTaskExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListTasksCommand.d.ts +2 -1
- package/dist-types/commands/RemoveStorageSystemCommand.d.ts +71 -0
- package/dist-types/commands/StartDiscoveryJobCommand.d.ts +80 -0
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +10 -2
- package/dist-types/commands/StopDiscoveryJobCommand.d.ts +73 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAgentCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDiscoveryJobCommand.d.ts +71 -0
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +5 -3
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +2 -1
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +4 -3
- package/dist-types/commands/UpdateStorageSystemCommand.d.ts +84 -0
- package/dist-types/commands/UpdateTaskCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +7 -7
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +1429 -296
- package/dist-types/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeStorageSystemResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDiscoveryJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListStorageSystemsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
- package/dist-types/ts3.4/DataSync.d.ts +227 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/AddStorageSystemCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeDiscoveryJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeStorageSystemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeStorageSystemResourceMetricsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeStorageSystemResourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GenerateRecommendationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDiscoveryJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListStorageSystemsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveStorageSystemCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartDiscoveryJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StopDiscoveryJobCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateDiscoveryJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateStorageSystemCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +302 -18
- package/dist-types/ts3.4/pagination/DescribeStorageSystemResourceMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeStorageSystemResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDiscoveryJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListStorageSystemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
- package/package.json +8 -6
package/dist-es/DataSync.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { AddStorageSystemCommand, } from "./commands/AddStorageSystemCommand";
|
|
2
3
|
import { CancelTaskExecutionCommand, } from "./commands/CancelTaskExecutionCommand";
|
|
3
4
|
import { CreateAgentCommand } from "./commands/CreateAgentCommand";
|
|
4
5
|
import { CreateLocationEfsCommand, } from "./commands/CreateLocationEfsCommand";
|
|
@@ -16,6 +17,7 @@ import { DeleteAgentCommand } from "./commands/DeleteAgentCommand";
|
|
|
16
17
|
import { DeleteLocationCommand, } from "./commands/DeleteLocationCommand";
|
|
17
18
|
import { DeleteTaskCommand } from "./commands/DeleteTaskCommand";
|
|
18
19
|
import { DescribeAgentCommand, } from "./commands/DescribeAgentCommand";
|
|
20
|
+
import { DescribeDiscoveryJobCommand, } from "./commands/DescribeDiscoveryJobCommand";
|
|
19
21
|
import { DescribeLocationEfsCommand, } from "./commands/DescribeLocationEfsCommand";
|
|
20
22
|
import { DescribeLocationFsxLustreCommand, } from "./commands/DescribeLocationFsxLustreCommand";
|
|
21
23
|
import { DescribeLocationFsxOntapCommand, } from "./commands/DescribeLocationFsxOntapCommand";
|
|
@@ -26,25 +28,37 @@ import { DescribeLocationNfsCommand, } from "./commands/DescribeLocationNfsComma
|
|
|
26
28
|
import { DescribeLocationObjectStorageCommand, } from "./commands/DescribeLocationObjectStorageCommand";
|
|
27
29
|
import { DescribeLocationS3Command, } from "./commands/DescribeLocationS3Command";
|
|
28
30
|
import { DescribeLocationSmbCommand, } from "./commands/DescribeLocationSmbCommand";
|
|
31
|
+
import { DescribeStorageSystemCommand, } from "./commands/DescribeStorageSystemCommand";
|
|
32
|
+
import { DescribeStorageSystemResourceMetricsCommand, } from "./commands/DescribeStorageSystemResourceMetricsCommand";
|
|
33
|
+
import { DescribeStorageSystemResourcesCommand, } from "./commands/DescribeStorageSystemResourcesCommand";
|
|
29
34
|
import { DescribeTaskCommand, } from "./commands/DescribeTaskCommand";
|
|
30
35
|
import { DescribeTaskExecutionCommand, } from "./commands/DescribeTaskExecutionCommand";
|
|
36
|
+
import { GenerateRecommendationsCommand, } from "./commands/GenerateRecommendationsCommand";
|
|
31
37
|
import { ListAgentsCommand } from "./commands/ListAgentsCommand";
|
|
38
|
+
import { ListDiscoveryJobsCommand, } from "./commands/ListDiscoveryJobsCommand";
|
|
32
39
|
import { ListLocationsCommand, } from "./commands/ListLocationsCommand";
|
|
40
|
+
import { ListStorageSystemsCommand, } from "./commands/ListStorageSystemsCommand";
|
|
33
41
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
34
42
|
import { ListTaskExecutionsCommand, } from "./commands/ListTaskExecutionsCommand";
|
|
35
43
|
import { ListTasksCommand } from "./commands/ListTasksCommand";
|
|
44
|
+
import { RemoveStorageSystemCommand, } from "./commands/RemoveStorageSystemCommand";
|
|
45
|
+
import { StartDiscoveryJobCommand, } from "./commands/StartDiscoveryJobCommand";
|
|
36
46
|
import { StartTaskExecutionCommand, } from "./commands/StartTaskExecutionCommand";
|
|
47
|
+
import { StopDiscoveryJobCommand, } from "./commands/StopDiscoveryJobCommand";
|
|
37
48
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
38
49
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
39
50
|
import { UpdateAgentCommand } from "./commands/UpdateAgentCommand";
|
|
51
|
+
import { UpdateDiscoveryJobCommand, } from "./commands/UpdateDiscoveryJobCommand";
|
|
40
52
|
import { UpdateLocationHdfsCommand, } from "./commands/UpdateLocationHdfsCommand";
|
|
41
53
|
import { UpdateLocationNfsCommand, } from "./commands/UpdateLocationNfsCommand";
|
|
42
54
|
import { UpdateLocationObjectStorageCommand, } from "./commands/UpdateLocationObjectStorageCommand";
|
|
43
55
|
import { UpdateLocationSmbCommand, } from "./commands/UpdateLocationSmbCommand";
|
|
56
|
+
import { UpdateStorageSystemCommand, } from "./commands/UpdateStorageSystemCommand";
|
|
44
57
|
import { UpdateTaskCommand } from "./commands/UpdateTaskCommand";
|
|
45
58
|
import { UpdateTaskExecutionCommand, } from "./commands/UpdateTaskExecutionCommand";
|
|
46
59
|
import { DataSyncClient } from "./DataSyncClient";
|
|
47
60
|
const commands = {
|
|
61
|
+
AddStorageSystemCommand,
|
|
48
62
|
CancelTaskExecutionCommand,
|
|
49
63
|
CreateAgentCommand,
|
|
50
64
|
CreateLocationEfsCommand,
|
|
@@ -62,6 +76,7 @@ const commands = {
|
|
|
62
76
|
DeleteLocationCommand,
|
|
63
77
|
DeleteTaskCommand,
|
|
64
78
|
DescribeAgentCommand,
|
|
79
|
+
DescribeDiscoveryJobCommand,
|
|
65
80
|
DescribeLocationEfsCommand,
|
|
66
81
|
DescribeLocationFsxLustreCommand,
|
|
67
82
|
DescribeLocationFsxOntapCommand,
|
|
@@ -72,21 +87,32 @@ const commands = {
|
|
|
72
87
|
DescribeLocationObjectStorageCommand,
|
|
73
88
|
DescribeLocationS3Command,
|
|
74
89
|
DescribeLocationSmbCommand,
|
|
90
|
+
DescribeStorageSystemCommand,
|
|
91
|
+
DescribeStorageSystemResourceMetricsCommand,
|
|
92
|
+
DescribeStorageSystemResourcesCommand,
|
|
75
93
|
DescribeTaskCommand,
|
|
76
94
|
DescribeTaskExecutionCommand,
|
|
95
|
+
GenerateRecommendationsCommand,
|
|
77
96
|
ListAgentsCommand,
|
|
97
|
+
ListDiscoveryJobsCommand,
|
|
78
98
|
ListLocationsCommand,
|
|
99
|
+
ListStorageSystemsCommand,
|
|
79
100
|
ListTagsForResourceCommand,
|
|
80
101
|
ListTaskExecutionsCommand,
|
|
81
102
|
ListTasksCommand,
|
|
103
|
+
RemoveStorageSystemCommand,
|
|
104
|
+
StartDiscoveryJobCommand,
|
|
82
105
|
StartTaskExecutionCommand,
|
|
106
|
+
StopDiscoveryJobCommand,
|
|
83
107
|
TagResourceCommand,
|
|
84
108
|
UntagResourceCommand,
|
|
85
109
|
UpdateAgentCommand,
|
|
110
|
+
UpdateDiscoveryJobCommand,
|
|
86
111
|
UpdateLocationHdfsCommand,
|
|
87
112
|
UpdateLocationNfsCommand,
|
|
88
113
|
UpdateLocationObjectStorageCommand,
|
|
89
114
|
UpdateLocationSmbCommand,
|
|
115
|
+
UpdateStorageSystemCommand,
|
|
90
116
|
UpdateTaskCommand,
|
|
91
117
|
UpdateTaskExecutionCommand,
|
|
92
118
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AddStorageSystemRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_AddStorageSystemCommand, se_AddStorageSystemCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class AddStorageSystemCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, AddStorageSystemCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DataSyncClient";
|
|
25
|
+
const commandName = "AddStorageSystemCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: AddStorageSystemRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_AddStorageSystemCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_AddStorageSystemCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeDiscoveryJobCommand, se_DescribeDiscoveryJobCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class DescribeDiscoveryJobCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDiscoveryJobCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "DescribeDiscoveryJobCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_DescribeDiscoveryJobCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_DescribeDiscoveryJobCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeStorageSystemCommand, se_DescribeStorageSystemCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class DescribeStorageSystemCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeStorageSystemCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "DescribeStorageSystemCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_DescribeStorageSystemCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_DescribeStorageSystemCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeStorageSystemResourceMetricsCommand, se_DescribeStorageSystemResourceMetricsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class DescribeStorageSystemResourceMetricsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeStorageSystemResourceMetricsCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "DescribeStorageSystemResourceMetricsCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_DescribeStorageSystemResourceMetricsCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_DescribeStorageSystemResourceMetricsCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeStorageSystemResourcesCommand, se_DescribeStorageSystemResourcesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class DescribeStorageSystemResourcesCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeStorageSystemResourcesCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "DescribeStorageSystemResourcesCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_DescribeStorageSystemResourcesCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_DescribeStorageSystemResourcesCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_GenerateRecommendationsCommand, se_GenerateRecommendationsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class GenerateRecommendationsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GenerateRecommendationsCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "GenerateRecommendationsCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_GenerateRecommendationsCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_GenerateRecommendationsCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListDiscoveryJobsCommand, se_ListDiscoveryJobsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class ListDiscoveryJobsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDiscoveryJobsCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "ListDiscoveryJobsCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_ListDiscoveryJobsCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_ListDiscoveryJobsCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListStorageSystemsCommand, se_ListStorageSystemsCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class ListStorageSystemsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListStorageSystemsCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "ListStorageSystemsCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_ListStorageSystemsCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_ListStorageSystemsCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_RemoveStorageSystemCommand, se_RemoveStorageSystemCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class RemoveStorageSystemCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveStorageSystemCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "RemoveStorageSystemCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_RemoveStorageSystemCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_RemoveStorageSystemCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_StartDiscoveryJobCommand, se_StartDiscoveryJobCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class StartDiscoveryJobCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartDiscoveryJobCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "StartDiscoveryJobCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_StartDiscoveryJobCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_StartDiscoveryJobCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_StopDiscoveryJobCommand, se_StopDiscoveryJobCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class StopDiscoveryJobCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopDiscoveryJobCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "StopDiscoveryJobCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_StopDiscoveryJobCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_StopDiscoveryJobCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_UpdateDiscoveryJobCommand, se_UpdateDiscoveryJobCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class UpdateDiscoveryJobCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDiscoveryJobCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "DataSyncClient";
|
|
24
|
+
const commandName = "UpdateDiscoveryJobCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_UpdateDiscoveryJobCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_UpdateDiscoveryJobCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateStorageSystemRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_UpdateStorageSystemCommand, se_UpdateStorageSystemCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class UpdateStorageSystemCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateStorageSystemCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "DataSyncClient";
|
|
25
|
+
const commandName = "UpdateStorageSystemCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateStorageSystemRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_UpdateStorageSystemCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_UpdateStorageSystemCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|