@aws-sdk/client-backup-gateway 3.183.0 → 3.185.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 (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/BackupGateway.js +85 -78
  4. package/dist-es/BackupGatewayClient.js +28 -22
  5. package/dist-es/commands/AssociateGatewayToServerCommand.js +28 -21
  6. package/dist-es/commands/CreateGatewayCommand.js +28 -21
  7. package/dist-es/commands/DeleteGatewayCommand.js +28 -21
  8. package/dist-es/commands/DeleteHypervisorCommand.js +28 -21
  9. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +28 -21
  10. package/dist-es/commands/GetGatewayCommand.js +28 -21
  11. package/dist-es/commands/GetVirtualMachineCommand.js +28 -21
  12. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +28 -21
  13. package/dist-es/commands/ListGatewaysCommand.js +28 -21
  14. package/dist-es/commands/ListHypervisorsCommand.js +28 -21
  15. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  16. package/dist-es/commands/ListVirtualMachinesCommand.js +28 -21
  17. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +28 -21
  18. package/dist-es/commands/TagResourceCommand.js +28 -21
  19. package/dist-es/commands/TestHypervisorConfigurationCommand.js +28 -21
  20. package/dist-es/commands/UntagResourceCommand.js +28 -21
  21. package/dist-es/commands/UpdateGatewayInformationCommand.js +28 -21
  22. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +28 -21
  23. package/dist-es/commands/UpdateHypervisorCommand.js +28 -21
  24. package/dist-es/endpoints.js +8 -8
  25. package/dist-es/models/BackupGatewayServiceException.js +10 -5
  26. package/dist-es/models/models_0.js +124 -219
  27. package/dist-es/pagination/ListGatewaysPaginator.js +68 -25
  28. package/dist-es/pagination/ListHypervisorsPaginator.js +68 -25
  29. package/dist-es/pagination/ListVirtualMachinesPaginator.js +68 -25
  30. package/dist-es/protocols/Aws_json1_0.js +1627 -1232
  31. package/dist-es/runtimeConfig.browser.js +12 -26
  32. package/dist-es/runtimeConfig.js +12 -30
  33. package/dist-es/runtimeConfig.native.js +5 -8
  34. package/dist-es/runtimeConfig.shared.js +11 -8
  35. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteHypervisorInputFilterSensitiveLog, DeleteHypervisorOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteHypervisorCommand, serializeAws_json1_0DeleteHypervisorCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteHypervisorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteHypervisorCommand = (function (_super) {
7
+ __extends(DeleteHypervisorCommand, _super);
8
+ function DeleteHypervisorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteHypervisorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "DeleteHypervisorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "DeleteHypervisorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteHypervisorInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteHypervisorOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteHypervisorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteHypervisorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteHypervisorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteHypervisorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteHypervisorCommand;
38
+ }($Command));
39
+ export { DeleteHypervisorCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateGatewayFromServerInputFilterSensitiveLog, DisassociateGatewayFromServerOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DisassociateGatewayFromServerCommand, serializeAws_json1_0DisassociateGatewayFromServerCommand, } from "../protocols/Aws_json1_0";
5
- export class DisassociateGatewayFromServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateGatewayFromServerCommand = (function (_super) {
7
+ __extends(DisassociateGatewayFromServerCommand, _super);
8
+ function DisassociateGatewayFromServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateGatewayFromServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "DisassociateGatewayFromServerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "DisassociateGatewayFromServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateGatewayFromServerInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateGatewayFromServerOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateGatewayFromServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DisassociateGatewayFromServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateGatewayFromServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DisassociateGatewayFromServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateGatewayFromServerCommand;
38
+ }($Command));
39
+ export { DisassociateGatewayFromServerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGatewayInputFilterSensitiveLog, GetGatewayOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0GetGatewayCommand, serializeAws_json1_0GetGatewayCommand, } from "../protocols/Aws_json1_0";
5
- export class GetGatewayCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetGatewayCommand = (function (_super) {
7
+ __extends(GetGatewayCommand, _super);
8
+ function GetGatewayCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGatewayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "GetGatewayCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "GetGatewayCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetGatewayInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGatewayOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGatewayCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0GetGatewayCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGatewayCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0GetGatewayCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGatewayCommand;
38
+ }($Command));
39
+ export { GetGatewayCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetVirtualMachineInputFilterSensitiveLog, GetVirtualMachineOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0GetVirtualMachineCommand, serializeAws_json1_0GetVirtualMachineCommand, } from "../protocols/Aws_json1_0";
5
- export class GetVirtualMachineCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVirtualMachineCommand = (function (_super) {
7
+ __extends(GetVirtualMachineCommand, _super);
8
+ function GetVirtualMachineCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVirtualMachineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "GetVirtualMachineCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "GetVirtualMachineCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVirtualMachineInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVirtualMachineOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetVirtualMachineCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0GetVirtualMachineCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVirtualMachineCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0GetVirtualMachineCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVirtualMachineCommand;
38
+ }($Command));
39
+ export { GetVirtualMachineCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ImportHypervisorConfigurationInputFilterSensitiveLog, ImportHypervisorConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ImportHypervisorConfigurationCommand, serializeAws_json1_0ImportHypervisorConfigurationCommand, } from "../protocols/Aws_json1_0";
5
- export class ImportHypervisorConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportHypervisorConfigurationCommand = (function (_super) {
7
+ __extends(ImportHypervisorConfigurationCommand, _super);
8
+ function ImportHypervisorConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportHypervisorConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "ImportHypervisorConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "ImportHypervisorConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportHypervisorConfigurationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ImportHypervisorConfigurationOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportHypervisorConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ImportHypervisorConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportHypervisorConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ImportHypervisorConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportHypervisorConfigurationCommand;
38
+ }($Command));
39
+ export { ImportHypervisorConfigurationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListGatewaysInputFilterSensitiveLog, ListGatewaysOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListGatewaysCommand, serializeAws_json1_0ListGatewaysCommand, } from "../protocols/Aws_json1_0";
5
- export class ListGatewaysCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListGatewaysCommand = (function (_super) {
7
+ __extends(ListGatewaysCommand, _super);
8
+ function ListGatewaysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListGatewaysCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "ListGatewaysCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "ListGatewaysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListGatewaysInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListGatewaysOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListGatewaysCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListGatewaysCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListGatewaysCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListGatewaysCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListGatewaysCommand;
38
+ }($Command));
39
+ export { ListGatewaysCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListHypervisorsInputFilterSensitiveLog, ListHypervisorsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListHypervisorsCommand, serializeAws_json1_0ListHypervisorsCommand, } from "../protocols/Aws_json1_0";
5
- export class ListHypervisorsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListHypervisorsCommand = (function (_super) {
7
+ __extends(ListHypervisorsCommand, _super);
8
+ function ListHypervisorsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListHypervisorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "ListHypervisorsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "ListHypervisorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListHypervisorsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListHypervisorsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListHypervisorsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListHypervisorsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListHypervisorsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListHypervisorsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListHypervisorsCommand;
38
+ }($Command));
39
+ export { ListHypervisorsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListVirtualMachinesInputFilterSensitiveLog, ListVirtualMachinesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListVirtualMachinesCommand, serializeAws_json1_0ListVirtualMachinesCommand, } from "../protocols/Aws_json1_0";
5
- export class ListVirtualMachinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVirtualMachinesCommand = (function (_super) {
7
+ __extends(ListVirtualMachinesCommand, _super);
8
+ function ListVirtualMachinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVirtualMachinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "ListVirtualMachinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "ListVirtualMachinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVirtualMachinesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVirtualMachinesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListVirtualMachinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListVirtualMachinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVirtualMachinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListVirtualMachinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVirtualMachinesCommand;
38
+ }($Command));
39
+ export { ListVirtualMachinesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { PutMaintenanceStartTimeInputFilterSensitiveLog, PutMaintenanceStartTimeOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0PutMaintenanceStartTimeCommand, serializeAws_json1_0PutMaintenanceStartTimeCommand, } from "../protocols/Aws_json1_0";
5
- export class PutMaintenanceStartTimeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutMaintenanceStartTimeCommand = (function (_super) {
7
+ __extends(PutMaintenanceStartTimeCommand, _super);
8
+ function PutMaintenanceStartTimeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutMaintenanceStartTimeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "BackupGatewayClient";
15
- const commandName = "PutMaintenanceStartTimeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "BackupGatewayClient";
18
+ var commandName = "PutMaintenanceStartTimeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutMaintenanceStartTimeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutMaintenanceStartTimeOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutMaintenanceStartTimeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0PutMaintenanceStartTimeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutMaintenanceStartTimeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0PutMaintenanceStartTimeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutMaintenanceStartTimeCommand;
38
+ }($Command));
39
+ export { PutMaintenanceStartTimeCommand };