@aws-sdk/client-backup-gateway 3.229.0 → 3.232.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/dist-cjs/BackupGateway.js +90 -0
- package/dist-cjs/commands/GetBandwidthRateLimitScheduleCommand.js +46 -0
- package/dist-cjs/commands/GetHypervisorCommand.js +46 -0
- package/dist-cjs/commands/GetHypervisorPropertyMappingsCommand.js +46 -0
- package/dist-cjs/commands/PutBandwidthRateLimitScheduleCommand.js +46 -0
- package/dist-cjs/commands/PutHypervisorPropertyMappingsCommand.js +46 -0
- package/dist-cjs/commands/StartVirtualMachinesMetadataSyncCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +78 -6
- package/dist-cjs/protocols/Aws_json1_0.js +538 -1
- package/dist-es/BackupGateway.js +90 -0
- package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +42 -0
- package/dist-es/commands/GetHypervisorCommand.js +42 -0
- package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +42 -0
- package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +42 -0
- package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +42 -0
- package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +60 -4
- package/dist-es/protocols/Aws_json1_0.js +526 -1
- package/dist-types/BackupGateway.d.ts +54 -0
- package/dist-types/BackupGatewayClient.d.ts +8 -2
- package/dist-types/commands/GetBandwidthRateLimitScheduleCommand.d.ts +40 -0
- package/dist-types/commands/GetHypervisorCommand.d.ts +39 -0
- package/dist-types/commands/GetHypervisorPropertyMappingsCommand.d.ts +39 -0
- package/dist-types/commands/PutBandwidthRateLimitScheduleCommand.d.ts +40 -0
- package/dist-types/commands/PutHypervisorPropertyMappingsCommand.d.ts +39 -0
- package/dist-types/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +355 -22
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/BackupGateway.d.ts +102 -0
- package/dist-types/ts3.4/BackupGatewayClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetBandwidthRateLimitScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetHypervisorCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetHypervisorPropertyMappingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutBandwidthRateLimitScheduleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutHypervisorPropertyMappingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +142 -15
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
- package/package.json +5 -5
package/dist-es/BackupGateway.js
CHANGED
|
@@ -4,14 +4,20 @@ import { CreateGatewayCommand, } from "./commands/CreateGatewayCommand";
|
|
|
4
4
|
import { DeleteGatewayCommand, } from "./commands/DeleteGatewayCommand";
|
|
5
5
|
import { DeleteHypervisorCommand, } from "./commands/DeleteHypervisorCommand";
|
|
6
6
|
import { DisassociateGatewayFromServerCommand, } from "./commands/DisassociateGatewayFromServerCommand";
|
|
7
|
+
import { GetBandwidthRateLimitScheduleCommand, } from "./commands/GetBandwidthRateLimitScheduleCommand";
|
|
7
8
|
import { GetGatewayCommand } from "./commands/GetGatewayCommand";
|
|
9
|
+
import { GetHypervisorCommand, } from "./commands/GetHypervisorCommand";
|
|
10
|
+
import { GetHypervisorPropertyMappingsCommand, } from "./commands/GetHypervisorPropertyMappingsCommand";
|
|
8
11
|
import { GetVirtualMachineCommand, } from "./commands/GetVirtualMachineCommand";
|
|
9
12
|
import { ImportHypervisorConfigurationCommand, } from "./commands/ImportHypervisorConfigurationCommand";
|
|
10
13
|
import { ListGatewaysCommand, } from "./commands/ListGatewaysCommand";
|
|
11
14
|
import { ListHypervisorsCommand, } from "./commands/ListHypervisorsCommand";
|
|
12
15
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
16
|
import { ListVirtualMachinesCommand, } from "./commands/ListVirtualMachinesCommand";
|
|
17
|
+
import { PutBandwidthRateLimitScheduleCommand, } from "./commands/PutBandwidthRateLimitScheduleCommand";
|
|
18
|
+
import { PutHypervisorPropertyMappingsCommand, } from "./commands/PutHypervisorPropertyMappingsCommand";
|
|
14
19
|
import { PutMaintenanceStartTimeCommand, } from "./commands/PutMaintenanceStartTimeCommand";
|
|
20
|
+
import { StartVirtualMachinesMetadataSyncCommand, } from "./commands/StartVirtualMachinesMetadataSyncCommand";
|
|
15
21
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
16
22
|
import { TestHypervisorConfigurationCommand, } from "./commands/TestHypervisorConfigurationCommand";
|
|
17
23
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -89,6 +95,20 @@ export class BackupGateway extends BackupGatewayClient {
|
|
|
89
95
|
return this.send(command, optionsOrCb);
|
|
90
96
|
}
|
|
91
97
|
}
|
|
98
|
+
getBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
99
|
+
const command = new GetBandwidthRateLimitScheduleCommand(args);
|
|
100
|
+
if (typeof optionsOrCb === "function") {
|
|
101
|
+
this.send(command, optionsOrCb);
|
|
102
|
+
}
|
|
103
|
+
else if (typeof cb === "function") {
|
|
104
|
+
if (typeof optionsOrCb !== "object")
|
|
105
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
return this.send(command, optionsOrCb);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
92
112
|
getGateway(args, optionsOrCb, cb) {
|
|
93
113
|
const command = new GetGatewayCommand(args);
|
|
94
114
|
if (typeof optionsOrCb === "function") {
|
|
@@ -103,6 +123,34 @@ export class BackupGateway extends BackupGatewayClient {
|
|
|
103
123
|
return this.send(command, optionsOrCb);
|
|
104
124
|
}
|
|
105
125
|
}
|
|
126
|
+
getHypervisor(args, optionsOrCb, cb) {
|
|
127
|
+
const command = new GetHypervisorCommand(args);
|
|
128
|
+
if (typeof optionsOrCb === "function") {
|
|
129
|
+
this.send(command, optionsOrCb);
|
|
130
|
+
}
|
|
131
|
+
else if (typeof cb === "function") {
|
|
132
|
+
if (typeof optionsOrCb !== "object")
|
|
133
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
return this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
getHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
141
|
+
const command = new GetHypervisorPropertyMappingsCommand(args);
|
|
142
|
+
if (typeof optionsOrCb === "function") {
|
|
143
|
+
this.send(command, optionsOrCb);
|
|
144
|
+
}
|
|
145
|
+
else if (typeof cb === "function") {
|
|
146
|
+
if (typeof optionsOrCb !== "object")
|
|
147
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
return this.send(command, optionsOrCb);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
106
154
|
getVirtualMachine(args, optionsOrCb, cb) {
|
|
107
155
|
const command = new GetVirtualMachineCommand(args);
|
|
108
156
|
if (typeof optionsOrCb === "function") {
|
|
@@ -187,6 +235,34 @@ export class BackupGateway extends BackupGatewayClient {
|
|
|
187
235
|
return this.send(command, optionsOrCb);
|
|
188
236
|
}
|
|
189
237
|
}
|
|
238
|
+
putBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
|
|
239
|
+
const command = new PutBandwidthRateLimitScheduleCommand(args);
|
|
240
|
+
if (typeof optionsOrCb === "function") {
|
|
241
|
+
this.send(command, optionsOrCb);
|
|
242
|
+
}
|
|
243
|
+
else if (typeof cb === "function") {
|
|
244
|
+
if (typeof optionsOrCb !== "object")
|
|
245
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
return this.send(command, optionsOrCb);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
putHypervisorPropertyMappings(args, optionsOrCb, cb) {
|
|
253
|
+
const command = new PutHypervisorPropertyMappingsCommand(args);
|
|
254
|
+
if (typeof optionsOrCb === "function") {
|
|
255
|
+
this.send(command, optionsOrCb);
|
|
256
|
+
}
|
|
257
|
+
else if (typeof cb === "function") {
|
|
258
|
+
if (typeof optionsOrCb !== "object")
|
|
259
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
return this.send(command, optionsOrCb);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
190
266
|
putMaintenanceStartTime(args, optionsOrCb, cb) {
|
|
191
267
|
const command = new PutMaintenanceStartTimeCommand(args);
|
|
192
268
|
if (typeof optionsOrCb === "function") {
|
|
@@ -201,6 +277,20 @@ export class BackupGateway extends BackupGatewayClient {
|
|
|
201
277
|
return this.send(command, optionsOrCb);
|
|
202
278
|
}
|
|
203
279
|
}
|
|
280
|
+
startVirtualMachinesMetadataSync(args, optionsOrCb, cb) {
|
|
281
|
+
const command = new StartVirtualMachinesMetadataSyncCommand(args);
|
|
282
|
+
if (typeof optionsOrCb === "function") {
|
|
283
|
+
this.send(command, optionsOrCb);
|
|
284
|
+
}
|
|
285
|
+
else if (typeof cb === "function") {
|
|
286
|
+
if (typeof optionsOrCb !== "object")
|
|
287
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
return this.send(command, optionsOrCb);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
204
294
|
tagResource(args, optionsOrCb, cb) {
|
|
205
295
|
const command = new TagResourceCommand(args);
|
|
206
296
|
if (typeof optionsOrCb === "function") {
|
|
@@ -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 { GetBandwidthRateLimitScheduleInputFilterSensitiveLog, GetBandwidthRateLimitScheduleOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand, serializeAws_json1_0GetBandwidthRateLimitScheduleCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class GetBandwidthRateLimitScheduleCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetBandwidthRateLimitScheduleCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "GetBandwidthRateLimitScheduleCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetBandwidthRateLimitScheduleInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetBandwidthRateLimitScheduleOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0GetBandwidthRateLimitScheduleCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { GetHypervisorInputFilterSensitiveLog, GetHypervisorOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0GetHypervisorCommand, serializeAws_json1_0GetHypervisorCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class GetHypervisorCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetHypervisorCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "GetHypervisorCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetHypervisorInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetHypervisorOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0GetHypervisorCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0GetHypervisorCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { GetHypervisorPropertyMappingsInputFilterSensitiveLog, GetHypervisorPropertyMappingsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0GetHypervisorPropertyMappingsCommand, serializeAws_json1_0GetHypervisorPropertyMappingsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class GetHypervisorPropertyMappingsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetHypervisorPropertyMappingsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "GetHypervisorPropertyMappingsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetHypervisorPropertyMappingsInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetHypervisorPropertyMappingsOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0GetHypervisorPropertyMappingsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0GetHypervisorPropertyMappingsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { PutBandwidthRateLimitScheduleInputFilterSensitiveLog, PutBandwidthRateLimitScheduleOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand, serializeAws_json1_0PutBandwidthRateLimitScheduleCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class PutBandwidthRateLimitScheduleCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutBandwidthRateLimitScheduleCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "PutBandwidthRateLimitScheduleCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: PutBandwidthRateLimitScheduleInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: PutBandwidthRateLimitScheduleOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0PutBandwidthRateLimitScheduleCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { PutHypervisorPropertyMappingsInputFilterSensitiveLog, PutHypervisorPropertyMappingsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0PutHypervisorPropertyMappingsCommand, serializeAws_json1_0PutHypervisorPropertyMappingsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class PutHypervisorPropertyMappingsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutHypervisorPropertyMappingsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "PutHypervisorPropertyMappingsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: PutHypervisorPropertyMappingsInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: PutHypervisorPropertyMappingsOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0PutHypervisorPropertyMappingsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0PutHypervisorPropertyMappingsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -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 { StartVirtualMachinesMetadataSyncInputFilterSensitiveLog, StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand, serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export class StartVirtualMachinesMetadataSyncCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartVirtualMachinesMetadataSyncCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "BackupGatewayClient";
|
|
25
|
+
const commandName = "StartVirtualMachinesMetadataSyncCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: StartVirtualMachinesMetadataSyncInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -3,14 +3,20 @@ export * from "./CreateGatewayCommand";
|
|
|
3
3
|
export * from "./DeleteGatewayCommand";
|
|
4
4
|
export * from "./DeleteHypervisorCommand";
|
|
5
5
|
export * from "./DisassociateGatewayFromServerCommand";
|
|
6
|
+
export * from "./GetBandwidthRateLimitScheduleCommand";
|
|
6
7
|
export * from "./GetGatewayCommand";
|
|
8
|
+
export * from "./GetHypervisorCommand";
|
|
9
|
+
export * from "./GetHypervisorPropertyMappingsCommand";
|
|
7
10
|
export * from "./GetVirtualMachineCommand";
|
|
8
11
|
export * from "./ImportHypervisorConfigurationCommand";
|
|
9
12
|
export * from "./ListGatewaysCommand";
|
|
10
13
|
export * from "./ListHypervisorsCommand";
|
|
11
14
|
export * from "./ListTagsForResourceCommand";
|
|
12
15
|
export * from "./ListVirtualMachinesCommand";
|
|
16
|
+
export * from "./PutBandwidthRateLimitScheduleCommand";
|
|
17
|
+
export * from "./PutHypervisorPropertyMappingsCommand";
|
|
13
18
|
export * from "./PutMaintenanceStartTimeCommand";
|
|
19
|
+
export * from "./StartVirtualMachinesMetadataSyncCommand";
|
|
14
20
|
export * from "./TagResourceCommand";
|
|
15
21
|
export * from "./TestHypervisorConfigurationCommand";
|
|
16
22
|
export * from "./UntagResourceCommand";
|
|
@@ -3,7 +3,7 @@ export const ruleSet = {
|
|
|
3
3
|
parameters: {
|
|
4
4
|
Region: {
|
|
5
5
|
builtIn: "AWS::Region",
|
|
6
|
-
required:
|
|
6
|
+
required: true,
|
|
7
7
|
documentation: "The AWS region used to dispatch the request.",
|
|
8
8
|
type: "String",
|
|
9
9
|
},
|
|
@@ -53,15 +53,6 @@ export const ruleSet = {
|
|
|
53
53
|
},
|
|
54
54
|
],
|
|
55
55
|
},
|
|
56
|
-
{
|
|
57
|
-
fn: "parseURL",
|
|
58
|
-
argv: [
|
|
59
|
-
{
|
|
60
|
-
ref: "Endpoint",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
assign: "url",
|
|
64
|
-
},
|
|
65
56
|
],
|
|
66
57
|
type: "tree",
|
|
67
58
|
rules: [
|
|
@@ -70,10 +70,6 @@ export class ValidationException extends __BaseException {
|
|
|
70
70
|
this.Message = opts.Message;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
export var GatewayType;
|
|
74
|
-
(function (GatewayType) {
|
|
75
|
-
GatewayType["BACKUP_VM"] = "BACKUP_VM";
|
|
76
|
-
})(GatewayType || (GatewayType = {}));
|
|
77
73
|
export class ResourceNotFoundException extends __BaseException {
|
|
78
74
|
constructor(opts) {
|
|
79
75
|
super({
|
|
@@ -88,6 +84,18 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
88
84
|
this.Message = opts.Message;
|
|
89
85
|
}
|
|
90
86
|
}
|
|
87
|
+
export var GatewayType;
|
|
88
|
+
(function (GatewayType) {
|
|
89
|
+
GatewayType["BACKUP_VM"] = "BACKUP_VM";
|
|
90
|
+
})(GatewayType || (GatewayType = {}));
|
|
91
|
+
export var SyncMetadataStatus;
|
|
92
|
+
(function (SyncMetadataStatus) {
|
|
93
|
+
SyncMetadataStatus["CREATED"] = "CREATED";
|
|
94
|
+
SyncMetadataStatus["FAILED"] = "FAILED";
|
|
95
|
+
SyncMetadataStatus["PARTIALLY_FAILED"] = "PARTIALLY_FAILED";
|
|
96
|
+
SyncMetadataStatus["RUNNING"] = "RUNNING";
|
|
97
|
+
SyncMetadataStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
98
|
+
})(SyncMetadataStatus || (SyncMetadataStatus = {}));
|
|
91
99
|
export var HypervisorState;
|
|
92
100
|
(function (HypervisorState) {
|
|
93
101
|
HypervisorState["ERROR"] = "ERROR";
|
|
@@ -101,6 +109,21 @@ export const AssociateGatewayToServerInputFilterSensitiveLog = (obj) => ({
|
|
|
101
109
|
export const AssociateGatewayToServerOutputFilterSensitiveLog = (obj) => ({
|
|
102
110
|
...obj,
|
|
103
111
|
});
|
|
112
|
+
export const GetBandwidthRateLimitScheduleInputFilterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
export const BandwidthRateLimitIntervalFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
});
|
|
118
|
+
export const GetBandwidthRateLimitScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
119
|
+
...obj,
|
|
120
|
+
});
|
|
121
|
+
export const PutBandwidthRateLimitScheduleInputFilterSensitiveLog = (obj) => ({
|
|
122
|
+
...obj,
|
|
123
|
+
});
|
|
124
|
+
export const PutBandwidthRateLimitScheduleOutputFilterSensitiveLog = (obj) => ({
|
|
125
|
+
...obj,
|
|
126
|
+
});
|
|
104
127
|
export const TagFilterSensitiveLog = (obj) => ({
|
|
105
128
|
...obj,
|
|
106
129
|
});
|
|
@@ -175,6 +198,30 @@ export const DeleteHypervisorInputFilterSensitiveLog = (obj) => ({
|
|
|
175
198
|
export const DeleteHypervisorOutputFilterSensitiveLog = (obj) => ({
|
|
176
199
|
...obj,
|
|
177
200
|
});
|
|
201
|
+
export const GetHypervisorInputFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const HypervisorDetailsFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
export const GetHypervisorOutputFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
export const GetHypervisorPropertyMappingsInputFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
export const VmwareToAwsTagMappingFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
export const GetHypervisorPropertyMappingsOutputFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
export const PutHypervisorPropertyMappingsInputFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
export const PutHypervisorPropertyMappingsOutputFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
178
225
|
export const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
179
226
|
...obj,
|
|
180
227
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
@@ -192,6 +239,12 @@ export const HypervisorFilterSensitiveLog = (obj) => ({
|
|
|
192
239
|
export const ListHypervisorsOutputFilterSensitiveLog = (obj) => ({
|
|
193
240
|
...obj,
|
|
194
241
|
});
|
|
242
|
+
export const StartVirtualMachinesMetadataSyncInputFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
});
|
|
245
|
+
export const StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
});
|
|
195
248
|
export const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
|
|
196
249
|
...obj,
|
|
197
250
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
@@ -221,6 +274,9 @@ export const UntagResourceOutputFilterSensitiveLog = (obj) => ({
|
|
|
221
274
|
export const GetVirtualMachineInputFilterSensitiveLog = (obj) => ({
|
|
222
275
|
...obj,
|
|
223
276
|
});
|
|
277
|
+
export const VmwareTagFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
224
280
|
export const VirtualMachineDetailsFilterSensitiveLog = (obj) => ({
|
|
225
281
|
...obj,
|
|
226
282
|
});
|