@aws-sdk/client-backup-gateway 3.952.0 → 3.953.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 (45) hide show
  1. package/dist-cjs/index.js +311 -190
  2. package/dist-cjs/runtimeConfig.shared.js +6 -6
  3. package/dist-es/commands/AssociateGatewayToServerCommand.js +2 -2
  4. package/dist-es/commands/CreateGatewayCommand.js +2 -2
  5. package/dist-es/commands/DeleteGatewayCommand.js +2 -2
  6. package/dist-es/commands/DeleteHypervisorCommand.js +2 -2
  7. package/dist-es/commands/DisassociateGatewayFromServerCommand.js +2 -2
  8. package/dist-es/commands/GetBandwidthRateLimitScheduleCommand.js +2 -2
  9. package/dist-es/commands/GetGatewayCommand.js +2 -2
  10. package/dist-es/commands/GetHypervisorCommand.js +2 -2
  11. package/dist-es/commands/GetHypervisorPropertyMappingsCommand.js +2 -2
  12. package/dist-es/commands/GetVirtualMachineCommand.js +2 -2
  13. package/dist-es/commands/ImportHypervisorConfigurationCommand.js +2 -2
  14. package/dist-es/commands/ListGatewaysCommand.js +2 -2
  15. package/dist-es/commands/ListHypervisorsCommand.js +2 -2
  16. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  17. package/dist-es/commands/ListVirtualMachinesCommand.js +2 -2
  18. package/dist-es/commands/PutBandwidthRateLimitScheduleCommand.js +2 -2
  19. package/dist-es/commands/PutHypervisorPropertyMappingsCommand.js +2 -2
  20. package/dist-es/commands/PutMaintenanceStartTimeCommand.js +2 -2
  21. package/dist-es/commands/StartVirtualMachinesMetadataSyncCommand.js +2 -2
  22. package/dist-es/commands/TagResourceCommand.js +2 -2
  23. package/dist-es/commands/TestHypervisorConfigurationCommand.js +2 -2
  24. package/dist-es/commands/UntagResourceCommand.js +2 -2
  25. package/dist-es/commands/UpdateGatewayInformationCommand.js +2 -2
  26. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +2 -2
  27. package/dist-es/commands/UpdateHypervisorCommand.js +2 -2
  28. package/dist-es/index.js +1 -0
  29. package/dist-es/runtimeConfig.shared.js +6 -6
  30. package/dist-es/schemas/schemas_0.js +178 -150
  31. package/dist-types/BackupGatewayClient.d.ts +1 -10
  32. package/dist-types/index.d.ts +1 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  34. package/dist-types/runtimeConfig.d.ts +6 -2
  35. package/dist-types/runtimeConfig.native.d.ts +6 -2
  36. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  37. package/dist-types/schemas/schemas_0.d.ts +94 -105
  38. package/dist-types/ts3.4/BackupGatewayClient.d.ts +0 -4
  39. package/dist-types/ts3.4/index.d.ts +1 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +93 -106
  45. package/package.json +34 -34
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
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
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.backupgateway",
32
+ version: "2021-01-01",
33
+ serviceTarget: "BackupOnPremises_v20210101",
34
+ },
35
35
  serviceId: config?.serviceId ?? "Backup Gateway",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AssociateGatewayToServer } from "../schemas/schemas_0";
4
+ import { AssociateGatewayToServer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateGatewayToServerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateGatewayToServerCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
13
13
  .n("BackupGatewayClient", "AssociateGatewayToServerCommand")
14
- .sc(AssociateGatewayToServer)
14
+ .sc(AssociateGatewayToServer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateGateway } from "../schemas/schemas_0";
4
+ import { CreateGateway$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateGatewayCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateGatewayCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "CreateGateway", {})
13
13
  .n("BackupGatewayClient", "CreateGatewayCommand")
14
- .sc(CreateGateway)
14
+ .sc(CreateGateway$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteGateway } from "../schemas/schemas_0";
4
+ import { DeleteGateway$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteGatewayCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteGatewayCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "DeleteGateway", {})
13
13
  .n("BackupGatewayClient", "DeleteGatewayCommand")
14
- .sc(DeleteGateway)
14
+ .sc(DeleteGateway$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteHypervisor } from "../schemas/schemas_0";
4
+ import { DeleteHypervisor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteHypervisorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteHypervisorCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
13
13
  .n("BackupGatewayClient", "DeleteHypervisorCommand")
14
- .sc(DeleteHypervisor)
14
+ .sc(DeleteHypervisor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisassociateGatewayFromServer } from "../schemas/schemas_0";
4
+ import { DisassociateGatewayFromServer$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateGatewayFromServerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateGatewayFromServerCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
13
13
  .n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
14
- .sc(DisassociateGatewayFromServer)
14
+ .sc(DisassociateGatewayFromServer$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetBandwidthRateLimitSchedule } from "../schemas/schemas_0";
4
+ import { GetBandwidthRateLimitSchedule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetBandwidthRateLimitScheduleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetBandwidthRateLimitScheduleCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
13
13
  .n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
14
- .sc(GetBandwidthRateLimitSchedule)
14
+ .sc(GetBandwidthRateLimitSchedule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetGateway } from "../schemas/schemas_0";
4
+ import { GetGateway$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetGatewayCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetGatewayCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "GetGateway", {})
13
13
  .n("BackupGatewayClient", "GetGatewayCommand")
14
- .sc(GetGateway)
14
+ .sc(GetGateway$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetHypervisor } from "../schemas/schemas_0";
4
+ import { GetHypervisor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetHypervisorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetHypervisorCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "GetHypervisor", {})
13
13
  .n("BackupGatewayClient", "GetHypervisorCommand")
14
- .sc(GetHypervisor)
14
+ .sc(GetHypervisor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetHypervisorPropertyMappings } from "../schemas/schemas_0";
4
+ import { GetHypervisorPropertyMappings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetHypervisorPropertyMappingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetHypervisorPropertyMappingsCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
13
13
  .n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
14
- .sc(GetHypervisorPropertyMappings)
14
+ .sc(GetHypervisorPropertyMappings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVirtualMachine } from "../schemas/schemas_0";
4
+ import { GetVirtualMachine$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVirtualMachineCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVirtualMachineCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
13
13
  .n("BackupGatewayClient", "GetVirtualMachineCommand")
14
- .sc(GetVirtualMachine)
14
+ .sc(GetVirtualMachine$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ImportHypervisorConfiguration } from "../schemas/schemas_0";
4
+ import { ImportHypervisorConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ImportHypervisorConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ImportHypervisorConfigurationCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
13
13
  .n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
14
- .sc(ImportHypervisorConfiguration)
14
+ .sc(ImportHypervisorConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListGateways } from "../schemas/schemas_0";
4
+ import { ListGateways$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListGatewaysCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListGatewaysCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "ListGateways", {})
13
13
  .n("BackupGatewayClient", "ListGatewaysCommand")
14
- .sc(ListGateways)
14
+ .sc(ListGateways$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListHypervisors } from "../schemas/schemas_0";
4
+ import { ListHypervisors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListHypervisorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListHypervisorsCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "ListHypervisors", {})
13
13
  .n("BackupGatewayClient", "ListHypervisorsCommand")
14
- .sc(ListHypervisors)
14
+ .sc(ListHypervisors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "ListTagsForResource", {})
13
13
  .n("BackupGatewayClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListVirtualMachines } from "../schemas/schemas_0";
4
+ import { ListVirtualMachines$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListVirtualMachinesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListVirtualMachinesCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "ListVirtualMachines", {})
13
13
  .n("BackupGatewayClient", "ListVirtualMachinesCommand")
14
- .sc(ListVirtualMachines)
14
+ .sc(ListVirtualMachines$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutBandwidthRateLimitSchedule } from "../schemas/schemas_0";
4
+ import { PutBandwidthRateLimitSchedule$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutBandwidthRateLimitScheduleCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutBandwidthRateLimitScheduleCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {})
13
13
  .n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand")
14
- .sc(PutBandwidthRateLimitSchedule)
14
+ .sc(PutBandwidthRateLimitSchedule$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutHypervisorPropertyMappings } from "../schemas/schemas_0";
4
+ import { PutHypervisorPropertyMappings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutHypervisorPropertyMappingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutHypervisorPropertyMappingsCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {})
13
13
  .n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand")
14
- .sc(PutHypervisorPropertyMappings)
14
+ .sc(PutHypervisorPropertyMappings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutMaintenanceStartTime } from "../schemas/schemas_0";
4
+ import { PutMaintenanceStartTime$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutMaintenanceStartTimeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutMaintenanceStartTimeCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {})
13
13
  .n("BackupGatewayClient", "PutMaintenanceStartTimeCommand")
14
- .sc(PutMaintenanceStartTime)
14
+ .sc(PutMaintenanceStartTime$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartVirtualMachinesMetadataSync } from "../schemas/schemas_0";
4
+ import { StartVirtualMachinesMetadataSync$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartVirtualMachinesMetadataSyncCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartVirtualMachinesMetadataSyncCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {})
13
13
  .n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand")
14
- .sc(StartVirtualMachinesMetadataSync)
14
+ .sc(StartVirtualMachinesMetadataSync$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "TagResource", {})
13
13
  .n("BackupGatewayClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TestHypervisorConfiguration } from "../schemas/schemas_0";
4
+ import { TestHypervisorConfiguration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TestHypervisorConfigurationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TestHypervisorConfigurationCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {})
13
13
  .n("BackupGatewayClient", "TestHypervisorConfigurationCommand")
14
- .sc(TestHypervisorConfiguration)
14
+ .sc(TestHypervisorConfiguration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "UntagResource", {})
13
13
  .n("BackupGatewayClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateGatewayInformation } from "../schemas/schemas_0";
4
+ import { UpdateGatewayInformation$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateGatewayInformationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateGatewayInformationCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "UpdateGatewayInformation", {})
13
13
  .n("BackupGatewayClient", "UpdateGatewayInformationCommand")
14
- .sc(UpdateGatewayInformation)
14
+ .sc(UpdateGatewayInformation$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateGatewaySoftwareNow } from "../schemas/schemas_0";
4
+ import { UpdateGatewaySoftwareNow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateGatewaySoftwareNowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateGatewaySoftwareNowCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "UpdateGatewaySoftwareNow", {})
13
13
  .n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand")
14
- .sc(UpdateGatewaySoftwareNow)
14
+ .sc(UpdateGatewaySoftwareNow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateHypervisor } from "../schemas/schemas_0";
4
+ import { UpdateHypervisor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateHypervisorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateHypervisorCommand extends $Command
11
11
  })
12
12
  .s("BackupOnPremises_v20210101", "UpdateHypervisor", {})
13
13
  .n("BackupGatewayClient", "UpdateHypervisorCommand")
14
- .sc(UpdateHypervisor)
14
+ .sc(UpdateHypervisor$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BackupGatewayClient";
2
2
  export * from "./BackupGateway";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.backupgateway",
29
- serviceTarget: "BackupOnPremises_v20210101",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.backupgateway",
29
+ version: "2021-01-01",
30
+ serviceTarget: "BackupOnPremises_v20210101",
31
+ },
32
32
  serviceId: config?.serviceId ?? "Backup Gateway",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,