@aws-sdk/client-backup-gateway 3.927.0 → 3.929.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 (49) hide show
  1. package/dist-cjs/index.js +612 -905
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/BackupGatewayClient.js +2 -0
  4. package/dist-es/commands/AssociateGatewayToServerCommand.js +3 -9
  5. package/dist-es/commands/CreateGatewayCommand.js +3 -9
  6. package/dist-es/commands/DeleteGatewayCommand.js +3 -9
  7. package/dist-es/commands/DeleteHypervisorCommand.js +3 -9
  8. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +3 -9
  9. package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +3 -9
  10. package/dist-es/commands/GetGatewayCommand.js +3 -9
  11. package/dist-es/commands/GetHypervisorCommand.js +3 -9
  12. package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +3 -9
  13. package/dist-es/commands/GetVirtualMachineCommand.js +3 -9
  14. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +3 -10
  15. package/dist-es/commands/ListGatewaysCommand.js +3 -9
  16. package/dist-es/commands/ListHypervisorsCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/ListVirtualMachinesCommand.js +3 -9
  19. package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +3 -9
  20. package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +3 -9
  21. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +3 -9
  22. package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +3 -9
  23. package/dist-es/commands/TagResourceCommand.js +3 -9
  24. package/dist-es/commands/TestHypervisorConfigurationCommand.js +3 -10
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateGatewayInformationCommand.js +3 -9
  27. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +3 -9
  28. package/dist-es/commands/UpdateHypervisorCommand.js +3 -10
  29. package/dist-es/models/models_0.js +0 -16
  30. package/dist-es/runtimeConfig.shared.js +7 -0
  31. package/dist-es/schemas/schemas_0.js +544 -0
  32. package/dist-types/BackupGatewayClient.d.ts +10 -1
  33. package/dist-types/models/models_0.d.ts +0 -12
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  35. package/dist-types/runtimeConfig.d.ts +1 -0
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +105 -0
  39. package/dist-types/ts3.4/BackupGatewayClient.d.ts +4 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +111 -0
  46. package/package.json +5 -5
  47. package/dist-es/protocols/Aws_json1_0.js +0 -698
  48. package/dist-types/protocols/Aws_json1_0.d.ts +0 -227
  49. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -305
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_0Protocol({
31
+ defaultNamespace: "com.amazonaws.backupgateway",
32
+ serviceTarget: "BackupOnPremises_v20210101",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Backup Gateway",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class BackupGatewayClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateGatewayToServerCommand, se_AssociateGatewayToServerCommand } from "../protocols/Aws_json1_0";
4
+ import { AssociateGatewayToServer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateGatewayToServerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
17
13
  .n("BackupGatewayClient", "AssociateGatewayToServerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateGatewayToServerCommand)
20
- .de(de_AssociateGatewayToServerCommand)
14
+ .sc(AssociateGatewayToServer)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateGatewayCommand, se_CreateGatewayCommand } from "../protocols/Aws_json1_0";
4
+ import { CreateGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGatewayCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "CreateGateway", {})
17
13
  .n("BackupGatewayClient", "CreateGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGatewayCommand)
20
- .de(de_CreateGatewayCommand)
14
+ .sc(CreateGateway)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteGatewayCommand, se_DeleteGatewayCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGatewayCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "DeleteGateway", {})
17
13
  .n("BackupGatewayClient", "DeleteGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGatewayCommand)
20
- .de(de_DeleteGatewayCommand)
14
+ .sc(DeleteGateway)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteHypervisorCommand, se_DeleteHypervisorCommand } from "../protocols/Aws_json1_0";
4
+ import { DeleteHypervisor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteHypervisorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
17
13
  .n("BackupGatewayClient", "DeleteHypervisorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteHypervisorCommand)
20
- .de(de_DeleteHypervisorCommand)
14
+ .sc(DeleteHypervisor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateGatewayFromServerCommand, se_DisassociateGatewayFromServerCommand, } from "../protocols/Aws_json1_0";
4
+ import { DisassociateGatewayFromServer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateGatewayFromServerCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
17
13
  .n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateGatewayFromServerCommand)
20
- .de(de_DisassociateGatewayFromServerCommand)
14
+ .sc(DisassociateGatewayFromServer)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetBandwidthRateLimitScheduleCommand, se_GetBandwidthRateLimitScheduleCommand, } from "../protocols/Aws_json1_0";
4
+ import { GetBandwidthRateLimitSchedule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetBandwidthRateLimitScheduleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
17
13
  .n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetBandwidthRateLimitScheduleCommand)
20
- .de(de_GetBandwidthRateLimitScheduleCommand)
14
+ .sc(GetBandwidthRateLimitSchedule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetGatewayCommand, se_GetGatewayCommand } from "../protocols/Aws_json1_0";
4
+ import { GetGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGatewayCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "GetGateway", {})
17
13
  .n("BackupGatewayClient", "GetGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGatewayCommand)
20
- .de(de_GetGatewayCommand)
14
+ .sc(GetGateway)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetHypervisorCommand, se_GetHypervisorCommand } from "../protocols/Aws_json1_0";
4
+ import { GetHypervisor } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetHypervisorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "GetHypervisor", {})
17
13
  .n("BackupGatewayClient", "GetHypervisorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetHypervisorCommand)
20
- .de(de_GetHypervisorCommand)
14
+ .sc(GetHypervisor)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetHypervisorPropertyMappingsCommand, se_GetHypervisorPropertyMappingsCommand, } from "../protocols/Aws_json1_0";
4
+ import { GetHypervisorPropertyMappings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetHypervisorPropertyMappingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
17
13
  .n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetHypervisorPropertyMappingsCommand)
20
- .de(de_GetHypervisorPropertyMappingsCommand)
14
+ .sc(GetHypervisorPropertyMappings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetVirtualMachineCommand, se_GetVirtualMachineCommand } from "../protocols/Aws_json1_0";
4
+ import { GetVirtualMachine } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetVirtualMachineCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
17
13
  .n("BackupGatewayClient", "GetVirtualMachineCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetVirtualMachineCommand)
20
- .de(de_GetVirtualMachineCommand)
14
+ .sc(GetVirtualMachine)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ImportHypervisorConfigurationInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ImportHypervisorConfigurationCommand, se_ImportHypervisorConfigurationCommand, } from "../protocols/Aws_json1_0";
4
+ import { ImportHypervisorConfiguration } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ImportHypervisorConfigurationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
18
13
  .n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
19
- .f(ImportHypervisorConfigurationInputFilterSensitiveLog, void 0)
20
- .ser(se_ImportHypervisorConfigurationCommand)
21
- .de(de_ImportHypervisorConfigurationCommand)
14
+ .sc(ImportHypervisorConfiguration)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListGatewaysCommand, se_ListGatewaysCommand } from "../protocols/Aws_json1_0";
4
+ import { ListGateways } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListGatewaysCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "ListGateways", {})
17
13
  .n("BackupGatewayClient", "ListGatewaysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListGatewaysCommand)
20
- .de(de_ListGatewaysCommand)
14
+ .sc(ListGateways)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListHypervisorsCommand, se_ListHypervisorsCommand } from "../protocols/Aws_json1_0";
4
+ import { ListHypervisors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListHypervisorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "ListHypervisors", {})
17
13
  .n("BackupGatewayClient", "ListHypervisorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListHypervisorsCommand)
20
- .de(de_ListHypervisorsCommand)
14
+ .sc(ListHypervisors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "ListTagsForResource", {})
17
13
  .n("BackupGatewayClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListVirtualMachinesCommand, se_ListVirtualMachinesCommand } from "../protocols/Aws_json1_0";
4
+ import { ListVirtualMachines } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVirtualMachinesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "ListVirtualMachines", {})
17
13
  .n("BackupGatewayClient", "ListVirtualMachinesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVirtualMachinesCommand)
20
- .de(de_ListVirtualMachinesCommand)
14
+ .sc(ListVirtualMachines)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutBandwidthRateLimitScheduleCommand, se_PutBandwidthRateLimitScheduleCommand, } from "../protocols/Aws_json1_0";
4
+ import { PutBandwidthRateLimitSchedule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutBandwidthRateLimitScheduleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {})
17
13
  .n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutBandwidthRateLimitScheduleCommand)
20
- .de(de_PutBandwidthRateLimitScheduleCommand)
14
+ .sc(PutBandwidthRateLimitSchedule)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutHypervisorPropertyMappingsCommand, se_PutHypervisorPropertyMappingsCommand, } from "../protocols/Aws_json1_0";
4
+ import { PutHypervisorPropertyMappings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutHypervisorPropertyMappingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {})
17
13
  .n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutHypervisorPropertyMappingsCommand)
20
- .de(de_PutHypervisorPropertyMappingsCommand)
14
+ .sc(PutHypervisorPropertyMappings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutMaintenanceStartTimeCommand, se_PutMaintenanceStartTimeCommand } from "../protocols/Aws_json1_0";
4
+ import { PutMaintenanceStartTime } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutMaintenanceStartTimeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {})
17
13
  .n("BackupGatewayClient", "PutMaintenanceStartTimeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutMaintenanceStartTimeCommand)
20
- .de(de_PutMaintenanceStartTimeCommand)
14
+ .sc(PutMaintenanceStartTime)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartVirtualMachinesMetadataSyncCommand, se_StartVirtualMachinesMetadataSyncCommand, } from "../protocols/Aws_json1_0";
4
+ import { StartVirtualMachinesMetadataSync } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartVirtualMachinesMetadataSyncCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {})
17
13
  .n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartVirtualMachinesMetadataSyncCommand)
20
- .de(de_StartVirtualMachinesMetadataSyncCommand)
14
+ .sc(StartVirtualMachinesMetadataSync)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "TagResource", {})
17
13
  .n("BackupGatewayClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { TestHypervisorConfigurationInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_TestHypervisorConfigurationCommand, se_TestHypervisorConfigurationCommand } from "../protocols/Aws_json1_0";
4
+ import { TestHypervisorConfiguration } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class TestHypervisorConfigurationCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {})
18
13
  .n("BackupGatewayClient", "TestHypervisorConfigurationCommand")
19
- .f(TestHypervisorConfigurationInputFilterSensitiveLog, void 0)
20
- .ser(se_TestHypervisorConfigurationCommand)
21
- .de(de_TestHypervisorConfigurationCommand)
14
+ .sc(TestHypervisorConfiguration)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("BackupOnPremises_v20210101", "UntagResource", {})
17
13
  .n("BackupGatewayClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }