@aws-sdk/client-backup-gateway 3.231.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.
Files changed (47) hide show
  1. package/dist-cjs/BackupGateway.js +90 -0
  2. package/dist-cjs/commands/GetBandwidthRateLimitScheduleCommand.js +46 -0
  3. package/dist-cjs/commands/GetHypervisorCommand.js +46 -0
  4. package/dist-cjs/commands/GetHypervisorPropertyMappingsCommand.js +46 -0
  5. package/dist-cjs/commands/PutBandwidthRateLimitScheduleCommand.js +46 -0
  6. package/dist-cjs/commands/PutHypervisorPropertyMappingsCommand.js +46 -0
  7. package/dist-cjs/commands/StartVirtualMachinesMetadataSyncCommand.js +46 -0
  8. package/dist-cjs/commands/index.js +6 -0
  9. package/dist-cjs/endpoint/ruleset.js +1 -10
  10. package/dist-cjs/models/models_0.js +78 -6
  11. package/dist-cjs/protocols/Aws_json1_0.js +538 -1
  12. package/dist-es/BackupGateway.js +90 -0
  13. package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +42 -0
  14. package/dist-es/commands/GetHypervisorCommand.js +42 -0
  15. package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +42 -0
  16. package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +42 -0
  17. package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +42 -0
  18. package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +42 -0
  19. package/dist-es/commands/index.js +6 -0
  20. package/dist-es/endpoint/ruleset.js +1 -10
  21. package/dist-es/models/models_0.js +60 -4
  22. package/dist-es/protocols/Aws_json1_0.js +526 -1
  23. package/dist-types/BackupGateway.d.ts +54 -0
  24. package/dist-types/BackupGatewayClient.d.ts +8 -2
  25. package/dist-types/commands/GetBandwidthRateLimitScheduleCommand.d.ts +40 -0
  26. package/dist-types/commands/GetHypervisorCommand.d.ts +39 -0
  27. package/dist-types/commands/GetHypervisorPropertyMappingsCommand.d.ts +39 -0
  28. package/dist-types/commands/PutBandwidthRateLimitScheduleCommand.d.ts +40 -0
  29. package/dist-types/commands/PutHypervisorPropertyMappingsCommand.d.ts +39 -0
  30. package/dist-types/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +37 -0
  31. package/dist-types/commands/index.d.ts +6 -0
  32. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  33. package/dist-types/models/models_0.d.ts +355 -22
  34. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  35. package/dist-types/ts3.4/BackupGateway.d.ts +102 -0
  36. package/dist-types/ts3.4/BackupGatewayClient.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/GetBandwidthRateLimitScheduleCommand.d.ts +41 -0
  38. package/dist-types/ts3.4/commands/GetHypervisorCommand.d.ts +34 -0
  39. package/dist-types/ts3.4/commands/GetHypervisorPropertyMappingsCommand.d.ts +41 -0
  40. package/dist-types/ts3.4/commands/PutBandwidthRateLimitScheduleCommand.d.ts +41 -0
  41. package/dist-types/ts3.4/commands/PutHypervisorPropertyMappingsCommand.d.ts +41 -0
  42. package/dist-types/ts3.4/commands/StartVirtualMachinesMetadataSyncCommand.d.ts +41 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  45. package/dist-types/ts3.4/models/models_0.d.ts +142 -15
  46. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
  47. package/package.json +1 -1
@@ -7,14 +7,20 @@ const CreateGatewayCommand_1 = require("./commands/CreateGatewayCommand");
7
7
  const DeleteGatewayCommand_1 = require("./commands/DeleteGatewayCommand");
8
8
  const DeleteHypervisorCommand_1 = require("./commands/DeleteHypervisorCommand");
9
9
  const DisassociateGatewayFromServerCommand_1 = require("./commands/DisassociateGatewayFromServerCommand");
10
+ const GetBandwidthRateLimitScheduleCommand_1 = require("./commands/GetBandwidthRateLimitScheduleCommand");
10
11
  const GetGatewayCommand_1 = require("./commands/GetGatewayCommand");
12
+ const GetHypervisorCommand_1 = require("./commands/GetHypervisorCommand");
13
+ const GetHypervisorPropertyMappingsCommand_1 = require("./commands/GetHypervisorPropertyMappingsCommand");
11
14
  const GetVirtualMachineCommand_1 = require("./commands/GetVirtualMachineCommand");
12
15
  const ImportHypervisorConfigurationCommand_1 = require("./commands/ImportHypervisorConfigurationCommand");
13
16
  const ListGatewaysCommand_1 = require("./commands/ListGatewaysCommand");
14
17
  const ListHypervisorsCommand_1 = require("./commands/ListHypervisorsCommand");
15
18
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
16
19
  const ListVirtualMachinesCommand_1 = require("./commands/ListVirtualMachinesCommand");
20
+ const PutBandwidthRateLimitScheduleCommand_1 = require("./commands/PutBandwidthRateLimitScheduleCommand");
21
+ const PutHypervisorPropertyMappingsCommand_1 = require("./commands/PutHypervisorPropertyMappingsCommand");
17
22
  const PutMaintenanceStartTimeCommand_1 = require("./commands/PutMaintenanceStartTimeCommand");
23
+ const StartVirtualMachinesMetadataSyncCommand_1 = require("./commands/StartVirtualMachinesMetadataSyncCommand");
18
24
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
19
25
  const TestHypervisorConfigurationCommand_1 = require("./commands/TestHypervisorConfigurationCommand");
20
26
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
@@ -92,6 +98,20 @@ class BackupGateway extends BackupGatewayClient_1.BackupGatewayClient {
92
98
  return this.send(command, optionsOrCb);
93
99
  }
94
100
  }
101
+ getBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
102
+ const command = new GetBandwidthRateLimitScheduleCommand_1.GetBandwidthRateLimitScheduleCommand(args);
103
+ if (typeof optionsOrCb === "function") {
104
+ this.send(command, optionsOrCb);
105
+ }
106
+ else if (typeof cb === "function") {
107
+ if (typeof optionsOrCb !== "object")
108
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
109
+ this.send(command, optionsOrCb || {}, cb);
110
+ }
111
+ else {
112
+ return this.send(command, optionsOrCb);
113
+ }
114
+ }
95
115
  getGateway(args, optionsOrCb, cb) {
96
116
  const command = new GetGatewayCommand_1.GetGatewayCommand(args);
97
117
  if (typeof optionsOrCb === "function") {
@@ -106,6 +126,34 @@ class BackupGateway extends BackupGatewayClient_1.BackupGatewayClient {
106
126
  return this.send(command, optionsOrCb);
107
127
  }
108
128
  }
129
+ getHypervisor(args, optionsOrCb, cb) {
130
+ const command = new GetHypervisorCommand_1.GetHypervisorCommand(args);
131
+ if (typeof optionsOrCb === "function") {
132
+ this.send(command, optionsOrCb);
133
+ }
134
+ else if (typeof cb === "function") {
135
+ if (typeof optionsOrCb !== "object")
136
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
137
+ this.send(command, optionsOrCb || {}, cb);
138
+ }
139
+ else {
140
+ return this.send(command, optionsOrCb);
141
+ }
142
+ }
143
+ getHypervisorPropertyMappings(args, optionsOrCb, cb) {
144
+ const command = new GetHypervisorPropertyMappingsCommand_1.GetHypervisorPropertyMappingsCommand(args);
145
+ if (typeof optionsOrCb === "function") {
146
+ this.send(command, optionsOrCb);
147
+ }
148
+ else if (typeof cb === "function") {
149
+ if (typeof optionsOrCb !== "object")
150
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
151
+ this.send(command, optionsOrCb || {}, cb);
152
+ }
153
+ else {
154
+ return this.send(command, optionsOrCb);
155
+ }
156
+ }
109
157
  getVirtualMachine(args, optionsOrCb, cb) {
110
158
  const command = new GetVirtualMachineCommand_1.GetVirtualMachineCommand(args);
111
159
  if (typeof optionsOrCb === "function") {
@@ -190,6 +238,34 @@ class BackupGateway extends BackupGatewayClient_1.BackupGatewayClient {
190
238
  return this.send(command, optionsOrCb);
191
239
  }
192
240
  }
241
+ putBandwidthRateLimitSchedule(args, optionsOrCb, cb) {
242
+ const command = new PutBandwidthRateLimitScheduleCommand_1.PutBandwidthRateLimitScheduleCommand(args);
243
+ if (typeof optionsOrCb === "function") {
244
+ this.send(command, optionsOrCb);
245
+ }
246
+ else if (typeof cb === "function") {
247
+ if (typeof optionsOrCb !== "object")
248
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
249
+ this.send(command, optionsOrCb || {}, cb);
250
+ }
251
+ else {
252
+ return this.send(command, optionsOrCb);
253
+ }
254
+ }
255
+ putHypervisorPropertyMappings(args, optionsOrCb, cb) {
256
+ const command = new PutHypervisorPropertyMappingsCommand_1.PutHypervisorPropertyMappingsCommand(args);
257
+ if (typeof optionsOrCb === "function") {
258
+ this.send(command, optionsOrCb);
259
+ }
260
+ else if (typeof cb === "function") {
261
+ if (typeof optionsOrCb !== "object")
262
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
263
+ this.send(command, optionsOrCb || {}, cb);
264
+ }
265
+ else {
266
+ return this.send(command, optionsOrCb);
267
+ }
268
+ }
193
269
  putMaintenanceStartTime(args, optionsOrCb, cb) {
194
270
  const command = new PutMaintenanceStartTimeCommand_1.PutMaintenanceStartTimeCommand(args);
195
271
  if (typeof optionsOrCb === "function") {
@@ -204,6 +280,20 @@ class BackupGateway extends BackupGatewayClient_1.BackupGatewayClient {
204
280
  return this.send(command, optionsOrCb);
205
281
  }
206
282
  }
283
+ startVirtualMachinesMetadataSync(args, optionsOrCb, cb) {
284
+ const command = new StartVirtualMachinesMetadataSyncCommand_1.StartVirtualMachinesMetadataSyncCommand(args);
285
+ if (typeof optionsOrCb === "function") {
286
+ this.send(command, optionsOrCb);
287
+ }
288
+ else if (typeof cb === "function") {
289
+ if (typeof optionsOrCb !== "object")
290
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
291
+ this.send(command, optionsOrCb || {}, cb);
292
+ }
293
+ else {
294
+ return this.send(command, optionsOrCb);
295
+ }
296
+ }
207
297
  tagResource(args, optionsOrCb, cb) {
208
298
  const command = new TagResourceCommand_1.TagResourceCommand(args);
209
299
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetBandwidthRateLimitScheduleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class GetBandwidthRateLimitScheduleCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBandwidthRateLimitScheduleCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "GetBandwidthRateLimitScheduleCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetBandwidthRateLimitScheduleInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetBandwidthRateLimitScheduleOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetBandwidthRateLimitScheduleCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetBandwidthRateLimitScheduleCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetBandwidthRateLimitScheduleCommand = GetBandwidthRateLimitScheduleCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetHypervisorCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class GetHypervisorCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetHypervisorCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "GetHypervisorCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetHypervisorInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetHypervisorOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetHypervisorCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetHypervisorCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetHypervisorCommand = GetHypervisorCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetHypervisorPropertyMappingsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class GetHypervisorPropertyMappingsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetHypervisorPropertyMappingsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "GetHypervisorPropertyMappingsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetHypervisorPropertyMappingsInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetHypervisorPropertyMappingsOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0GetHypervisorPropertyMappingsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0GetHypervisorPropertyMappingsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetHypervisorPropertyMappingsCommand = GetHypervisorPropertyMappingsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutBandwidthRateLimitScheduleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class PutBandwidthRateLimitScheduleCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutBandwidthRateLimitScheduleCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "PutBandwidthRateLimitScheduleCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.PutBandwidthRateLimitScheduleInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.PutBandwidthRateLimitScheduleOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0PutBandwidthRateLimitScheduleCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0PutBandwidthRateLimitScheduleCommand)(output, context);
44
+ }
45
+ }
46
+ exports.PutBandwidthRateLimitScheduleCommand = PutBandwidthRateLimitScheduleCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutHypervisorPropertyMappingsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class PutHypervisorPropertyMappingsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutHypervisorPropertyMappingsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "PutHypervisorPropertyMappingsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.PutHypervisorPropertyMappingsInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.PutHypervisorPropertyMappingsOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0PutHypervisorPropertyMappingsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0PutHypervisorPropertyMappingsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.PutHypervisorPropertyMappingsCommand = PutHypervisorPropertyMappingsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartVirtualMachinesMetadataSyncCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
9
+ class StartVirtualMachinesMetadataSyncCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartVirtualMachinesMetadataSyncCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "BackupGatewayClient";
28
+ const commandName = "StartVirtualMachinesMetadataSyncCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.StartVirtualMachinesMetadataSyncInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_0_1.serializeAws_json1_0StartVirtualMachinesMetadataSyncCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_0_1.deserializeAws_json1_0StartVirtualMachinesMetadataSyncCommand)(output, context);
44
+ }
45
+ }
46
+ exports.StartVirtualMachinesMetadataSyncCommand = StartVirtualMachinesMetadataSyncCommand;
@@ -6,14 +6,20 @@ tslib_1.__exportStar(require("./CreateGatewayCommand"), exports);
6
6
  tslib_1.__exportStar(require("./DeleteGatewayCommand"), exports);
7
7
  tslib_1.__exportStar(require("./DeleteHypervisorCommand"), exports);
8
8
  tslib_1.__exportStar(require("./DisassociateGatewayFromServerCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetBandwidthRateLimitScheduleCommand"), exports);
9
10
  tslib_1.__exportStar(require("./GetGatewayCommand"), exports);
11
+ tslib_1.__exportStar(require("./GetHypervisorCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetHypervisorPropertyMappingsCommand"), exports);
10
13
  tslib_1.__exportStar(require("./GetVirtualMachineCommand"), exports);
11
14
  tslib_1.__exportStar(require("./ImportHypervisorConfigurationCommand"), exports);
12
15
  tslib_1.__exportStar(require("./ListGatewaysCommand"), exports);
13
16
  tslib_1.__exportStar(require("./ListHypervisorsCommand"), exports);
14
17
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
15
18
  tslib_1.__exportStar(require("./ListVirtualMachinesCommand"), exports);
19
+ tslib_1.__exportStar(require("./PutBandwidthRateLimitScheduleCommand"), exports);
20
+ tslib_1.__exportStar(require("./PutHypervisorPropertyMappingsCommand"), exports);
16
21
  tslib_1.__exportStar(require("./PutMaintenanceStartTimeCommand"), exports);
22
+ tslib_1.__exportStar(require("./StartVirtualMachinesMetadataSyncCommand"), exports);
17
23
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
18
24
  tslib_1.__exportStar(require("./TestHypervisorConfigurationCommand"), exports);
19
25
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },
@@ -56,15 +56,6 @@ exports.ruleSet = {
56
56
  },
57
57
  ],
58
58
  },
59
- {
60
- fn: "parseURL",
61
- argv: [
62
- {
63
- ref: "Endpoint",
64
- },
65
- ],
66
- assign: "url",
67
- },
68
59
  ],
69
60
  type: "tree",
70
61
  rules: [
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetVirtualMachineOutputFilterSensitiveLog = exports.VirtualMachineDetailsFilterSensitiveLog = exports.GetVirtualMachineInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.UpdateHypervisorOutputFilterSensitiveLog = exports.UpdateHypervisorInputFilterSensitiveLog = exports.ListHypervisorsOutputFilterSensitiveLog = exports.HypervisorFilterSensitiveLog = exports.ListHypervisorsInputFilterSensitiveLog = exports.ImportHypervisorConfigurationOutputFilterSensitiveLog = exports.ImportHypervisorConfigurationInputFilterSensitiveLog = exports.DeleteHypervisorOutputFilterSensitiveLog = exports.DeleteHypervisorInputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowOutputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowInputFilterSensitiveLog = exports.UpdateGatewayInformationOutputFilterSensitiveLog = exports.UpdateGatewayInformationInputFilterSensitiveLog = exports.TestHypervisorConfigurationOutputFilterSensitiveLog = exports.TestHypervisorConfigurationInputFilterSensitiveLog = exports.PutMaintenanceStartTimeOutputFilterSensitiveLog = exports.PutMaintenanceStartTimeInputFilterSensitiveLog = exports.ListGatewaysOutputFilterSensitiveLog = exports.GatewayFilterSensitiveLog = exports.ListGatewaysInputFilterSensitiveLog = exports.GetGatewayOutputFilterSensitiveLog = exports.GatewayDetailsFilterSensitiveLog = exports.MaintenanceStartTimeFilterSensitiveLog = exports.GetGatewayInputFilterSensitiveLog = exports.DisassociateGatewayFromServerOutputFilterSensitiveLog = exports.DisassociateGatewayFromServerInputFilterSensitiveLog = exports.DeleteGatewayOutputFilterSensitiveLog = exports.DeleteGatewayInputFilterSensitiveLog = exports.CreateGatewayOutputFilterSensitiveLog = exports.CreateGatewayInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AssociateGatewayToServerOutputFilterSensitiveLog = exports.AssociateGatewayToServerInputFilterSensitiveLog = exports.HypervisorState = exports.ResourceNotFoundException = exports.GatewayType = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- exports.ListVirtualMachinesOutputFilterSensitiveLog = exports.VirtualMachineFilterSensitiveLog = exports.ListVirtualMachinesInputFilterSensitiveLog = void 0;
3
+ exports.ImportHypervisorConfigurationOutputFilterSensitiveLog = exports.ImportHypervisorConfigurationInputFilterSensitiveLog = exports.PutHypervisorPropertyMappingsOutputFilterSensitiveLog = exports.PutHypervisorPropertyMappingsInputFilterSensitiveLog = exports.GetHypervisorPropertyMappingsOutputFilterSensitiveLog = exports.VmwareToAwsTagMappingFilterSensitiveLog = exports.GetHypervisorPropertyMappingsInputFilterSensitiveLog = exports.GetHypervisorOutputFilterSensitiveLog = exports.HypervisorDetailsFilterSensitiveLog = exports.GetHypervisorInputFilterSensitiveLog = exports.DeleteHypervisorOutputFilterSensitiveLog = exports.DeleteHypervisorInputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowOutputFilterSensitiveLog = exports.UpdateGatewaySoftwareNowInputFilterSensitiveLog = exports.UpdateGatewayInformationOutputFilterSensitiveLog = exports.UpdateGatewayInformationInputFilterSensitiveLog = exports.TestHypervisorConfigurationOutputFilterSensitiveLog = exports.TestHypervisorConfigurationInputFilterSensitiveLog = exports.PutMaintenanceStartTimeOutputFilterSensitiveLog = exports.PutMaintenanceStartTimeInputFilterSensitiveLog = exports.ListGatewaysOutputFilterSensitiveLog = exports.GatewayFilterSensitiveLog = exports.ListGatewaysInputFilterSensitiveLog = exports.GetGatewayOutputFilterSensitiveLog = exports.GatewayDetailsFilterSensitiveLog = exports.MaintenanceStartTimeFilterSensitiveLog = exports.GetGatewayInputFilterSensitiveLog = exports.DisassociateGatewayFromServerOutputFilterSensitiveLog = exports.DisassociateGatewayFromServerInputFilterSensitiveLog = exports.DeleteGatewayOutputFilterSensitiveLog = exports.DeleteGatewayInputFilterSensitiveLog = exports.CreateGatewayOutputFilterSensitiveLog = exports.CreateGatewayInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.PutBandwidthRateLimitScheduleOutputFilterSensitiveLog = exports.PutBandwidthRateLimitScheduleInputFilterSensitiveLog = exports.GetBandwidthRateLimitScheduleOutputFilterSensitiveLog = exports.BandwidthRateLimitIntervalFilterSensitiveLog = exports.GetBandwidthRateLimitScheduleInputFilterSensitiveLog = exports.AssociateGatewayToServerOutputFilterSensitiveLog = exports.AssociateGatewayToServerInputFilterSensitiveLog = exports.HypervisorState = exports.SyncMetadataStatus = exports.GatewayType = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ exports.ListVirtualMachinesOutputFilterSensitiveLog = exports.VirtualMachineFilterSensitiveLog = exports.ListVirtualMachinesInputFilterSensitiveLog = exports.GetVirtualMachineOutputFilterSensitiveLog = exports.VirtualMachineDetailsFilterSensitiveLog = exports.VmwareTagFilterSensitiveLog = exports.GetVirtualMachineInputFilterSensitiveLog = exports.UntagResourceOutputFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.TagResourceOutputFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.ListTagsForResourceOutputFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.UpdateHypervisorOutputFilterSensitiveLog = exports.UpdateHypervisorInputFilterSensitiveLog = exports.StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog = exports.StartVirtualMachinesMetadataSyncInputFilterSensitiveLog = exports.ListHypervisorsOutputFilterSensitiveLog = exports.HypervisorFilterSensitiveLog = exports.ListHypervisorsInputFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const BackupGatewayServiceException_1 = require("./BackupGatewayServiceException");
7
7
  class AccessDeniedException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
@@ -79,10 +79,6 @@ class ValidationException extends BackupGatewayServiceException_1.BackupGatewayS
79
79
  }
80
80
  }
81
81
  exports.ValidationException = ValidationException;
82
- var GatewayType;
83
- (function (GatewayType) {
84
- GatewayType["BACKUP_VM"] = "BACKUP_VM";
85
- })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
86
82
  class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGatewayServiceException {
87
83
  constructor(opts) {
88
84
  super({
@@ -98,6 +94,18 @@ class ResourceNotFoundException extends BackupGatewayServiceException_1.BackupGa
98
94
  }
99
95
  }
100
96
  exports.ResourceNotFoundException = ResourceNotFoundException;
97
+ var GatewayType;
98
+ (function (GatewayType) {
99
+ GatewayType["BACKUP_VM"] = "BACKUP_VM";
100
+ })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
101
+ var SyncMetadataStatus;
102
+ (function (SyncMetadataStatus) {
103
+ SyncMetadataStatus["CREATED"] = "CREATED";
104
+ SyncMetadataStatus["FAILED"] = "FAILED";
105
+ SyncMetadataStatus["PARTIALLY_FAILED"] = "PARTIALLY_FAILED";
106
+ SyncMetadataStatus["RUNNING"] = "RUNNING";
107
+ SyncMetadataStatus["SUCCEEDED"] = "SUCCEEDED";
108
+ })(SyncMetadataStatus = exports.SyncMetadataStatus || (exports.SyncMetadataStatus = {}));
101
109
  var HypervisorState;
102
110
  (function (HypervisorState) {
103
111
  HypervisorState["ERROR"] = "ERROR";
@@ -113,6 +121,26 @@ const AssociateGatewayToServerOutputFilterSensitiveLog = (obj) => ({
113
121
  ...obj,
114
122
  });
115
123
  exports.AssociateGatewayToServerOutputFilterSensitiveLog = AssociateGatewayToServerOutputFilterSensitiveLog;
124
+ const GetBandwidthRateLimitScheduleInputFilterSensitiveLog = (obj) => ({
125
+ ...obj,
126
+ });
127
+ exports.GetBandwidthRateLimitScheduleInputFilterSensitiveLog = GetBandwidthRateLimitScheduleInputFilterSensitiveLog;
128
+ const BandwidthRateLimitIntervalFilterSensitiveLog = (obj) => ({
129
+ ...obj,
130
+ });
131
+ exports.BandwidthRateLimitIntervalFilterSensitiveLog = BandwidthRateLimitIntervalFilterSensitiveLog;
132
+ const GetBandwidthRateLimitScheduleOutputFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ });
135
+ exports.GetBandwidthRateLimitScheduleOutputFilterSensitiveLog = GetBandwidthRateLimitScheduleOutputFilterSensitiveLog;
136
+ const PutBandwidthRateLimitScheduleInputFilterSensitiveLog = (obj) => ({
137
+ ...obj,
138
+ });
139
+ exports.PutBandwidthRateLimitScheduleInputFilterSensitiveLog = PutBandwidthRateLimitScheduleInputFilterSensitiveLog;
140
+ const PutBandwidthRateLimitScheduleOutputFilterSensitiveLog = (obj) => ({
141
+ ...obj,
142
+ });
143
+ exports.PutBandwidthRateLimitScheduleOutputFilterSensitiveLog = PutBandwidthRateLimitScheduleOutputFilterSensitiveLog;
116
144
  const TagFilterSensitiveLog = (obj) => ({
117
145
  ...obj,
118
146
  });
@@ -211,6 +239,38 @@ const DeleteHypervisorOutputFilterSensitiveLog = (obj) => ({
211
239
  ...obj,
212
240
  });
213
241
  exports.DeleteHypervisorOutputFilterSensitiveLog = DeleteHypervisorOutputFilterSensitiveLog;
242
+ const GetHypervisorInputFilterSensitiveLog = (obj) => ({
243
+ ...obj,
244
+ });
245
+ exports.GetHypervisorInputFilterSensitiveLog = GetHypervisorInputFilterSensitiveLog;
246
+ const HypervisorDetailsFilterSensitiveLog = (obj) => ({
247
+ ...obj,
248
+ });
249
+ exports.HypervisorDetailsFilterSensitiveLog = HypervisorDetailsFilterSensitiveLog;
250
+ const GetHypervisorOutputFilterSensitiveLog = (obj) => ({
251
+ ...obj,
252
+ });
253
+ exports.GetHypervisorOutputFilterSensitiveLog = GetHypervisorOutputFilterSensitiveLog;
254
+ const GetHypervisorPropertyMappingsInputFilterSensitiveLog = (obj) => ({
255
+ ...obj,
256
+ });
257
+ exports.GetHypervisorPropertyMappingsInputFilterSensitiveLog = GetHypervisorPropertyMappingsInputFilterSensitiveLog;
258
+ const VmwareToAwsTagMappingFilterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ });
261
+ exports.VmwareToAwsTagMappingFilterSensitiveLog = VmwareToAwsTagMappingFilterSensitiveLog;
262
+ const GetHypervisorPropertyMappingsOutputFilterSensitiveLog = (obj) => ({
263
+ ...obj,
264
+ });
265
+ exports.GetHypervisorPropertyMappingsOutputFilterSensitiveLog = GetHypervisorPropertyMappingsOutputFilterSensitiveLog;
266
+ const PutHypervisorPropertyMappingsInputFilterSensitiveLog = (obj) => ({
267
+ ...obj,
268
+ });
269
+ exports.PutHypervisorPropertyMappingsInputFilterSensitiveLog = PutHypervisorPropertyMappingsInputFilterSensitiveLog;
270
+ const PutHypervisorPropertyMappingsOutputFilterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ });
273
+ exports.PutHypervisorPropertyMappingsOutputFilterSensitiveLog = PutHypervisorPropertyMappingsOutputFilterSensitiveLog;
214
274
  const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
215
275
  ...obj,
216
276
  ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
@@ -233,6 +293,14 @@ const ListHypervisorsOutputFilterSensitiveLog = (obj) => ({
233
293
  ...obj,
234
294
  });
235
295
  exports.ListHypervisorsOutputFilterSensitiveLog = ListHypervisorsOutputFilterSensitiveLog;
296
+ const StartVirtualMachinesMetadataSyncInputFilterSensitiveLog = (obj) => ({
297
+ ...obj,
298
+ });
299
+ exports.StartVirtualMachinesMetadataSyncInputFilterSensitiveLog = StartVirtualMachinesMetadataSyncInputFilterSensitiveLog;
300
+ const StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog = (obj) => ({
301
+ ...obj,
302
+ });
303
+ exports.StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog = StartVirtualMachinesMetadataSyncOutputFilterSensitiveLog;
236
304
  const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
237
305
  ...obj,
238
306
  ...(obj.Username && { Username: smithy_client_1.SENSITIVE_STRING }),
@@ -271,6 +339,10 @@ const GetVirtualMachineInputFilterSensitiveLog = (obj) => ({
271
339
  ...obj,
272
340
  });
273
341
  exports.GetVirtualMachineInputFilterSensitiveLog = GetVirtualMachineInputFilterSensitiveLog;
342
+ const VmwareTagFilterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ });
345
+ exports.VmwareTagFilterSensitiveLog = VmwareTagFilterSensitiveLog;
274
346
  const VirtualMachineDetailsFilterSensitiveLog = (obj) => ({
275
347
  ...obj,
276
348
  });