@aws-sdk/client-backup-gateway 3.901.0 → 3.907.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.
- package/dist-cjs/index.js +1388 -1527
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,1589 +1,1450 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DeleteHypervisorCommand: () => DeleteHypervisorCommand,
|
|
33
|
-
DisassociateGatewayFromServerCommand: () => DisassociateGatewayFromServerCommand,
|
|
34
|
-
GatewayType: () => GatewayType,
|
|
35
|
-
GetBandwidthRateLimitScheduleCommand: () => GetBandwidthRateLimitScheduleCommand,
|
|
36
|
-
GetGatewayCommand: () => GetGatewayCommand,
|
|
37
|
-
GetHypervisorCommand: () => GetHypervisorCommand,
|
|
38
|
-
GetHypervisorPropertyMappingsCommand: () => GetHypervisorPropertyMappingsCommand,
|
|
39
|
-
GetVirtualMachineCommand: () => GetVirtualMachineCommand,
|
|
40
|
-
HypervisorState: () => HypervisorState,
|
|
41
|
-
ImportHypervisorConfigurationCommand: () => ImportHypervisorConfigurationCommand,
|
|
42
|
-
ImportHypervisorConfigurationInputFilterSensitiveLog: () => ImportHypervisorConfigurationInputFilterSensitiveLog,
|
|
43
|
-
InternalServerException: () => InternalServerException,
|
|
44
|
-
ListGatewaysCommand: () => ListGatewaysCommand,
|
|
45
|
-
ListHypervisorsCommand: () => ListHypervisorsCommand,
|
|
46
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
47
|
-
ListVirtualMachinesCommand: () => ListVirtualMachinesCommand,
|
|
48
|
-
PutBandwidthRateLimitScheduleCommand: () => PutBandwidthRateLimitScheduleCommand,
|
|
49
|
-
PutHypervisorPropertyMappingsCommand: () => PutHypervisorPropertyMappingsCommand,
|
|
50
|
-
PutMaintenanceStartTimeCommand: () => PutMaintenanceStartTimeCommand,
|
|
51
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
52
|
-
StartVirtualMachinesMetadataSyncCommand: () => StartVirtualMachinesMetadataSyncCommand,
|
|
53
|
-
SyncMetadataStatus: () => SyncMetadataStatus,
|
|
54
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
55
|
-
TestHypervisorConfigurationCommand: () => TestHypervisorConfigurationCommand,
|
|
56
|
-
TestHypervisorConfigurationInputFilterSensitiveLog: () => TestHypervisorConfigurationInputFilterSensitiveLog,
|
|
57
|
-
ThrottlingException: () => ThrottlingException,
|
|
58
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
59
|
-
UpdateGatewayInformationCommand: () => UpdateGatewayInformationCommand,
|
|
60
|
-
UpdateGatewaySoftwareNowCommand: () => UpdateGatewaySoftwareNowCommand,
|
|
61
|
-
UpdateHypervisorCommand: () => UpdateHypervisorCommand,
|
|
62
|
-
UpdateHypervisorInputFilterSensitiveLog: () => UpdateHypervisorInputFilterSensitiveLog,
|
|
63
|
-
ValidationException: () => ValidationException,
|
|
64
|
-
__Client: () => import_smithy_client.Client,
|
|
65
|
-
paginateListGateways: () => paginateListGateways,
|
|
66
|
-
paginateListHypervisors: () => paginateListHypervisors,
|
|
67
|
-
paginateListVirtualMachines: () => paginateListVirtualMachines
|
|
68
|
-
});
|
|
69
|
-
module.exports = __toCommonJS(index_exports);
|
|
70
|
-
|
|
71
|
-
// src/BackupGatewayClient.ts
|
|
72
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
73
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
74
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
75
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
76
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
77
|
-
var import_core = require("@smithy/core");
|
|
78
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
79
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
80
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
81
|
-
|
|
82
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
83
|
-
|
|
84
|
-
// src/endpoint/EndpointParameters.ts
|
|
85
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
86
|
-
return Object.assign(options, {
|
|
87
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
88
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
89
|
-
defaultSigningName: "backup-gateway"
|
|
90
|
-
});
|
|
91
|
-
}, "resolveClientEndpointParameters");
|
|
92
|
-
var commonParams = {
|
|
93
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
94
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
95
|
-
Region: { type: "builtInParams", name: "region" },
|
|
96
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "backup-gateway",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
97
32
|
};
|
|
98
33
|
|
|
99
|
-
|
|
100
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
101
72
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
106
78
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
79
|
+
class BackupGatewayClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultBackupGatewayHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
135
107
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
141
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
142
|
-
credentials: config.credentials()
|
|
143
|
-
};
|
|
144
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
145
112
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
153
|
-
);
|
|
154
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
155
|
-
return Object.assign(
|
|
156
|
-
runtimeConfig,
|
|
157
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
158
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
159
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
160
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
161
|
-
);
|
|
162
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class BackupGatewayServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, BackupGatewayServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
163
119
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
120
|
+
class AccessDeniedException extends BackupGatewayServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
ErrorCode;
|
|
124
|
+
Message;
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "AccessDeniedException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
|
+
this.ErrorCode = opts.ErrorCode;
|
|
133
|
+
this.Message = opts.Message;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
class ConflictException extends BackupGatewayServiceException {
|
|
137
|
+
name = "ConflictException";
|
|
138
|
+
$fault = "client";
|
|
139
|
+
ErrorCode;
|
|
140
|
+
Message;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "ConflictException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
148
|
+
this.ErrorCode = opts.ErrorCode;
|
|
149
|
+
this.Message = opts.Message;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class InternalServerException extends BackupGatewayServiceException {
|
|
153
|
+
name = "InternalServerException";
|
|
154
|
+
$fault = "server";
|
|
155
|
+
ErrorCode;
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "InternalServerException",
|
|
160
|
+
$fault: "server",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
164
|
+
this.ErrorCode = opts.ErrorCode;
|
|
165
|
+
this.Message = opts.Message;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class ThrottlingException extends BackupGatewayServiceException {
|
|
169
|
+
name = "ThrottlingException";
|
|
170
|
+
$fault = "client";
|
|
171
|
+
ErrorCode;
|
|
172
|
+
Message;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ThrottlingException",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
180
|
+
this.ErrorCode = opts.ErrorCode;
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class ValidationException extends BackupGatewayServiceException {
|
|
185
|
+
name = "ValidationException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
ErrorCode;
|
|
188
|
+
Message;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "ValidationException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
196
|
+
this.ErrorCode = opts.ErrorCode;
|
|
197
|
+
this.Message = opts.Message;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
class ResourceNotFoundException extends BackupGatewayServiceException {
|
|
201
|
+
name = "ResourceNotFoundException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
ErrorCode;
|
|
204
|
+
Message;
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "ResourceNotFoundException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
212
|
+
this.ErrorCode = opts.ErrorCode;
|
|
213
|
+
this.Message = opts.Message;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
const GatewayType = {
|
|
217
|
+
BACKUP_VM: "BACKUP_VM",
|
|
210
218
|
};
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
// src/protocols/Aws_json1_0.ts
|
|
221
|
-
var import_core2 = require("@aws-sdk/core");
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
// src/models/BackupGatewayServiceException.ts
|
|
226
|
-
|
|
227
|
-
var BackupGatewayServiceException = class _BackupGatewayServiceException extends import_smithy_client.ServiceException {
|
|
228
|
-
static {
|
|
229
|
-
__name(this, "BackupGatewayServiceException");
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
constructor(options) {
|
|
235
|
-
super(options);
|
|
236
|
-
Object.setPrototypeOf(this, _BackupGatewayServiceException.prototype);
|
|
237
|
-
}
|
|
219
|
+
const SyncMetadataStatus = {
|
|
220
|
+
CREATED: "CREATED",
|
|
221
|
+
FAILED: "FAILED",
|
|
222
|
+
PARTIALLY_FAILED: "PARTIALLY_FAILED",
|
|
223
|
+
RUNNING: "RUNNING",
|
|
224
|
+
SUCCEEDED: "SUCCEEDED",
|
|
238
225
|
};
|
|
226
|
+
const HypervisorState = {
|
|
227
|
+
ERROR: "ERROR",
|
|
228
|
+
OFFLINE: "OFFLINE",
|
|
229
|
+
ONLINE: "ONLINE",
|
|
230
|
+
PENDING: "PENDING",
|
|
231
|
+
};
|
|
232
|
+
const TestHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
|
|
235
|
+
...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
|
|
236
|
+
});
|
|
237
|
+
const ImportHypervisorConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
|
|
240
|
+
...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
|
|
241
|
+
});
|
|
242
|
+
const UpdateHypervisorInputFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.Username && { Username: smithyClient.SENSITIVE_STRING }),
|
|
245
|
+
...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
|
|
246
|
+
});
|
|
239
247
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
248
|
+
const se_AssociateGatewayToServerCommand = async (input, context) => {
|
|
249
|
+
const headers = sharedHeaders("AssociateGatewayToServer");
|
|
250
|
+
let body;
|
|
251
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
252
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
|
+
};
|
|
254
|
+
const se_CreateGatewayCommand = async (input, context) => {
|
|
255
|
+
const headers = sharedHeaders("CreateGateway");
|
|
256
|
+
let body;
|
|
257
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
258
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
|
+
};
|
|
260
|
+
const se_DeleteGatewayCommand = async (input, context) => {
|
|
261
|
+
const headers = sharedHeaders("DeleteGateway");
|
|
262
|
+
let body;
|
|
263
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
264
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
|
+
};
|
|
266
|
+
const se_DeleteHypervisorCommand = async (input, context) => {
|
|
267
|
+
const headers = sharedHeaders("DeleteHypervisor");
|
|
268
|
+
let body;
|
|
269
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
270
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
271
|
+
};
|
|
272
|
+
const se_DisassociateGatewayFromServerCommand = async (input, context) => {
|
|
273
|
+
const headers = sharedHeaders("DisassociateGatewayFromServer");
|
|
274
|
+
let body;
|
|
275
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
276
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
277
|
+
};
|
|
278
|
+
const se_GetBandwidthRateLimitScheduleCommand = async (input, context) => {
|
|
279
|
+
const headers = sharedHeaders("GetBandwidthRateLimitSchedule");
|
|
280
|
+
let body;
|
|
281
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
282
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
|
+
};
|
|
284
|
+
const se_GetGatewayCommand = async (input, context) => {
|
|
285
|
+
const headers = sharedHeaders("GetGateway");
|
|
286
|
+
let body;
|
|
287
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
288
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
|
+
};
|
|
290
|
+
const se_GetHypervisorCommand = async (input, context) => {
|
|
291
|
+
const headers = sharedHeaders("GetHypervisor");
|
|
292
|
+
let body;
|
|
293
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
294
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
|
+
};
|
|
296
|
+
const se_GetHypervisorPropertyMappingsCommand = async (input, context) => {
|
|
297
|
+
const headers = sharedHeaders("GetHypervisorPropertyMappings");
|
|
298
|
+
let body;
|
|
299
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
300
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
|
+
};
|
|
302
|
+
const se_GetVirtualMachineCommand = async (input, context) => {
|
|
303
|
+
const headers = sharedHeaders("GetVirtualMachine");
|
|
304
|
+
let body;
|
|
305
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
306
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
307
|
+
};
|
|
308
|
+
const se_ImportHypervisorConfigurationCommand = async (input, context) => {
|
|
309
|
+
const headers = sharedHeaders("ImportHypervisorConfiguration");
|
|
310
|
+
let body;
|
|
311
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
312
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
313
|
+
};
|
|
314
|
+
const se_ListGatewaysCommand = async (input, context) => {
|
|
315
|
+
const headers = sharedHeaders("ListGateways");
|
|
316
|
+
let body;
|
|
317
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
318
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
|
+
};
|
|
320
|
+
const se_ListHypervisorsCommand = async (input, context) => {
|
|
321
|
+
const headers = sharedHeaders("ListHypervisors");
|
|
322
|
+
let body;
|
|
323
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
324
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
325
|
+
};
|
|
326
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
327
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
328
|
+
let body;
|
|
329
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
330
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
331
|
+
};
|
|
332
|
+
const se_ListVirtualMachinesCommand = async (input, context) => {
|
|
333
|
+
const headers = sharedHeaders("ListVirtualMachines");
|
|
334
|
+
let body;
|
|
335
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
336
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
337
|
+
};
|
|
338
|
+
const se_PutBandwidthRateLimitScheduleCommand = async (input, context) => {
|
|
339
|
+
const headers = sharedHeaders("PutBandwidthRateLimitSchedule");
|
|
340
|
+
let body;
|
|
341
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
342
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
343
|
+
};
|
|
344
|
+
const se_PutHypervisorPropertyMappingsCommand = async (input, context) => {
|
|
345
|
+
const headers = sharedHeaders("PutHypervisorPropertyMappings");
|
|
346
|
+
let body;
|
|
347
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
348
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
|
+
};
|
|
350
|
+
const se_PutMaintenanceStartTimeCommand = async (input, context) => {
|
|
351
|
+
const headers = sharedHeaders("PutMaintenanceStartTime");
|
|
352
|
+
let body;
|
|
353
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
354
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
|
+
};
|
|
356
|
+
const se_StartVirtualMachinesMetadataSyncCommand = async (input, context) => {
|
|
357
|
+
const headers = sharedHeaders("StartVirtualMachinesMetadataSync");
|
|
358
|
+
let body;
|
|
359
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
360
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
361
|
+
};
|
|
362
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
363
|
+
const headers = sharedHeaders("TagResource");
|
|
364
|
+
let body;
|
|
365
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
366
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
|
+
};
|
|
368
|
+
const se_TestHypervisorConfigurationCommand = async (input, context) => {
|
|
369
|
+
const headers = sharedHeaders("TestHypervisorConfiguration");
|
|
370
|
+
let body;
|
|
371
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
372
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
|
+
};
|
|
374
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
375
|
+
const headers = sharedHeaders("UntagResource");
|
|
376
|
+
let body;
|
|
377
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
378
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
|
+
};
|
|
380
|
+
const se_UpdateGatewayInformationCommand = async (input, context) => {
|
|
381
|
+
const headers = sharedHeaders("UpdateGatewayInformation");
|
|
382
|
+
let body;
|
|
383
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
384
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
|
+
};
|
|
386
|
+
const se_UpdateGatewaySoftwareNowCommand = async (input, context) => {
|
|
387
|
+
const headers = sharedHeaders("UpdateGatewaySoftwareNow");
|
|
388
|
+
let body;
|
|
389
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
390
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
|
+
};
|
|
392
|
+
const se_UpdateHypervisorCommand = async (input, context) => {
|
|
393
|
+
const headers = sharedHeaders("UpdateHypervisor");
|
|
394
|
+
let body;
|
|
395
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
396
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
|
+
};
|
|
398
|
+
const de_AssociateGatewayToServerCommand = async (output, context) => {
|
|
399
|
+
if (output.statusCode >= 300) {
|
|
400
|
+
return de_CommandError(output, context);
|
|
401
|
+
}
|
|
402
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
403
|
+
let contents = {};
|
|
404
|
+
contents = smithyClient._json(data);
|
|
405
|
+
const response = {
|
|
406
|
+
$metadata: deserializeMetadata(output),
|
|
407
|
+
...contents,
|
|
408
|
+
};
|
|
409
|
+
return response;
|
|
410
|
+
};
|
|
411
|
+
const de_CreateGatewayCommand = async (output, context) => {
|
|
412
|
+
if (output.statusCode >= 300) {
|
|
413
|
+
return de_CommandError(output, context);
|
|
414
|
+
}
|
|
415
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
416
|
+
let contents = {};
|
|
417
|
+
contents = smithyClient._json(data);
|
|
418
|
+
const response = {
|
|
419
|
+
$metadata: deserializeMetadata(output),
|
|
420
|
+
...contents,
|
|
421
|
+
};
|
|
422
|
+
return response;
|
|
423
|
+
};
|
|
424
|
+
const de_DeleteGatewayCommand = async (output, context) => {
|
|
425
|
+
if (output.statusCode >= 300) {
|
|
426
|
+
return de_CommandError(output, context);
|
|
427
|
+
}
|
|
428
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
429
|
+
let contents = {};
|
|
430
|
+
contents = smithyClient._json(data);
|
|
431
|
+
const response = {
|
|
432
|
+
$metadata: deserializeMetadata(output),
|
|
433
|
+
...contents,
|
|
434
|
+
};
|
|
435
|
+
return response;
|
|
436
|
+
};
|
|
437
|
+
const de_DeleteHypervisorCommand = async (output, context) => {
|
|
438
|
+
if (output.statusCode >= 300) {
|
|
439
|
+
return de_CommandError(output, context);
|
|
440
|
+
}
|
|
441
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
442
|
+
let contents = {};
|
|
443
|
+
contents = smithyClient._json(data);
|
|
444
|
+
const response = {
|
|
445
|
+
$metadata: deserializeMetadata(output),
|
|
446
|
+
...contents,
|
|
447
|
+
};
|
|
448
|
+
return response;
|
|
449
|
+
};
|
|
450
|
+
const de_DisassociateGatewayFromServerCommand = async (output, context) => {
|
|
451
|
+
if (output.statusCode >= 300) {
|
|
452
|
+
return de_CommandError(output, context);
|
|
453
|
+
}
|
|
454
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
455
|
+
let contents = {};
|
|
456
|
+
contents = smithyClient._json(data);
|
|
457
|
+
const response = {
|
|
458
|
+
$metadata: deserializeMetadata(output),
|
|
459
|
+
...contents,
|
|
460
|
+
};
|
|
461
|
+
return response;
|
|
462
|
+
};
|
|
463
|
+
const de_GetBandwidthRateLimitScheduleCommand = async (output, context) => {
|
|
464
|
+
if (output.statusCode >= 300) {
|
|
465
|
+
return de_CommandError(output, context);
|
|
466
|
+
}
|
|
467
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
468
|
+
let contents = {};
|
|
469
|
+
contents = smithyClient._json(data);
|
|
470
|
+
const response = {
|
|
471
|
+
$metadata: deserializeMetadata(output),
|
|
472
|
+
...contents,
|
|
473
|
+
};
|
|
474
|
+
return response;
|
|
475
|
+
};
|
|
476
|
+
const de_GetGatewayCommand = async (output, context) => {
|
|
477
|
+
if (output.statusCode >= 300) {
|
|
478
|
+
return de_CommandError(output, context);
|
|
479
|
+
}
|
|
480
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
481
|
+
let contents = {};
|
|
482
|
+
contents = de_GetGatewayOutput(data);
|
|
483
|
+
const response = {
|
|
484
|
+
$metadata: deserializeMetadata(output),
|
|
485
|
+
...contents,
|
|
486
|
+
};
|
|
487
|
+
return response;
|
|
488
|
+
};
|
|
489
|
+
const de_GetHypervisorCommand = async (output, context) => {
|
|
490
|
+
if (output.statusCode >= 300) {
|
|
491
|
+
return de_CommandError(output, context);
|
|
492
|
+
}
|
|
493
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
494
|
+
let contents = {};
|
|
495
|
+
contents = de_GetHypervisorOutput(data);
|
|
496
|
+
const response = {
|
|
497
|
+
$metadata: deserializeMetadata(output),
|
|
498
|
+
...contents,
|
|
499
|
+
};
|
|
500
|
+
return response;
|
|
501
|
+
};
|
|
502
|
+
const de_GetHypervisorPropertyMappingsCommand = async (output, context) => {
|
|
503
|
+
if (output.statusCode >= 300) {
|
|
504
|
+
return de_CommandError(output, context);
|
|
505
|
+
}
|
|
506
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
507
|
+
let contents = {};
|
|
508
|
+
contents = smithyClient._json(data);
|
|
509
|
+
const response = {
|
|
510
|
+
$metadata: deserializeMetadata(output),
|
|
511
|
+
...contents,
|
|
512
|
+
};
|
|
513
|
+
return response;
|
|
514
|
+
};
|
|
515
|
+
const de_GetVirtualMachineCommand = async (output, context) => {
|
|
516
|
+
if (output.statusCode >= 300) {
|
|
517
|
+
return de_CommandError(output, context);
|
|
518
|
+
}
|
|
519
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
520
|
+
let contents = {};
|
|
521
|
+
contents = de_GetVirtualMachineOutput(data);
|
|
522
|
+
const response = {
|
|
523
|
+
$metadata: deserializeMetadata(output),
|
|
524
|
+
...contents,
|
|
525
|
+
};
|
|
526
|
+
return response;
|
|
527
|
+
};
|
|
528
|
+
const de_ImportHypervisorConfigurationCommand = async (output, context) => {
|
|
529
|
+
if (output.statusCode >= 300) {
|
|
530
|
+
return de_CommandError(output, context);
|
|
531
|
+
}
|
|
532
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
533
|
+
let contents = {};
|
|
534
|
+
contents = smithyClient._json(data);
|
|
535
|
+
const response = {
|
|
536
|
+
$metadata: deserializeMetadata(output),
|
|
537
|
+
...contents,
|
|
538
|
+
};
|
|
539
|
+
return response;
|
|
540
|
+
};
|
|
541
|
+
const de_ListGatewaysCommand = async (output, context) => {
|
|
542
|
+
if (output.statusCode >= 300) {
|
|
543
|
+
return de_CommandError(output, context);
|
|
544
|
+
}
|
|
545
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
546
|
+
let contents = {};
|
|
547
|
+
contents = de_ListGatewaysOutput(data);
|
|
548
|
+
const response = {
|
|
549
|
+
$metadata: deserializeMetadata(output),
|
|
550
|
+
...contents,
|
|
551
|
+
};
|
|
552
|
+
return response;
|
|
553
|
+
};
|
|
554
|
+
const de_ListHypervisorsCommand = async (output, context) => {
|
|
555
|
+
if (output.statusCode >= 300) {
|
|
556
|
+
return de_CommandError(output, context);
|
|
557
|
+
}
|
|
558
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
559
|
+
let contents = {};
|
|
560
|
+
contents = smithyClient._json(data);
|
|
561
|
+
const response = {
|
|
562
|
+
$metadata: deserializeMetadata(output),
|
|
563
|
+
...contents,
|
|
564
|
+
};
|
|
565
|
+
return response;
|
|
566
|
+
};
|
|
567
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
568
|
+
if (output.statusCode >= 300) {
|
|
569
|
+
return de_CommandError(output, context);
|
|
570
|
+
}
|
|
571
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
572
|
+
let contents = {};
|
|
573
|
+
contents = smithyClient._json(data);
|
|
574
|
+
const response = {
|
|
575
|
+
$metadata: deserializeMetadata(output),
|
|
576
|
+
...contents,
|
|
577
|
+
};
|
|
578
|
+
return response;
|
|
579
|
+
};
|
|
580
|
+
const de_ListVirtualMachinesCommand = async (output, context) => {
|
|
581
|
+
if (output.statusCode >= 300) {
|
|
582
|
+
return de_CommandError(output, context);
|
|
583
|
+
}
|
|
584
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
585
|
+
let contents = {};
|
|
586
|
+
contents = de_ListVirtualMachinesOutput(data);
|
|
587
|
+
const response = {
|
|
588
|
+
$metadata: deserializeMetadata(output),
|
|
589
|
+
...contents,
|
|
590
|
+
};
|
|
591
|
+
return response;
|
|
592
|
+
};
|
|
593
|
+
const de_PutBandwidthRateLimitScheduleCommand = async (output, context) => {
|
|
594
|
+
if (output.statusCode >= 300) {
|
|
595
|
+
return de_CommandError(output, context);
|
|
596
|
+
}
|
|
597
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
598
|
+
let contents = {};
|
|
599
|
+
contents = smithyClient._json(data);
|
|
600
|
+
const response = {
|
|
601
|
+
$metadata: deserializeMetadata(output),
|
|
602
|
+
...contents,
|
|
603
|
+
};
|
|
604
|
+
return response;
|
|
605
|
+
};
|
|
606
|
+
const de_PutHypervisorPropertyMappingsCommand = async (output, context) => {
|
|
607
|
+
if (output.statusCode >= 300) {
|
|
608
|
+
return de_CommandError(output, context);
|
|
609
|
+
}
|
|
610
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
611
|
+
let contents = {};
|
|
612
|
+
contents = smithyClient._json(data);
|
|
613
|
+
const response = {
|
|
614
|
+
$metadata: deserializeMetadata(output),
|
|
615
|
+
...contents,
|
|
616
|
+
};
|
|
617
|
+
return response;
|
|
618
|
+
};
|
|
619
|
+
const de_PutMaintenanceStartTimeCommand = async (output, context) => {
|
|
620
|
+
if (output.statusCode >= 300) {
|
|
621
|
+
return de_CommandError(output, context);
|
|
622
|
+
}
|
|
623
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
624
|
+
let contents = {};
|
|
625
|
+
contents = smithyClient._json(data);
|
|
626
|
+
const response = {
|
|
627
|
+
$metadata: deserializeMetadata(output),
|
|
628
|
+
...contents,
|
|
629
|
+
};
|
|
630
|
+
return response;
|
|
631
|
+
};
|
|
632
|
+
const de_StartVirtualMachinesMetadataSyncCommand = async (output, context) => {
|
|
633
|
+
if (output.statusCode >= 300) {
|
|
634
|
+
return de_CommandError(output, context);
|
|
635
|
+
}
|
|
636
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
637
|
+
let contents = {};
|
|
638
|
+
contents = smithyClient._json(data);
|
|
639
|
+
const response = {
|
|
640
|
+
$metadata: deserializeMetadata(output),
|
|
641
|
+
...contents,
|
|
642
|
+
};
|
|
643
|
+
return response;
|
|
644
|
+
};
|
|
645
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
646
|
+
if (output.statusCode >= 300) {
|
|
647
|
+
return de_CommandError(output, context);
|
|
648
|
+
}
|
|
649
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
650
|
+
let contents = {};
|
|
651
|
+
contents = smithyClient._json(data);
|
|
652
|
+
const response = {
|
|
653
|
+
$metadata: deserializeMetadata(output),
|
|
654
|
+
...contents,
|
|
655
|
+
};
|
|
656
|
+
return response;
|
|
657
|
+
};
|
|
658
|
+
const de_TestHypervisorConfigurationCommand = async (output, context) => {
|
|
659
|
+
if (output.statusCode >= 300) {
|
|
660
|
+
return de_CommandError(output, context);
|
|
661
|
+
}
|
|
662
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
663
|
+
let contents = {};
|
|
664
|
+
contents = smithyClient._json(data);
|
|
665
|
+
const response = {
|
|
666
|
+
$metadata: deserializeMetadata(output),
|
|
667
|
+
...contents,
|
|
668
|
+
};
|
|
669
|
+
return response;
|
|
670
|
+
};
|
|
671
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
672
|
+
if (output.statusCode >= 300) {
|
|
673
|
+
return de_CommandError(output, context);
|
|
674
|
+
}
|
|
675
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
676
|
+
let contents = {};
|
|
677
|
+
contents = smithyClient._json(data);
|
|
678
|
+
const response = {
|
|
679
|
+
$metadata: deserializeMetadata(output),
|
|
680
|
+
...contents,
|
|
681
|
+
};
|
|
682
|
+
return response;
|
|
683
|
+
};
|
|
684
|
+
const de_UpdateGatewayInformationCommand = async (output, context) => {
|
|
685
|
+
if (output.statusCode >= 300) {
|
|
686
|
+
return de_CommandError(output, context);
|
|
687
|
+
}
|
|
688
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
689
|
+
let contents = {};
|
|
690
|
+
contents = smithyClient._json(data);
|
|
691
|
+
const response = {
|
|
692
|
+
$metadata: deserializeMetadata(output),
|
|
693
|
+
...contents,
|
|
694
|
+
};
|
|
695
|
+
return response;
|
|
696
|
+
};
|
|
697
|
+
const de_UpdateGatewaySoftwareNowCommand = async (output, context) => {
|
|
698
|
+
if (output.statusCode >= 300) {
|
|
699
|
+
return de_CommandError(output, context);
|
|
700
|
+
}
|
|
701
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
702
|
+
let contents = {};
|
|
703
|
+
contents = smithyClient._json(data);
|
|
704
|
+
const response = {
|
|
705
|
+
$metadata: deserializeMetadata(output),
|
|
706
|
+
...contents,
|
|
707
|
+
};
|
|
708
|
+
return response;
|
|
709
|
+
};
|
|
710
|
+
const de_UpdateHypervisorCommand = async (output, context) => {
|
|
711
|
+
if (output.statusCode >= 300) {
|
|
712
|
+
return de_CommandError(output, context);
|
|
713
|
+
}
|
|
714
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
715
|
+
let contents = {};
|
|
716
|
+
contents = smithyClient._json(data);
|
|
717
|
+
const response = {
|
|
718
|
+
$metadata: deserializeMetadata(output),
|
|
719
|
+
...contents,
|
|
720
|
+
};
|
|
721
|
+
return response;
|
|
722
|
+
};
|
|
723
|
+
const de_CommandError = async (output, context) => {
|
|
724
|
+
const parsedOutput = {
|
|
725
|
+
...output,
|
|
726
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
727
|
+
};
|
|
728
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
729
|
+
switch (errorCode) {
|
|
730
|
+
case "ConflictException":
|
|
731
|
+
case "com.amazonaws.backupgateway#ConflictException":
|
|
732
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
733
|
+
case "InternalServerException":
|
|
734
|
+
case "com.amazonaws.backupgateway#InternalServerException":
|
|
735
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
736
|
+
case "ThrottlingException":
|
|
737
|
+
case "com.amazonaws.backupgateway#ThrottlingException":
|
|
738
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
739
|
+
case "ValidationException":
|
|
740
|
+
case "com.amazonaws.backupgateway#ValidationException":
|
|
741
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
742
|
+
case "ResourceNotFoundException":
|
|
743
|
+
case "com.amazonaws.backupgateway#ResourceNotFoundException":
|
|
744
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
745
|
+
case "AccessDeniedException":
|
|
746
|
+
case "com.amazonaws.backupgateway#AccessDeniedException":
|
|
747
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
748
|
+
default:
|
|
749
|
+
const parsedBody = parsedOutput.body;
|
|
750
|
+
return throwDefaultError({
|
|
751
|
+
output,
|
|
752
|
+
parsedBody,
|
|
753
|
+
errorCode,
|
|
754
|
+
});
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
758
|
+
const body = parsedOutput.body;
|
|
759
|
+
const deserialized = smithyClient._json(body);
|
|
760
|
+
const exception = new AccessDeniedException({
|
|
761
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
762
|
+
...deserialized,
|
|
367
763
|
});
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}
|
|
377
|
-
name = "ResourceNotFoundException";
|
|
378
|
-
$fault = "client";
|
|
379
|
-
/**
|
|
380
|
-
* <p>A description of which resource wasn't found.</p>
|
|
381
|
-
* @public
|
|
382
|
-
*/
|
|
383
|
-
ErrorCode;
|
|
384
|
-
Message;
|
|
385
|
-
/**
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
constructor(opts) {
|
|
389
|
-
super({
|
|
390
|
-
name: "ResourceNotFoundException",
|
|
391
|
-
$fault: "client",
|
|
392
|
-
...opts
|
|
764
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
765
|
+
};
|
|
766
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
767
|
+
const body = parsedOutput.body;
|
|
768
|
+
const deserialized = smithyClient._json(body);
|
|
769
|
+
const exception = new ConflictException({
|
|
770
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
771
|
+
...deserialized,
|
|
393
772
|
});
|
|
394
|
-
|
|
395
|
-
this.ErrorCode = opts.ErrorCode;
|
|
396
|
-
this.Message = opts.Message;
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
var GatewayType = {
|
|
400
|
-
BACKUP_VM: "BACKUP_VM"
|
|
401
|
-
};
|
|
402
|
-
var SyncMetadataStatus = {
|
|
403
|
-
CREATED: "CREATED",
|
|
404
|
-
FAILED: "FAILED",
|
|
405
|
-
PARTIALLY_FAILED: "PARTIALLY_FAILED",
|
|
406
|
-
RUNNING: "RUNNING",
|
|
407
|
-
SUCCEEDED: "SUCCEEDED"
|
|
408
|
-
};
|
|
409
|
-
var HypervisorState = {
|
|
410
|
-
ERROR: "ERROR",
|
|
411
|
-
OFFLINE: "OFFLINE",
|
|
412
|
-
ONLINE: "ONLINE",
|
|
413
|
-
PENDING: "PENDING"
|
|
414
|
-
};
|
|
415
|
-
var TestHypervisorConfigurationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
416
|
-
...obj,
|
|
417
|
-
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
|
|
418
|
-
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
419
|
-
}), "TestHypervisorConfigurationInputFilterSensitiveLog");
|
|
420
|
-
var ImportHypervisorConfigurationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
|
|
423
|
-
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
424
|
-
}), "ImportHypervisorConfigurationInputFilterSensitiveLog");
|
|
425
|
-
var UpdateHypervisorInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
426
|
-
...obj,
|
|
427
|
-
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
|
|
428
|
-
...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING }
|
|
429
|
-
}), "UpdateHypervisorInputFilterSensitiveLog");
|
|
430
|
-
|
|
431
|
-
// src/protocols/Aws_json1_0.ts
|
|
432
|
-
var se_AssociateGatewayToServerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
433
|
-
const headers = sharedHeaders("AssociateGatewayToServer");
|
|
434
|
-
let body;
|
|
435
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
436
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
437
|
-
}, "se_AssociateGatewayToServerCommand");
|
|
438
|
-
var se_CreateGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
439
|
-
const headers = sharedHeaders("CreateGateway");
|
|
440
|
-
let body;
|
|
441
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
442
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
443
|
-
}, "se_CreateGatewayCommand");
|
|
444
|
-
var se_DeleteGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
445
|
-
const headers = sharedHeaders("DeleteGateway");
|
|
446
|
-
let body;
|
|
447
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
448
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
449
|
-
}, "se_DeleteGatewayCommand");
|
|
450
|
-
var se_DeleteHypervisorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
451
|
-
const headers = sharedHeaders("DeleteHypervisor");
|
|
452
|
-
let body;
|
|
453
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
454
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
455
|
-
}, "se_DeleteHypervisorCommand");
|
|
456
|
-
var se_DisassociateGatewayFromServerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
457
|
-
const headers = sharedHeaders("DisassociateGatewayFromServer");
|
|
458
|
-
let body;
|
|
459
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
460
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
461
|
-
}, "se_DisassociateGatewayFromServerCommand");
|
|
462
|
-
var se_GetBandwidthRateLimitScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
463
|
-
const headers = sharedHeaders("GetBandwidthRateLimitSchedule");
|
|
464
|
-
let body;
|
|
465
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
466
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
467
|
-
}, "se_GetBandwidthRateLimitScheduleCommand");
|
|
468
|
-
var se_GetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
469
|
-
const headers = sharedHeaders("GetGateway");
|
|
470
|
-
let body;
|
|
471
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
472
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
473
|
-
}, "se_GetGatewayCommand");
|
|
474
|
-
var se_GetHypervisorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
475
|
-
const headers = sharedHeaders("GetHypervisor");
|
|
476
|
-
let body;
|
|
477
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
478
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
479
|
-
}, "se_GetHypervisorCommand");
|
|
480
|
-
var se_GetHypervisorPropertyMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
481
|
-
const headers = sharedHeaders("GetHypervisorPropertyMappings");
|
|
482
|
-
let body;
|
|
483
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
484
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
485
|
-
}, "se_GetHypervisorPropertyMappingsCommand");
|
|
486
|
-
var se_GetVirtualMachineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
487
|
-
const headers = sharedHeaders("GetVirtualMachine");
|
|
488
|
-
let body;
|
|
489
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
490
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
491
|
-
}, "se_GetVirtualMachineCommand");
|
|
492
|
-
var se_ImportHypervisorConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
493
|
-
const headers = sharedHeaders("ImportHypervisorConfiguration");
|
|
494
|
-
let body;
|
|
495
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
496
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
497
|
-
}, "se_ImportHypervisorConfigurationCommand");
|
|
498
|
-
var se_ListGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
499
|
-
const headers = sharedHeaders("ListGateways");
|
|
500
|
-
let body;
|
|
501
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
502
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
503
|
-
}, "se_ListGatewaysCommand");
|
|
504
|
-
var se_ListHypervisorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
505
|
-
const headers = sharedHeaders("ListHypervisors");
|
|
506
|
-
let body;
|
|
507
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
508
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
509
|
-
}, "se_ListHypervisorsCommand");
|
|
510
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
511
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
512
|
-
let body;
|
|
513
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
514
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
515
|
-
}, "se_ListTagsForResourceCommand");
|
|
516
|
-
var se_ListVirtualMachinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
517
|
-
const headers = sharedHeaders("ListVirtualMachines");
|
|
518
|
-
let body;
|
|
519
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
520
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
521
|
-
}, "se_ListVirtualMachinesCommand");
|
|
522
|
-
var se_PutBandwidthRateLimitScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
523
|
-
const headers = sharedHeaders("PutBandwidthRateLimitSchedule");
|
|
524
|
-
let body;
|
|
525
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
526
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
527
|
-
}, "se_PutBandwidthRateLimitScheduleCommand");
|
|
528
|
-
var se_PutHypervisorPropertyMappingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
529
|
-
const headers = sharedHeaders("PutHypervisorPropertyMappings");
|
|
530
|
-
let body;
|
|
531
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
532
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
533
|
-
}, "se_PutHypervisorPropertyMappingsCommand");
|
|
534
|
-
var se_PutMaintenanceStartTimeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
535
|
-
const headers = sharedHeaders("PutMaintenanceStartTime");
|
|
536
|
-
let body;
|
|
537
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
538
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
539
|
-
}, "se_PutMaintenanceStartTimeCommand");
|
|
540
|
-
var se_StartVirtualMachinesMetadataSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
541
|
-
const headers = sharedHeaders("StartVirtualMachinesMetadataSync");
|
|
542
|
-
let body;
|
|
543
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
544
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
545
|
-
}, "se_StartVirtualMachinesMetadataSyncCommand");
|
|
546
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
547
|
-
const headers = sharedHeaders("TagResource");
|
|
548
|
-
let body;
|
|
549
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
550
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
551
|
-
}, "se_TagResourceCommand");
|
|
552
|
-
var se_TestHypervisorConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
553
|
-
const headers = sharedHeaders("TestHypervisorConfiguration");
|
|
554
|
-
let body;
|
|
555
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
556
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
557
|
-
}, "se_TestHypervisorConfigurationCommand");
|
|
558
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
559
|
-
const headers = sharedHeaders("UntagResource");
|
|
560
|
-
let body;
|
|
561
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
562
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
563
|
-
}, "se_UntagResourceCommand");
|
|
564
|
-
var se_UpdateGatewayInformationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
-
const headers = sharedHeaders("UpdateGatewayInformation");
|
|
566
|
-
let body;
|
|
567
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
568
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
569
|
-
}, "se_UpdateGatewayInformationCommand");
|
|
570
|
-
var se_UpdateGatewaySoftwareNowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
571
|
-
const headers = sharedHeaders("UpdateGatewaySoftwareNow");
|
|
572
|
-
let body;
|
|
573
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
574
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
575
|
-
}, "se_UpdateGatewaySoftwareNowCommand");
|
|
576
|
-
var se_UpdateHypervisorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
577
|
-
const headers = sharedHeaders("UpdateHypervisor");
|
|
578
|
-
let body;
|
|
579
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
580
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
581
|
-
}, "se_UpdateHypervisorCommand");
|
|
582
|
-
var de_AssociateGatewayToServerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
583
|
-
if (output.statusCode >= 300) {
|
|
584
|
-
return de_CommandError(output, context);
|
|
585
|
-
}
|
|
586
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
587
|
-
let contents = {};
|
|
588
|
-
contents = (0, import_smithy_client._json)(data);
|
|
589
|
-
const response = {
|
|
590
|
-
$metadata: deserializeMetadata(output),
|
|
591
|
-
...contents
|
|
592
|
-
};
|
|
593
|
-
return response;
|
|
594
|
-
}, "de_AssociateGatewayToServerCommand");
|
|
595
|
-
var de_CreateGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
596
|
-
if (output.statusCode >= 300) {
|
|
597
|
-
return de_CommandError(output, context);
|
|
598
|
-
}
|
|
599
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
600
|
-
let contents = {};
|
|
601
|
-
contents = (0, import_smithy_client._json)(data);
|
|
602
|
-
const response = {
|
|
603
|
-
$metadata: deserializeMetadata(output),
|
|
604
|
-
...contents
|
|
605
|
-
};
|
|
606
|
-
return response;
|
|
607
|
-
}, "de_CreateGatewayCommand");
|
|
608
|
-
var de_DeleteGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
609
|
-
if (output.statusCode >= 300) {
|
|
610
|
-
return de_CommandError(output, context);
|
|
611
|
-
}
|
|
612
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
613
|
-
let contents = {};
|
|
614
|
-
contents = (0, import_smithy_client._json)(data);
|
|
615
|
-
const response = {
|
|
616
|
-
$metadata: deserializeMetadata(output),
|
|
617
|
-
...contents
|
|
618
|
-
};
|
|
619
|
-
return response;
|
|
620
|
-
}, "de_DeleteGatewayCommand");
|
|
621
|
-
var de_DeleteHypervisorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
622
|
-
if (output.statusCode >= 300) {
|
|
623
|
-
return de_CommandError(output, context);
|
|
624
|
-
}
|
|
625
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
626
|
-
let contents = {};
|
|
627
|
-
contents = (0, import_smithy_client._json)(data);
|
|
628
|
-
const response = {
|
|
629
|
-
$metadata: deserializeMetadata(output),
|
|
630
|
-
...contents
|
|
631
|
-
};
|
|
632
|
-
return response;
|
|
633
|
-
}, "de_DeleteHypervisorCommand");
|
|
634
|
-
var de_DisassociateGatewayFromServerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
635
|
-
if (output.statusCode >= 300) {
|
|
636
|
-
return de_CommandError(output, context);
|
|
637
|
-
}
|
|
638
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
639
|
-
let contents = {};
|
|
640
|
-
contents = (0, import_smithy_client._json)(data);
|
|
641
|
-
const response = {
|
|
642
|
-
$metadata: deserializeMetadata(output),
|
|
643
|
-
...contents
|
|
644
|
-
};
|
|
645
|
-
return response;
|
|
646
|
-
}, "de_DisassociateGatewayFromServerCommand");
|
|
647
|
-
var de_GetBandwidthRateLimitScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
648
|
-
if (output.statusCode >= 300) {
|
|
649
|
-
return de_CommandError(output, context);
|
|
650
|
-
}
|
|
651
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
652
|
-
let contents = {};
|
|
653
|
-
contents = (0, import_smithy_client._json)(data);
|
|
654
|
-
const response = {
|
|
655
|
-
$metadata: deserializeMetadata(output),
|
|
656
|
-
...contents
|
|
657
|
-
};
|
|
658
|
-
return response;
|
|
659
|
-
}, "de_GetBandwidthRateLimitScheduleCommand");
|
|
660
|
-
var de_GetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
661
|
-
if (output.statusCode >= 300) {
|
|
662
|
-
return de_CommandError(output, context);
|
|
663
|
-
}
|
|
664
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
665
|
-
let contents = {};
|
|
666
|
-
contents = de_GetGatewayOutput(data, context);
|
|
667
|
-
const response = {
|
|
668
|
-
$metadata: deserializeMetadata(output),
|
|
669
|
-
...contents
|
|
670
|
-
};
|
|
671
|
-
return response;
|
|
672
|
-
}, "de_GetGatewayCommand");
|
|
673
|
-
var de_GetHypervisorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
674
|
-
if (output.statusCode >= 300) {
|
|
675
|
-
return de_CommandError(output, context);
|
|
676
|
-
}
|
|
677
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
678
|
-
let contents = {};
|
|
679
|
-
contents = de_GetHypervisorOutput(data, context);
|
|
680
|
-
const response = {
|
|
681
|
-
$metadata: deserializeMetadata(output),
|
|
682
|
-
...contents
|
|
683
|
-
};
|
|
684
|
-
return response;
|
|
685
|
-
}, "de_GetHypervisorCommand");
|
|
686
|
-
var de_GetHypervisorPropertyMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
687
|
-
if (output.statusCode >= 300) {
|
|
688
|
-
return de_CommandError(output, context);
|
|
689
|
-
}
|
|
690
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
691
|
-
let contents = {};
|
|
692
|
-
contents = (0, import_smithy_client._json)(data);
|
|
693
|
-
const response = {
|
|
694
|
-
$metadata: deserializeMetadata(output),
|
|
695
|
-
...contents
|
|
696
|
-
};
|
|
697
|
-
return response;
|
|
698
|
-
}, "de_GetHypervisorPropertyMappingsCommand");
|
|
699
|
-
var de_GetVirtualMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
700
|
-
if (output.statusCode >= 300) {
|
|
701
|
-
return de_CommandError(output, context);
|
|
702
|
-
}
|
|
703
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
704
|
-
let contents = {};
|
|
705
|
-
contents = de_GetVirtualMachineOutput(data, context);
|
|
706
|
-
const response = {
|
|
707
|
-
$metadata: deserializeMetadata(output),
|
|
708
|
-
...contents
|
|
709
|
-
};
|
|
710
|
-
return response;
|
|
711
|
-
}, "de_GetVirtualMachineCommand");
|
|
712
|
-
var de_ImportHypervisorConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
713
|
-
if (output.statusCode >= 300) {
|
|
714
|
-
return de_CommandError(output, context);
|
|
715
|
-
}
|
|
716
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
717
|
-
let contents = {};
|
|
718
|
-
contents = (0, import_smithy_client._json)(data);
|
|
719
|
-
const response = {
|
|
720
|
-
$metadata: deserializeMetadata(output),
|
|
721
|
-
...contents
|
|
722
|
-
};
|
|
723
|
-
return response;
|
|
724
|
-
}, "de_ImportHypervisorConfigurationCommand");
|
|
725
|
-
var de_ListGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
726
|
-
if (output.statusCode >= 300) {
|
|
727
|
-
return de_CommandError(output, context);
|
|
728
|
-
}
|
|
729
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
730
|
-
let contents = {};
|
|
731
|
-
contents = de_ListGatewaysOutput(data, context);
|
|
732
|
-
const response = {
|
|
733
|
-
$metadata: deserializeMetadata(output),
|
|
734
|
-
...contents
|
|
735
|
-
};
|
|
736
|
-
return response;
|
|
737
|
-
}, "de_ListGatewaysCommand");
|
|
738
|
-
var de_ListHypervisorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
739
|
-
if (output.statusCode >= 300) {
|
|
740
|
-
return de_CommandError(output, context);
|
|
741
|
-
}
|
|
742
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
743
|
-
let contents = {};
|
|
744
|
-
contents = (0, import_smithy_client._json)(data);
|
|
745
|
-
const response = {
|
|
746
|
-
$metadata: deserializeMetadata(output),
|
|
747
|
-
...contents
|
|
748
|
-
};
|
|
749
|
-
return response;
|
|
750
|
-
}, "de_ListHypervisorsCommand");
|
|
751
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
752
|
-
if (output.statusCode >= 300) {
|
|
753
|
-
return de_CommandError(output, context);
|
|
754
|
-
}
|
|
755
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
756
|
-
let contents = {};
|
|
757
|
-
contents = (0, import_smithy_client._json)(data);
|
|
758
|
-
const response = {
|
|
759
|
-
$metadata: deserializeMetadata(output),
|
|
760
|
-
...contents
|
|
761
|
-
};
|
|
762
|
-
return response;
|
|
763
|
-
}, "de_ListTagsForResourceCommand");
|
|
764
|
-
var de_ListVirtualMachinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
765
|
-
if (output.statusCode >= 300) {
|
|
766
|
-
return de_CommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
769
|
-
let contents = {};
|
|
770
|
-
contents = de_ListVirtualMachinesOutput(data, context);
|
|
771
|
-
const response = {
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
...contents
|
|
774
|
-
};
|
|
775
|
-
return response;
|
|
776
|
-
}, "de_ListVirtualMachinesCommand");
|
|
777
|
-
var de_PutBandwidthRateLimitScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
778
|
-
if (output.statusCode >= 300) {
|
|
779
|
-
return de_CommandError(output, context);
|
|
780
|
-
}
|
|
781
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
782
|
-
let contents = {};
|
|
783
|
-
contents = (0, import_smithy_client._json)(data);
|
|
784
|
-
const response = {
|
|
785
|
-
$metadata: deserializeMetadata(output),
|
|
786
|
-
...contents
|
|
787
|
-
};
|
|
788
|
-
return response;
|
|
789
|
-
}, "de_PutBandwidthRateLimitScheduleCommand");
|
|
790
|
-
var de_PutHypervisorPropertyMappingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
791
|
-
if (output.statusCode >= 300) {
|
|
792
|
-
return de_CommandError(output, context);
|
|
793
|
-
}
|
|
794
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
795
|
-
let contents = {};
|
|
796
|
-
contents = (0, import_smithy_client._json)(data);
|
|
797
|
-
const response = {
|
|
798
|
-
$metadata: deserializeMetadata(output),
|
|
799
|
-
...contents
|
|
800
|
-
};
|
|
801
|
-
return response;
|
|
802
|
-
}, "de_PutHypervisorPropertyMappingsCommand");
|
|
803
|
-
var de_PutMaintenanceStartTimeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
804
|
-
if (output.statusCode >= 300) {
|
|
805
|
-
return de_CommandError(output, context);
|
|
806
|
-
}
|
|
807
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
808
|
-
let contents = {};
|
|
809
|
-
contents = (0, import_smithy_client._json)(data);
|
|
810
|
-
const response = {
|
|
811
|
-
$metadata: deserializeMetadata(output),
|
|
812
|
-
...contents
|
|
813
|
-
};
|
|
814
|
-
return response;
|
|
815
|
-
}, "de_PutMaintenanceStartTimeCommand");
|
|
816
|
-
var de_StartVirtualMachinesMetadataSyncCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
817
|
-
if (output.statusCode >= 300) {
|
|
818
|
-
return de_CommandError(output, context);
|
|
819
|
-
}
|
|
820
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
821
|
-
let contents = {};
|
|
822
|
-
contents = (0, import_smithy_client._json)(data);
|
|
823
|
-
const response = {
|
|
824
|
-
$metadata: deserializeMetadata(output),
|
|
825
|
-
...contents
|
|
826
|
-
};
|
|
827
|
-
return response;
|
|
828
|
-
}, "de_StartVirtualMachinesMetadataSyncCommand");
|
|
829
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
830
|
-
if (output.statusCode >= 300) {
|
|
831
|
-
return de_CommandError(output, context);
|
|
832
|
-
}
|
|
833
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
834
|
-
let contents = {};
|
|
835
|
-
contents = (0, import_smithy_client._json)(data);
|
|
836
|
-
const response = {
|
|
837
|
-
$metadata: deserializeMetadata(output),
|
|
838
|
-
...contents
|
|
839
|
-
};
|
|
840
|
-
return response;
|
|
841
|
-
}, "de_TagResourceCommand");
|
|
842
|
-
var de_TestHypervisorConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
843
|
-
if (output.statusCode >= 300) {
|
|
844
|
-
return de_CommandError(output, context);
|
|
845
|
-
}
|
|
846
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
847
|
-
let contents = {};
|
|
848
|
-
contents = (0, import_smithy_client._json)(data);
|
|
849
|
-
const response = {
|
|
850
|
-
$metadata: deserializeMetadata(output),
|
|
851
|
-
...contents
|
|
852
|
-
};
|
|
853
|
-
return response;
|
|
854
|
-
}, "de_TestHypervisorConfigurationCommand");
|
|
855
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
856
|
-
if (output.statusCode >= 300) {
|
|
857
|
-
return de_CommandError(output, context);
|
|
858
|
-
}
|
|
859
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
860
|
-
let contents = {};
|
|
861
|
-
contents = (0, import_smithy_client._json)(data);
|
|
862
|
-
const response = {
|
|
863
|
-
$metadata: deserializeMetadata(output),
|
|
864
|
-
...contents
|
|
865
|
-
};
|
|
866
|
-
return response;
|
|
867
|
-
}, "de_UntagResourceCommand");
|
|
868
|
-
var de_UpdateGatewayInformationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
869
|
-
if (output.statusCode >= 300) {
|
|
870
|
-
return de_CommandError(output, context);
|
|
871
|
-
}
|
|
872
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
873
|
-
let contents = {};
|
|
874
|
-
contents = (0, import_smithy_client._json)(data);
|
|
875
|
-
const response = {
|
|
876
|
-
$metadata: deserializeMetadata(output),
|
|
877
|
-
...contents
|
|
878
|
-
};
|
|
879
|
-
return response;
|
|
880
|
-
}, "de_UpdateGatewayInformationCommand");
|
|
881
|
-
var de_UpdateGatewaySoftwareNowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
882
|
-
if (output.statusCode >= 300) {
|
|
883
|
-
return de_CommandError(output, context);
|
|
884
|
-
}
|
|
885
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
886
|
-
let contents = {};
|
|
887
|
-
contents = (0, import_smithy_client._json)(data);
|
|
888
|
-
const response = {
|
|
889
|
-
$metadata: deserializeMetadata(output),
|
|
890
|
-
...contents
|
|
891
|
-
};
|
|
892
|
-
return response;
|
|
893
|
-
}, "de_UpdateGatewaySoftwareNowCommand");
|
|
894
|
-
var de_UpdateHypervisorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
895
|
-
if (output.statusCode >= 300) {
|
|
896
|
-
return de_CommandError(output, context);
|
|
897
|
-
}
|
|
898
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
899
|
-
let contents = {};
|
|
900
|
-
contents = (0, import_smithy_client._json)(data);
|
|
901
|
-
const response = {
|
|
902
|
-
$metadata: deserializeMetadata(output),
|
|
903
|
-
...contents
|
|
904
|
-
};
|
|
905
|
-
return response;
|
|
906
|
-
}, "de_UpdateHypervisorCommand");
|
|
907
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
908
|
-
const parsedOutput = {
|
|
909
|
-
...output,
|
|
910
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
911
|
-
};
|
|
912
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
913
|
-
switch (errorCode) {
|
|
914
|
-
case "ConflictException":
|
|
915
|
-
case "com.amazonaws.backupgateway#ConflictException":
|
|
916
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
917
|
-
case "InternalServerException":
|
|
918
|
-
case "com.amazonaws.backupgateway#InternalServerException":
|
|
919
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
920
|
-
case "ThrottlingException":
|
|
921
|
-
case "com.amazonaws.backupgateway#ThrottlingException":
|
|
922
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
923
|
-
case "ValidationException":
|
|
924
|
-
case "com.amazonaws.backupgateway#ValidationException":
|
|
925
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
926
|
-
case "ResourceNotFoundException":
|
|
927
|
-
case "com.amazonaws.backupgateway#ResourceNotFoundException":
|
|
928
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
929
|
-
case "AccessDeniedException":
|
|
930
|
-
case "com.amazonaws.backupgateway#AccessDeniedException":
|
|
931
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
932
|
-
default:
|
|
933
|
-
const parsedBody = parsedOutput.body;
|
|
934
|
-
return throwDefaultError({
|
|
935
|
-
output,
|
|
936
|
-
parsedBody,
|
|
937
|
-
errorCode
|
|
938
|
-
});
|
|
939
|
-
}
|
|
940
|
-
}, "de_CommandError");
|
|
941
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
942
|
-
const body = parsedOutput.body;
|
|
943
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
944
|
-
const exception = new AccessDeniedException({
|
|
945
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
946
|
-
...deserialized
|
|
947
|
-
});
|
|
948
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
949
|
-
}, "de_AccessDeniedExceptionRes");
|
|
950
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
951
|
-
const body = parsedOutput.body;
|
|
952
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
953
|
-
const exception = new ConflictException({
|
|
954
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
955
|
-
...deserialized
|
|
956
|
-
});
|
|
957
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
958
|
-
}, "de_ConflictExceptionRes");
|
|
959
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
960
|
-
const body = parsedOutput.body;
|
|
961
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
962
|
-
const exception = new InternalServerException({
|
|
963
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
964
|
-
...deserialized
|
|
965
|
-
});
|
|
966
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
967
|
-
}, "de_InternalServerExceptionRes");
|
|
968
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
969
|
-
const body = parsedOutput.body;
|
|
970
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
971
|
-
const exception = new ResourceNotFoundException({
|
|
972
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
973
|
-
...deserialized
|
|
974
|
-
});
|
|
975
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
976
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
977
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
978
|
-
const body = parsedOutput.body;
|
|
979
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
980
|
-
const exception = new ThrottlingException({
|
|
981
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
982
|
-
...deserialized
|
|
983
|
-
});
|
|
984
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
985
|
-
}, "de_ThrottlingExceptionRes");
|
|
986
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
987
|
-
const body = parsedOutput.body;
|
|
988
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
989
|
-
const exception = new ValidationException({
|
|
990
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
991
|
-
...deserialized
|
|
992
|
-
});
|
|
993
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
994
|
-
}, "de_ValidationExceptionRes");
|
|
995
|
-
var de_Gateway = /* @__PURE__ */ __name((output, context) => {
|
|
996
|
-
return (0, import_smithy_client.take)(output, {
|
|
997
|
-
GatewayArn: import_smithy_client.expectString,
|
|
998
|
-
GatewayDisplayName: import_smithy_client.expectString,
|
|
999
|
-
GatewayType: import_smithy_client.expectString,
|
|
1000
|
-
HypervisorId: import_smithy_client.expectString,
|
|
1001
|
-
LastSeenTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastSeenTime")
|
|
1002
|
-
});
|
|
1003
|
-
}, "de_Gateway");
|
|
1004
|
-
var de_GatewayDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1005
|
-
return (0, import_smithy_client.take)(output, {
|
|
1006
|
-
GatewayArn: import_smithy_client.expectString,
|
|
1007
|
-
GatewayDisplayName: import_smithy_client.expectString,
|
|
1008
|
-
GatewayType: import_smithy_client.expectString,
|
|
1009
|
-
HypervisorId: import_smithy_client.expectString,
|
|
1010
|
-
LastSeenTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastSeenTime"),
|
|
1011
|
-
MaintenanceStartTime: import_smithy_client._json,
|
|
1012
|
-
NextUpdateAvailabilityTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NextUpdateAvailabilityTime"),
|
|
1013
|
-
VpcEndpoint: import_smithy_client.expectString
|
|
1014
|
-
});
|
|
1015
|
-
}, "de_GatewayDetails");
|
|
1016
|
-
var de_Gateways = /* @__PURE__ */ __name((output, context) => {
|
|
1017
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1018
|
-
return de_Gateway(entry, context);
|
|
1019
|
-
});
|
|
1020
|
-
return retVal;
|
|
1021
|
-
}, "de_Gateways");
|
|
1022
|
-
var de_GetGatewayOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1023
|
-
return (0, import_smithy_client.take)(output, {
|
|
1024
|
-
Gateway: /* @__PURE__ */ __name((_) => de_GatewayDetails(_, context), "Gateway")
|
|
1025
|
-
});
|
|
1026
|
-
}, "de_GetGatewayOutput");
|
|
1027
|
-
var de_GetHypervisorOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1028
|
-
return (0, import_smithy_client.take)(output, {
|
|
1029
|
-
Hypervisor: /* @__PURE__ */ __name((_) => de_HypervisorDetails(_, context), "Hypervisor")
|
|
1030
|
-
});
|
|
1031
|
-
}, "de_GetHypervisorOutput");
|
|
1032
|
-
var de_GetVirtualMachineOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1033
|
-
return (0, import_smithy_client.take)(output, {
|
|
1034
|
-
VirtualMachine: /* @__PURE__ */ __name((_) => de_VirtualMachineDetails(_, context), "VirtualMachine")
|
|
1035
|
-
});
|
|
1036
|
-
}, "de_GetVirtualMachineOutput");
|
|
1037
|
-
var de_HypervisorDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1038
|
-
return (0, import_smithy_client.take)(output, {
|
|
1039
|
-
Host: import_smithy_client.expectString,
|
|
1040
|
-
HypervisorArn: import_smithy_client.expectString,
|
|
1041
|
-
KmsKeyArn: import_smithy_client.expectString,
|
|
1042
|
-
LastSuccessfulMetadataSyncTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastSuccessfulMetadataSyncTime"),
|
|
1043
|
-
LatestMetadataSyncStatus: import_smithy_client.expectString,
|
|
1044
|
-
LatestMetadataSyncStatusMessage: import_smithy_client.expectString,
|
|
1045
|
-
LogGroupArn: import_smithy_client.expectString,
|
|
1046
|
-
Name: import_smithy_client.expectString,
|
|
1047
|
-
State: import_smithy_client.expectString
|
|
1048
|
-
});
|
|
1049
|
-
}, "de_HypervisorDetails");
|
|
1050
|
-
var de_ListGatewaysOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1051
|
-
return (0, import_smithy_client.take)(output, {
|
|
1052
|
-
Gateways: /* @__PURE__ */ __name((_) => de_Gateways(_, context), "Gateways"),
|
|
1053
|
-
NextToken: import_smithy_client.expectString
|
|
1054
|
-
});
|
|
1055
|
-
}, "de_ListGatewaysOutput");
|
|
1056
|
-
var de_ListVirtualMachinesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1057
|
-
return (0, import_smithy_client.take)(output, {
|
|
1058
|
-
NextToken: import_smithy_client.expectString,
|
|
1059
|
-
VirtualMachines: /* @__PURE__ */ __name((_) => de_VirtualMachines(_, context), "VirtualMachines")
|
|
1060
|
-
});
|
|
1061
|
-
}, "de_ListVirtualMachinesOutput");
|
|
1062
|
-
var de_VirtualMachine = /* @__PURE__ */ __name((output, context) => {
|
|
1063
|
-
return (0, import_smithy_client.take)(output, {
|
|
1064
|
-
HostName: import_smithy_client.expectString,
|
|
1065
|
-
HypervisorId: import_smithy_client.expectString,
|
|
1066
|
-
LastBackupDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastBackupDate"),
|
|
1067
|
-
Name: import_smithy_client.expectString,
|
|
1068
|
-
Path: import_smithy_client.expectString,
|
|
1069
|
-
ResourceArn: import_smithy_client.expectString
|
|
1070
|
-
});
|
|
1071
|
-
}, "de_VirtualMachine");
|
|
1072
|
-
var de_VirtualMachineDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1073
|
-
return (0, import_smithy_client.take)(output, {
|
|
1074
|
-
HostName: import_smithy_client.expectString,
|
|
1075
|
-
HypervisorId: import_smithy_client.expectString,
|
|
1076
|
-
LastBackupDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastBackupDate"),
|
|
1077
|
-
Name: import_smithy_client.expectString,
|
|
1078
|
-
Path: import_smithy_client.expectString,
|
|
1079
|
-
ResourceArn: import_smithy_client.expectString,
|
|
1080
|
-
VmwareTags: import_smithy_client._json
|
|
1081
|
-
});
|
|
1082
|
-
}, "de_VirtualMachineDetails");
|
|
1083
|
-
var de_VirtualMachines = /* @__PURE__ */ __name((output, context) => {
|
|
1084
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1085
|
-
return de_VirtualMachine(entry, context);
|
|
1086
|
-
});
|
|
1087
|
-
return retVal;
|
|
1088
|
-
}, "de_VirtualMachines");
|
|
1089
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1090
|
-
httpStatusCode: output.statusCode,
|
|
1091
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1092
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1093
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1094
|
-
}), "deserializeMetadata");
|
|
1095
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(BackupGatewayServiceException);
|
|
1096
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1097
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1098
|
-
const contents = {
|
|
1099
|
-
protocol,
|
|
1100
|
-
hostname,
|
|
1101
|
-
port,
|
|
1102
|
-
method: "POST",
|
|
1103
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1104
|
-
headers
|
|
1105
|
-
};
|
|
1106
|
-
if (resolvedHostname !== void 0) {
|
|
1107
|
-
contents.hostname = resolvedHostname;
|
|
1108
|
-
}
|
|
1109
|
-
if (body !== void 0) {
|
|
1110
|
-
contents.body = body;
|
|
1111
|
-
}
|
|
1112
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1113
|
-
}, "buildHttpRpcRequest");
|
|
1114
|
-
function sharedHeaders(operation) {
|
|
1115
|
-
return {
|
|
1116
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1117
|
-
"x-amz-target": `BackupOnPremises_v20210101.${operation}`
|
|
1118
|
-
};
|
|
1119
|
-
}
|
|
1120
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1121
|
-
|
|
1122
|
-
// src/commands/AssociateGatewayToServerCommand.ts
|
|
1123
|
-
var AssociateGatewayToServerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1124
|
-
return [
|
|
1125
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1126
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1127
|
-
];
|
|
1128
|
-
}).s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {}).n("BackupGatewayClient", "AssociateGatewayToServerCommand").f(void 0, void 0).ser(se_AssociateGatewayToServerCommand).de(de_AssociateGatewayToServerCommand).build() {
|
|
1129
|
-
static {
|
|
1130
|
-
__name(this, "AssociateGatewayToServerCommand");
|
|
1131
|
-
}
|
|
773
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1132
774
|
};
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1142
|
-
];
|
|
1143
|
-
}).s("BackupOnPremises_v20210101", "CreateGateway", {}).n("BackupGatewayClient", "CreateGatewayCommand").f(void 0, void 0).ser(se_CreateGatewayCommand).de(de_CreateGatewayCommand).build() {
|
|
1144
|
-
static {
|
|
1145
|
-
__name(this, "CreateGatewayCommand");
|
|
1146
|
-
}
|
|
775
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
776
|
+
const body = parsedOutput.body;
|
|
777
|
+
const deserialized = smithyClient._json(body);
|
|
778
|
+
const exception = new InternalServerException({
|
|
779
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
780
|
+
...deserialized,
|
|
781
|
+
});
|
|
782
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1147
783
|
};
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1157
|
-
];
|
|
1158
|
-
}).s("BackupOnPremises_v20210101", "DeleteGateway", {}).n("BackupGatewayClient", "DeleteGatewayCommand").f(void 0, void 0).ser(se_DeleteGatewayCommand).de(de_DeleteGatewayCommand).build() {
|
|
1159
|
-
static {
|
|
1160
|
-
__name(this, "DeleteGatewayCommand");
|
|
1161
|
-
}
|
|
784
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
785
|
+
const body = parsedOutput.body;
|
|
786
|
+
const deserialized = smithyClient._json(body);
|
|
787
|
+
const exception = new ResourceNotFoundException({
|
|
788
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
789
|
+
...deserialized,
|
|
790
|
+
});
|
|
791
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1162
792
|
};
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1172
|
-
];
|
|
1173
|
-
}).s("BackupOnPremises_v20210101", "DeleteHypervisor", {}).n("BackupGatewayClient", "DeleteHypervisorCommand").f(void 0, void 0).ser(se_DeleteHypervisorCommand).de(de_DeleteHypervisorCommand).build() {
|
|
1174
|
-
static {
|
|
1175
|
-
__name(this, "DeleteHypervisorCommand");
|
|
1176
|
-
}
|
|
793
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
794
|
+
const body = parsedOutput.body;
|
|
795
|
+
const deserialized = smithyClient._json(body);
|
|
796
|
+
const exception = new ThrottlingException({
|
|
797
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
798
|
+
...deserialized,
|
|
799
|
+
});
|
|
800
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1177
801
|
};
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1187
|
-
];
|
|
1188
|
-
}).s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {}).n("BackupGatewayClient", "DisassociateGatewayFromServerCommand").f(void 0, void 0).ser(se_DisassociateGatewayFromServerCommand).de(de_DisassociateGatewayFromServerCommand).build() {
|
|
1189
|
-
static {
|
|
1190
|
-
__name(this, "DisassociateGatewayFromServerCommand");
|
|
1191
|
-
}
|
|
802
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
803
|
+
const body = parsedOutput.body;
|
|
804
|
+
const deserialized = smithyClient._json(body);
|
|
805
|
+
const exception = new ValidationException({
|
|
806
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
807
|
+
...deserialized,
|
|
808
|
+
});
|
|
809
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1192
810
|
};
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1202
|
-
];
|
|
1203
|
-
}).s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {}).n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand").f(void 0, void 0).ser(se_GetBandwidthRateLimitScheduleCommand).de(de_GetBandwidthRateLimitScheduleCommand).build() {
|
|
1204
|
-
static {
|
|
1205
|
-
__name(this, "GetBandwidthRateLimitScheduleCommand");
|
|
1206
|
-
}
|
|
811
|
+
const de_Gateway = (output, context) => {
|
|
812
|
+
return smithyClient.take(output, {
|
|
813
|
+
GatewayArn: smithyClient.expectString,
|
|
814
|
+
GatewayDisplayName: smithyClient.expectString,
|
|
815
|
+
GatewayType: smithyClient.expectString,
|
|
816
|
+
HypervisorId: smithyClient.expectString,
|
|
817
|
+
LastSeenTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
818
|
+
});
|
|
1207
819
|
};
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
})
|
|
1219
|
-
static {
|
|
1220
|
-
__name(this, "GetGatewayCommand");
|
|
1221
|
-
}
|
|
820
|
+
const de_GatewayDetails = (output, context) => {
|
|
821
|
+
return smithyClient.take(output, {
|
|
822
|
+
GatewayArn: smithyClient.expectString,
|
|
823
|
+
GatewayDisplayName: smithyClient.expectString,
|
|
824
|
+
GatewayType: smithyClient.expectString,
|
|
825
|
+
HypervisorId: smithyClient.expectString,
|
|
826
|
+
LastSeenTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
827
|
+
MaintenanceStartTime: smithyClient._json,
|
|
828
|
+
NextUpdateAvailabilityTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
829
|
+
VpcEndpoint: smithyClient.expectString,
|
|
830
|
+
});
|
|
1222
831
|
};
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1231
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1232
|
-
];
|
|
1233
|
-
}).s("BackupOnPremises_v20210101", "GetHypervisor", {}).n("BackupGatewayClient", "GetHypervisorCommand").f(void 0, void 0).ser(se_GetHypervisorCommand).de(de_GetHypervisorCommand).build() {
|
|
1234
|
-
static {
|
|
1235
|
-
__name(this, "GetHypervisorCommand");
|
|
1236
|
-
}
|
|
832
|
+
const de_Gateways = (output, context) => {
|
|
833
|
+
const retVal = (output || [])
|
|
834
|
+
.filter((e) => e != null)
|
|
835
|
+
.map((entry) => {
|
|
836
|
+
return de_Gateway(entry);
|
|
837
|
+
});
|
|
838
|
+
return retVal;
|
|
1237
839
|
};
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
var GetHypervisorPropertyMappingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1244
|
-
return [
|
|
1245
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1246
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1247
|
-
];
|
|
1248
|
-
}).s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {}).n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand").f(void 0, void 0).ser(se_GetHypervisorPropertyMappingsCommand).de(de_GetHypervisorPropertyMappingsCommand).build() {
|
|
1249
|
-
static {
|
|
1250
|
-
__name(this, "GetHypervisorPropertyMappingsCommand");
|
|
1251
|
-
}
|
|
840
|
+
const de_GetGatewayOutput = (output, context) => {
|
|
841
|
+
return smithyClient.take(output, {
|
|
842
|
+
Gateway: (_) => de_GatewayDetails(_),
|
|
843
|
+
});
|
|
1252
844
|
};
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
var GetVirtualMachineCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1259
|
-
return [
|
|
1260
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1261
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1262
|
-
];
|
|
1263
|
-
}).s("BackupOnPremises_v20210101", "GetVirtualMachine", {}).n("BackupGatewayClient", "GetVirtualMachineCommand").f(void 0, void 0).ser(se_GetVirtualMachineCommand).de(de_GetVirtualMachineCommand).build() {
|
|
1264
|
-
static {
|
|
1265
|
-
__name(this, "GetVirtualMachineCommand");
|
|
1266
|
-
}
|
|
845
|
+
const de_GetHypervisorOutput = (output, context) => {
|
|
846
|
+
return smithyClient.take(output, {
|
|
847
|
+
Hypervisor: (_) => de_HypervisorDetails(_),
|
|
848
|
+
});
|
|
1267
849
|
};
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
var ImportHypervisorConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1274
|
-
return [
|
|
1275
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1276
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1277
|
-
];
|
|
1278
|
-
}).s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {}).n("BackupGatewayClient", "ImportHypervisorConfigurationCommand").f(ImportHypervisorConfigurationInputFilterSensitiveLog, void 0).ser(se_ImportHypervisorConfigurationCommand).de(de_ImportHypervisorConfigurationCommand).build() {
|
|
1279
|
-
static {
|
|
1280
|
-
__name(this, "ImportHypervisorConfigurationCommand");
|
|
1281
|
-
}
|
|
850
|
+
const de_GetVirtualMachineOutput = (output, context) => {
|
|
851
|
+
return smithyClient.take(output, {
|
|
852
|
+
VirtualMachine: (_) => de_VirtualMachineDetails(_),
|
|
853
|
+
});
|
|
1282
854
|
};
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
__name(this, "ListGatewaysCommand");
|
|
1296
|
-
}
|
|
855
|
+
const de_HypervisorDetails = (output, context) => {
|
|
856
|
+
return smithyClient.take(output, {
|
|
857
|
+
Host: smithyClient.expectString,
|
|
858
|
+
HypervisorArn: smithyClient.expectString,
|
|
859
|
+
KmsKeyArn: smithyClient.expectString,
|
|
860
|
+
LastSuccessfulMetadataSyncTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
861
|
+
LatestMetadataSyncStatus: smithyClient.expectString,
|
|
862
|
+
LatestMetadataSyncStatusMessage: smithyClient.expectString,
|
|
863
|
+
LogGroupArn: smithyClient.expectString,
|
|
864
|
+
Name: smithyClient.expectString,
|
|
865
|
+
State: smithyClient.expectString,
|
|
866
|
+
});
|
|
1297
867
|
};
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
var ListHypervisorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1304
|
-
return [
|
|
1305
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1306
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1307
|
-
];
|
|
1308
|
-
}).s("BackupOnPremises_v20210101", "ListHypervisors", {}).n("BackupGatewayClient", "ListHypervisorsCommand").f(void 0, void 0).ser(se_ListHypervisorsCommand).de(de_ListHypervisorsCommand).build() {
|
|
1309
|
-
static {
|
|
1310
|
-
__name(this, "ListHypervisorsCommand");
|
|
1311
|
-
}
|
|
868
|
+
const de_ListGatewaysOutput = (output, context) => {
|
|
869
|
+
return smithyClient.take(output, {
|
|
870
|
+
Gateways: (_) => de_Gateways(_),
|
|
871
|
+
NextToken: smithyClient.expectString,
|
|
872
|
+
});
|
|
1312
873
|
};
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1319
|
-
return [
|
|
1320
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1321
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1322
|
-
];
|
|
1323
|
-
}).s("BackupOnPremises_v20210101", "ListTagsForResource", {}).n("BackupGatewayClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1324
|
-
static {
|
|
1325
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1326
|
-
}
|
|
874
|
+
const de_ListVirtualMachinesOutput = (output, context) => {
|
|
875
|
+
return smithyClient.take(output, {
|
|
876
|
+
NextToken: smithyClient.expectString,
|
|
877
|
+
VirtualMachines: (_) => de_VirtualMachines(_),
|
|
878
|
+
});
|
|
1327
879
|
};
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
];
|
|
1338
|
-
}).s("BackupOnPremises_v20210101", "ListVirtualMachines", {}).n("BackupGatewayClient", "ListVirtualMachinesCommand").f(void 0, void 0).ser(se_ListVirtualMachinesCommand).de(de_ListVirtualMachinesCommand).build() {
|
|
1339
|
-
static {
|
|
1340
|
-
__name(this, "ListVirtualMachinesCommand");
|
|
1341
|
-
}
|
|
880
|
+
const de_VirtualMachine = (output, context) => {
|
|
881
|
+
return smithyClient.take(output, {
|
|
882
|
+
HostName: smithyClient.expectString,
|
|
883
|
+
HypervisorId: smithyClient.expectString,
|
|
884
|
+
LastBackupDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
885
|
+
Name: smithyClient.expectString,
|
|
886
|
+
Path: smithyClient.expectString,
|
|
887
|
+
ResourceArn: smithyClient.expectString,
|
|
888
|
+
});
|
|
1342
889
|
};
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
}).s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {}).n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand").f(void 0, void 0).ser(se_PutBandwidthRateLimitScheduleCommand).de(de_PutBandwidthRateLimitScheduleCommand).build() {
|
|
1354
|
-
static {
|
|
1355
|
-
__name(this, "PutBandwidthRateLimitScheduleCommand");
|
|
1356
|
-
}
|
|
890
|
+
const de_VirtualMachineDetails = (output, context) => {
|
|
891
|
+
return smithyClient.take(output, {
|
|
892
|
+
HostName: smithyClient.expectString,
|
|
893
|
+
HypervisorId: smithyClient.expectString,
|
|
894
|
+
LastBackupDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
895
|
+
Name: smithyClient.expectString,
|
|
896
|
+
Path: smithyClient.expectString,
|
|
897
|
+
ResourceArn: smithyClient.expectString,
|
|
898
|
+
VmwareTags: smithyClient._json,
|
|
899
|
+
});
|
|
1357
900
|
};
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1366
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1367
|
-
];
|
|
1368
|
-
}).s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {}).n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand").f(void 0, void 0).ser(se_PutHypervisorPropertyMappingsCommand).de(de_PutHypervisorPropertyMappingsCommand).build() {
|
|
1369
|
-
static {
|
|
1370
|
-
__name(this, "PutHypervisorPropertyMappingsCommand");
|
|
1371
|
-
}
|
|
901
|
+
const de_VirtualMachines = (output, context) => {
|
|
902
|
+
const retVal = (output || [])
|
|
903
|
+
.filter((e) => e != null)
|
|
904
|
+
.map((entry) => {
|
|
905
|
+
return de_VirtualMachine(entry);
|
|
906
|
+
});
|
|
907
|
+
return retVal;
|
|
1372
908
|
};
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
909
|
+
const deserializeMetadata = (output) => ({
|
|
910
|
+
httpStatusCode: output.statusCode,
|
|
911
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
912
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
913
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
914
|
+
});
|
|
915
|
+
const throwDefaultError = smithyClient.withBaseException(BackupGatewayServiceException);
|
|
916
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
917
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
918
|
+
const contents = {
|
|
919
|
+
protocol,
|
|
920
|
+
hostname,
|
|
921
|
+
port,
|
|
922
|
+
method: "POST",
|
|
923
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
924
|
+
headers,
|
|
925
|
+
};
|
|
926
|
+
if (body !== undefined) {
|
|
927
|
+
contents.body = body;
|
|
928
|
+
}
|
|
929
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1387
930
|
};
|
|
931
|
+
function sharedHeaders(operation) {
|
|
932
|
+
return {
|
|
933
|
+
"content-type": "application/x-amz-json-1.0",
|
|
934
|
+
"x-amz-target": `BackupOnPremises_v20210101.${operation}`,
|
|
935
|
+
};
|
|
936
|
+
}
|
|
1388
937
|
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
938
|
+
class AssociateGatewayToServerCommand extends smithyClient.Command
|
|
939
|
+
.classBuilder()
|
|
940
|
+
.ep(commonParams)
|
|
941
|
+
.m(function (Command, cs, config, o) {
|
|
942
|
+
return [
|
|
943
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
944
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
945
|
+
];
|
|
946
|
+
})
|
|
947
|
+
.s("BackupOnPremises_v20210101", "AssociateGatewayToServer", {})
|
|
948
|
+
.n("BackupGatewayClient", "AssociateGatewayToServerCommand")
|
|
949
|
+
.f(void 0, void 0)
|
|
950
|
+
.ser(se_AssociateGatewayToServerCommand)
|
|
951
|
+
.de(de_AssociateGatewayToServerCommand)
|
|
952
|
+
.build() {
|
|
953
|
+
}
|
|
1392
954
|
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
(
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
}
|
|
955
|
+
class CreateGatewayCommand extends smithyClient.Command
|
|
956
|
+
.classBuilder()
|
|
957
|
+
.ep(commonParams)
|
|
958
|
+
.m(function (Command, cs, config, o) {
|
|
959
|
+
return [
|
|
960
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
961
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
962
|
+
];
|
|
963
|
+
})
|
|
964
|
+
.s("BackupOnPremises_v20210101", "CreateGateway", {})
|
|
965
|
+
.n("BackupGatewayClient", "CreateGatewayCommand")
|
|
966
|
+
.f(void 0, void 0)
|
|
967
|
+
.ser(se_CreateGatewayCommand)
|
|
968
|
+
.de(de_CreateGatewayCommand)
|
|
969
|
+
.build() {
|
|
970
|
+
}
|
|
1403
971
|
|
|
1404
|
-
|
|
972
|
+
class DeleteGatewayCommand extends smithyClient.Command
|
|
973
|
+
.classBuilder()
|
|
974
|
+
.ep(commonParams)
|
|
975
|
+
.m(function (Command, cs, config, o) {
|
|
976
|
+
return [
|
|
977
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
978
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
979
|
+
];
|
|
980
|
+
})
|
|
981
|
+
.s("BackupOnPremises_v20210101", "DeleteGateway", {})
|
|
982
|
+
.n("BackupGatewayClient", "DeleteGatewayCommand")
|
|
983
|
+
.f(void 0, void 0)
|
|
984
|
+
.ser(se_DeleteGatewayCommand)
|
|
985
|
+
.de(de_DeleteGatewayCommand)
|
|
986
|
+
.build() {
|
|
987
|
+
}
|
|
1405
988
|
|
|
989
|
+
class DeleteHypervisorCommand extends smithyClient.Command
|
|
990
|
+
.classBuilder()
|
|
991
|
+
.ep(commonParams)
|
|
992
|
+
.m(function (Command, cs, config, o) {
|
|
993
|
+
return [
|
|
994
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
995
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
996
|
+
];
|
|
997
|
+
})
|
|
998
|
+
.s("BackupOnPremises_v20210101", "DeleteHypervisor", {})
|
|
999
|
+
.n("BackupGatewayClient", "DeleteHypervisorCommand")
|
|
1000
|
+
.f(void 0, void 0)
|
|
1001
|
+
.ser(se_DeleteHypervisorCommand)
|
|
1002
|
+
.de(de_DeleteHypervisorCommand)
|
|
1003
|
+
.build() {
|
|
1004
|
+
}
|
|
1406
1005
|
|
|
1006
|
+
class DisassociateGatewayFromServerCommand extends smithyClient.Command
|
|
1007
|
+
.classBuilder()
|
|
1008
|
+
.ep(commonParams)
|
|
1009
|
+
.m(function (Command, cs, config, o) {
|
|
1010
|
+
return [
|
|
1011
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1012
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1013
|
+
];
|
|
1014
|
+
})
|
|
1015
|
+
.s("BackupOnPremises_v20210101", "DisassociateGatewayFromServer", {})
|
|
1016
|
+
.n("BackupGatewayClient", "DisassociateGatewayFromServerCommand")
|
|
1017
|
+
.f(void 0, void 0)
|
|
1018
|
+
.ser(se_DisassociateGatewayFromServerCommand)
|
|
1019
|
+
.de(de_DisassociateGatewayFromServerCommand)
|
|
1020
|
+
.build() {
|
|
1021
|
+
}
|
|
1407
1022
|
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
(
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
}
|
|
1023
|
+
class GetBandwidthRateLimitScheduleCommand extends smithyClient.Command
|
|
1024
|
+
.classBuilder()
|
|
1025
|
+
.ep(commonParams)
|
|
1026
|
+
.m(function (Command, cs, config, o) {
|
|
1027
|
+
return [
|
|
1028
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1029
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1030
|
+
];
|
|
1031
|
+
})
|
|
1032
|
+
.s("BackupOnPremises_v20210101", "GetBandwidthRateLimitSchedule", {})
|
|
1033
|
+
.n("BackupGatewayClient", "GetBandwidthRateLimitScheduleCommand")
|
|
1034
|
+
.f(void 0, void 0)
|
|
1035
|
+
.ser(se_GetBandwidthRateLimitScheduleCommand)
|
|
1036
|
+
.de(de_GetBandwidthRateLimitScheduleCommand)
|
|
1037
|
+
.build() {
|
|
1038
|
+
}
|
|
1418
1039
|
|
|
1419
|
-
|
|
1040
|
+
class GetGatewayCommand extends smithyClient.Command
|
|
1041
|
+
.classBuilder()
|
|
1042
|
+
.ep(commonParams)
|
|
1043
|
+
.m(function (Command, cs, config, o) {
|
|
1044
|
+
return [
|
|
1045
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1046
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1047
|
+
];
|
|
1048
|
+
})
|
|
1049
|
+
.s("BackupOnPremises_v20210101", "GetGateway", {})
|
|
1050
|
+
.n("BackupGatewayClient", "GetGatewayCommand")
|
|
1051
|
+
.f(void 0, void 0)
|
|
1052
|
+
.ser(se_GetGatewayCommand)
|
|
1053
|
+
.de(de_GetGatewayCommand)
|
|
1054
|
+
.build() {
|
|
1055
|
+
}
|
|
1420
1056
|
|
|
1057
|
+
class GetHypervisorCommand extends smithyClient.Command
|
|
1058
|
+
.classBuilder()
|
|
1059
|
+
.ep(commonParams)
|
|
1060
|
+
.m(function (Command, cs, config, o) {
|
|
1061
|
+
return [
|
|
1062
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1063
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1064
|
+
];
|
|
1065
|
+
})
|
|
1066
|
+
.s("BackupOnPremises_v20210101", "GetHypervisor", {})
|
|
1067
|
+
.n("BackupGatewayClient", "GetHypervisorCommand")
|
|
1068
|
+
.f(void 0, void 0)
|
|
1069
|
+
.ser(se_GetHypervisorCommand)
|
|
1070
|
+
.de(de_GetHypervisorCommand)
|
|
1071
|
+
.build() {
|
|
1072
|
+
}
|
|
1421
1073
|
|
|
1074
|
+
class GetHypervisorPropertyMappingsCommand extends smithyClient.Command
|
|
1075
|
+
.classBuilder()
|
|
1076
|
+
.ep(commonParams)
|
|
1077
|
+
.m(function (Command, cs, config, o) {
|
|
1078
|
+
return [
|
|
1079
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1080
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1081
|
+
];
|
|
1082
|
+
})
|
|
1083
|
+
.s("BackupOnPremises_v20210101", "GetHypervisorPropertyMappings", {})
|
|
1084
|
+
.n("BackupGatewayClient", "GetHypervisorPropertyMappingsCommand")
|
|
1085
|
+
.f(void 0, void 0)
|
|
1086
|
+
.ser(se_GetHypervisorPropertyMappingsCommand)
|
|
1087
|
+
.de(de_GetHypervisorPropertyMappingsCommand)
|
|
1088
|
+
.build() {
|
|
1089
|
+
}
|
|
1422
1090
|
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
(
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
}
|
|
1091
|
+
class GetVirtualMachineCommand extends smithyClient.Command
|
|
1092
|
+
.classBuilder()
|
|
1093
|
+
.ep(commonParams)
|
|
1094
|
+
.m(function (Command, cs, config, o) {
|
|
1095
|
+
return [
|
|
1096
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1097
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1098
|
+
];
|
|
1099
|
+
})
|
|
1100
|
+
.s("BackupOnPremises_v20210101", "GetVirtualMachine", {})
|
|
1101
|
+
.n("BackupGatewayClient", "GetVirtualMachineCommand")
|
|
1102
|
+
.f(void 0, void 0)
|
|
1103
|
+
.ser(se_GetVirtualMachineCommand)
|
|
1104
|
+
.de(de_GetVirtualMachineCommand)
|
|
1105
|
+
.build() {
|
|
1106
|
+
}
|
|
1433
1107
|
|
|
1434
|
-
|
|
1108
|
+
class ImportHypervisorConfigurationCommand extends smithyClient.Command
|
|
1109
|
+
.classBuilder()
|
|
1110
|
+
.ep(commonParams)
|
|
1111
|
+
.m(function (Command, cs, config, o) {
|
|
1112
|
+
return [
|
|
1113
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1114
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1115
|
+
];
|
|
1116
|
+
})
|
|
1117
|
+
.s("BackupOnPremises_v20210101", "ImportHypervisorConfiguration", {})
|
|
1118
|
+
.n("BackupGatewayClient", "ImportHypervisorConfigurationCommand")
|
|
1119
|
+
.f(ImportHypervisorConfigurationInputFilterSensitiveLog, void 0)
|
|
1120
|
+
.ser(se_ImportHypervisorConfigurationCommand)
|
|
1121
|
+
.de(de_ImportHypervisorConfigurationCommand)
|
|
1122
|
+
.build() {
|
|
1123
|
+
}
|
|
1435
1124
|
|
|
1125
|
+
class ListGatewaysCommand extends smithyClient.Command
|
|
1126
|
+
.classBuilder()
|
|
1127
|
+
.ep(commonParams)
|
|
1128
|
+
.m(function (Command, cs, config, o) {
|
|
1129
|
+
return [
|
|
1130
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1131
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1132
|
+
];
|
|
1133
|
+
})
|
|
1134
|
+
.s("BackupOnPremises_v20210101", "ListGateways", {})
|
|
1135
|
+
.n("BackupGatewayClient", "ListGatewaysCommand")
|
|
1136
|
+
.f(void 0, void 0)
|
|
1137
|
+
.ser(se_ListGatewaysCommand)
|
|
1138
|
+
.de(de_ListGatewaysCommand)
|
|
1139
|
+
.build() {
|
|
1140
|
+
}
|
|
1436
1141
|
|
|
1142
|
+
class ListHypervisorsCommand extends smithyClient.Command
|
|
1143
|
+
.classBuilder()
|
|
1144
|
+
.ep(commonParams)
|
|
1145
|
+
.m(function (Command, cs, config, o) {
|
|
1146
|
+
return [
|
|
1147
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1148
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1149
|
+
];
|
|
1150
|
+
})
|
|
1151
|
+
.s("BackupOnPremises_v20210101", "ListHypervisors", {})
|
|
1152
|
+
.n("BackupGatewayClient", "ListHypervisorsCommand")
|
|
1153
|
+
.f(void 0, void 0)
|
|
1154
|
+
.ser(se_ListHypervisorsCommand)
|
|
1155
|
+
.de(de_ListHypervisorsCommand)
|
|
1156
|
+
.build() {
|
|
1157
|
+
}
|
|
1437
1158
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
(
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}
|
|
1159
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1160
|
+
.classBuilder()
|
|
1161
|
+
.ep(commonParams)
|
|
1162
|
+
.m(function (Command, cs, config, o) {
|
|
1163
|
+
return [
|
|
1164
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1165
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1166
|
+
];
|
|
1167
|
+
})
|
|
1168
|
+
.s("BackupOnPremises_v20210101", "ListTagsForResource", {})
|
|
1169
|
+
.n("BackupGatewayClient", "ListTagsForResourceCommand")
|
|
1170
|
+
.f(void 0, void 0)
|
|
1171
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1172
|
+
.de(de_ListTagsForResourceCommand)
|
|
1173
|
+
.build() {
|
|
1174
|
+
}
|
|
1448
1175
|
|
|
1449
|
-
|
|
1176
|
+
class ListVirtualMachinesCommand extends smithyClient.Command
|
|
1177
|
+
.classBuilder()
|
|
1178
|
+
.ep(commonParams)
|
|
1179
|
+
.m(function (Command, cs, config, o) {
|
|
1180
|
+
return [
|
|
1181
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1182
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1183
|
+
];
|
|
1184
|
+
})
|
|
1185
|
+
.s("BackupOnPremises_v20210101", "ListVirtualMachines", {})
|
|
1186
|
+
.n("BackupGatewayClient", "ListVirtualMachinesCommand")
|
|
1187
|
+
.f(void 0, void 0)
|
|
1188
|
+
.ser(se_ListVirtualMachinesCommand)
|
|
1189
|
+
.de(de_ListVirtualMachinesCommand)
|
|
1190
|
+
.build() {
|
|
1191
|
+
}
|
|
1450
1192
|
|
|
1193
|
+
class PutBandwidthRateLimitScheduleCommand extends smithyClient.Command
|
|
1194
|
+
.classBuilder()
|
|
1195
|
+
.ep(commonParams)
|
|
1196
|
+
.m(function (Command, cs, config, o) {
|
|
1197
|
+
return [
|
|
1198
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1199
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1200
|
+
];
|
|
1201
|
+
})
|
|
1202
|
+
.s("BackupOnPremises_v20210101", "PutBandwidthRateLimitSchedule", {})
|
|
1203
|
+
.n("BackupGatewayClient", "PutBandwidthRateLimitScheduleCommand")
|
|
1204
|
+
.f(void 0, void 0)
|
|
1205
|
+
.ser(se_PutBandwidthRateLimitScheduleCommand)
|
|
1206
|
+
.de(de_PutBandwidthRateLimitScheduleCommand)
|
|
1207
|
+
.build() {
|
|
1208
|
+
}
|
|
1451
1209
|
|
|
1210
|
+
class PutHypervisorPropertyMappingsCommand extends smithyClient.Command
|
|
1211
|
+
.classBuilder()
|
|
1212
|
+
.ep(commonParams)
|
|
1213
|
+
.m(function (Command, cs, config, o) {
|
|
1214
|
+
return [
|
|
1215
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1216
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1217
|
+
];
|
|
1218
|
+
})
|
|
1219
|
+
.s("BackupOnPremises_v20210101", "PutHypervisorPropertyMappings", {})
|
|
1220
|
+
.n("BackupGatewayClient", "PutHypervisorPropertyMappingsCommand")
|
|
1221
|
+
.f(void 0, void 0)
|
|
1222
|
+
.ser(se_PutHypervisorPropertyMappingsCommand)
|
|
1223
|
+
.de(de_PutHypervisorPropertyMappingsCommand)
|
|
1224
|
+
.build() {
|
|
1225
|
+
}
|
|
1452
1226
|
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
(
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
}
|
|
1227
|
+
class PutMaintenanceStartTimeCommand extends smithyClient.Command
|
|
1228
|
+
.classBuilder()
|
|
1229
|
+
.ep(commonParams)
|
|
1230
|
+
.m(function (Command, cs, config, o) {
|
|
1231
|
+
return [
|
|
1232
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1233
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1234
|
+
];
|
|
1235
|
+
})
|
|
1236
|
+
.s("BackupOnPremises_v20210101", "PutMaintenanceStartTime", {})
|
|
1237
|
+
.n("BackupGatewayClient", "PutMaintenanceStartTimeCommand")
|
|
1238
|
+
.f(void 0, void 0)
|
|
1239
|
+
.ser(se_PutMaintenanceStartTimeCommand)
|
|
1240
|
+
.de(de_PutMaintenanceStartTimeCommand)
|
|
1241
|
+
.build() {
|
|
1242
|
+
}
|
|
1463
1243
|
|
|
1464
|
-
|
|
1244
|
+
class StartVirtualMachinesMetadataSyncCommand extends smithyClient.Command
|
|
1245
|
+
.classBuilder()
|
|
1246
|
+
.ep(commonParams)
|
|
1247
|
+
.m(function (Command, cs, config, o) {
|
|
1248
|
+
return [
|
|
1249
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1250
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1251
|
+
];
|
|
1252
|
+
})
|
|
1253
|
+
.s("BackupOnPremises_v20210101", "StartVirtualMachinesMetadataSync", {})
|
|
1254
|
+
.n("BackupGatewayClient", "StartVirtualMachinesMetadataSyncCommand")
|
|
1255
|
+
.f(void 0, void 0)
|
|
1256
|
+
.ser(se_StartVirtualMachinesMetadataSyncCommand)
|
|
1257
|
+
.de(de_StartVirtualMachinesMetadataSyncCommand)
|
|
1258
|
+
.build() {
|
|
1259
|
+
}
|
|
1465
1260
|
|
|
1261
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1262
|
+
.classBuilder()
|
|
1263
|
+
.ep(commonParams)
|
|
1264
|
+
.m(function (Command, cs, config, o) {
|
|
1265
|
+
return [
|
|
1266
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1267
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1268
|
+
];
|
|
1269
|
+
})
|
|
1270
|
+
.s("BackupOnPremises_v20210101", "TagResource", {})
|
|
1271
|
+
.n("BackupGatewayClient", "TagResourceCommand")
|
|
1272
|
+
.f(void 0, void 0)
|
|
1273
|
+
.ser(se_TagResourceCommand)
|
|
1274
|
+
.de(de_TagResourceCommand)
|
|
1275
|
+
.build() {
|
|
1276
|
+
}
|
|
1466
1277
|
|
|
1278
|
+
class TestHypervisorConfigurationCommand extends smithyClient.Command
|
|
1279
|
+
.classBuilder()
|
|
1280
|
+
.ep(commonParams)
|
|
1281
|
+
.m(function (Command, cs, config, o) {
|
|
1282
|
+
return [
|
|
1283
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1284
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1285
|
+
];
|
|
1286
|
+
})
|
|
1287
|
+
.s("BackupOnPremises_v20210101", "TestHypervisorConfiguration", {})
|
|
1288
|
+
.n("BackupGatewayClient", "TestHypervisorConfigurationCommand")
|
|
1289
|
+
.f(TestHypervisorConfigurationInputFilterSensitiveLog, void 0)
|
|
1290
|
+
.ser(se_TestHypervisorConfigurationCommand)
|
|
1291
|
+
.de(de_TestHypervisorConfigurationCommand)
|
|
1292
|
+
.build() {
|
|
1293
|
+
}
|
|
1467
1294
|
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
(
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
}
|
|
1295
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1296
|
+
.classBuilder()
|
|
1297
|
+
.ep(commonParams)
|
|
1298
|
+
.m(function (Command, cs, config, o) {
|
|
1299
|
+
return [
|
|
1300
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1301
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1302
|
+
];
|
|
1303
|
+
})
|
|
1304
|
+
.s("BackupOnPremises_v20210101", "UntagResource", {})
|
|
1305
|
+
.n("BackupGatewayClient", "UntagResourceCommand")
|
|
1306
|
+
.f(void 0, void 0)
|
|
1307
|
+
.ser(se_UntagResourceCommand)
|
|
1308
|
+
.de(de_UntagResourceCommand)
|
|
1309
|
+
.build() {
|
|
1310
|
+
}
|
|
1478
1311
|
|
|
1479
|
-
|
|
1312
|
+
class UpdateGatewayInformationCommand extends smithyClient.Command
|
|
1313
|
+
.classBuilder()
|
|
1314
|
+
.ep(commonParams)
|
|
1315
|
+
.m(function (Command, cs, config, o) {
|
|
1316
|
+
return [
|
|
1317
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1318
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1319
|
+
];
|
|
1320
|
+
})
|
|
1321
|
+
.s("BackupOnPremises_v20210101", "UpdateGatewayInformation", {})
|
|
1322
|
+
.n("BackupGatewayClient", "UpdateGatewayInformationCommand")
|
|
1323
|
+
.f(void 0, void 0)
|
|
1324
|
+
.ser(se_UpdateGatewayInformationCommand)
|
|
1325
|
+
.de(de_UpdateGatewayInformationCommand)
|
|
1326
|
+
.build() {
|
|
1327
|
+
}
|
|
1480
1328
|
|
|
1329
|
+
class UpdateGatewaySoftwareNowCommand extends smithyClient.Command
|
|
1330
|
+
.classBuilder()
|
|
1331
|
+
.ep(commonParams)
|
|
1332
|
+
.m(function (Command, cs, config, o) {
|
|
1333
|
+
return [
|
|
1334
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1335
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1336
|
+
];
|
|
1337
|
+
})
|
|
1338
|
+
.s("BackupOnPremises_v20210101", "UpdateGatewaySoftwareNow", {})
|
|
1339
|
+
.n("BackupGatewayClient", "UpdateGatewaySoftwareNowCommand")
|
|
1340
|
+
.f(void 0, void 0)
|
|
1341
|
+
.ser(se_UpdateGatewaySoftwareNowCommand)
|
|
1342
|
+
.de(de_UpdateGatewaySoftwareNowCommand)
|
|
1343
|
+
.build() {
|
|
1344
|
+
}
|
|
1481
1345
|
|
|
1346
|
+
class UpdateHypervisorCommand extends smithyClient.Command
|
|
1347
|
+
.classBuilder()
|
|
1348
|
+
.ep(commonParams)
|
|
1349
|
+
.m(function (Command, cs, config, o) {
|
|
1350
|
+
return [
|
|
1351
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1352
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1353
|
+
];
|
|
1354
|
+
})
|
|
1355
|
+
.s("BackupOnPremises_v20210101", "UpdateHypervisor", {})
|
|
1356
|
+
.n("BackupGatewayClient", "UpdateHypervisorCommand")
|
|
1357
|
+
.f(UpdateHypervisorInputFilterSensitiveLog, void 0)
|
|
1358
|
+
.ser(se_UpdateHypervisorCommand)
|
|
1359
|
+
.de(de_UpdateHypervisorCommand)
|
|
1360
|
+
.build() {
|
|
1361
|
+
}
|
|
1482
1362
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1363
|
+
const commands = {
|
|
1364
|
+
AssociateGatewayToServerCommand,
|
|
1365
|
+
CreateGatewayCommand,
|
|
1366
|
+
DeleteGatewayCommand,
|
|
1367
|
+
DeleteHypervisorCommand,
|
|
1368
|
+
DisassociateGatewayFromServerCommand,
|
|
1369
|
+
GetBandwidthRateLimitScheduleCommand,
|
|
1370
|
+
GetGatewayCommand,
|
|
1371
|
+
GetHypervisorCommand,
|
|
1372
|
+
GetHypervisorPropertyMappingsCommand,
|
|
1373
|
+
GetVirtualMachineCommand,
|
|
1374
|
+
ImportHypervisorConfigurationCommand,
|
|
1375
|
+
ListGatewaysCommand,
|
|
1376
|
+
ListHypervisorsCommand,
|
|
1377
|
+
ListTagsForResourceCommand,
|
|
1378
|
+
ListVirtualMachinesCommand,
|
|
1379
|
+
PutBandwidthRateLimitScheduleCommand,
|
|
1380
|
+
PutHypervisorPropertyMappingsCommand,
|
|
1381
|
+
PutMaintenanceStartTimeCommand,
|
|
1382
|
+
StartVirtualMachinesMetadataSyncCommand,
|
|
1383
|
+
TagResourceCommand,
|
|
1384
|
+
TestHypervisorConfigurationCommand,
|
|
1385
|
+
UntagResourceCommand,
|
|
1386
|
+
UpdateGatewayInformationCommand,
|
|
1387
|
+
UpdateGatewaySoftwareNowCommand,
|
|
1388
|
+
UpdateHypervisorCommand,
|
|
1492
1389
|
};
|
|
1390
|
+
class BackupGateway extends BackupGatewayClient {
|
|
1391
|
+
}
|
|
1392
|
+
smithyClient.createAggregatedClient(commands, BackupGateway);
|
|
1493
1393
|
|
|
1494
|
-
|
|
1495
|
-
var commands = {
|
|
1496
|
-
AssociateGatewayToServerCommand,
|
|
1497
|
-
CreateGatewayCommand,
|
|
1498
|
-
DeleteGatewayCommand,
|
|
1499
|
-
DeleteHypervisorCommand,
|
|
1500
|
-
DisassociateGatewayFromServerCommand,
|
|
1501
|
-
GetBandwidthRateLimitScheduleCommand,
|
|
1502
|
-
GetGatewayCommand,
|
|
1503
|
-
GetHypervisorCommand,
|
|
1504
|
-
GetHypervisorPropertyMappingsCommand,
|
|
1505
|
-
GetVirtualMachineCommand,
|
|
1506
|
-
ImportHypervisorConfigurationCommand,
|
|
1507
|
-
ListGatewaysCommand,
|
|
1508
|
-
ListHypervisorsCommand,
|
|
1509
|
-
ListTagsForResourceCommand,
|
|
1510
|
-
ListVirtualMachinesCommand,
|
|
1511
|
-
PutBandwidthRateLimitScheduleCommand,
|
|
1512
|
-
PutHypervisorPropertyMappingsCommand,
|
|
1513
|
-
PutMaintenanceStartTimeCommand,
|
|
1514
|
-
StartVirtualMachinesMetadataSyncCommand,
|
|
1515
|
-
TagResourceCommand,
|
|
1516
|
-
TestHypervisorConfigurationCommand,
|
|
1517
|
-
UntagResourceCommand,
|
|
1518
|
-
UpdateGatewayInformationCommand,
|
|
1519
|
-
UpdateGatewaySoftwareNowCommand,
|
|
1520
|
-
UpdateHypervisorCommand
|
|
1521
|
-
};
|
|
1522
|
-
var BackupGateway = class extends BackupGatewayClient {
|
|
1523
|
-
static {
|
|
1524
|
-
__name(this, "BackupGateway");
|
|
1525
|
-
}
|
|
1526
|
-
};
|
|
1527
|
-
(0, import_smithy_client.createAggregatedClient)(commands, BackupGateway);
|
|
1528
|
-
|
|
1529
|
-
// src/pagination/ListGatewaysPaginator.ts
|
|
1530
|
-
|
|
1531
|
-
var paginateListGateways = (0, import_core.createPaginator)(BackupGatewayClient, ListGatewaysCommand, "NextToken", "NextToken", "MaxResults");
|
|
1532
|
-
|
|
1533
|
-
// src/pagination/ListHypervisorsPaginator.ts
|
|
1534
|
-
|
|
1535
|
-
var paginateListHypervisors = (0, import_core.createPaginator)(BackupGatewayClient, ListHypervisorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1394
|
+
const paginateListGateways = core.createPaginator(BackupGatewayClient, ListGatewaysCommand, "NextToken", "NextToken", "MaxResults");
|
|
1536
1395
|
|
|
1537
|
-
|
|
1396
|
+
const paginateListHypervisors = core.createPaginator(BackupGatewayClient, ListHypervisorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1538
1397
|
|
|
1539
|
-
|
|
1540
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1398
|
+
const paginateListVirtualMachines = core.createPaginator(BackupGatewayClient, ListVirtualMachinesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1541
1399
|
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
BackupGatewayClient,
|
|
1546
|
-
BackupGateway,
|
|
1547
|
-
$Command,
|
|
1548
|
-
AssociateGatewayToServerCommand,
|
|
1549
|
-
CreateGatewayCommand,
|
|
1550
|
-
DeleteGatewayCommand,
|
|
1551
|
-
DeleteHypervisorCommand,
|
|
1552
|
-
DisassociateGatewayFromServerCommand,
|
|
1553
|
-
GetBandwidthRateLimitScheduleCommand,
|
|
1554
|
-
GetGatewayCommand,
|
|
1555
|
-
GetHypervisorCommand,
|
|
1556
|
-
GetHypervisorPropertyMappingsCommand,
|
|
1557
|
-
GetVirtualMachineCommand,
|
|
1558
|
-
ImportHypervisorConfigurationCommand,
|
|
1559
|
-
ListGatewaysCommand,
|
|
1560
|
-
ListHypervisorsCommand,
|
|
1561
|
-
ListTagsForResourceCommand,
|
|
1562
|
-
ListVirtualMachinesCommand,
|
|
1563
|
-
PutBandwidthRateLimitScheduleCommand,
|
|
1564
|
-
PutHypervisorPropertyMappingsCommand,
|
|
1565
|
-
PutMaintenanceStartTimeCommand,
|
|
1566
|
-
StartVirtualMachinesMetadataSyncCommand,
|
|
1567
|
-
TagResourceCommand,
|
|
1568
|
-
TestHypervisorConfigurationCommand,
|
|
1569
|
-
UntagResourceCommand,
|
|
1570
|
-
UpdateGatewayInformationCommand,
|
|
1571
|
-
UpdateGatewaySoftwareNowCommand,
|
|
1572
|
-
UpdateHypervisorCommand,
|
|
1573
|
-
paginateListGateways,
|
|
1574
|
-
paginateListHypervisors,
|
|
1575
|
-
paginateListVirtualMachines,
|
|
1576
|
-
AccessDeniedException,
|
|
1577
|
-
ConflictException,
|
|
1578
|
-
InternalServerException,
|
|
1579
|
-
ThrottlingException,
|
|
1580
|
-
ValidationException,
|
|
1581
|
-
ResourceNotFoundException,
|
|
1582
|
-
GatewayType,
|
|
1583
|
-
SyncMetadataStatus,
|
|
1584
|
-
HypervisorState,
|
|
1585
|
-
TestHypervisorConfigurationInputFilterSensitiveLog,
|
|
1586
|
-
ImportHypervisorConfigurationInputFilterSensitiveLog,
|
|
1587
|
-
UpdateHypervisorInputFilterSensitiveLog
|
|
1400
|
+
Object.defineProperty(exports, "$Command", {
|
|
1401
|
+
enumerable: true,
|
|
1402
|
+
get: function () { return smithyClient.Command; }
|
|
1588
1403
|
});
|
|
1589
|
-
|
|
1404
|
+
Object.defineProperty(exports, "__Client", {
|
|
1405
|
+
enumerable: true,
|
|
1406
|
+
get: function () { return smithyClient.Client; }
|
|
1407
|
+
});
|
|
1408
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1409
|
+
exports.AssociateGatewayToServerCommand = AssociateGatewayToServerCommand;
|
|
1410
|
+
exports.BackupGateway = BackupGateway;
|
|
1411
|
+
exports.BackupGatewayClient = BackupGatewayClient;
|
|
1412
|
+
exports.BackupGatewayServiceException = BackupGatewayServiceException;
|
|
1413
|
+
exports.ConflictException = ConflictException;
|
|
1414
|
+
exports.CreateGatewayCommand = CreateGatewayCommand;
|
|
1415
|
+
exports.DeleteGatewayCommand = DeleteGatewayCommand;
|
|
1416
|
+
exports.DeleteHypervisorCommand = DeleteHypervisorCommand;
|
|
1417
|
+
exports.DisassociateGatewayFromServerCommand = DisassociateGatewayFromServerCommand;
|
|
1418
|
+
exports.GatewayType = GatewayType;
|
|
1419
|
+
exports.GetBandwidthRateLimitScheduleCommand = GetBandwidthRateLimitScheduleCommand;
|
|
1420
|
+
exports.GetGatewayCommand = GetGatewayCommand;
|
|
1421
|
+
exports.GetHypervisorCommand = GetHypervisorCommand;
|
|
1422
|
+
exports.GetHypervisorPropertyMappingsCommand = GetHypervisorPropertyMappingsCommand;
|
|
1423
|
+
exports.GetVirtualMachineCommand = GetVirtualMachineCommand;
|
|
1424
|
+
exports.HypervisorState = HypervisorState;
|
|
1425
|
+
exports.ImportHypervisorConfigurationCommand = ImportHypervisorConfigurationCommand;
|
|
1426
|
+
exports.ImportHypervisorConfigurationInputFilterSensitiveLog = ImportHypervisorConfigurationInputFilterSensitiveLog;
|
|
1427
|
+
exports.InternalServerException = InternalServerException;
|
|
1428
|
+
exports.ListGatewaysCommand = ListGatewaysCommand;
|
|
1429
|
+
exports.ListHypervisorsCommand = ListHypervisorsCommand;
|
|
1430
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1431
|
+
exports.ListVirtualMachinesCommand = ListVirtualMachinesCommand;
|
|
1432
|
+
exports.PutBandwidthRateLimitScheduleCommand = PutBandwidthRateLimitScheduleCommand;
|
|
1433
|
+
exports.PutHypervisorPropertyMappingsCommand = PutHypervisorPropertyMappingsCommand;
|
|
1434
|
+
exports.PutMaintenanceStartTimeCommand = PutMaintenanceStartTimeCommand;
|
|
1435
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1436
|
+
exports.StartVirtualMachinesMetadataSyncCommand = StartVirtualMachinesMetadataSyncCommand;
|
|
1437
|
+
exports.SyncMetadataStatus = SyncMetadataStatus;
|
|
1438
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1439
|
+
exports.TestHypervisorConfigurationCommand = TestHypervisorConfigurationCommand;
|
|
1440
|
+
exports.TestHypervisorConfigurationInputFilterSensitiveLog = TestHypervisorConfigurationInputFilterSensitiveLog;
|
|
1441
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1442
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1443
|
+
exports.UpdateGatewayInformationCommand = UpdateGatewayInformationCommand;
|
|
1444
|
+
exports.UpdateGatewaySoftwareNowCommand = UpdateGatewaySoftwareNowCommand;
|
|
1445
|
+
exports.UpdateHypervisorCommand = UpdateHypervisorCommand;
|
|
1446
|
+
exports.UpdateHypervisorInputFilterSensitiveLog = UpdateHypervisorInputFilterSensitiveLog;
|
|
1447
|
+
exports.ValidationException = ValidationException;
|
|
1448
|
+
exports.paginateListGateways = paginateListGateways;
|
|
1449
|
+
exports.paginateListHypervisors = paginateListHypervisors;
|
|
1450
|
+
exports.paginateListVirtualMachines = paginateListVirtualMachines;
|