@aws-sdk/client-backup-gateway 3.927.0 → 3.928.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
@@ -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_UpdateGatewayInformationCommand, se_UpdateGatewayInformationCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateGatewayInformation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGatewayInformationCommand 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", "UpdateGatewayInformation", {})
17
13
  .n("BackupGatewayClient", "UpdateGatewayInformationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGatewayInformationCommand)
20
- .de(de_UpdateGatewayInformationCommand)
14
+ .sc(UpdateGatewayInformation)
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_UpdateGatewaySoftwareNowCommand, se_UpdateGatewaySoftwareNowCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateGatewaySoftwareNow } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGatewaySoftwareNowCommand 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", "UpdateGatewaySoftwareNow", {})
17
13
  .n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGatewaySoftwareNowCommand)
20
- .de(de_UpdateGatewaySoftwareNowCommand)
14
+ .sc(UpdateGatewaySoftwareNow)
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 { UpdateHypervisorInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateHypervisorCommand, se_UpdateHypervisorCommand } from "../protocols/Aws_json1_0";
4
+ import { UpdateHypervisor } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateHypervisorCommand 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", "UpdateHypervisor", {})
18
13
  .n("BackupGatewayClient", "UpdateHypervisorCommand")
19
- .f(UpdateHypervisorInputFilterSensitiveLog, void 0)
20
- .ser(se_UpdateHypervisorCommand)
21
- .de(de_UpdateHypervisorCommand)
14
+ .sc(UpdateHypervisor)
22
15
  .build() {
23
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { BackupGatewayServiceException as __BaseException } from "./BackupGatewayServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -112,18 +111,3 @@ export const HypervisorState = {
112
111
  ONLINE: "ONLINE",
113
112
  PENDING: "PENDING",
114
113
  };
115
- export const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
116
- ...obj,
117
- ...(obj.Username && { Username: SENSITIVE_STRING }),
118
- ...(obj.Password && { Password: SENSITIVE_STRING }),
119
- });
120
- export const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
121
- ...obj,
122
- ...(obj.Username && { Username: SENSITIVE_STRING }),
123
- ...(obj.Password && { Password: SENSITIVE_STRING }),
124
- });
125
- export const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
126
- ...obj,
127
- ...(obj.Username && { Username: SENSITIVE_STRING }),
128
- ...(obj.Password && { Password: SENSITIVE_STRING }),
129
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
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
+ }),
25
32
  serviceId: config?.serviceId ?? "Backup Gateway",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,544 @@
1
+ const _ADE = "AccessDeniedException";
2
+ const _AGTS = "AssociateGatewayToServer";
3
+ const _AGTSI = "AssociateGatewayToServerInput";
4
+ const _AGTSO = "AssociateGatewayToServerOutput";
5
+ const _AK = "ActivationKey";
6
+ const _ATK = "AwsTagKey";
7
+ const _ATV = "AwsTagValue";
8
+ const _AURLIBPS = "AverageUploadRateLimitInBitsPerSec";
9
+ const _BRLI = "BandwidthRateLimitInterval";
10
+ const _BRLIa = "BandwidthRateLimitIntervals";
11
+ const _CE = "ConflictException";
12
+ const _CG = "CreateGateway";
13
+ const _CGI = "CreateGatewayInput";
14
+ const _CGO = "CreateGatewayOutput";
15
+ const _DG = "DeleteGateway";
16
+ const _DGFS = "DisassociateGatewayFromServer";
17
+ const _DGFSI = "DisassociateGatewayFromServerInput";
18
+ const _DGFSO = "DisassociateGatewayFromServerOutput";
19
+ const _DGI = "DeleteGatewayInput";
20
+ const _DGO = "DeleteGatewayOutput";
21
+ const _DH = "DeleteHypervisor";
22
+ const _DHI = "DeleteHypervisorInput";
23
+ const _DHO = "DeleteHypervisorOutput";
24
+ const _DOM = "DayOfMonth";
25
+ const _DOW = "DaysOfWeek";
26
+ const _DOWa = "DayOfWeek";
27
+ const _EC = "ErrorCode";
28
+ const _EHOD = "EndHourOfDay";
29
+ const _EMOH = "EndMinuteOfHour";
30
+ const _G = "Gateway";
31
+ const _GA = "GatewayArn";
32
+ const _GBRLS = "GetBandwidthRateLimitSchedule";
33
+ const _GBRLSI = "GetBandwidthRateLimitScheduleInput";
34
+ const _GBRLSO = "GetBandwidthRateLimitScheduleOutput";
35
+ const _GD = "GatewayDetails";
36
+ const _GDN = "GatewayDisplayName";
37
+ const _GG = "GetGateway";
38
+ const _GGI = "GetGatewayInput";
39
+ const _GGO = "GetGatewayOutput";
40
+ const _GH = "GetHypervisor";
41
+ const _GHI = "GetHypervisorInput";
42
+ const _GHO = "GetHypervisorOutput";
43
+ const _GHPM = "GetHypervisorPropertyMappings";
44
+ const _GHPMI = "GetHypervisorPropertyMappingsInput";
45
+ const _GHPMO = "GetHypervisorPropertyMappingsOutput";
46
+ const _GT = "GatewayType";
47
+ const _GVM = "GetVirtualMachine";
48
+ const _GVMI = "GetVirtualMachineInput";
49
+ const _GVMO = "GetVirtualMachineOutput";
50
+ const _Ga = "Gateways";
51
+ const _H = "Hypervisor";
52
+ const _HA = "HypervisorArn";
53
+ const _HD = "HypervisorDetails";
54
+ const _HI = "HypervisorId";
55
+ const _HN = "HostName";
56
+ const _HOD = "HourOfDay";
57
+ const _Ho = "Host";
58
+ const _Hy = "Hypervisors";
59
+ const _IHC = "ImportHypervisorConfiguration";
60
+ const _IHCI = "ImportHypervisorConfigurationInput";
61
+ const _IHCO = "ImportHypervisorConfigurationOutput";
62
+ const _IRA = "IamRoleArn";
63
+ const _ISE = "InternalServerException";
64
+ const _K = "Key";
65
+ const _KKA = "KmsKeyArn";
66
+ const _LBD = "LastBackupDate";
67
+ const _LG = "ListGateways";
68
+ const _LGA = "LogGroupArn";
69
+ const _LGI = "ListGatewaysInput";
70
+ const _LGO = "ListGatewaysOutput";
71
+ const _LH = "ListHypervisors";
72
+ const _LHI = "ListHypervisorsInput";
73
+ const _LHO = "ListHypervisorsOutput";
74
+ const _LMSS = "LatestMetadataSyncStatus";
75
+ const _LMSSM = "LatestMetadataSyncStatusMessage";
76
+ const _LSMST = "LastSuccessfulMetadataSyncTime";
77
+ const _LST = "LastSeenTime";
78
+ const _LTFR = "ListTagsForResource";
79
+ const _LTFRI = "ListTagsForResourceInput";
80
+ const _LTFRO = "ListTagsForResourceOutput";
81
+ const _LVM = "ListVirtualMachines";
82
+ const _LVMI = "ListVirtualMachinesInput";
83
+ const _LVMO = "ListVirtualMachinesOutput";
84
+ const _M = "Message";
85
+ const _MOH = "MinuteOfHour";
86
+ const _MR = "MaxResults";
87
+ const _MST = "MaintenanceStartTime";
88
+ const _N = "Name";
89
+ const _NT = "NextToken";
90
+ const _NUAT = "NextUpdateAvailabilityTime";
91
+ const _P = "Password";
92
+ const _PBRLS = "PutBandwidthRateLimitSchedule";
93
+ const _PBRLSI = "PutBandwidthRateLimitScheduleInput";
94
+ const _PBRLSO = "PutBandwidthRateLimitScheduleOutput";
95
+ const _PHPM = "PutHypervisorPropertyMappings";
96
+ const _PHPMI = "PutHypervisorPropertyMappingsInput";
97
+ const _PHPMO = "PutHypervisorPropertyMappingsOutput";
98
+ const _PMST = "PutMaintenanceStartTime";
99
+ const _PMSTI = "PutMaintenanceStartTimeInput";
100
+ const _PMSTO = "PutMaintenanceStartTimeOutput";
101
+ const _Pa = "Path";
102
+ const _RA = "ResourceArn";
103
+ const _RARN = "ResourceARN";
104
+ const _RNFE = "ResourceNotFoundException";
105
+ const _S = "State";
106
+ const _SA = "ServerArn";
107
+ const _SHOD = "StartHourOfDay";
108
+ const _SMOH = "StartMinuteOfHour";
109
+ const _SVMMS = "StartVirtualMachinesMetadataSync";
110
+ const _SVMMSI = "StartVirtualMachinesMetadataSyncInput";
111
+ const _SVMMSO = "StartVirtualMachinesMetadataSyncOutput";
112
+ const _T = "Tags";
113
+ const _TE = "ThrottlingException";
114
+ const _THC = "TestHypervisorConfiguration";
115
+ const _THCI = "TestHypervisorConfigurationInput";
116
+ const _THCO = "TestHypervisorConfigurationOutput";
117
+ const _TK = "TagKeys";
118
+ const _TR = "TagResource";
119
+ const _TRI = "TagResourceInput";
120
+ const _TRO = "TagResourceOutput";
121
+ const _Ta = "Tag";
122
+ const _U = "Username";
123
+ const _UGI = "UpdateGatewayInformation";
124
+ const _UGII = "UpdateGatewayInformationInput";
125
+ const _UGIO = "UpdateGatewayInformationOutput";
126
+ const _UGSN = "UpdateGatewaySoftwareNow";
127
+ const _UGSNI = "UpdateGatewaySoftwareNowInput";
128
+ const _UGSNO = "UpdateGatewaySoftwareNowOutput";
129
+ const _UH = "UpdateHypervisor";
130
+ const _UHI = "UpdateHypervisorInput";
131
+ const _UHO = "UpdateHypervisorOutput";
132
+ const _UR = "UntagResource";
133
+ const _URI = "UntagResourceInput";
134
+ const _URO = "UntagResourceOutput";
135
+ const _V = "Value";
136
+ const _VC = "VmwareCategory";
137
+ const _VE = "VpcEndpoint";
138
+ const _VEa = "ValidationException";
139
+ const _VM = "VirtualMachine";
140
+ const _VMD = "VirtualMachineDetails";
141
+ const _VMi = "VirtualMachines";
142
+ const _VT = "VmwareTags";
143
+ const _VTATM = "VmwareToAwsTagMappings";
144
+ const _VTATMm = "VmwareToAwsTagMapping";
145
+ const _VTD = "VmwareTagDescription";
146
+ const _VTN = "VmwareTagName";
147
+ const _VTm = "VmwareTag";
148
+ const _c = "client";
149
+ const _e = "error";
150
+ const _hE = "httpError";
151
+ const _s = "server";
152
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backupgateway";
153
+ const n0 = "com.amazonaws.backupgateway";
154
+ import { TypeRegistry } from "@smithy/core/schema";
155
+ import { BackupGatewayServiceException as __BackupGatewayServiceException } from "../models/BackupGatewayServiceException";
156
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
157
+ export var Password = [0, n0, _P, 8, 0];
158
+ export var Username = [0, n0, _U, 8, 0];
159
+ export var AccessDeniedException = [
160
+ -3,
161
+ n0,
162
+ _ADE,
163
+ {
164
+ [_e]: _c,
165
+ [_hE]: 403,
166
+ },
167
+ [_EC, _M],
168
+ [0, 0],
169
+ ];
170
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
171
+ export var AssociateGatewayToServerInput = [3, n0, _AGTSI, 0, [_GA, _SA], [0, 0]];
172
+ export var AssociateGatewayToServerOutput = [3, n0, _AGTSO, 0, [_GA], [0]];
173
+ export var BandwidthRateLimitInterval = [
174
+ 3,
175
+ n0,
176
+ _BRLI,
177
+ 0,
178
+ [_AURLIBPS, _SHOD, _EHOD, _SMOH, _EMOH, _DOW],
179
+ [1, 1, 1, 1, 1, 64 | 1],
180
+ ];
181
+ export var ConflictException = [
182
+ -3,
183
+ n0,
184
+ _CE,
185
+ {
186
+ [_e]: _c,
187
+ [_hE]: 409,
188
+ },
189
+ [_EC, _M],
190
+ [0, 0],
191
+ ];
192
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
193
+ export var CreateGatewayInput = [3, n0, _CGI, 0, [_AK, _GDN, _GT, _T], [0, 0, 0, () => Tags]];
194
+ export var CreateGatewayOutput = [3, n0, _CGO, 0, [_GA], [0]];
195
+ export var DeleteGatewayInput = [3, n0, _DGI, 0, [_GA], [0]];
196
+ export var DeleteGatewayOutput = [3, n0, _DGO, 0, [_GA], [0]];
197
+ export var DeleteHypervisorInput = [3, n0, _DHI, 0, [_HA], [0]];
198
+ export var DeleteHypervisorOutput = [3, n0, _DHO, 0, [_HA], [0]];
199
+ export var DisassociateGatewayFromServerInput = [3, n0, _DGFSI, 0, [_GA], [0]];
200
+ export var DisassociateGatewayFromServerOutput = [3, n0, _DGFSO, 0, [_GA], [0]];
201
+ export var Gateway = [3, n0, _G, 0, [_GA, _GDN, _GT, _HI, _LST], [0, 0, 0, 0, 4]];
202
+ export var GatewayDetails = [
203
+ 3,
204
+ n0,
205
+ _GD,
206
+ 0,
207
+ [_GA, _GDN, _GT, _HI, _LST, _MST, _NUAT, _VE],
208
+ [0, 0, 0, 0, 4, () => MaintenanceStartTime, 4, 0],
209
+ ];
210
+ export var GetBandwidthRateLimitScheduleInput = [3, n0, _GBRLSI, 0, [_GA], [0]];
211
+ export var GetBandwidthRateLimitScheduleOutput = [
212
+ 3,
213
+ n0,
214
+ _GBRLSO,
215
+ 0,
216
+ [_GA, _BRLIa],
217
+ [0, () => BandwidthRateLimitIntervals],
218
+ ];
219
+ export var GetGatewayInput = [3, n0, _GGI, 0, [_GA], [0]];
220
+ export var GetGatewayOutput = [3, n0, _GGO, 0, [_G], [() => GatewayDetails]];
221
+ export var GetHypervisorInput = [3, n0, _GHI, 0, [_HA], [0]];
222
+ export var GetHypervisorOutput = [3, n0, _GHO, 0, [_H], [() => HypervisorDetails]];
223
+ export var GetHypervisorPropertyMappingsInput = [3, n0, _GHPMI, 0, [_HA], [0]];
224
+ export var GetHypervisorPropertyMappingsOutput = [
225
+ 3,
226
+ n0,
227
+ _GHPMO,
228
+ 0,
229
+ [_HA, _VTATM, _IRA],
230
+ [0, () => VmwareToAwsTagMappings, 0],
231
+ ];
232
+ export var GetVirtualMachineInput = [3, n0, _GVMI, 0, [_RA], [0]];
233
+ export var GetVirtualMachineOutput = [3, n0, _GVMO, 0, [_VM], [() => VirtualMachineDetails]];
234
+ export var Hypervisor = [3, n0, _H, 0, [_Ho, _HA, _KKA, _N, _S], [0, 0, 0, 0, 0]];
235
+ export var HypervisorDetails = [
236
+ 3,
237
+ n0,
238
+ _HD,
239
+ 0,
240
+ [_Ho, _HA, _KKA, _N, _LGA, _S, _LSMST, _LMSSM, _LMSS],
241
+ [0, 0, 0, 0, 0, 0, 4, 0, 0],
242
+ ];
243
+ export var ImportHypervisorConfigurationInput = [
244
+ 3,
245
+ n0,
246
+ _IHCI,
247
+ 0,
248
+ [_N, _Ho, _U, _P, _KKA, _T],
249
+ [0, 0, [() => Username, 0], [() => Password, 0], 0, () => Tags],
250
+ ];
251
+ export var ImportHypervisorConfigurationOutput = [3, n0, _IHCO, 0, [_HA], [0]];
252
+ export var InternalServerException = [
253
+ -3,
254
+ n0,
255
+ _ISE,
256
+ {
257
+ [_e]: _s,
258
+ [_hE]: 500,
259
+ },
260
+ [_EC, _M],
261
+ [0, 0],
262
+ ];
263
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
264
+ export var ListGatewaysInput = [3, n0, _LGI, 0, [_MR, _NT], [1, 0]];
265
+ export var ListGatewaysOutput = [3, n0, _LGO, 0, [_Ga, _NT], [() => Gateways, 0]];
266
+ export var ListHypervisorsInput = [3, n0, _LHI, 0, [_MR, _NT], [1, 0]];
267
+ export var ListHypervisorsOutput = [3, n0, _LHO, 0, [_Hy, _NT], [() => Hypervisors, 0]];
268
+ export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RA], [0]];
269
+ export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_RA, _T], [0, () => Tags]];
270
+ export var ListVirtualMachinesInput = [3, n0, _LVMI, 0, [_HA, _MR, _NT], [0, 1, 0]];
271
+ export var ListVirtualMachinesOutput = [
272
+ 3,
273
+ n0,
274
+ _LVMO,
275
+ 0,
276
+ [_VMi, _NT],
277
+ [() => VirtualMachines, 0],
278
+ ];
279
+ export var MaintenanceStartTime = [3, n0, _MST, 0, [_DOM, _DOWa, _HOD, _MOH], [1, 1, 1, 1]];
280
+ export var PutBandwidthRateLimitScheduleInput = [
281
+ 3,
282
+ n0,
283
+ _PBRLSI,
284
+ 0,
285
+ [_GA, _BRLIa],
286
+ [0, () => BandwidthRateLimitIntervals],
287
+ ];
288
+ export var PutBandwidthRateLimitScheduleOutput = [3, n0, _PBRLSO, 0, [_GA], [0]];
289
+ export var PutHypervisorPropertyMappingsInput = [
290
+ 3,
291
+ n0,
292
+ _PHPMI,
293
+ 0,
294
+ [_HA, _VTATM, _IRA],
295
+ [0, () => VmwareToAwsTagMappings, 0],
296
+ ];
297
+ export var PutHypervisorPropertyMappingsOutput = [3, n0, _PHPMO, 0, [_HA], [0]];
298
+ export var PutMaintenanceStartTimeInput = [
299
+ 3,
300
+ n0,
301
+ _PMSTI,
302
+ 0,
303
+ [_GA, _HOD, _MOH, _DOWa, _DOM],
304
+ [0, 1, 1, 1, 1],
305
+ ];
306
+ export var PutMaintenanceStartTimeOutput = [3, n0, _PMSTO, 0, [_GA], [0]];
307
+ export var ResourceNotFoundException = [
308
+ -3,
309
+ n0,
310
+ _RNFE,
311
+ {
312
+ [_e]: _c,
313
+ [_hE]: 404,
314
+ },
315
+ [_EC, _M],
316
+ [0, 0],
317
+ ];
318
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
319
+ export var StartVirtualMachinesMetadataSyncInput = [3, n0, _SVMMSI, 0, [_HA], [0]];
320
+ export var StartVirtualMachinesMetadataSyncOutput = [3, n0, _SVMMSO, 0, [_HA], [0]];
321
+ export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
322
+ export var TagResourceInput = [3, n0, _TRI, 0, [_RARN, _T], [0, () => Tags]];
323
+ export var TagResourceOutput = [3, n0, _TRO, 0, [_RARN], [0]];
324
+ export var TestHypervisorConfigurationInput = [
325
+ 3,
326
+ n0,
327
+ _THCI,
328
+ 0,
329
+ [_GA, _Ho, _U, _P],
330
+ [0, 0, [() => Username, 0], [() => Password, 0]],
331
+ ];
332
+ export var TestHypervisorConfigurationOutput = [3, n0, _THCO, 0, [], []];
333
+ export var ThrottlingException = [
334
+ -3,
335
+ n0,
336
+ _TE,
337
+ {
338
+ [_e]: _c,
339
+ [_hE]: 429,
340
+ },
341
+ [_EC, _M],
342
+ [0, 0],
343
+ ];
344
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
345
+ export var UntagResourceInput = [3, n0, _URI, 0, [_RARN, _TK], [0, 64 | 0]];
346
+ export var UntagResourceOutput = [3, n0, _URO, 0, [_RARN], [0]];
347
+ export var UpdateGatewayInformationInput = [3, n0, _UGII, 0, [_GA, _GDN], [0, 0]];
348
+ export var UpdateGatewayInformationOutput = [3, n0, _UGIO, 0, [_GA], [0]];
349
+ export var UpdateGatewaySoftwareNowInput = [3, n0, _UGSNI, 0, [_GA], [0]];
350
+ export var UpdateGatewaySoftwareNowOutput = [3, n0, _UGSNO, 0, [_GA], [0]];
351
+ export var UpdateHypervisorInput = [
352
+ 3,
353
+ n0,
354
+ _UHI,
355
+ 0,
356
+ [_HA, _Ho, _U, _P, _N, _LGA],
357
+ [0, 0, [() => Username, 0], [() => Password, 0], 0, 0],
358
+ ];
359
+ export var UpdateHypervisorOutput = [3, n0, _UHO, 0, [_HA], [0]];
360
+ export var ValidationException = [
361
+ -3,
362
+ n0,
363
+ _VEa,
364
+ {
365
+ [_e]: _c,
366
+ [_hE]: 400,
367
+ },
368
+ [_EC, _M],
369
+ [0, 0],
370
+ ];
371
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
372
+ export var VirtualMachine = [3, n0, _VM, 0, [_HN, _HI, _N, _Pa, _RA, _LBD], [0, 0, 0, 0, 0, 4]];
373
+ export var VirtualMachineDetails = [
374
+ 3,
375
+ n0,
376
+ _VMD,
377
+ 0,
378
+ [_HN, _HI, _N, _Pa, _RA, _LBD, _VT],
379
+ [0, 0, 0, 0, 0, 4, () => VmwareTags],
380
+ ];
381
+ export var VmwareTag = [3, n0, _VTm, 0, [_VC, _VTN, _VTD], [0, 0, 0]];
382
+ export var VmwareToAwsTagMapping = [3, n0, _VTATMm, 0, [_VC, _VTN, _ATK, _ATV], [0, 0, 0, 0]];
383
+ export var BackupGatewayServiceException = [-3, _sm, "BackupGatewayServiceException", 0, [], []];
384
+ TypeRegistry.for(_sm).registerError(BackupGatewayServiceException, __BackupGatewayServiceException);
385
+ export var BandwidthRateLimitIntervals = [1, n0, _BRLIa, 0, () => BandwidthRateLimitInterval];
386
+ export var DaysOfWeek = 64 | 1;
387
+ export var Gateways = [1, n0, _Ga, 0, () => Gateway];
388
+ export var Hypervisors = [1, n0, _Hy, 0, () => Hypervisor];
389
+ export var TagKeys = 64 | 0;
390
+ export var Tags = [1, n0, _T, 0, () => Tag];
391
+ export var VirtualMachines = [1, n0, _VMi, 0, () => VirtualMachine];
392
+ export var VmwareTags = [1, n0, _VT, 0, () => VmwareTag];
393
+ export var VmwareToAwsTagMappings = [1, n0, _VTATM, 0, () => VmwareToAwsTagMapping];
394
+ export var AssociateGatewayToServer = [
395
+ 9,
396
+ n0,
397
+ _AGTS,
398
+ 0,
399
+ () => AssociateGatewayToServerInput,
400
+ () => AssociateGatewayToServerOutput,
401
+ ];
402
+ export var CreateGateway = [9, n0, _CG, 0, () => CreateGatewayInput, () => CreateGatewayOutput];
403
+ export var DeleteGateway = [9, n0, _DG, 2, () => DeleteGatewayInput, () => DeleteGatewayOutput];
404
+ export var DeleteHypervisor = [
405
+ 9,
406
+ n0,
407
+ _DH,
408
+ 2,
409
+ () => DeleteHypervisorInput,
410
+ () => DeleteHypervisorOutput,
411
+ ];
412
+ export var DisassociateGatewayFromServer = [
413
+ 9,
414
+ n0,
415
+ _DGFS,
416
+ 0,
417
+ () => DisassociateGatewayFromServerInput,
418
+ () => DisassociateGatewayFromServerOutput,
419
+ ];
420
+ export var GetBandwidthRateLimitSchedule = [
421
+ 9,
422
+ n0,
423
+ _GBRLS,
424
+ 0,
425
+ () => GetBandwidthRateLimitScheduleInput,
426
+ () => GetBandwidthRateLimitScheduleOutput,
427
+ ];
428
+ export var GetGateway = [9, n0, _GG, 0, () => GetGatewayInput, () => GetGatewayOutput];
429
+ export var GetHypervisor = [9, n0, _GH, 0, () => GetHypervisorInput, () => GetHypervisorOutput];
430
+ export var GetHypervisorPropertyMappings = [
431
+ 9,
432
+ n0,
433
+ _GHPM,
434
+ 0,
435
+ () => GetHypervisorPropertyMappingsInput,
436
+ () => GetHypervisorPropertyMappingsOutput,
437
+ ];
438
+ export var GetVirtualMachine = [
439
+ 9,
440
+ n0,
441
+ _GVM,
442
+ 0,
443
+ () => GetVirtualMachineInput,
444
+ () => GetVirtualMachineOutput,
445
+ ];
446
+ export var ImportHypervisorConfiguration = [
447
+ 9,
448
+ n0,
449
+ _IHC,
450
+ 0,
451
+ () => ImportHypervisorConfigurationInput,
452
+ () => ImportHypervisorConfigurationOutput,
453
+ ];
454
+ export var ListGateways = [9, n0, _LG, 0, () => ListGatewaysInput, () => ListGatewaysOutput];
455
+ export var ListHypervisors = [
456
+ 9,
457
+ n0,
458
+ _LH,
459
+ 0,
460
+ () => ListHypervisorsInput,
461
+ () => ListHypervisorsOutput,
462
+ ];
463
+ export var ListTagsForResource = [
464
+ 9,
465
+ n0,
466
+ _LTFR,
467
+ 0,
468
+ () => ListTagsForResourceInput,
469
+ () => ListTagsForResourceOutput,
470
+ ];
471
+ export var ListVirtualMachines = [
472
+ 9,
473
+ n0,
474
+ _LVM,
475
+ 0,
476
+ () => ListVirtualMachinesInput,
477
+ () => ListVirtualMachinesOutput,
478
+ ];
479
+ export var PutBandwidthRateLimitSchedule = [
480
+ 9,
481
+ n0,
482
+ _PBRLS,
483
+ 2,
484
+ () => PutBandwidthRateLimitScheduleInput,
485
+ () => PutBandwidthRateLimitScheduleOutput,
486
+ ];
487
+ export var PutHypervisorPropertyMappings = [
488
+ 9,
489
+ n0,
490
+ _PHPM,
491
+ 2,
492
+ () => PutHypervisorPropertyMappingsInput,
493
+ () => PutHypervisorPropertyMappingsOutput,
494
+ ];
495
+ export var PutMaintenanceStartTime = [
496
+ 9,
497
+ n0,
498
+ _PMST,
499
+ 0,
500
+ () => PutMaintenanceStartTimeInput,
501
+ () => PutMaintenanceStartTimeOutput,
502
+ ];
503
+ export var StartVirtualMachinesMetadataSync = [
504
+ 9,
505
+ n0,
506
+ _SVMMS,
507
+ 0,
508
+ () => StartVirtualMachinesMetadataSyncInput,
509
+ () => StartVirtualMachinesMetadataSyncOutput,
510
+ ];
511
+ export var TagResource = [9, n0, _TR, 0, () => TagResourceInput, () => TagResourceOutput];
512
+ export var TestHypervisorConfiguration = [
513
+ 9,
514
+ n0,
515
+ _THC,
516
+ 0,
517
+ () => TestHypervisorConfigurationInput,
518
+ () => TestHypervisorConfigurationOutput,
519
+ ];
520
+ export var UntagResource = [9, n0, _UR, 0, () => UntagResourceInput, () => UntagResourceOutput];
521
+ export var UpdateGatewayInformation = [
522
+ 9,
523
+ n0,
524
+ _UGI,
525
+ 0,
526
+ () => UpdateGatewayInformationInput,
527
+ () => UpdateGatewayInformationOutput,
528
+ ];
529
+ export var UpdateGatewaySoftwareNow = [
530
+ 9,
531
+ n0,
532
+ _UGSN,
533
+ 0,
534
+ () => UpdateGatewaySoftwareNowInput,
535
+ () => UpdateGatewaySoftwareNowOutput,
536
+ ];
537
+ export var UpdateHypervisor = [
538
+ 9,
539
+ n0,
540
+ _UH,
541
+ 0,
542
+ () => UpdateHypervisorInput,
543
+ () => UpdateHypervisorOutput,
544
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AssociateGatewayToServerCommandInput, AssociateGatewayToServerCommandOutput } from "./commands/AssociateGatewayToServerCommand";
11
11
  import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
@@ -166,6 +166,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
166
166
  * Optional extensions
167
167
  */
168
168
  extensions?: RuntimeExtension[];
169
+ /**
170
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
171
+ * may be overridden. A default will always be set by the client.
172
+ * Available options depend on the service's supported protocols and will not be validated by
173
+ * the client.
174
+ * @alpha
175
+ *
176
+ */
177
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
169
178
  /**
170
179
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
171
180
  */