@aws-sdk/client-application-discovery-service 3.901.0 → 3.906.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 +1770 -1934
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,2014 +1,1850 @@
|
|
|
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
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
BatchDeleteConfigurationTaskStatus: () => BatchDeleteConfigurationTaskStatus,
|
|
34
|
-
BatchDeleteImportDataCommand: () => BatchDeleteImportDataCommand,
|
|
35
|
-
BatchDeleteImportDataErrorCode: () => BatchDeleteImportDataErrorCode,
|
|
36
|
-
ConfigurationItemType: () => ConfigurationItemType,
|
|
37
|
-
ConflictErrorException: () => ConflictErrorException,
|
|
38
|
-
ContinuousExportStatus: () => ContinuousExportStatus,
|
|
39
|
-
CreateApplicationCommand: () => CreateApplicationCommand,
|
|
40
|
-
CreateTagsCommand: () => CreateTagsCommand,
|
|
41
|
-
DataSource: () => DataSource,
|
|
42
|
-
DeleteAgentErrorCode: () => DeleteAgentErrorCode,
|
|
43
|
-
DeleteApplicationsCommand: () => DeleteApplicationsCommand,
|
|
44
|
-
DeleteTagsCommand: () => DeleteTagsCommand,
|
|
45
|
-
DeletionConfigurationItemType: () => DeletionConfigurationItemType,
|
|
46
|
-
DescribeAgentsCommand: () => DescribeAgentsCommand,
|
|
47
|
-
DescribeAgentsResponseFilterSensitiveLog: () => DescribeAgentsResponseFilterSensitiveLog,
|
|
48
|
-
DescribeBatchDeleteConfigurationTaskCommand: () => DescribeBatchDeleteConfigurationTaskCommand,
|
|
49
|
-
DescribeConfigurationsCommand: () => DescribeConfigurationsCommand,
|
|
50
|
-
DescribeContinuousExportsCommand: () => DescribeContinuousExportsCommand,
|
|
51
|
-
DescribeExportConfigurationsCommand: () => DescribeExportConfigurationsCommand,
|
|
52
|
-
DescribeExportTasksCommand: () => DescribeExportTasksCommand,
|
|
53
|
-
DescribeImportTasksCommand: () => DescribeImportTasksCommand,
|
|
54
|
-
DescribeTagsCommand: () => DescribeTagsCommand,
|
|
55
|
-
DisassociateConfigurationItemsFromApplicationCommand: () => DisassociateConfigurationItemsFromApplicationCommand,
|
|
56
|
-
ExportConfigurationsCommand: () => ExportConfigurationsCommand,
|
|
57
|
-
ExportDataFormat: () => ExportDataFormat,
|
|
58
|
-
ExportPreferences: () => ExportPreferences,
|
|
59
|
-
ExportStatus: () => ExportStatus,
|
|
60
|
-
FileClassification: () => FileClassification,
|
|
61
|
-
GetDiscoverySummaryCommand: () => GetDiscoverySummaryCommand,
|
|
62
|
-
HomeRegionNotSetException: () => HomeRegionNotSetException,
|
|
63
|
-
ImportStatus: () => ImportStatus,
|
|
64
|
-
ImportTaskFilterName: () => ImportTaskFilterName,
|
|
65
|
-
InvalidParameterException: () => InvalidParameterException,
|
|
66
|
-
InvalidParameterValueException: () => InvalidParameterValueException,
|
|
67
|
-
LimitExceededException: () => LimitExceededException,
|
|
68
|
-
ListConfigurationsCommand: () => ListConfigurationsCommand,
|
|
69
|
-
ListServerNeighborsCommand: () => ListServerNeighborsCommand,
|
|
70
|
-
OfferingClass: () => OfferingClass,
|
|
71
|
-
OperationNotPermittedException: () => OperationNotPermittedException,
|
|
72
|
-
OrderString: () => OrderString,
|
|
73
|
-
PurchasingOption: () => PurchasingOption,
|
|
74
|
-
ResourceInUseException: () => ResourceInUseException,
|
|
75
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
|
-
ServerInternalErrorException: () => ServerInternalErrorException,
|
|
77
|
-
StartBatchDeleteConfigurationTaskCommand: () => StartBatchDeleteConfigurationTaskCommand,
|
|
78
|
-
StartContinuousExportCommand: () => StartContinuousExportCommand,
|
|
79
|
-
StartDataCollectionByAgentIdsCommand: () => StartDataCollectionByAgentIdsCommand,
|
|
80
|
-
StartExportTaskCommand: () => StartExportTaskCommand,
|
|
81
|
-
StartImportTaskCommand: () => StartImportTaskCommand,
|
|
82
|
-
StopContinuousExportCommand: () => StopContinuousExportCommand,
|
|
83
|
-
StopDataCollectionByAgentIdsCommand: () => StopDataCollectionByAgentIdsCommand,
|
|
84
|
-
Tenancy: () => Tenancy,
|
|
85
|
-
TermLength: () => TermLength,
|
|
86
|
-
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
87
|
-
__Client: () => import_smithy_client.Client,
|
|
88
|
-
paginateDescribeAgents: () => paginateDescribeAgents,
|
|
89
|
-
paginateDescribeContinuousExports: () => paginateDescribeContinuousExports,
|
|
90
|
-
paginateDescribeExportConfigurations: () => paginateDescribeExportConfigurations,
|
|
91
|
-
paginateDescribeExportTasks: () => paginateDescribeExportTasks,
|
|
92
|
-
paginateDescribeImportTasks: () => paginateDescribeImportTasks,
|
|
93
|
-
paginateDescribeTags: () => paginateDescribeTags,
|
|
94
|
-
paginateListConfigurations: () => paginateListConfigurations
|
|
95
|
-
});
|
|
96
|
-
module.exports = __toCommonJS(index_exports);
|
|
97
|
-
|
|
98
|
-
// src/ApplicationDiscoveryServiceClient.ts
|
|
99
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
100
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
101
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
102
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
103
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
104
|
-
var import_core = require("@smithy/core");
|
|
105
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
106
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
107
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
108
|
-
|
|
109
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
110
|
-
|
|
111
|
-
// src/endpoint/EndpointParameters.ts
|
|
112
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
113
|
-
return Object.assign(options, {
|
|
114
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
115
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
116
|
-
defaultSigningName: "discovery"
|
|
117
|
-
});
|
|
118
|
-
}, "resolveClientEndpointParameters");
|
|
119
|
-
var commonParams = {
|
|
120
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
121
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
122
|
-
Region: { type: "builtInParams", name: "region" },
|
|
123
|
-
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
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "discovery",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
124
33
|
};
|
|
125
34
|
|
|
126
|
-
|
|
127
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
128
73
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
133
79
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
80
|
+
class ApplicationDiscoveryServiceClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultApplicationDiscoveryServiceHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
162
108
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
168
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
169
|
-
credentials: config.credentials()
|
|
170
|
-
};
|
|
171
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
172
113
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
180
|
-
);
|
|
181
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
182
|
-
return Object.assign(
|
|
183
|
-
runtimeConfig,
|
|
184
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
185
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
186
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
187
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
188
|
-
);
|
|
189
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class ApplicationDiscoveryServiceServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, ApplicationDiscoveryServiceServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
190
120
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
*/
|
|
199
|
-
config;
|
|
200
|
-
constructor(...[configuration]) {
|
|
201
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
202
|
-
super(_config_0);
|
|
203
|
-
this.initConfig = _config_0;
|
|
204
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
205
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
206
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
207
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
208
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
209
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
210
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
211
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
212
|
-
this.config = _config_8;
|
|
213
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
214
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
217
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
218
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
219
|
-
this.middlewareStack.use(
|
|
220
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
221
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultApplicationDiscoveryServiceHttpAuthSchemeParametersProvider,
|
|
222
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
223
|
-
"aws.auth#sigv4": config.credentials
|
|
224
|
-
}), "identityProviderConfigProvider")
|
|
225
|
-
})
|
|
226
|
-
);
|
|
227
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
231
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
232
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
233
|
-
*/
|
|
234
|
-
destroy() {
|
|
235
|
-
super.destroy();
|
|
236
|
-
}
|
|
121
|
+
const AgentStatus = {
|
|
122
|
+
BLACKLISTED: "BLACKLISTED",
|
|
123
|
+
HEALTHY: "HEALTHY",
|
|
124
|
+
RUNNING: "RUNNING",
|
|
125
|
+
SHUTDOWN: "SHUTDOWN",
|
|
126
|
+
UNHEALTHY: "UNHEALTHY",
|
|
127
|
+
UNKNOWN: "UNKNOWN",
|
|
237
128
|
};
|
|
238
|
-
|
|
239
|
-
|
|
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
|
-
|
|
129
|
+
class AuthorizationErrorException extends ApplicationDiscoveryServiceServiceException {
|
|
130
|
+
name = "AuthorizationErrorException";
|
|
131
|
+
$fault = "client";
|
|
132
|
+
constructor(opts) {
|
|
133
|
+
super({
|
|
134
|
+
name: "AuthorizationErrorException",
|
|
135
|
+
$fault: "client",
|
|
136
|
+
...opts,
|
|
137
|
+
});
|
|
138
|
+
Object.setPrototypeOf(this, AuthorizationErrorException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
class HomeRegionNotSetException extends ApplicationDiscoveryServiceServiceException {
|
|
142
|
+
name = "HomeRegionNotSetException";
|
|
143
|
+
$fault = "client";
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "HomeRegionNotSetException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, HomeRegionNotSetException.prototype);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class InvalidParameterException extends ApplicationDiscoveryServiceServiceException {
|
|
154
|
+
name = "InvalidParameterException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "InvalidParameterException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
class InvalidParameterValueException extends ApplicationDiscoveryServiceServiceException {
|
|
166
|
+
name = "InvalidParameterValueException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "InvalidParameterValueException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
class ServerInternalErrorException extends ApplicationDiscoveryServiceServiceException {
|
|
178
|
+
name = "ServerInternalErrorException";
|
|
179
|
+
$fault = "server";
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "ServerInternalErrorException",
|
|
183
|
+
$fault: "server",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, ServerInternalErrorException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
const DeleteAgentErrorCode = {
|
|
190
|
+
AGENT_IN_USE: "AGENT_IN_USE",
|
|
191
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
192
|
+
NOT_FOUND: "NOT_FOUND",
|
|
266
193
|
};
|
|
194
|
+
const BatchDeleteImportDataErrorCode = {
|
|
195
|
+
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
196
|
+
NOT_FOUND: "NOT_FOUND",
|
|
197
|
+
OVER_LIMIT: "OVER_LIMIT",
|
|
198
|
+
};
|
|
199
|
+
class ResourceNotFoundException extends ApplicationDiscoveryServiceServiceException {
|
|
200
|
+
name = "ResourceNotFoundException";
|
|
201
|
+
$fault = "client";
|
|
202
|
+
constructor(opts) {
|
|
203
|
+
super({
|
|
204
|
+
name: "ResourceNotFoundException",
|
|
205
|
+
$fault: "client",
|
|
206
|
+
...opts,
|
|
207
|
+
});
|
|
208
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
const DeletionConfigurationItemType = {
|
|
212
|
+
SERVER: "SERVER",
|
|
213
|
+
};
|
|
214
|
+
const BatchDeleteConfigurationTaskStatus = {
|
|
215
|
+
COMPLETED: "COMPLETED",
|
|
216
|
+
DELETING: "DELETING",
|
|
217
|
+
FAILED: "FAILED",
|
|
218
|
+
INITIALIZING: "INITIALIZING",
|
|
219
|
+
VALIDATING: "VALIDATING",
|
|
220
|
+
};
|
|
221
|
+
const DataSource = {
|
|
222
|
+
AGENT: "AGENT",
|
|
223
|
+
};
|
|
224
|
+
const ContinuousExportStatus = {
|
|
225
|
+
ACTIVE: "ACTIVE",
|
|
226
|
+
ERROR: "ERROR",
|
|
227
|
+
INACTIVE: "INACTIVE",
|
|
228
|
+
START_FAILED: "START_FAILED",
|
|
229
|
+
START_IN_PROGRESS: "START_IN_PROGRESS",
|
|
230
|
+
STOP_FAILED: "STOP_FAILED",
|
|
231
|
+
STOP_IN_PROGRESS: "STOP_IN_PROGRESS",
|
|
232
|
+
};
|
|
233
|
+
class OperationNotPermittedException extends ApplicationDiscoveryServiceServiceException {
|
|
234
|
+
name = "OperationNotPermittedException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
constructor(opts) {
|
|
237
|
+
super({
|
|
238
|
+
name: "OperationNotPermittedException",
|
|
239
|
+
$fault: "client",
|
|
240
|
+
...opts,
|
|
241
|
+
});
|
|
242
|
+
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
const ExportStatus = {
|
|
246
|
+
FAILED: "FAILED",
|
|
247
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
248
|
+
SUCCEEDED: "SUCCEEDED",
|
|
249
|
+
};
|
|
250
|
+
const ImportTaskFilterName = {
|
|
251
|
+
FILE_CLASSIFICATION: "FILE_CLASSIFICATION",
|
|
252
|
+
IMPORT_TASK_ID: "IMPORT_TASK_ID",
|
|
253
|
+
NAME: "NAME",
|
|
254
|
+
STATUS: "STATUS",
|
|
255
|
+
};
|
|
256
|
+
const FileClassification = {
|
|
257
|
+
IMPORT_TEMPLATE: "IMPORT_TEMPLATE",
|
|
258
|
+
MODELIZEIT_EXPORT: "MODELIZEIT_EXPORT",
|
|
259
|
+
RVTOOLS_EXPORT: "RVTOOLS_EXPORT",
|
|
260
|
+
VMWARE_NSX_EXPORT: "VMWARE_NSX_EXPORT",
|
|
261
|
+
};
|
|
262
|
+
const ImportStatus = {
|
|
263
|
+
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
264
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
265
|
+
DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED",
|
|
266
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
267
|
+
IMPORT_COMPLETE: "IMPORT_COMPLETE",
|
|
268
|
+
IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS",
|
|
269
|
+
IMPORT_FAILED: "IMPORT_FAILED",
|
|
270
|
+
IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
|
|
271
|
+
IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
|
|
272
|
+
IMPORT_FAILED_UNSUPPORTED_FILE_TYPE: "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE",
|
|
273
|
+
IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
|
|
274
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
275
|
+
};
|
|
276
|
+
const ConfigurationItemType = {
|
|
277
|
+
APPLICATION: "APPLICATION",
|
|
278
|
+
CONNECTIONS: "CONNECTION",
|
|
279
|
+
PROCESS: "PROCESS",
|
|
280
|
+
SERVER: "SERVER",
|
|
281
|
+
};
|
|
282
|
+
const OrderString = {
|
|
283
|
+
ASC: "ASC",
|
|
284
|
+
DESC: "DESC",
|
|
285
|
+
};
|
|
286
|
+
class LimitExceededException extends ApplicationDiscoveryServiceServiceException {
|
|
287
|
+
name = "LimitExceededException";
|
|
288
|
+
$fault = "client";
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "LimitExceededException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
class ConflictErrorException extends ApplicationDiscoveryServiceServiceException {
|
|
299
|
+
name = "ConflictErrorException";
|
|
300
|
+
$fault = "client";
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "ConflictErrorException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
Object.setPrototypeOf(this, ConflictErrorException.prototype);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
class ResourceInUseException extends ApplicationDiscoveryServiceServiceException {
|
|
311
|
+
name = "ResourceInUseException";
|
|
312
|
+
$fault = "client";
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "ResourceInUseException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
const ExportDataFormat = {
|
|
323
|
+
CSV: "CSV",
|
|
324
|
+
};
|
|
325
|
+
const OfferingClass = {
|
|
326
|
+
CONVERTIBLE: "CONVERTIBLE",
|
|
327
|
+
STANDARD: "STANDARD",
|
|
328
|
+
};
|
|
329
|
+
const PurchasingOption = {
|
|
330
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
331
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
332
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
|
|
333
|
+
};
|
|
334
|
+
const TermLength = {
|
|
335
|
+
ONE_YEAR: "ONE_YEAR",
|
|
336
|
+
THREE_YEAR: "THREE_YEAR",
|
|
337
|
+
};
|
|
338
|
+
const Tenancy = {
|
|
339
|
+
DEDICATED: "DEDICATED",
|
|
340
|
+
SHARED: "SHARED",
|
|
341
|
+
};
|
|
342
|
+
exports.ExportPreferences = void 0;
|
|
343
|
+
(function (ExportPreferences) {
|
|
344
|
+
ExportPreferences.visit = (value, visitor) => {
|
|
345
|
+
if (value.ec2RecommendationsPreferences !== undefined)
|
|
346
|
+
return visitor.ec2RecommendationsPreferences(value.ec2RecommendationsPreferences);
|
|
347
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
348
|
+
};
|
|
349
|
+
})(exports.ExportPreferences || (exports.ExportPreferences = {}));
|
|
350
|
+
const AgentNetworkInfoFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
});
|
|
353
|
+
const AgentInfoFilterSensitiveLog = (obj) => ({
|
|
354
|
+
...obj,
|
|
355
|
+
...(obj.agentNetworkInfoList && { agentNetworkInfoList: smithyClient.SENSITIVE_STRING }),
|
|
356
|
+
});
|
|
357
|
+
const DescribeAgentsResponseFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
...(obj.agentsInfo && { agentsInfo: obj.agentsInfo.map((item) => AgentInfoFilterSensitiveLog(item)) }),
|
|
360
|
+
});
|
|
267
361
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
362
|
+
const se_AssociateConfigurationItemsToApplicationCommand = async (input, context) => {
|
|
363
|
+
const headers = sharedHeaders("AssociateConfigurationItemsToApplication");
|
|
364
|
+
let body;
|
|
365
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
366
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
367
|
+
};
|
|
368
|
+
const se_BatchDeleteAgentsCommand = async (input, context) => {
|
|
369
|
+
const headers = sharedHeaders("BatchDeleteAgents");
|
|
370
|
+
let body;
|
|
371
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
372
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
|
+
};
|
|
374
|
+
const se_BatchDeleteImportDataCommand = async (input, context) => {
|
|
375
|
+
const headers = sharedHeaders("BatchDeleteImportData");
|
|
376
|
+
let body;
|
|
377
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
378
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
|
+
};
|
|
380
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
381
|
+
const headers = sharedHeaders("CreateApplication");
|
|
382
|
+
let body;
|
|
383
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
384
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
|
+
};
|
|
386
|
+
const se_CreateTagsCommand = async (input, context) => {
|
|
387
|
+
const headers = sharedHeaders("CreateTags");
|
|
388
|
+
let body;
|
|
389
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
390
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
|
+
};
|
|
392
|
+
const se_DeleteApplicationsCommand = async (input, context) => {
|
|
393
|
+
const headers = sharedHeaders("DeleteApplications");
|
|
394
|
+
let body;
|
|
395
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
396
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
397
|
+
};
|
|
398
|
+
const se_DeleteTagsCommand = async (input, context) => {
|
|
399
|
+
const headers = sharedHeaders("DeleteTags");
|
|
400
|
+
let body;
|
|
401
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
402
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
403
|
+
};
|
|
404
|
+
const se_DescribeAgentsCommand = async (input, context) => {
|
|
405
|
+
const headers = sharedHeaders("DescribeAgents");
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
408
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
|
+
};
|
|
410
|
+
const se_DescribeBatchDeleteConfigurationTaskCommand = async (input, context) => {
|
|
411
|
+
const headers = sharedHeaders("DescribeBatchDeleteConfigurationTask");
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
414
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
|
+
};
|
|
416
|
+
const se_DescribeConfigurationsCommand = async (input, context) => {
|
|
417
|
+
const headers = sharedHeaders("DescribeConfigurations");
|
|
418
|
+
let body;
|
|
419
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
420
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
421
|
+
};
|
|
422
|
+
const se_DescribeContinuousExportsCommand = async (input, context) => {
|
|
423
|
+
const headers = sharedHeaders("DescribeContinuousExports");
|
|
424
|
+
let body;
|
|
425
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
426
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
|
+
};
|
|
428
|
+
const se_DescribeExportConfigurationsCommand = async (input, context) => {
|
|
429
|
+
const headers = sharedHeaders("DescribeExportConfigurations");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
432
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
433
|
+
};
|
|
434
|
+
const se_DescribeExportTasksCommand = async (input, context) => {
|
|
435
|
+
const headers = sharedHeaders("DescribeExportTasks");
|
|
436
|
+
let body;
|
|
437
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
438
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
439
|
+
};
|
|
440
|
+
const se_DescribeImportTasksCommand = async (input, context) => {
|
|
441
|
+
const headers = sharedHeaders("DescribeImportTasks");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
444
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
445
|
+
};
|
|
446
|
+
const se_DescribeTagsCommand = async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("DescribeTags");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
451
|
+
};
|
|
452
|
+
const se_DisassociateConfigurationItemsFromApplicationCommand = async (input, context) => {
|
|
453
|
+
const headers = sharedHeaders("DisassociateConfigurationItemsFromApplication");
|
|
454
|
+
let body;
|
|
455
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
456
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
|
+
};
|
|
458
|
+
const se_ExportConfigurationsCommand = async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("ExportConfigurations");
|
|
460
|
+
const body = "{}";
|
|
461
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
462
|
+
};
|
|
463
|
+
const se_GetDiscoverySummaryCommand = async (input, context) => {
|
|
464
|
+
const headers = sharedHeaders("GetDiscoverySummary");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
467
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
|
+
};
|
|
469
|
+
const se_ListConfigurationsCommand = async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("ListConfigurations");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
|
+
};
|
|
475
|
+
const se_ListServerNeighborsCommand = async (input, context) => {
|
|
476
|
+
const headers = sharedHeaders("ListServerNeighbors");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
479
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
|
+
};
|
|
481
|
+
const se_StartBatchDeleteConfigurationTaskCommand = async (input, context) => {
|
|
482
|
+
const headers = sharedHeaders("StartBatchDeleteConfigurationTask");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
485
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
486
|
+
};
|
|
487
|
+
const se_StartContinuousExportCommand = async (input, context) => {
|
|
488
|
+
const headers = sharedHeaders("StartContinuousExport");
|
|
489
|
+
let body;
|
|
490
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
491
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
|
+
};
|
|
493
|
+
const se_StartDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
494
|
+
const headers = sharedHeaders("StartDataCollectionByAgentIds");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
497
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
|
+
};
|
|
499
|
+
const se_StartExportTaskCommand = async (input, context) => {
|
|
500
|
+
const headers = sharedHeaders("StartExportTask");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify(se_StartExportTaskRequest(input));
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
504
|
+
};
|
|
505
|
+
const se_StartImportTaskCommand = async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("StartImportTask");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify(se_StartImportTaskRequest(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
|
+
};
|
|
511
|
+
const se_StopContinuousExportCommand = async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("StopContinuousExport");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
+
};
|
|
517
|
+
const se_StopDataCollectionByAgentIdsCommand = async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("StopDataCollectionByAgentIds");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
|
+
};
|
|
523
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("UpdateApplication");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
|
+
};
|
|
529
|
+
const de_AssociateConfigurationItemsToApplicationCommand = async (output, context) => {
|
|
530
|
+
if (output.statusCode >= 300) {
|
|
531
|
+
return de_CommandError(output, context);
|
|
532
|
+
}
|
|
533
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
534
|
+
let contents = {};
|
|
535
|
+
contents = smithyClient._json(data);
|
|
536
|
+
const response = {
|
|
537
|
+
$metadata: deserializeMetadata(output),
|
|
538
|
+
...contents,
|
|
539
|
+
};
|
|
540
|
+
return response;
|
|
541
|
+
};
|
|
542
|
+
const de_BatchDeleteAgentsCommand = async (output, context) => {
|
|
543
|
+
if (output.statusCode >= 300) {
|
|
544
|
+
return de_CommandError(output, context);
|
|
545
|
+
}
|
|
546
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
547
|
+
let contents = {};
|
|
548
|
+
contents = smithyClient._json(data);
|
|
549
|
+
const response = {
|
|
550
|
+
$metadata: deserializeMetadata(output),
|
|
551
|
+
...contents,
|
|
552
|
+
};
|
|
553
|
+
return response;
|
|
554
|
+
};
|
|
555
|
+
const de_BatchDeleteImportDataCommand = async (output, context) => {
|
|
556
|
+
if (output.statusCode >= 300) {
|
|
557
|
+
return de_CommandError(output, context);
|
|
558
|
+
}
|
|
559
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
560
|
+
let contents = {};
|
|
561
|
+
contents = smithyClient._json(data);
|
|
562
|
+
const response = {
|
|
563
|
+
$metadata: deserializeMetadata(output),
|
|
564
|
+
...contents,
|
|
565
|
+
};
|
|
566
|
+
return response;
|
|
567
|
+
};
|
|
568
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
569
|
+
if (output.statusCode >= 300) {
|
|
570
|
+
return de_CommandError(output, context);
|
|
571
|
+
}
|
|
572
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
573
|
+
let contents = {};
|
|
574
|
+
contents = smithyClient._json(data);
|
|
575
|
+
const response = {
|
|
576
|
+
$metadata: deserializeMetadata(output),
|
|
577
|
+
...contents,
|
|
578
|
+
};
|
|
579
|
+
return response;
|
|
580
|
+
};
|
|
581
|
+
const de_CreateTagsCommand = async (output, context) => {
|
|
582
|
+
if (output.statusCode >= 300) {
|
|
583
|
+
return de_CommandError(output, context);
|
|
584
|
+
}
|
|
585
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
586
|
+
let contents = {};
|
|
587
|
+
contents = smithyClient._json(data);
|
|
588
|
+
const response = {
|
|
589
|
+
$metadata: deserializeMetadata(output),
|
|
590
|
+
...contents,
|
|
591
|
+
};
|
|
592
|
+
return response;
|
|
593
|
+
};
|
|
594
|
+
const de_DeleteApplicationsCommand = async (output, context) => {
|
|
595
|
+
if (output.statusCode >= 300) {
|
|
596
|
+
return de_CommandError(output, context);
|
|
597
|
+
}
|
|
598
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
599
|
+
let contents = {};
|
|
600
|
+
contents = smithyClient._json(data);
|
|
601
|
+
const response = {
|
|
602
|
+
$metadata: deserializeMetadata(output),
|
|
603
|
+
...contents,
|
|
604
|
+
};
|
|
605
|
+
return response;
|
|
606
|
+
};
|
|
607
|
+
const de_DeleteTagsCommand = async (output, context) => {
|
|
608
|
+
if (output.statusCode >= 300) {
|
|
609
|
+
return de_CommandError(output, context);
|
|
610
|
+
}
|
|
611
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
612
|
+
let contents = {};
|
|
613
|
+
contents = smithyClient._json(data);
|
|
614
|
+
const response = {
|
|
615
|
+
$metadata: deserializeMetadata(output),
|
|
616
|
+
...contents,
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
};
|
|
620
|
+
const de_DescribeAgentsCommand = async (output, context) => {
|
|
621
|
+
if (output.statusCode >= 300) {
|
|
622
|
+
return de_CommandError(output, context);
|
|
623
|
+
}
|
|
624
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
625
|
+
let contents = {};
|
|
626
|
+
contents = smithyClient._json(data);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
...contents,
|
|
630
|
+
};
|
|
631
|
+
return response;
|
|
632
|
+
};
|
|
633
|
+
const de_DescribeBatchDeleteConfigurationTaskCommand = async (output, context) => {
|
|
634
|
+
if (output.statusCode >= 300) {
|
|
635
|
+
return de_CommandError(output, context);
|
|
636
|
+
}
|
|
637
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
638
|
+
let contents = {};
|
|
639
|
+
contents = de_DescribeBatchDeleteConfigurationTaskResponse(data);
|
|
640
|
+
const response = {
|
|
641
|
+
$metadata: deserializeMetadata(output),
|
|
642
|
+
...contents,
|
|
643
|
+
};
|
|
644
|
+
return response;
|
|
645
|
+
};
|
|
646
|
+
const de_DescribeConfigurationsCommand = async (output, context) => {
|
|
647
|
+
if (output.statusCode >= 300) {
|
|
648
|
+
return de_CommandError(output, context);
|
|
649
|
+
}
|
|
650
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
651
|
+
let contents = {};
|
|
652
|
+
contents = smithyClient._json(data);
|
|
653
|
+
const response = {
|
|
654
|
+
$metadata: deserializeMetadata(output),
|
|
655
|
+
...contents,
|
|
656
|
+
};
|
|
657
|
+
return response;
|
|
658
|
+
};
|
|
659
|
+
const de_DescribeContinuousExportsCommand = async (output, context) => {
|
|
660
|
+
if (output.statusCode >= 300) {
|
|
661
|
+
return de_CommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
664
|
+
let contents = {};
|
|
665
|
+
contents = de_DescribeContinuousExportsResponse(data);
|
|
666
|
+
const response = {
|
|
667
|
+
$metadata: deserializeMetadata(output),
|
|
668
|
+
...contents,
|
|
669
|
+
};
|
|
670
|
+
return response;
|
|
671
|
+
};
|
|
672
|
+
const de_DescribeExportConfigurationsCommand = async (output, context) => {
|
|
673
|
+
if (output.statusCode >= 300) {
|
|
674
|
+
return de_CommandError(output, context);
|
|
675
|
+
}
|
|
676
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
677
|
+
let contents = {};
|
|
678
|
+
contents = de_DescribeExportConfigurationsResponse(data);
|
|
679
|
+
const response = {
|
|
680
|
+
$metadata: deserializeMetadata(output),
|
|
681
|
+
...contents,
|
|
682
|
+
};
|
|
683
|
+
return response;
|
|
684
|
+
};
|
|
685
|
+
const de_DescribeExportTasksCommand = async (output, context) => {
|
|
686
|
+
if (output.statusCode >= 300) {
|
|
687
|
+
return de_CommandError(output, context);
|
|
688
|
+
}
|
|
689
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
690
|
+
let contents = {};
|
|
691
|
+
contents = de_DescribeExportTasksResponse(data);
|
|
692
|
+
const response = {
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
...contents,
|
|
695
|
+
};
|
|
696
|
+
return response;
|
|
697
|
+
};
|
|
698
|
+
const de_DescribeImportTasksCommand = async (output, context) => {
|
|
699
|
+
if (output.statusCode >= 300) {
|
|
700
|
+
return de_CommandError(output, context);
|
|
701
|
+
}
|
|
702
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
703
|
+
let contents = {};
|
|
704
|
+
contents = de_DescribeImportTasksResponse(data);
|
|
705
|
+
const response = {
|
|
706
|
+
$metadata: deserializeMetadata(output),
|
|
707
|
+
...contents,
|
|
708
|
+
};
|
|
709
|
+
return response;
|
|
710
|
+
};
|
|
711
|
+
const de_DescribeTagsCommand = async (output, context) => {
|
|
712
|
+
if (output.statusCode >= 300) {
|
|
713
|
+
return de_CommandError(output, context);
|
|
714
|
+
}
|
|
715
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
716
|
+
let contents = {};
|
|
717
|
+
contents = de_DescribeTagsResponse(data);
|
|
718
|
+
const response = {
|
|
719
|
+
$metadata: deserializeMetadata(output),
|
|
720
|
+
...contents,
|
|
721
|
+
};
|
|
722
|
+
return response;
|
|
723
|
+
};
|
|
724
|
+
const de_DisassociateConfigurationItemsFromApplicationCommand = async (output, context) => {
|
|
725
|
+
if (output.statusCode >= 300) {
|
|
726
|
+
return de_CommandError(output, context);
|
|
727
|
+
}
|
|
728
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
729
|
+
let contents = {};
|
|
730
|
+
contents = smithyClient._json(data);
|
|
731
|
+
const response = {
|
|
732
|
+
$metadata: deserializeMetadata(output),
|
|
733
|
+
...contents,
|
|
734
|
+
};
|
|
735
|
+
return response;
|
|
736
|
+
};
|
|
737
|
+
const de_ExportConfigurationsCommand = async (output, context) => {
|
|
738
|
+
if (output.statusCode >= 300) {
|
|
739
|
+
return de_CommandError(output, context);
|
|
740
|
+
}
|
|
741
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
742
|
+
let contents = {};
|
|
743
|
+
contents = smithyClient._json(data);
|
|
744
|
+
const response = {
|
|
745
|
+
$metadata: deserializeMetadata(output),
|
|
746
|
+
...contents,
|
|
747
|
+
};
|
|
748
|
+
return response;
|
|
749
|
+
};
|
|
750
|
+
const de_GetDiscoverySummaryCommand = async (output, context) => {
|
|
751
|
+
if (output.statusCode >= 300) {
|
|
752
|
+
return de_CommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
755
|
+
let contents = {};
|
|
756
|
+
contents = smithyClient._json(data);
|
|
757
|
+
const response = {
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
...contents,
|
|
760
|
+
};
|
|
761
|
+
return response;
|
|
762
|
+
};
|
|
763
|
+
const de_ListConfigurationsCommand = async (output, context) => {
|
|
764
|
+
if (output.statusCode >= 300) {
|
|
765
|
+
return de_CommandError(output, context);
|
|
766
|
+
}
|
|
767
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
768
|
+
let contents = {};
|
|
769
|
+
contents = smithyClient._json(data);
|
|
770
|
+
const response = {
|
|
771
|
+
$metadata: deserializeMetadata(output),
|
|
772
|
+
...contents,
|
|
773
|
+
};
|
|
774
|
+
return response;
|
|
775
|
+
};
|
|
776
|
+
const de_ListServerNeighborsCommand = async (output, context) => {
|
|
777
|
+
if (output.statusCode >= 300) {
|
|
778
|
+
return de_CommandError(output, context);
|
|
779
|
+
}
|
|
780
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
781
|
+
let contents = {};
|
|
782
|
+
contents = smithyClient._json(data);
|
|
783
|
+
const response = {
|
|
784
|
+
$metadata: deserializeMetadata(output),
|
|
785
|
+
...contents,
|
|
786
|
+
};
|
|
787
|
+
return response;
|
|
788
|
+
};
|
|
789
|
+
const de_StartBatchDeleteConfigurationTaskCommand = async (output, context) => {
|
|
790
|
+
if (output.statusCode >= 300) {
|
|
791
|
+
return de_CommandError(output, context);
|
|
792
|
+
}
|
|
793
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
794
|
+
let contents = {};
|
|
795
|
+
contents = smithyClient._json(data);
|
|
796
|
+
const response = {
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
...contents,
|
|
799
|
+
};
|
|
800
|
+
return response;
|
|
801
|
+
};
|
|
802
|
+
const de_StartContinuousExportCommand = async (output, context) => {
|
|
803
|
+
if (output.statusCode >= 300) {
|
|
804
|
+
return de_CommandError(output, context);
|
|
805
|
+
}
|
|
806
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
807
|
+
let contents = {};
|
|
808
|
+
contents = de_StartContinuousExportResponse(data);
|
|
809
|
+
const response = {
|
|
810
|
+
$metadata: deserializeMetadata(output),
|
|
811
|
+
...contents,
|
|
812
|
+
};
|
|
813
|
+
return response;
|
|
814
|
+
};
|
|
815
|
+
const de_StartDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
816
|
+
if (output.statusCode >= 300) {
|
|
817
|
+
return de_CommandError(output, context);
|
|
818
|
+
}
|
|
819
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
820
|
+
let contents = {};
|
|
821
|
+
contents = smithyClient._json(data);
|
|
822
|
+
const response = {
|
|
823
|
+
$metadata: deserializeMetadata(output),
|
|
824
|
+
...contents,
|
|
825
|
+
};
|
|
826
|
+
return response;
|
|
827
|
+
};
|
|
828
|
+
const de_StartExportTaskCommand = async (output, context) => {
|
|
829
|
+
if (output.statusCode >= 300) {
|
|
830
|
+
return de_CommandError(output, context);
|
|
831
|
+
}
|
|
832
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
833
|
+
let contents = {};
|
|
834
|
+
contents = smithyClient._json(data);
|
|
835
|
+
const response = {
|
|
836
|
+
$metadata: deserializeMetadata(output),
|
|
837
|
+
...contents,
|
|
838
|
+
};
|
|
839
|
+
return response;
|
|
840
|
+
};
|
|
841
|
+
const de_StartImportTaskCommand = async (output, context) => {
|
|
842
|
+
if (output.statusCode >= 300) {
|
|
843
|
+
return de_CommandError(output, context);
|
|
844
|
+
}
|
|
845
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
846
|
+
let contents = {};
|
|
847
|
+
contents = de_StartImportTaskResponse(data);
|
|
848
|
+
const response = {
|
|
849
|
+
$metadata: deserializeMetadata(output),
|
|
850
|
+
...contents,
|
|
851
|
+
};
|
|
852
|
+
return response;
|
|
853
|
+
};
|
|
854
|
+
const de_StopContinuousExportCommand = async (output, context) => {
|
|
855
|
+
if (output.statusCode >= 300) {
|
|
856
|
+
return de_CommandError(output, context);
|
|
857
|
+
}
|
|
858
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
859
|
+
let contents = {};
|
|
860
|
+
contents = de_StopContinuousExportResponse(data);
|
|
861
|
+
const response = {
|
|
862
|
+
$metadata: deserializeMetadata(output),
|
|
863
|
+
...contents,
|
|
864
|
+
};
|
|
865
|
+
return response;
|
|
866
|
+
};
|
|
867
|
+
const de_StopDataCollectionByAgentIdsCommand = async (output, context) => {
|
|
868
|
+
if (output.statusCode >= 300) {
|
|
869
|
+
return de_CommandError(output, context);
|
|
870
|
+
}
|
|
871
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
872
|
+
let contents = {};
|
|
873
|
+
contents = smithyClient._json(data);
|
|
874
|
+
const response = {
|
|
875
|
+
$metadata: deserializeMetadata(output),
|
|
876
|
+
...contents,
|
|
877
|
+
};
|
|
878
|
+
return response;
|
|
879
|
+
};
|
|
880
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
881
|
+
if (output.statusCode >= 300) {
|
|
882
|
+
return de_CommandError(output, context);
|
|
883
|
+
}
|
|
884
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
885
|
+
let contents = {};
|
|
886
|
+
contents = smithyClient._json(data);
|
|
887
|
+
const response = {
|
|
888
|
+
$metadata: deserializeMetadata(output),
|
|
889
|
+
...contents,
|
|
890
|
+
};
|
|
891
|
+
return response;
|
|
892
|
+
};
|
|
893
|
+
const de_CommandError = async (output, context) => {
|
|
894
|
+
const parsedOutput = {
|
|
895
|
+
...output,
|
|
896
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
897
|
+
};
|
|
898
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
899
|
+
switch (errorCode) {
|
|
900
|
+
case "AuthorizationErrorException":
|
|
901
|
+
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
902
|
+
throw await de_AuthorizationErrorExceptionRes(parsedOutput);
|
|
903
|
+
case "HomeRegionNotSetException":
|
|
904
|
+
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
905
|
+
throw await de_HomeRegionNotSetExceptionRes(parsedOutput);
|
|
906
|
+
case "InvalidParameterException":
|
|
907
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
908
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
909
|
+
case "InvalidParameterValueException":
|
|
910
|
+
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
911
|
+
throw await de_InvalidParameterValueExceptionRes(parsedOutput);
|
|
912
|
+
case "ServerInternalErrorException":
|
|
913
|
+
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
914
|
+
throw await de_ServerInternalErrorExceptionRes(parsedOutput);
|
|
915
|
+
case "ResourceNotFoundException":
|
|
916
|
+
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
917
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
918
|
+
case "OperationNotPermittedException":
|
|
919
|
+
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
920
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput);
|
|
921
|
+
case "LimitExceededException":
|
|
922
|
+
case "com.amazonaws.applicationdiscoveryservice#LimitExceededException":
|
|
923
|
+
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
924
|
+
case "ConflictErrorException":
|
|
925
|
+
case "com.amazonaws.applicationdiscoveryservice#ConflictErrorException":
|
|
926
|
+
throw await de_ConflictErrorExceptionRes(parsedOutput);
|
|
927
|
+
case "ResourceInUseException":
|
|
928
|
+
case "com.amazonaws.applicationdiscoveryservice#ResourceInUseException":
|
|
929
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput);
|
|
930
|
+
default:
|
|
931
|
+
const parsedBody = parsedOutput.body;
|
|
932
|
+
return throwDefaultError({
|
|
933
|
+
output,
|
|
934
|
+
parsedBody,
|
|
935
|
+
errorCode,
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
const de_AuthorizationErrorExceptionRes = async (parsedOutput, context) => {
|
|
940
|
+
const body = parsedOutput.body;
|
|
941
|
+
const deserialized = smithyClient._json(body);
|
|
942
|
+
const exception = new AuthorizationErrorException({
|
|
943
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
944
|
+
...deserialized,
|
|
292
945
|
});
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
$fault = "client";
|
|
302
|
-
/**
|
|
303
|
-
* @internal
|
|
304
|
-
*/
|
|
305
|
-
constructor(opts) {
|
|
306
|
-
super({
|
|
307
|
-
name: "HomeRegionNotSetException",
|
|
308
|
-
$fault: "client",
|
|
309
|
-
...opts
|
|
946
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
947
|
+
};
|
|
948
|
+
const de_ConflictErrorExceptionRes = async (parsedOutput, context) => {
|
|
949
|
+
const body = parsedOutput.body;
|
|
950
|
+
const deserialized = smithyClient._json(body);
|
|
951
|
+
const exception = new ConflictErrorException({
|
|
952
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
953
|
+
...deserialized,
|
|
310
954
|
});
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
$fault = "client";
|
|
320
|
-
/**
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
|
-
constructor(opts) {
|
|
324
|
-
super({
|
|
325
|
-
name: "InvalidParameterException",
|
|
326
|
-
$fault: "client",
|
|
327
|
-
...opts
|
|
955
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
956
|
+
};
|
|
957
|
+
const de_HomeRegionNotSetExceptionRes = async (parsedOutput, context) => {
|
|
958
|
+
const body = parsedOutput.body;
|
|
959
|
+
const deserialized = smithyClient._json(body);
|
|
960
|
+
const exception = new HomeRegionNotSetException({
|
|
961
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
962
|
+
...deserialized,
|
|
328
963
|
});
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
964
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
965
|
+
};
|
|
966
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
967
|
+
const body = parsedOutput.body;
|
|
968
|
+
const deserialized = smithyClient._json(body);
|
|
969
|
+
const exception = new InvalidParameterException({
|
|
970
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
971
|
+
...deserialized,
|
|
972
|
+
});
|
|
973
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
974
|
+
};
|
|
975
|
+
const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
|
|
976
|
+
const body = parsedOutput.body;
|
|
977
|
+
const deserialized = smithyClient._json(body);
|
|
978
|
+
const exception = new InvalidParameterValueException({
|
|
979
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
980
|
+
...deserialized,
|
|
981
|
+
});
|
|
982
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
983
|
+
};
|
|
984
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
985
|
+
const body = parsedOutput.body;
|
|
986
|
+
const deserialized = smithyClient._json(body);
|
|
987
|
+
const exception = new LimitExceededException({
|
|
988
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
989
|
+
...deserialized,
|
|
990
|
+
});
|
|
991
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
992
|
+
};
|
|
993
|
+
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
994
|
+
const body = parsedOutput.body;
|
|
995
|
+
const deserialized = smithyClient._json(body);
|
|
996
|
+
const exception = new OperationNotPermittedException({
|
|
997
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
998
|
+
...deserialized,
|
|
346
999
|
});
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
$fault = "server";
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
constructor(opts) {
|
|
360
|
-
super({
|
|
361
|
-
name: "ServerInternalErrorException",
|
|
362
|
-
$fault: "server",
|
|
363
|
-
...opts
|
|
1000
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1001
|
+
};
|
|
1002
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1003
|
+
const body = parsedOutput.body;
|
|
1004
|
+
const deserialized = smithyClient._json(body);
|
|
1005
|
+
const exception = new ResourceInUseException({
|
|
1006
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1007
|
+
...deserialized,
|
|
364
1008
|
});
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
var BatchDeleteImportDataErrorCode = {
|
|
374
|
-
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
375
|
-
NOT_FOUND: "NOT_FOUND",
|
|
376
|
-
OVER_LIMIT: "OVER_LIMIT"
|
|
377
|
-
};
|
|
378
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends ApplicationDiscoveryServiceServiceException {
|
|
379
|
-
static {
|
|
380
|
-
__name(this, "ResourceNotFoundException");
|
|
381
|
-
}
|
|
382
|
-
name = "ResourceNotFoundException";
|
|
383
|
-
$fault = "client";
|
|
384
|
-
/**
|
|
385
|
-
* @internal
|
|
386
|
-
*/
|
|
387
|
-
constructor(opts) {
|
|
388
|
-
super({
|
|
389
|
-
name: "ResourceNotFoundException",
|
|
390
|
-
$fault: "client",
|
|
391
|
-
...opts
|
|
1009
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1010
|
+
};
|
|
1011
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1012
|
+
const body = parsedOutput.body;
|
|
1013
|
+
const deserialized = smithyClient._json(body);
|
|
1014
|
+
const exception = new ResourceNotFoundException({
|
|
1015
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1016
|
+
...deserialized,
|
|
392
1017
|
});
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
DELETING: "DELETING",
|
|
402
|
-
FAILED: "FAILED",
|
|
403
|
-
INITIALIZING: "INITIALIZING",
|
|
404
|
-
VALIDATING: "VALIDATING"
|
|
405
|
-
};
|
|
406
|
-
var DataSource = {
|
|
407
|
-
AGENT: "AGENT"
|
|
408
|
-
};
|
|
409
|
-
var ContinuousExportStatus = {
|
|
410
|
-
ACTIVE: "ACTIVE",
|
|
411
|
-
ERROR: "ERROR",
|
|
412
|
-
INACTIVE: "INACTIVE",
|
|
413
|
-
START_FAILED: "START_FAILED",
|
|
414
|
-
START_IN_PROGRESS: "START_IN_PROGRESS",
|
|
415
|
-
STOP_FAILED: "STOP_FAILED",
|
|
416
|
-
STOP_IN_PROGRESS: "STOP_IN_PROGRESS"
|
|
417
|
-
};
|
|
418
|
-
var OperationNotPermittedException = class _OperationNotPermittedException extends ApplicationDiscoveryServiceServiceException {
|
|
419
|
-
static {
|
|
420
|
-
__name(this, "OperationNotPermittedException");
|
|
421
|
-
}
|
|
422
|
-
name = "OperationNotPermittedException";
|
|
423
|
-
$fault = "client";
|
|
424
|
-
/**
|
|
425
|
-
* @internal
|
|
426
|
-
*/
|
|
427
|
-
constructor(opts) {
|
|
428
|
-
super({
|
|
429
|
-
name: "OperationNotPermittedException",
|
|
430
|
-
$fault: "client",
|
|
431
|
-
...opts
|
|
1018
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1019
|
+
};
|
|
1020
|
+
const de_ServerInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
1021
|
+
const body = parsedOutput.body;
|
|
1022
|
+
const deserialized = smithyClient._json(body);
|
|
1023
|
+
const exception = new ServerInternalErrorException({
|
|
1024
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1025
|
+
...deserialized,
|
|
432
1026
|
});
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
NAME: "NAME",
|
|
445
|
-
STATUS: "STATUS"
|
|
446
|
-
};
|
|
447
|
-
var FileClassification = {
|
|
448
|
-
IMPORT_TEMPLATE: "IMPORT_TEMPLATE",
|
|
449
|
-
MODELIZEIT_EXPORT: "MODELIZEIT_EXPORT",
|
|
450
|
-
RVTOOLS_EXPORT: "RVTOOLS_EXPORT",
|
|
451
|
-
VMWARE_NSX_EXPORT: "VMWARE_NSX_EXPORT"
|
|
452
|
-
};
|
|
453
|
-
var ImportStatus = {
|
|
454
|
-
DELETE_COMPLETE: "DELETE_COMPLETE",
|
|
455
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
456
|
-
DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED",
|
|
457
|
-
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
458
|
-
IMPORT_COMPLETE: "IMPORT_COMPLETE",
|
|
459
|
-
IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS",
|
|
460
|
-
IMPORT_FAILED: "IMPORT_FAILED",
|
|
461
|
-
IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
|
|
462
|
-
IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
|
|
463
|
-
IMPORT_FAILED_UNSUPPORTED_FILE_TYPE: "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE",
|
|
464
|
-
IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
|
|
465
|
-
INTERNAL_ERROR: "INTERNAL_ERROR"
|
|
466
|
-
};
|
|
467
|
-
var ConfigurationItemType = {
|
|
468
|
-
APPLICATION: "APPLICATION",
|
|
469
|
-
CONNECTIONS: "CONNECTION",
|
|
470
|
-
PROCESS: "PROCESS",
|
|
471
|
-
SERVER: "SERVER"
|
|
472
|
-
};
|
|
473
|
-
var OrderString = {
|
|
474
|
-
ASC: "ASC",
|
|
475
|
-
DESC: "DESC"
|
|
476
|
-
};
|
|
477
|
-
var LimitExceededException = class _LimitExceededException extends ApplicationDiscoveryServiceServiceException {
|
|
478
|
-
static {
|
|
479
|
-
__name(this, "LimitExceededException");
|
|
480
|
-
}
|
|
481
|
-
name = "LimitExceededException";
|
|
482
|
-
$fault = "client";
|
|
483
|
-
/**
|
|
484
|
-
* @internal
|
|
485
|
-
*/
|
|
486
|
-
constructor(opts) {
|
|
487
|
-
super({
|
|
488
|
-
name: "LimitExceededException",
|
|
489
|
-
$fault: "client",
|
|
490
|
-
...opts
|
|
1027
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1028
|
+
};
|
|
1029
|
+
const se_Ec2RecommendationsExportPreferences = (input, context) => {
|
|
1030
|
+
return smithyClient.take(input, {
|
|
1031
|
+
cpuPerformanceMetricBasis: (_) => se_UsageMetricBasis(_),
|
|
1032
|
+
enabled: [],
|
|
1033
|
+
excludedInstanceTypes: smithyClient._json,
|
|
1034
|
+
preferredRegion: [],
|
|
1035
|
+
ramPerformanceMetricBasis: (_) => se_UsageMetricBasis(_),
|
|
1036
|
+
reservedInstanceOptions: smithyClient._json,
|
|
1037
|
+
tenancy: [],
|
|
491
1038
|
});
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
name = "ConflictErrorException";
|
|
500
|
-
$fault = "client";
|
|
501
|
-
/**
|
|
502
|
-
* @internal
|
|
503
|
-
*/
|
|
504
|
-
constructor(opts) {
|
|
505
|
-
super({
|
|
506
|
-
name: "ConflictErrorException",
|
|
507
|
-
$fault: "client",
|
|
508
|
-
...opts
|
|
1039
|
+
};
|
|
1040
|
+
const se_ExportPreferences = (input, context) => {
|
|
1041
|
+
return exports.ExportPreferences.visit(input, {
|
|
1042
|
+
ec2RecommendationsPreferences: (value) => ({
|
|
1043
|
+
ec2RecommendationsPreferences: se_Ec2RecommendationsExportPreferences(value),
|
|
1044
|
+
}),
|
|
1045
|
+
_: (name, value) => ({ [name]: value }),
|
|
509
1046
|
});
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
$fault = "client";
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
*/
|
|
522
|
-
constructor(opts) {
|
|
523
|
-
super({
|
|
524
|
-
name: "ResourceInUseException",
|
|
525
|
-
$fault: "client",
|
|
526
|
-
...opts
|
|
1047
|
+
};
|
|
1048
|
+
const se_StartExportTaskRequest = (input, context) => {
|
|
1049
|
+
return smithyClient.take(input, {
|
|
1050
|
+
endTime: (_) => _.getTime() / 1_000,
|
|
1051
|
+
exportDataFormat: smithyClient._json,
|
|
1052
|
+
filters: smithyClient._json,
|
|
1053
|
+
preferences: (_) => se_ExportPreferences(_),
|
|
1054
|
+
startTime: (_) => _.getTime() / 1_000,
|
|
527
1055
|
});
|
|
528
|
-
Object.setPrototypeOf(this, _ResourceInUseException.prototype);
|
|
529
|
-
}
|
|
530
|
-
};
|
|
531
|
-
var ExportDataFormat = {
|
|
532
|
-
CSV: "CSV"
|
|
533
|
-
};
|
|
534
|
-
var OfferingClass = {
|
|
535
|
-
CONVERTIBLE: "CONVERTIBLE",
|
|
536
|
-
STANDARD: "STANDARD"
|
|
537
|
-
};
|
|
538
|
-
var PurchasingOption = {
|
|
539
|
-
ALL_UPFRONT: "ALL_UPFRONT",
|
|
540
|
-
NO_UPFRONT: "NO_UPFRONT",
|
|
541
|
-
PARTIAL_UPFRONT: "PARTIAL_UPFRONT"
|
|
542
|
-
};
|
|
543
|
-
var TermLength = {
|
|
544
|
-
ONE_YEAR: "ONE_YEAR",
|
|
545
|
-
THREE_YEAR: "THREE_YEAR"
|
|
546
|
-
};
|
|
547
|
-
var Tenancy = {
|
|
548
|
-
DEDICATED: "DEDICATED",
|
|
549
|
-
SHARED: "SHARED"
|
|
550
|
-
};
|
|
551
|
-
var ExportPreferences;
|
|
552
|
-
((ExportPreferences2) => {
|
|
553
|
-
ExportPreferences2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
554
|
-
if (value.ec2RecommendationsPreferences !== void 0)
|
|
555
|
-
return visitor.ec2RecommendationsPreferences(value.ec2RecommendationsPreferences);
|
|
556
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
557
|
-
}, "visit");
|
|
558
|
-
})(ExportPreferences || (ExportPreferences = {}));
|
|
559
|
-
var AgentNetworkInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
560
|
-
...obj
|
|
561
|
-
}), "AgentNetworkInfoFilterSensitiveLog");
|
|
562
|
-
var AgentInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
563
|
-
...obj,
|
|
564
|
-
...obj.agentNetworkInfoList && { agentNetworkInfoList: import_smithy_client.SENSITIVE_STRING }
|
|
565
|
-
}), "AgentInfoFilterSensitiveLog");
|
|
566
|
-
var DescribeAgentsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
567
|
-
...obj,
|
|
568
|
-
...obj.agentsInfo && { agentsInfo: obj.agentsInfo.map((item) => AgentInfoFilterSensitiveLog(item)) }
|
|
569
|
-
}), "DescribeAgentsResponseFilterSensitiveLog");
|
|
570
|
-
|
|
571
|
-
// src/protocols/Aws_json1_1.ts
|
|
572
|
-
var se_AssociateConfigurationItemsToApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
573
|
-
const headers = sharedHeaders("AssociateConfigurationItemsToApplication");
|
|
574
|
-
let body;
|
|
575
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
576
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
577
|
-
}, "se_AssociateConfigurationItemsToApplicationCommand");
|
|
578
|
-
var se_BatchDeleteAgentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
579
|
-
const headers = sharedHeaders("BatchDeleteAgents");
|
|
580
|
-
let body;
|
|
581
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
582
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
583
|
-
}, "se_BatchDeleteAgentsCommand");
|
|
584
|
-
var se_BatchDeleteImportDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
-
const headers = sharedHeaders("BatchDeleteImportData");
|
|
586
|
-
let body;
|
|
587
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
588
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
589
|
-
}, "se_BatchDeleteImportDataCommand");
|
|
590
|
-
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
591
|
-
const headers = sharedHeaders("CreateApplication");
|
|
592
|
-
let body;
|
|
593
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
594
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
595
|
-
}, "se_CreateApplicationCommand");
|
|
596
|
-
var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
597
|
-
const headers = sharedHeaders("CreateTags");
|
|
598
|
-
let body;
|
|
599
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
600
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
601
|
-
}, "se_CreateTagsCommand");
|
|
602
|
-
var se_DeleteApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
-
const headers = sharedHeaders("DeleteApplications");
|
|
604
|
-
let body;
|
|
605
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
606
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
607
|
-
}, "se_DeleteApplicationsCommand");
|
|
608
|
-
var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
609
|
-
const headers = sharedHeaders("DeleteTags");
|
|
610
|
-
let body;
|
|
611
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
612
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
613
|
-
}, "se_DeleteTagsCommand");
|
|
614
|
-
var se_DescribeAgentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
-
const headers = sharedHeaders("DescribeAgents");
|
|
616
|
-
let body;
|
|
617
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
618
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
619
|
-
}, "se_DescribeAgentsCommand");
|
|
620
|
-
var se_DescribeBatchDeleteConfigurationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
621
|
-
const headers = sharedHeaders("DescribeBatchDeleteConfigurationTask");
|
|
622
|
-
let body;
|
|
623
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
624
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
625
|
-
}, "se_DescribeBatchDeleteConfigurationTaskCommand");
|
|
626
|
-
var se_DescribeConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
627
|
-
const headers = sharedHeaders("DescribeConfigurations");
|
|
628
|
-
let body;
|
|
629
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
630
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
631
|
-
}, "se_DescribeConfigurationsCommand");
|
|
632
|
-
var se_DescribeContinuousExportsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
633
|
-
const headers = sharedHeaders("DescribeContinuousExports");
|
|
634
|
-
let body;
|
|
635
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
636
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
637
|
-
}, "se_DescribeContinuousExportsCommand");
|
|
638
|
-
var se_DescribeExportConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
-
const headers = sharedHeaders("DescribeExportConfigurations");
|
|
640
|
-
let body;
|
|
641
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
642
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
643
|
-
}, "se_DescribeExportConfigurationsCommand");
|
|
644
|
-
var se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
645
|
-
const headers = sharedHeaders("DescribeExportTasks");
|
|
646
|
-
let body;
|
|
647
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
648
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
649
|
-
}, "se_DescribeExportTasksCommand");
|
|
650
|
-
var se_DescribeImportTasksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
651
|
-
const headers = sharedHeaders("DescribeImportTasks");
|
|
652
|
-
let body;
|
|
653
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
654
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
655
|
-
}, "se_DescribeImportTasksCommand");
|
|
656
|
-
var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
-
const headers = sharedHeaders("DescribeTags");
|
|
658
|
-
let body;
|
|
659
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
660
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
661
|
-
}, "se_DescribeTagsCommand");
|
|
662
|
-
var se_DisassociateConfigurationItemsFromApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
663
|
-
const headers = sharedHeaders("DisassociateConfigurationItemsFromApplication");
|
|
664
|
-
let body;
|
|
665
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
666
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
667
|
-
}, "se_DisassociateConfigurationItemsFromApplicationCommand");
|
|
668
|
-
var se_ExportConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
-
const headers = sharedHeaders("ExportConfigurations");
|
|
670
|
-
const body = "{}";
|
|
671
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
672
|
-
}, "se_ExportConfigurationsCommand");
|
|
673
|
-
var se_GetDiscoverySummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
674
|
-
const headers = sharedHeaders("GetDiscoverySummary");
|
|
675
|
-
let body;
|
|
676
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
677
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
678
|
-
}, "se_GetDiscoverySummaryCommand");
|
|
679
|
-
var se_ListConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
680
|
-
const headers = sharedHeaders("ListConfigurations");
|
|
681
|
-
let body;
|
|
682
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
683
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
684
|
-
}, "se_ListConfigurationsCommand");
|
|
685
|
-
var se_ListServerNeighborsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
686
|
-
const headers = sharedHeaders("ListServerNeighbors");
|
|
687
|
-
let body;
|
|
688
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
689
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
690
|
-
}, "se_ListServerNeighborsCommand");
|
|
691
|
-
var se_StartBatchDeleteConfigurationTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
692
|
-
const headers = sharedHeaders("StartBatchDeleteConfigurationTask");
|
|
693
|
-
let body;
|
|
694
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
695
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
696
|
-
}, "se_StartBatchDeleteConfigurationTaskCommand");
|
|
697
|
-
var se_StartContinuousExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
698
|
-
const headers = sharedHeaders("StartContinuousExport");
|
|
699
|
-
let body;
|
|
700
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
701
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
702
|
-
}, "se_StartContinuousExportCommand");
|
|
703
|
-
var se_StartDataCollectionByAgentIdsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
704
|
-
const headers = sharedHeaders("StartDataCollectionByAgentIds");
|
|
705
|
-
let body;
|
|
706
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
707
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
708
|
-
}, "se_StartDataCollectionByAgentIdsCommand");
|
|
709
|
-
var se_StartExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
710
|
-
const headers = sharedHeaders("StartExportTask");
|
|
711
|
-
let body;
|
|
712
|
-
body = JSON.stringify(se_StartExportTaskRequest(input, context));
|
|
713
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
714
|
-
}, "se_StartExportTaskCommand");
|
|
715
|
-
var se_StartImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
716
|
-
const headers = sharedHeaders("StartImportTask");
|
|
717
|
-
let body;
|
|
718
|
-
body = JSON.stringify(se_StartImportTaskRequest(input, context));
|
|
719
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
720
|
-
}, "se_StartImportTaskCommand");
|
|
721
|
-
var se_StopContinuousExportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
-
const headers = sharedHeaders("StopContinuousExport");
|
|
723
|
-
let body;
|
|
724
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
725
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
726
|
-
}, "se_StopContinuousExportCommand");
|
|
727
|
-
var se_StopDataCollectionByAgentIdsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
728
|
-
const headers = sharedHeaders("StopDataCollectionByAgentIds");
|
|
729
|
-
let body;
|
|
730
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
731
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
732
|
-
}, "se_StopDataCollectionByAgentIdsCommand");
|
|
733
|
-
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
734
|
-
const headers = sharedHeaders("UpdateApplication");
|
|
735
|
-
let body;
|
|
736
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
737
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
738
|
-
}, "se_UpdateApplicationCommand");
|
|
739
|
-
var de_AssociateConfigurationItemsToApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
740
|
-
if (output.statusCode >= 300) {
|
|
741
|
-
return de_CommandError(output, context);
|
|
742
|
-
}
|
|
743
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
744
|
-
let contents = {};
|
|
745
|
-
contents = (0, import_smithy_client._json)(data);
|
|
746
|
-
const response = {
|
|
747
|
-
$metadata: deserializeMetadata(output),
|
|
748
|
-
...contents
|
|
749
|
-
};
|
|
750
|
-
return response;
|
|
751
|
-
}, "de_AssociateConfigurationItemsToApplicationCommand");
|
|
752
|
-
var de_BatchDeleteAgentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
753
|
-
if (output.statusCode >= 300) {
|
|
754
|
-
return de_CommandError(output, context);
|
|
755
|
-
}
|
|
756
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
757
|
-
let contents = {};
|
|
758
|
-
contents = (0, import_smithy_client._json)(data);
|
|
759
|
-
const response = {
|
|
760
|
-
$metadata: deserializeMetadata(output),
|
|
761
|
-
...contents
|
|
762
|
-
};
|
|
763
|
-
return response;
|
|
764
|
-
}, "de_BatchDeleteAgentsCommand");
|
|
765
|
-
var de_BatchDeleteImportDataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
766
|
-
if (output.statusCode >= 300) {
|
|
767
|
-
return de_CommandError(output, context);
|
|
768
|
-
}
|
|
769
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
770
|
-
let contents = {};
|
|
771
|
-
contents = (0, import_smithy_client._json)(data);
|
|
772
|
-
const response = {
|
|
773
|
-
$metadata: deserializeMetadata(output),
|
|
774
|
-
...contents
|
|
775
|
-
};
|
|
776
|
-
return response;
|
|
777
|
-
}, "de_BatchDeleteImportDataCommand");
|
|
778
|
-
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
779
|
-
if (output.statusCode >= 300) {
|
|
780
|
-
return de_CommandError(output, context);
|
|
781
|
-
}
|
|
782
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
783
|
-
let contents = {};
|
|
784
|
-
contents = (0, import_smithy_client._json)(data);
|
|
785
|
-
const response = {
|
|
786
|
-
$metadata: deserializeMetadata(output),
|
|
787
|
-
...contents
|
|
788
|
-
};
|
|
789
|
-
return response;
|
|
790
|
-
}, "de_CreateApplicationCommand");
|
|
791
|
-
var de_CreateTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
792
|
-
if (output.statusCode >= 300) {
|
|
793
|
-
return de_CommandError(output, context);
|
|
794
|
-
}
|
|
795
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
796
|
-
let contents = {};
|
|
797
|
-
contents = (0, import_smithy_client._json)(data);
|
|
798
|
-
const response = {
|
|
799
|
-
$metadata: deserializeMetadata(output),
|
|
800
|
-
...contents
|
|
801
|
-
};
|
|
802
|
-
return response;
|
|
803
|
-
}, "de_CreateTagsCommand");
|
|
804
|
-
var de_DeleteApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
805
|
-
if (output.statusCode >= 300) {
|
|
806
|
-
return de_CommandError(output, context);
|
|
807
|
-
}
|
|
808
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
809
|
-
let contents = {};
|
|
810
|
-
contents = (0, import_smithy_client._json)(data);
|
|
811
|
-
const response = {
|
|
812
|
-
$metadata: deserializeMetadata(output),
|
|
813
|
-
...contents
|
|
814
|
-
};
|
|
815
|
-
return response;
|
|
816
|
-
}, "de_DeleteApplicationsCommand");
|
|
817
|
-
var de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
818
|
-
if (output.statusCode >= 300) {
|
|
819
|
-
return de_CommandError(output, context);
|
|
820
|
-
}
|
|
821
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
822
|
-
let contents = {};
|
|
823
|
-
contents = (0, import_smithy_client._json)(data);
|
|
824
|
-
const response = {
|
|
825
|
-
$metadata: deserializeMetadata(output),
|
|
826
|
-
...contents
|
|
827
|
-
};
|
|
828
|
-
return response;
|
|
829
|
-
}, "de_DeleteTagsCommand");
|
|
830
|
-
var de_DescribeAgentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
831
|
-
if (output.statusCode >= 300) {
|
|
832
|
-
return de_CommandError(output, context);
|
|
833
|
-
}
|
|
834
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
835
|
-
let contents = {};
|
|
836
|
-
contents = (0, import_smithy_client._json)(data);
|
|
837
|
-
const response = {
|
|
838
|
-
$metadata: deserializeMetadata(output),
|
|
839
|
-
...contents
|
|
840
|
-
};
|
|
841
|
-
return response;
|
|
842
|
-
}, "de_DescribeAgentsCommand");
|
|
843
|
-
var de_DescribeBatchDeleteConfigurationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
|
-
if (output.statusCode >= 300) {
|
|
845
|
-
return de_CommandError(output, context);
|
|
846
|
-
}
|
|
847
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
848
|
-
let contents = {};
|
|
849
|
-
contents = de_DescribeBatchDeleteConfigurationTaskResponse(data, context);
|
|
850
|
-
const response = {
|
|
851
|
-
$metadata: deserializeMetadata(output),
|
|
852
|
-
...contents
|
|
853
|
-
};
|
|
854
|
-
return response;
|
|
855
|
-
}, "de_DescribeBatchDeleteConfigurationTaskCommand");
|
|
856
|
-
var de_DescribeConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
857
|
-
if (output.statusCode >= 300) {
|
|
858
|
-
return de_CommandError(output, context);
|
|
859
|
-
}
|
|
860
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
861
|
-
let contents = {};
|
|
862
|
-
contents = (0, import_smithy_client._json)(data);
|
|
863
|
-
const response = {
|
|
864
|
-
$metadata: deserializeMetadata(output),
|
|
865
|
-
...contents
|
|
866
|
-
};
|
|
867
|
-
return response;
|
|
868
|
-
}, "de_DescribeConfigurationsCommand");
|
|
869
|
-
var de_DescribeContinuousExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
870
|
-
if (output.statusCode >= 300) {
|
|
871
|
-
return de_CommandError(output, context);
|
|
872
|
-
}
|
|
873
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
874
|
-
let contents = {};
|
|
875
|
-
contents = de_DescribeContinuousExportsResponse(data, context);
|
|
876
|
-
const response = {
|
|
877
|
-
$metadata: deserializeMetadata(output),
|
|
878
|
-
...contents
|
|
879
|
-
};
|
|
880
|
-
return response;
|
|
881
|
-
}, "de_DescribeContinuousExportsCommand");
|
|
882
|
-
var de_DescribeExportConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
883
|
-
if (output.statusCode >= 300) {
|
|
884
|
-
return de_CommandError(output, context);
|
|
885
|
-
}
|
|
886
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
887
|
-
let contents = {};
|
|
888
|
-
contents = de_DescribeExportConfigurationsResponse(data, context);
|
|
889
|
-
const response = {
|
|
890
|
-
$metadata: deserializeMetadata(output),
|
|
891
|
-
...contents
|
|
892
|
-
};
|
|
893
|
-
return response;
|
|
894
|
-
}, "de_DescribeExportConfigurationsCommand");
|
|
895
|
-
var de_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
|
-
if (output.statusCode >= 300) {
|
|
897
|
-
return de_CommandError(output, context);
|
|
898
|
-
}
|
|
899
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
900
|
-
let contents = {};
|
|
901
|
-
contents = de_DescribeExportTasksResponse(data, context);
|
|
902
|
-
const response = {
|
|
903
|
-
$metadata: deserializeMetadata(output),
|
|
904
|
-
...contents
|
|
905
|
-
};
|
|
906
|
-
return response;
|
|
907
|
-
}, "de_DescribeExportTasksCommand");
|
|
908
|
-
var de_DescribeImportTasksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
-
if (output.statusCode >= 300) {
|
|
910
|
-
return de_CommandError(output, context);
|
|
911
|
-
}
|
|
912
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
913
|
-
let contents = {};
|
|
914
|
-
contents = de_DescribeImportTasksResponse(data, context);
|
|
915
|
-
const response = {
|
|
916
|
-
$metadata: deserializeMetadata(output),
|
|
917
|
-
...contents
|
|
918
|
-
};
|
|
919
|
-
return response;
|
|
920
|
-
}, "de_DescribeImportTasksCommand");
|
|
921
|
-
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
922
|
-
if (output.statusCode >= 300) {
|
|
923
|
-
return de_CommandError(output, context);
|
|
924
|
-
}
|
|
925
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
926
|
-
let contents = {};
|
|
927
|
-
contents = de_DescribeTagsResponse(data, context);
|
|
928
|
-
const response = {
|
|
929
|
-
$metadata: deserializeMetadata(output),
|
|
930
|
-
...contents
|
|
931
|
-
};
|
|
932
|
-
return response;
|
|
933
|
-
}, "de_DescribeTagsCommand");
|
|
934
|
-
var de_DisassociateConfigurationItemsFromApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
935
|
-
if (output.statusCode >= 300) {
|
|
936
|
-
return de_CommandError(output, context);
|
|
937
|
-
}
|
|
938
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
939
|
-
let contents = {};
|
|
940
|
-
contents = (0, import_smithy_client._json)(data);
|
|
941
|
-
const response = {
|
|
942
|
-
$metadata: deserializeMetadata(output),
|
|
943
|
-
...contents
|
|
944
|
-
};
|
|
945
|
-
return response;
|
|
946
|
-
}, "de_DisassociateConfigurationItemsFromApplicationCommand");
|
|
947
|
-
var de_ExportConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
948
|
-
if (output.statusCode >= 300) {
|
|
949
|
-
return de_CommandError(output, context);
|
|
950
|
-
}
|
|
951
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
952
|
-
let contents = {};
|
|
953
|
-
contents = (0, import_smithy_client._json)(data);
|
|
954
|
-
const response = {
|
|
955
|
-
$metadata: deserializeMetadata(output),
|
|
956
|
-
...contents
|
|
957
|
-
};
|
|
958
|
-
return response;
|
|
959
|
-
}, "de_ExportConfigurationsCommand");
|
|
960
|
-
var de_GetDiscoverySummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
961
|
-
if (output.statusCode >= 300) {
|
|
962
|
-
return de_CommandError(output, context);
|
|
963
|
-
}
|
|
964
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
965
|
-
let contents = {};
|
|
966
|
-
contents = (0, import_smithy_client._json)(data);
|
|
967
|
-
const response = {
|
|
968
|
-
$metadata: deserializeMetadata(output),
|
|
969
|
-
...contents
|
|
970
|
-
};
|
|
971
|
-
return response;
|
|
972
|
-
}, "de_GetDiscoverySummaryCommand");
|
|
973
|
-
var de_ListConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
974
|
-
if (output.statusCode >= 300) {
|
|
975
|
-
return de_CommandError(output, context);
|
|
976
|
-
}
|
|
977
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
978
|
-
let contents = {};
|
|
979
|
-
contents = (0, import_smithy_client._json)(data);
|
|
980
|
-
const response = {
|
|
981
|
-
$metadata: deserializeMetadata(output),
|
|
982
|
-
...contents
|
|
983
|
-
};
|
|
984
|
-
return response;
|
|
985
|
-
}, "de_ListConfigurationsCommand");
|
|
986
|
-
var de_ListServerNeighborsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
987
|
-
if (output.statusCode >= 300) {
|
|
988
|
-
return de_CommandError(output, context);
|
|
989
|
-
}
|
|
990
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
991
|
-
let contents = {};
|
|
992
|
-
contents = (0, import_smithy_client._json)(data);
|
|
993
|
-
const response = {
|
|
994
|
-
$metadata: deserializeMetadata(output),
|
|
995
|
-
...contents
|
|
996
|
-
};
|
|
997
|
-
return response;
|
|
998
|
-
}, "de_ListServerNeighborsCommand");
|
|
999
|
-
var de_StartBatchDeleteConfigurationTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1000
|
-
if (output.statusCode >= 300) {
|
|
1001
|
-
return de_CommandError(output, context);
|
|
1002
|
-
}
|
|
1003
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1004
|
-
let contents = {};
|
|
1005
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1006
|
-
const response = {
|
|
1007
|
-
$metadata: deserializeMetadata(output),
|
|
1008
|
-
...contents
|
|
1009
|
-
};
|
|
1010
|
-
return response;
|
|
1011
|
-
}, "de_StartBatchDeleteConfigurationTaskCommand");
|
|
1012
|
-
var de_StartContinuousExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1013
|
-
if (output.statusCode >= 300) {
|
|
1014
|
-
return de_CommandError(output, context);
|
|
1015
|
-
}
|
|
1016
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1017
|
-
let contents = {};
|
|
1018
|
-
contents = de_StartContinuousExportResponse(data, context);
|
|
1019
|
-
const response = {
|
|
1020
|
-
$metadata: deserializeMetadata(output),
|
|
1021
|
-
...contents
|
|
1022
|
-
};
|
|
1023
|
-
return response;
|
|
1024
|
-
}, "de_StartContinuousExportCommand");
|
|
1025
|
-
var de_StartDataCollectionByAgentIdsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1026
|
-
if (output.statusCode >= 300) {
|
|
1027
|
-
return de_CommandError(output, context);
|
|
1028
|
-
}
|
|
1029
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1030
|
-
let contents = {};
|
|
1031
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1032
|
-
const response = {
|
|
1033
|
-
$metadata: deserializeMetadata(output),
|
|
1034
|
-
...contents
|
|
1035
|
-
};
|
|
1036
|
-
return response;
|
|
1037
|
-
}, "de_StartDataCollectionByAgentIdsCommand");
|
|
1038
|
-
var de_StartExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
-
if (output.statusCode >= 300) {
|
|
1040
|
-
return de_CommandError(output, context);
|
|
1041
|
-
}
|
|
1042
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1043
|
-
let contents = {};
|
|
1044
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1045
|
-
const response = {
|
|
1046
|
-
$metadata: deserializeMetadata(output),
|
|
1047
|
-
...contents
|
|
1048
|
-
};
|
|
1049
|
-
return response;
|
|
1050
|
-
}, "de_StartExportTaskCommand");
|
|
1051
|
-
var de_StartImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1052
|
-
if (output.statusCode >= 300) {
|
|
1053
|
-
return de_CommandError(output, context);
|
|
1054
|
-
}
|
|
1055
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1056
|
-
let contents = {};
|
|
1057
|
-
contents = de_StartImportTaskResponse(data, context);
|
|
1058
|
-
const response = {
|
|
1059
|
-
$metadata: deserializeMetadata(output),
|
|
1060
|
-
...contents
|
|
1061
|
-
};
|
|
1062
|
-
return response;
|
|
1063
|
-
}, "de_StartImportTaskCommand");
|
|
1064
|
-
var de_StopContinuousExportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1065
|
-
if (output.statusCode >= 300) {
|
|
1066
|
-
return de_CommandError(output, context);
|
|
1067
|
-
}
|
|
1068
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1069
|
-
let contents = {};
|
|
1070
|
-
contents = de_StopContinuousExportResponse(data, context);
|
|
1071
|
-
const response = {
|
|
1072
|
-
$metadata: deserializeMetadata(output),
|
|
1073
|
-
...contents
|
|
1074
|
-
};
|
|
1075
|
-
return response;
|
|
1076
|
-
}, "de_StopContinuousExportCommand");
|
|
1077
|
-
var de_StopDataCollectionByAgentIdsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1078
|
-
if (output.statusCode >= 300) {
|
|
1079
|
-
return de_CommandError(output, context);
|
|
1080
|
-
}
|
|
1081
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1082
|
-
let contents = {};
|
|
1083
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1084
|
-
const response = {
|
|
1085
|
-
$metadata: deserializeMetadata(output),
|
|
1086
|
-
...contents
|
|
1087
|
-
};
|
|
1088
|
-
return response;
|
|
1089
|
-
}, "de_StopDataCollectionByAgentIdsCommand");
|
|
1090
|
-
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1091
|
-
if (output.statusCode >= 300) {
|
|
1092
|
-
return de_CommandError(output, context);
|
|
1093
|
-
}
|
|
1094
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1095
|
-
let contents = {};
|
|
1096
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1097
|
-
const response = {
|
|
1098
|
-
$metadata: deserializeMetadata(output),
|
|
1099
|
-
...contents
|
|
1100
|
-
};
|
|
1101
|
-
return response;
|
|
1102
|
-
}, "de_UpdateApplicationCommand");
|
|
1103
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1104
|
-
const parsedOutput = {
|
|
1105
|
-
...output,
|
|
1106
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1107
|
-
};
|
|
1108
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1109
|
-
switch (errorCode) {
|
|
1110
|
-
case "AuthorizationErrorException":
|
|
1111
|
-
case "com.amazonaws.applicationdiscoveryservice#AuthorizationErrorException":
|
|
1112
|
-
throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
|
|
1113
|
-
case "HomeRegionNotSetException":
|
|
1114
|
-
case "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException":
|
|
1115
|
-
throw await de_HomeRegionNotSetExceptionRes(parsedOutput, context);
|
|
1116
|
-
case "InvalidParameterException":
|
|
1117
|
-
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterException":
|
|
1118
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1119
|
-
case "InvalidParameterValueException":
|
|
1120
|
-
case "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException":
|
|
1121
|
-
throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
|
|
1122
|
-
case "ServerInternalErrorException":
|
|
1123
|
-
case "com.amazonaws.applicationdiscoveryservice#ServerInternalErrorException":
|
|
1124
|
-
throw await de_ServerInternalErrorExceptionRes(parsedOutput, context);
|
|
1125
|
-
case "ResourceNotFoundException":
|
|
1126
|
-
case "com.amazonaws.applicationdiscoveryservice#ResourceNotFoundException":
|
|
1127
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1128
|
-
case "OperationNotPermittedException":
|
|
1129
|
-
case "com.amazonaws.applicationdiscoveryservice#OperationNotPermittedException":
|
|
1130
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1131
|
-
case "LimitExceededException":
|
|
1132
|
-
case "com.amazonaws.applicationdiscoveryservice#LimitExceededException":
|
|
1133
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1134
|
-
case "ConflictErrorException":
|
|
1135
|
-
case "com.amazonaws.applicationdiscoveryservice#ConflictErrorException":
|
|
1136
|
-
throw await de_ConflictErrorExceptionRes(parsedOutput, context);
|
|
1137
|
-
case "ResourceInUseException":
|
|
1138
|
-
case "com.amazonaws.applicationdiscoveryservice#ResourceInUseException":
|
|
1139
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1140
|
-
default:
|
|
1141
|
-
const parsedBody = parsedOutput.body;
|
|
1142
|
-
return throwDefaultError({
|
|
1143
|
-
output,
|
|
1144
|
-
parsedBody,
|
|
1145
|
-
errorCode
|
|
1146
|
-
});
|
|
1147
|
-
}
|
|
1148
|
-
}, "de_CommandError");
|
|
1149
|
-
var de_AuthorizationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1150
|
-
const body = parsedOutput.body;
|
|
1151
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1152
|
-
const exception = new AuthorizationErrorException({
|
|
1153
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1154
|
-
...deserialized
|
|
1155
|
-
});
|
|
1156
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1157
|
-
}, "de_AuthorizationErrorExceptionRes");
|
|
1158
|
-
var de_ConflictErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1159
|
-
const body = parsedOutput.body;
|
|
1160
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1161
|
-
const exception = new ConflictErrorException({
|
|
1162
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1163
|
-
...deserialized
|
|
1164
|
-
});
|
|
1165
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1166
|
-
}, "de_ConflictErrorExceptionRes");
|
|
1167
|
-
var de_HomeRegionNotSetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1168
|
-
const body = parsedOutput.body;
|
|
1169
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1170
|
-
const exception = new HomeRegionNotSetException({
|
|
1171
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1172
|
-
...deserialized
|
|
1173
|
-
});
|
|
1174
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1175
|
-
}, "de_HomeRegionNotSetExceptionRes");
|
|
1176
|
-
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1177
|
-
const body = parsedOutput.body;
|
|
1178
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1179
|
-
const exception = new InvalidParameterException({
|
|
1180
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1181
|
-
...deserialized
|
|
1182
|
-
});
|
|
1183
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1184
|
-
}, "de_InvalidParameterExceptionRes");
|
|
1185
|
-
var de_InvalidParameterValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1186
|
-
const body = parsedOutput.body;
|
|
1187
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1188
|
-
const exception = new InvalidParameterValueException({
|
|
1189
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1190
|
-
...deserialized
|
|
1191
|
-
});
|
|
1192
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1193
|
-
}, "de_InvalidParameterValueExceptionRes");
|
|
1194
|
-
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1195
|
-
const body = parsedOutput.body;
|
|
1196
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1197
|
-
const exception = new LimitExceededException({
|
|
1198
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1199
|
-
...deserialized
|
|
1200
|
-
});
|
|
1201
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1202
|
-
}, "de_LimitExceededExceptionRes");
|
|
1203
|
-
var de_OperationNotPermittedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1204
|
-
const body = parsedOutput.body;
|
|
1205
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1206
|
-
const exception = new OperationNotPermittedException({
|
|
1207
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1208
|
-
...deserialized
|
|
1209
|
-
});
|
|
1210
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1211
|
-
}, "de_OperationNotPermittedExceptionRes");
|
|
1212
|
-
var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1213
|
-
const body = parsedOutput.body;
|
|
1214
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1215
|
-
const exception = new ResourceInUseException({
|
|
1216
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1217
|
-
...deserialized
|
|
1218
|
-
});
|
|
1219
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1220
|
-
}, "de_ResourceInUseExceptionRes");
|
|
1221
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1222
|
-
const body = parsedOutput.body;
|
|
1223
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1224
|
-
const exception = new ResourceNotFoundException({
|
|
1225
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1226
|
-
...deserialized
|
|
1227
|
-
});
|
|
1228
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1229
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1230
|
-
var de_ServerInternalErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1231
|
-
const body = parsedOutput.body;
|
|
1232
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1233
|
-
const exception = new ServerInternalErrorException({
|
|
1234
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1235
|
-
...deserialized
|
|
1236
|
-
});
|
|
1237
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1238
|
-
}, "de_ServerInternalErrorExceptionRes");
|
|
1239
|
-
var se_Ec2RecommendationsExportPreferences = /* @__PURE__ */ __name((input, context) => {
|
|
1240
|
-
return (0, import_smithy_client.take)(input, {
|
|
1241
|
-
cpuPerformanceMetricBasis: /* @__PURE__ */ __name((_) => se_UsageMetricBasis(_, context), "cpuPerformanceMetricBasis"),
|
|
1242
|
-
enabled: [],
|
|
1243
|
-
excludedInstanceTypes: import_smithy_client._json,
|
|
1244
|
-
preferredRegion: [],
|
|
1245
|
-
ramPerformanceMetricBasis: /* @__PURE__ */ __name((_) => se_UsageMetricBasis(_, context), "ramPerformanceMetricBasis"),
|
|
1246
|
-
reservedInstanceOptions: import_smithy_client._json,
|
|
1247
|
-
tenancy: []
|
|
1248
|
-
});
|
|
1249
|
-
}, "se_Ec2RecommendationsExportPreferences");
|
|
1250
|
-
var se_ExportPreferences = /* @__PURE__ */ __name((input, context) => {
|
|
1251
|
-
return ExportPreferences.visit(input, {
|
|
1252
|
-
ec2RecommendationsPreferences: /* @__PURE__ */ __name((value) => ({
|
|
1253
|
-
ec2RecommendationsPreferences: se_Ec2RecommendationsExportPreferences(value, context)
|
|
1254
|
-
}), "ec2RecommendationsPreferences"),
|
|
1255
|
-
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1256
|
-
});
|
|
1257
|
-
}, "se_ExportPreferences");
|
|
1258
|
-
var se_StartExportTaskRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1259
|
-
return (0, import_smithy_client.take)(input, {
|
|
1260
|
-
endTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "endTime"),
|
|
1261
|
-
exportDataFormat: import_smithy_client._json,
|
|
1262
|
-
filters: import_smithy_client._json,
|
|
1263
|
-
preferences: /* @__PURE__ */ __name((_) => se_ExportPreferences(_, context), "preferences"),
|
|
1264
|
-
startTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "startTime")
|
|
1265
|
-
});
|
|
1266
|
-
}, "se_StartExportTaskRequest");
|
|
1267
|
-
var se_StartImportTaskRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1268
|
-
return (0, import_smithy_client.take)(input, {
|
|
1269
|
-
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1270
|
-
importUrl: [],
|
|
1271
|
-
name: []
|
|
1272
|
-
});
|
|
1273
|
-
}, "se_StartImportTaskRequest");
|
|
1274
|
-
var se_UsageMetricBasis = /* @__PURE__ */ __name((input, context) => {
|
|
1275
|
-
return (0, import_smithy_client.take)(input, {
|
|
1276
|
-
name: [],
|
|
1277
|
-
percentageAdjust: import_smithy_client.serializeFloat
|
|
1278
|
-
});
|
|
1279
|
-
}, "se_UsageMetricBasis");
|
|
1280
|
-
var de_BatchDeleteConfigurationTask = /* @__PURE__ */ __name((output, context) => {
|
|
1281
|
-
return (0, import_smithy_client.take)(output, {
|
|
1282
|
-
configurationType: import_smithy_client.expectString,
|
|
1283
|
-
deletedConfigurations: import_smithy_client._json,
|
|
1284
|
-
deletionWarnings: import_smithy_client._json,
|
|
1285
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
|
|
1286
|
-
failedConfigurations: import_smithy_client._json,
|
|
1287
|
-
requestedConfigurations: import_smithy_client._json,
|
|
1288
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1289
|
-
status: import_smithy_client.expectString,
|
|
1290
|
-
taskId: import_smithy_client.expectString
|
|
1291
|
-
});
|
|
1292
|
-
}, "de_BatchDeleteConfigurationTask");
|
|
1293
|
-
var de_ConfigurationTag = /* @__PURE__ */ __name((output, context) => {
|
|
1294
|
-
return (0, import_smithy_client.take)(output, {
|
|
1295
|
-
configurationId: import_smithy_client.expectString,
|
|
1296
|
-
configurationType: import_smithy_client.expectString,
|
|
1297
|
-
key: import_smithy_client.expectString,
|
|
1298
|
-
timeOfCreation: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "timeOfCreation"),
|
|
1299
|
-
value: import_smithy_client.expectString
|
|
1300
|
-
});
|
|
1301
|
-
}, "de_ConfigurationTag");
|
|
1302
|
-
var de_ConfigurationTagSet = /* @__PURE__ */ __name((output, context) => {
|
|
1303
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1304
|
-
return de_ConfigurationTag(entry, context);
|
|
1305
|
-
});
|
|
1306
|
-
return retVal;
|
|
1307
|
-
}, "de_ConfigurationTagSet");
|
|
1308
|
-
var de_ContinuousExportDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1309
|
-
return (0, import_smithy_client.take)(output, {
|
|
1310
|
-
dataSource: import_smithy_client.expectString,
|
|
1311
|
-
exportId: import_smithy_client.expectString,
|
|
1312
|
-
s3Bucket: import_smithy_client.expectString,
|
|
1313
|
-
schemaStorageConfig: import_smithy_client._json,
|
|
1314
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1315
|
-
status: import_smithy_client.expectString,
|
|
1316
|
-
statusDetail: import_smithy_client.expectString,
|
|
1317
|
-
stopTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "stopTime")
|
|
1318
|
-
});
|
|
1319
|
-
}, "de_ContinuousExportDescription");
|
|
1320
|
-
var de_ContinuousExportDescriptions = /* @__PURE__ */ __name((output, context) => {
|
|
1321
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1322
|
-
return de_ContinuousExportDescription(entry, context);
|
|
1323
|
-
});
|
|
1324
|
-
return retVal;
|
|
1325
|
-
}, "de_ContinuousExportDescriptions");
|
|
1326
|
-
var de_DescribeBatchDeleteConfigurationTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1327
|
-
return (0, import_smithy_client.take)(output, {
|
|
1328
|
-
task: /* @__PURE__ */ __name((_) => de_BatchDeleteConfigurationTask(_, context), "task")
|
|
1329
|
-
});
|
|
1330
|
-
}, "de_DescribeBatchDeleteConfigurationTaskResponse");
|
|
1331
|
-
var de_DescribeContinuousExportsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1332
|
-
return (0, import_smithy_client.take)(output, {
|
|
1333
|
-
descriptions: /* @__PURE__ */ __name((_) => de_ContinuousExportDescriptions(_, context), "descriptions"),
|
|
1334
|
-
nextToken: import_smithy_client.expectString
|
|
1335
|
-
});
|
|
1336
|
-
}, "de_DescribeContinuousExportsResponse");
|
|
1337
|
-
var de_DescribeExportConfigurationsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1338
|
-
return (0, import_smithy_client.take)(output, {
|
|
1339
|
-
exportsInfo: /* @__PURE__ */ __name((_) => de_ExportsInfo(_, context), "exportsInfo"),
|
|
1340
|
-
nextToken: import_smithy_client.expectString
|
|
1341
|
-
});
|
|
1342
|
-
}, "de_DescribeExportConfigurationsResponse");
|
|
1343
|
-
var de_DescribeExportTasksResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1344
|
-
return (0, import_smithy_client.take)(output, {
|
|
1345
|
-
exportsInfo: /* @__PURE__ */ __name((_) => de_ExportsInfo(_, context), "exportsInfo"),
|
|
1346
|
-
nextToken: import_smithy_client.expectString
|
|
1347
|
-
});
|
|
1348
|
-
}, "de_DescribeExportTasksResponse");
|
|
1349
|
-
var de_DescribeImportTasksResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1350
|
-
return (0, import_smithy_client.take)(output, {
|
|
1351
|
-
nextToken: import_smithy_client.expectString,
|
|
1352
|
-
tasks: /* @__PURE__ */ __name((_) => de_ImportTaskList(_, context), "tasks")
|
|
1353
|
-
});
|
|
1354
|
-
}, "de_DescribeImportTasksResponse");
|
|
1355
|
-
var de_DescribeTagsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1356
|
-
return (0, import_smithy_client.take)(output, {
|
|
1357
|
-
nextToken: import_smithy_client.expectString,
|
|
1358
|
-
tags: /* @__PURE__ */ __name((_) => de_ConfigurationTagSet(_, context), "tags")
|
|
1359
|
-
});
|
|
1360
|
-
}, "de_DescribeTagsResponse");
|
|
1361
|
-
var de_ExportInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1362
|
-
return (0, import_smithy_client.take)(output, {
|
|
1363
|
-
configurationsDownloadUrl: import_smithy_client.expectString,
|
|
1364
|
-
exportId: import_smithy_client.expectString,
|
|
1365
|
-
exportRequestTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "exportRequestTime"),
|
|
1366
|
-
exportStatus: import_smithy_client.expectString,
|
|
1367
|
-
isTruncated: import_smithy_client.expectBoolean,
|
|
1368
|
-
requestedEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "requestedEndTime"),
|
|
1369
|
-
requestedStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "requestedStartTime"),
|
|
1370
|
-
statusMessage: import_smithy_client.expectString
|
|
1371
|
-
});
|
|
1372
|
-
}, "de_ExportInfo");
|
|
1373
|
-
var de_ExportsInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1374
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1375
|
-
return de_ExportInfo(entry, context);
|
|
1376
|
-
});
|
|
1377
|
-
return retVal;
|
|
1378
|
-
}, "de_ExportsInfo");
|
|
1379
|
-
var de_ImportTask = /* @__PURE__ */ __name((output, context) => {
|
|
1380
|
-
return (0, import_smithy_client.take)(output, {
|
|
1381
|
-
applicationImportFailure: import_smithy_client.expectInt32,
|
|
1382
|
-
applicationImportSuccess: import_smithy_client.expectInt32,
|
|
1383
|
-
clientRequestToken: import_smithy_client.expectString,
|
|
1384
|
-
errorsAndFailedEntriesZip: import_smithy_client.expectString,
|
|
1385
|
-
fileClassification: import_smithy_client.expectString,
|
|
1386
|
-
importCompletionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "importCompletionTime"),
|
|
1387
|
-
importDeletedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "importDeletedTime"),
|
|
1388
|
-
importRequestTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "importRequestTime"),
|
|
1389
|
-
importTaskId: import_smithy_client.expectString,
|
|
1390
|
-
importUrl: import_smithy_client.expectString,
|
|
1391
|
-
name: import_smithy_client.expectString,
|
|
1392
|
-
serverImportFailure: import_smithy_client.expectInt32,
|
|
1393
|
-
serverImportSuccess: import_smithy_client.expectInt32,
|
|
1394
|
-
status: import_smithy_client.expectString
|
|
1395
|
-
});
|
|
1396
|
-
}, "de_ImportTask");
|
|
1397
|
-
var de_ImportTaskList = /* @__PURE__ */ __name((output, context) => {
|
|
1398
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1399
|
-
return de_ImportTask(entry, context);
|
|
1400
|
-
});
|
|
1401
|
-
return retVal;
|
|
1402
|
-
}, "de_ImportTaskList");
|
|
1403
|
-
var de_StartContinuousExportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1404
|
-
return (0, import_smithy_client.take)(output, {
|
|
1405
|
-
dataSource: import_smithy_client.expectString,
|
|
1406
|
-
exportId: import_smithy_client.expectString,
|
|
1407
|
-
s3Bucket: import_smithy_client.expectString,
|
|
1408
|
-
schemaStorageConfig: import_smithy_client._json,
|
|
1409
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
|
|
1410
|
-
});
|
|
1411
|
-
}, "de_StartContinuousExportResponse");
|
|
1412
|
-
var de_StartImportTaskResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1413
|
-
return (0, import_smithy_client.take)(output, {
|
|
1414
|
-
task: /* @__PURE__ */ __name((_) => de_ImportTask(_, context), "task")
|
|
1415
|
-
});
|
|
1416
|
-
}, "de_StartImportTaskResponse");
|
|
1417
|
-
var de_StopContinuousExportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1418
|
-
return (0, import_smithy_client.take)(output, {
|
|
1419
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1420
|
-
stopTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "stopTime")
|
|
1421
|
-
});
|
|
1422
|
-
}, "de_StopContinuousExportResponse");
|
|
1423
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1424
|
-
httpStatusCode: output.statusCode,
|
|
1425
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1426
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1427
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1428
|
-
}), "deserializeMetadata");
|
|
1429
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ApplicationDiscoveryServiceServiceException);
|
|
1430
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1431
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1432
|
-
const contents = {
|
|
1433
|
-
protocol,
|
|
1434
|
-
hostname,
|
|
1435
|
-
port,
|
|
1436
|
-
method: "POST",
|
|
1437
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1438
|
-
headers
|
|
1439
|
-
};
|
|
1440
|
-
if (resolvedHostname !== void 0) {
|
|
1441
|
-
contents.hostname = resolvedHostname;
|
|
1442
|
-
}
|
|
1443
|
-
if (body !== void 0) {
|
|
1444
|
-
contents.body = body;
|
|
1445
|
-
}
|
|
1446
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1447
|
-
}, "buildHttpRpcRequest");
|
|
1448
|
-
function sharedHeaders(operation) {
|
|
1449
|
-
return {
|
|
1450
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1451
|
-
"x-amz-target": `AWSPoseidonService_V2015_11_01.${operation}`
|
|
1452
|
-
};
|
|
1453
|
-
}
|
|
1454
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1455
|
-
|
|
1456
|
-
// src/commands/AssociateConfigurationItemsToApplicationCommand.ts
|
|
1457
|
-
var AssociateConfigurationItemsToApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1458
|
-
return [
|
|
1459
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1460
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1461
|
-
];
|
|
1462
|
-
}).s("AWSPoseidonService_V2015_11_01", "AssociateConfigurationItemsToApplication", {}).n("ApplicationDiscoveryServiceClient", "AssociateConfigurationItemsToApplicationCommand").f(void 0, void 0).ser(se_AssociateConfigurationItemsToApplicationCommand).de(de_AssociateConfigurationItemsToApplicationCommand).build() {
|
|
1463
|
-
static {
|
|
1464
|
-
__name(this, "AssociateConfigurationItemsToApplicationCommand");
|
|
1465
|
-
}
|
|
1466
1056
|
};
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
return [
|
|
1474
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1475
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1476
|
-
];
|
|
1477
|
-
}).s("AWSPoseidonService_V2015_11_01", "BatchDeleteAgents", {}).n("ApplicationDiscoveryServiceClient", "BatchDeleteAgentsCommand").f(void 0, void 0).ser(se_BatchDeleteAgentsCommand).de(de_BatchDeleteAgentsCommand).build() {
|
|
1478
|
-
static {
|
|
1479
|
-
__name(this, "BatchDeleteAgentsCommand");
|
|
1480
|
-
}
|
|
1057
|
+
const se_StartImportTaskRequest = (input, context) => {
|
|
1058
|
+
return smithyClient.take(input, {
|
|
1059
|
+
clientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1060
|
+
importUrl: [],
|
|
1061
|
+
name: [],
|
|
1062
|
+
});
|
|
1481
1063
|
};
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
var BatchDeleteImportDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1488
|
-
return [
|
|
1489
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1490
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1491
|
-
];
|
|
1492
|
-
}).s("AWSPoseidonService_V2015_11_01", "BatchDeleteImportData", {}).n("ApplicationDiscoveryServiceClient", "BatchDeleteImportDataCommand").f(void 0, void 0).ser(se_BatchDeleteImportDataCommand).de(de_BatchDeleteImportDataCommand).build() {
|
|
1493
|
-
static {
|
|
1494
|
-
__name(this, "BatchDeleteImportDataCommand");
|
|
1495
|
-
}
|
|
1064
|
+
const se_UsageMetricBasis = (input, context) => {
|
|
1065
|
+
return smithyClient.take(input, {
|
|
1066
|
+
name: [],
|
|
1067
|
+
percentageAdjust: smithyClient.serializeFloat,
|
|
1068
|
+
});
|
|
1496
1069
|
};
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
__name(this, "CreateApplicationCommand");
|
|
1510
|
-
}
|
|
1070
|
+
const de_BatchDeleteConfigurationTask = (output, context) => {
|
|
1071
|
+
return smithyClient.take(output, {
|
|
1072
|
+
configurationType: smithyClient.expectString,
|
|
1073
|
+
deletedConfigurations: smithyClient._json,
|
|
1074
|
+
deletionWarnings: smithyClient._json,
|
|
1075
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1076
|
+
failedConfigurations: smithyClient._json,
|
|
1077
|
+
requestedConfigurations: smithyClient._json,
|
|
1078
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1079
|
+
status: smithyClient.expectString,
|
|
1080
|
+
taskId: smithyClient.expectString,
|
|
1081
|
+
});
|
|
1511
1082
|
};
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1521
|
-
];
|
|
1522
|
-
}).s("AWSPoseidonService_V2015_11_01", "CreateTags", {}).n("ApplicationDiscoveryServiceClient", "CreateTagsCommand").f(void 0, void 0).ser(se_CreateTagsCommand).de(de_CreateTagsCommand).build() {
|
|
1523
|
-
static {
|
|
1524
|
-
__name(this, "CreateTagsCommand");
|
|
1525
|
-
}
|
|
1083
|
+
const de_ConfigurationTag = (output, context) => {
|
|
1084
|
+
return smithyClient.take(output, {
|
|
1085
|
+
configurationId: smithyClient.expectString,
|
|
1086
|
+
configurationType: smithyClient.expectString,
|
|
1087
|
+
key: smithyClient.expectString,
|
|
1088
|
+
timeOfCreation: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1089
|
+
value: smithyClient.expectString,
|
|
1090
|
+
});
|
|
1526
1091
|
};
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1535
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1536
|
-
];
|
|
1537
|
-
}).s("AWSPoseidonService_V2015_11_01", "DeleteApplications", {}).n("ApplicationDiscoveryServiceClient", "DeleteApplicationsCommand").f(void 0, void 0).ser(se_DeleteApplicationsCommand).de(de_DeleteApplicationsCommand).build() {
|
|
1538
|
-
static {
|
|
1539
|
-
__name(this, "DeleteApplicationsCommand");
|
|
1540
|
-
}
|
|
1092
|
+
const de_ConfigurationTagSet = (output, context) => {
|
|
1093
|
+
const retVal = (output || [])
|
|
1094
|
+
.filter((e) => e != null)
|
|
1095
|
+
.map((entry) => {
|
|
1096
|
+
return de_ConfigurationTag(entry);
|
|
1097
|
+
});
|
|
1098
|
+
return retVal;
|
|
1541
1099
|
};
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
})
|
|
1553
|
-
static {
|
|
1554
|
-
__name(this, "DeleteTagsCommand");
|
|
1555
|
-
}
|
|
1100
|
+
const de_ContinuousExportDescription = (output, context) => {
|
|
1101
|
+
return smithyClient.take(output, {
|
|
1102
|
+
dataSource: smithyClient.expectString,
|
|
1103
|
+
exportId: smithyClient.expectString,
|
|
1104
|
+
s3Bucket: smithyClient.expectString,
|
|
1105
|
+
schemaStorageConfig: smithyClient._json,
|
|
1106
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1107
|
+
status: smithyClient.expectString,
|
|
1108
|
+
statusDetail: smithyClient.expectString,
|
|
1109
|
+
stopTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1110
|
+
});
|
|
1556
1111
|
};
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1565
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1566
|
-
];
|
|
1567
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeAgents", {}).n("ApplicationDiscoveryServiceClient", "DescribeAgentsCommand").f(void 0, DescribeAgentsResponseFilterSensitiveLog).ser(se_DescribeAgentsCommand).de(de_DescribeAgentsCommand).build() {
|
|
1568
|
-
static {
|
|
1569
|
-
__name(this, "DescribeAgentsCommand");
|
|
1570
|
-
}
|
|
1112
|
+
const de_ContinuousExportDescriptions = (output, context) => {
|
|
1113
|
+
const retVal = (output || [])
|
|
1114
|
+
.filter((e) => e != null)
|
|
1115
|
+
.map((entry) => {
|
|
1116
|
+
return de_ContinuousExportDescription(entry);
|
|
1117
|
+
});
|
|
1118
|
+
return retVal;
|
|
1571
1119
|
};
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
var DescribeBatchDeleteConfigurationTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1578
|
-
return [
|
|
1579
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1580
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1581
|
-
];
|
|
1582
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeBatchDeleteConfigurationTask", {}).n("ApplicationDiscoveryServiceClient", "DescribeBatchDeleteConfigurationTaskCommand").f(void 0, void 0).ser(se_DescribeBatchDeleteConfigurationTaskCommand).de(de_DescribeBatchDeleteConfigurationTaskCommand).build() {
|
|
1583
|
-
static {
|
|
1584
|
-
__name(this, "DescribeBatchDeleteConfigurationTaskCommand");
|
|
1585
|
-
}
|
|
1120
|
+
const de_DescribeBatchDeleteConfigurationTaskResponse = (output, context) => {
|
|
1121
|
+
return smithyClient.take(output, {
|
|
1122
|
+
task: (_) => de_BatchDeleteConfigurationTask(_),
|
|
1123
|
+
});
|
|
1586
1124
|
};
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
var DescribeConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1593
|
-
return [
|
|
1594
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1595
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1596
|
-
];
|
|
1597
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeConfigurations", {}).n("ApplicationDiscoveryServiceClient", "DescribeConfigurationsCommand").f(void 0, void 0).ser(se_DescribeConfigurationsCommand).de(de_DescribeConfigurationsCommand).build() {
|
|
1598
|
-
static {
|
|
1599
|
-
__name(this, "DescribeConfigurationsCommand");
|
|
1600
|
-
}
|
|
1125
|
+
const de_DescribeContinuousExportsResponse = (output, context) => {
|
|
1126
|
+
return smithyClient.take(output, {
|
|
1127
|
+
descriptions: (_) => de_ContinuousExportDescriptions(_),
|
|
1128
|
+
nextToken: smithyClient.expectString,
|
|
1129
|
+
});
|
|
1601
1130
|
};
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
var DescribeContinuousExportsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1608
|
-
return [
|
|
1609
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1610
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1611
|
-
];
|
|
1612
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeContinuousExports", {}).n("ApplicationDiscoveryServiceClient", "DescribeContinuousExportsCommand").f(void 0, void 0).ser(se_DescribeContinuousExportsCommand).de(de_DescribeContinuousExportsCommand).build() {
|
|
1613
|
-
static {
|
|
1614
|
-
__name(this, "DescribeContinuousExportsCommand");
|
|
1615
|
-
}
|
|
1131
|
+
const de_DescribeExportConfigurationsResponse = (output, context) => {
|
|
1132
|
+
return smithyClient.take(output, {
|
|
1133
|
+
exportsInfo: (_) => de_ExportsInfo(_),
|
|
1134
|
+
nextToken: smithyClient.expectString,
|
|
1135
|
+
});
|
|
1616
1136
|
};
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
var DescribeExportConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1623
|
-
return [
|
|
1624
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1625
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1626
|
-
];
|
|
1627
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeExportConfigurations", {}).n("ApplicationDiscoveryServiceClient", "DescribeExportConfigurationsCommand").f(void 0, void 0).ser(se_DescribeExportConfigurationsCommand).de(de_DescribeExportConfigurationsCommand).build() {
|
|
1628
|
-
static {
|
|
1629
|
-
__name(this, "DescribeExportConfigurationsCommand");
|
|
1630
|
-
}
|
|
1137
|
+
const de_DescribeExportTasksResponse = (output, context) => {
|
|
1138
|
+
return smithyClient.take(output, {
|
|
1139
|
+
exportsInfo: (_) => de_ExportsInfo(_),
|
|
1140
|
+
nextToken: smithyClient.expectString,
|
|
1141
|
+
});
|
|
1631
1142
|
};
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
var DescribeExportTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1638
|
-
return [
|
|
1639
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1640
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1641
|
-
];
|
|
1642
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeExportTasks", {}).n("ApplicationDiscoveryServiceClient", "DescribeExportTasksCommand").f(void 0, void 0).ser(se_DescribeExportTasksCommand).de(de_DescribeExportTasksCommand).build() {
|
|
1643
|
-
static {
|
|
1644
|
-
__name(this, "DescribeExportTasksCommand");
|
|
1645
|
-
}
|
|
1143
|
+
const de_DescribeImportTasksResponse = (output, context) => {
|
|
1144
|
+
return smithyClient.take(output, {
|
|
1145
|
+
nextToken: smithyClient.expectString,
|
|
1146
|
+
tasks: (_) => de_ImportTaskList(_),
|
|
1147
|
+
});
|
|
1646
1148
|
};
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
var DescribeImportTasksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1653
|
-
return [
|
|
1654
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1655
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1656
|
-
];
|
|
1657
|
-
}).s("AWSPoseidonService_V2015_11_01", "DescribeImportTasks", {}).n("ApplicationDiscoveryServiceClient", "DescribeImportTasksCommand").f(void 0, void 0).ser(se_DescribeImportTasksCommand).de(de_DescribeImportTasksCommand).build() {
|
|
1658
|
-
static {
|
|
1659
|
-
__name(this, "DescribeImportTasksCommand");
|
|
1660
|
-
}
|
|
1149
|
+
const de_DescribeTagsResponse = (output, context) => {
|
|
1150
|
+
return smithyClient.take(output, {
|
|
1151
|
+
nextToken: smithyClient.expectString,
|
|
1152
|
+
tags: (_) => de_ConfigurationTagSet(_),
|
|
1153
|
+
});
|
|
1661
1154
|
};
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
})
|
|
1673
|
-
static {
|
|
1674
|
-
__name(this, "DescribeTagsCommand");
|
|
1675
|
-
}
|
|
1155
|
+
const de_ExportInfo = (output, context) => {
|
|
1156
|
+
return smithyClient.take(output, {
|
|
1157
|
+
configurationsDownloadUrl: smithyClient.expectString,
|
|
1158
|
+
exportId: smithyClient.expectString,
|
|
1159
|
+
exportRequestTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1160
|
+
exportStatus: smithyClient.expectString,
|
|
1161
|
+
isTruncated: smithyClient.expectBoolean,
|
|
1162
|
+
requestedEndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1163
|
+
requestedStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1164
|
+
statusMessage: smithyClient.expectString,
|
|
1165
|
+
});
|
|
1676
1166
|
};
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1685
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1686
|
-
];
|
|
1687
|
-
}).s("AWSPoseidonService_V2015_11_01", "DisassociateConfigurationItemsFromApplication", {}).n("ApplicationDiscoveryServiceClient", "DisassociateConfigurationItemsFromApplicationCommand").f(void 0, void 0).ser(se_DisassociateConfigurationItemsFromApplicationCommand).de(de_DisassociateConfigurationItemsFromApplicationCommand).build() {
|
|
1688
|
-
static {
|
|
1689
|
-
__name(this, "DisassociateConfigurationItemsFromApplicationCommand");
|
|
1690
|
-
}
|
|
1167
|
+
const de_ExportsInfo = (output, context) => {
|
|
1168
|
+
const retVal = (output || [])
|
|
1169
|
+
.filter((e) => e != null)
|
|
1170
|
+
.map((entry) => {
|
|
1171
|
+
return de_ExportInfo(entry);
|
|
1172
|
+
});
|
|
1173
|
+
return retVal;
|
|
1691
1174
|
};
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1175
|
+
const de_ImportTask = (output, context) => {
|
|
1176
|
+
return smithyClient.take(output, {
|
|
1177
|
+
applicationImportFailure: smithyClient.expectInt32,
|
|
1178
|
+
applicationImportSuccess: smithyClient.expectInt32,
|
|
1179
|
+
clientRequestToken: smithyClient.expectString,
|
|
1180
|
+
errorsAndFailedEntriesZip: smithyClient.expectString,
|
|
1181
|
+
fileClassification: smithyClient.expectString,
|
|
1182
|
+
importCompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1183
|
+
importDeletedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1184
|
+
importRequestTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1185
|
+
importTaskId: smithyClient.expectString,
|
|
1186
|
+
importUrl: smithyClient.expectString,
|
|
1187
|
+
name: smithyClient.expectString,
|
|
1188
|
+
serverImportFailure: smithyClient.expectInt32,
|
|
1189
|
+
serverImportSuccess: smithyClient.expectInt32,
|
|
1190
|
+
status: smithyClient.expectString,
|
|
1191
|
+
});
|
|
1706
1192
|
};
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1715
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1716
|
-
];
|
|
1717
|
-
}).s("AWSPoseidonService_V2015_11_01", "GetDiscoverySummary", {}).n("ApplicationDiscoveryServiceClient", "GetDiscoverySummaryCommand").f(void 0, void 0).ser(se_GetDiscoverySummaryCommand).de(de_GetDiscoverySummaryCommand).build() {
|
|
1718
|
-
static {
|
|
1719
|
-
__name(this, "GetDiscoverySummaryCommand");
|
|
1720
|
-
}
|
|
1193
|
+
const de_ImportTaskList = (output, context) => {
|
|
1194
|
+
const retVal = (output || [])
|
|
1195
|
+
.filter((e) => e != null)
|
|
1196
|
+
.map((entry) => {
|
|
1197
|
+
return de_ImportTask(entry);
|
|
1198
|
+
});
|
|
1199
|
+
return retVal;
|
|
1721
1200
|
};
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1731
|
-
];
|
|
1732
|
-
}).s("AWSPoseidonService_V2015_11_01", "ListConfigurations", {}).n("ApplicationDiscoveryServiceClient", "ListConfigurationsCommand").f(void 0, void 0).ser(se_ListConfigurationsCommand).de(de_ListConfigurationsCommand).build() {
|
|
1733
|
-
static {
|
|
1734
|
-
__name(this, "ListConfigurationsCommand");
|
|
1735
|
-
}
|
|
1201
|
+
const de_StartContinuousExportResponse = (output, context) => {
|
|
1202
|
+
return smithyClient.take(output, {
|
|
1203
|
+
dataSource: smithyClient.expectString,
|
|
1204
|
+
exportId: smithyClient.expectString,
|
|
1205
|
+
s3Bucket: smithyClient.expectString,
|
|
1206
|
+
schemaStorageConfig: smithyClient._json,
|
|
1207
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1208
|
+
});
|
|
1736
1209
|
};
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
var ListServerNeighborsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1743
|
-
return [
|
|
1744
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1745
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1746
|
-
];
|
|
1747
|
-
}).s("AWSPoseidonService_V2015_11_01", "ListServerNeighbors", {}).n("ApplicationDiscoveryServiceClient", "ListServerNeighborsCommand").f(void 0, void 0).ser(se_ListServerNeighborsCommand).de(de_ListServerNeighborsCommand).build() {
|
|
1748
|
-
static {
|
|
1749
|
-
__name(this, "ListServerNeighborsCommand");
|
|
1750
|
-
}
|
|
1210
|
+
const de_StartImportTaskResponse = (output, context) => {
|
|
1211
|
+
return smithyClient.take(output, {
|
|
1212
|
+
task: (_) => de_ImportTask(_),
|
|
1213
|
+
});
|
|
1751
1214
|
};
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
var StartBatchDeleteConfigurationTaskCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1758
|
-
return [
|
|
1759
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1760
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1761
|
-
];
|
|
1762
|
-
}).s("AWSPoseidonService_V2015_11_01", "StartBatchDeleteConfigurationTask", {}).n("ApplicationDiscoveryServiceClient", "StartBatchDeleteConfigurationTaskCommand").f(void 0, void 0).ser(se_StartBatchDeleteConfigurationTaskCommand).de(de_StartBatchDeleteConfigurationTaskCommand).build() {
|
|
1763
|
-
static {
|
|
1764
|
-
__name(this, "StartBatchDeleteConfigurationTaskCommand");
|
|
1765
|
-
}
|
|
1215
|
+
const de_StopContinuousExportResponse = (output, context) => {
|
|
1216
|
+
return smithyClient.take(output, {
|
|
1217
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1218
|
+
stopTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1219
|
+
});
|
|
1766
1220
|
};
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1221
|
+
const deserializeMetadata = (output) => ({
|
|
1222
|
+
httpStatusCode: output.statusCode,
|
|
1223
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1224
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1225
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1226
|
+
});
|
|
1227
|
+
const throwDefaultError = smithyClient.withBaseException(ApplicationDiscoveryServiceServiceException);
|
|
1228
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1229
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1230
|
+
const contents = {
|
|
1231
|
+
protocol,
|
|
1232
|
+
hostname,
|
|
1233
|
+
port,
|
|
1234
|
+
method: "POST",
|
|
1235
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1236
|
+
headers,
|
|
1237
|
+
};
|
|
1238
|
+
if (body !== undefined) {
|
|
1239
|
+
contents.body = body;
|
|
1240
|
+
}
|
|
1241
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1781
1242
|
};
|
|
1243
|
+
function sharedHeaders(operation) {
|
|
1244
|
+
return {
|
|
1245
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1246
|
+
"x-amz-target": `AWSPoseidonService_V2015_11_01.${operation}`,
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1782
1249
|
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1250
|
+
class AssociateConfigurationItemsToApplicationCommand extends smithyClient.Command
|
|
1251
|
+
.classBuilder()
|
|
1252
|
+
.ep(commonParams)
|
|
1253
|
+
.m(function (Command, cs, config, o) {
|
|
1254
|
+
return [
|
|
1255
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1256
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1257
|
+
];
|
|
1258
|
+
})
|
|
1259
|
+
.s("AWSPoseidonService_V2015_11_01", "AssociateConfigurationItemsToApplication", {})
|
|
1260
|
+
.n("ApplicationDiscoveryServiceClient", "AssociateConfigurationItemsToApplicationCommand")
|
|
1261
|
+
.f(void 0, void 0)
|
|
1262
|
+
.ser(se_AssociateConfigurationItemsToApplicationCommand)
|
|
1263
|
+
.de(de_AssociateConfigurationItemsToApplicationCommand)
|
|
1264
|
+
.build() {
|
|
1265
|
+
}
|
|
1797
1266
|
|
|
1798
|
-
|
|
1267
|
+
class BatchDeleteAgentsCommand extends smithyClient.Command
|
|
1268
|
+
.classBuilder()
|
|
1269
|
+
.ep(commonParams)
|
|
1270
|
+
.m(function (Command, cs, config, o) {
|
|
1271
|
+
return [
|
|
1272
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1273
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1274
|
+
];
|
|
1275
|
+
})
|
|
1276
|
+
.s("AWSPoseidonService_V2015_11_01", "BatchDeleteAgents", {})
|
|
1277
|
+
.n("ApplicationDiscoveryServiceClient", "BatchDeleteAgentsCommand")
|
|
1278
|
+
.f(void 0, void 0)
|
|
1279
|
+
.ser(se_BatchDeleteAgentsCommand)
|
|
1280
|
+
.de(de_BatchDeleteAgentsCommand)
|
|
1281
|
+
.build() {
|
|
1282
|
+
}
|
|
1799
1283
|
|
|
1284
|
+
class BatchDeleteImportDataCommand extends smithyClient.Command
|
|
1285
|
+
.classBuilder()
|
|
1286
|
+
.ep(commonParams)
|
|
1287
|
+
.m(function (Command, cs, config, o) {
|
|
1288
|
+
return [
|
|
1289
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1290
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1291
|
+
];
|
|
1292
|
+
})
|
|
1293
|
+
.s("AWSPoseidonService_V2015_11_01", "BatchDeleteImportData", {})
|
|
1294
|
+
.n("ApplicationDiscoveryServiceClient", "BatchDeleteImportDataCommand")
|
|
1295
|
+
.f(void 0, void 0)
|
|
1296
|
+
.ser(se_BatchDeleteImportDataCommand)
|
|
1297
|
+
.de(de_BatchDeleteImportDataCommand)
|
|
1298
|
+
.build() {
|
|
1299
|
+
}
|
|
1800
1300
|
|
|
1301
|
+
class CreateApplicationCommand extends smithyClient.Command
|
|
1302
|
+
.classBuilder()
|
|
1303
|
+
.ep(commonParams)
|
|
1304
|
+
.m(function (Command, cs, config, o) {
|
|
1305
|
+
return [
|
|
1306
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1307
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1308
|
+
];
|
|
1309
|
+
})
|
|
1310
|
+
.s("AWSPoseidonService_V2015_11_01", "CreateApplication", {})
|
|
1311
|
+
.n("ApplicationDiscoveryServiceClient", "CreateApplicationCommand")
|
|
1312
|
+
.f(void 0, void 0)
|
|
1313
|
+
.ser(se_CreateApplicationCommand)
|
|
1314
|
+
.de(de_CreateApplicationCommand)
|
|
1315
|
+
.build() {
|
|
1316
|
+
}
|
|
1801
1317
|
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
(
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
}
|
|
1318
|
+
class CreateTagsCommand extends smithyClient.Command
|
|
1319
|
+
.classBuilder()
|
|
1320
|
+
.ep(commonParams)
|
|
1321
|
+
.m(function (Command, cs, config, o) {
|
|
1322
|
+
return [
|
|
1323
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1324
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1325
|
+
];
|
|
1326
|
+
})
|
|
1327
|
+
.s("AWSPoseidonService_V2015_11_01", "CreateTags", {})
|
|
1328
|
+
.n("ApplicationDiscoveryServiceClient", "CreateTagsCommand")
|
|
1329
|
+
.f(void 0, void 0)
|
|
1330
|
+
.ser(se_CreateTagsCommand)
|
|
1331
|
+
.de(de_CreateTagsCommand)
|
|
1332
|
+
.build() {
|
|
1333
|
+
}
|
|
1812
1334
|
|
|
1813
|
-
|
|
1335
|
+
class DeleteApplicationsCommand extends smithyClient.Command
|
|
1336
|
+
.classBuilder()
|
|
1337
|
+
.ep(commonParams)
|
|
1338
|
+
.m(function (Command, cs, config, o) {
|
|
1339
|
+
return [
|
|
1340
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1341
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1342
|
+
];
|
|
1343
|
+
})
|
|
1344
|
+
.s("AWSPoseidonService_V2015_11_01", "DeleteApplications", {})
|
|
1345
|
+
.n("ApplicationDiscoveryServiceClient", "DeleteApplicationsCommand")
|
|
1346
|
+
.f(void 0, void 0)
|
|
1347
|
+
.ser(se_DeleteApplicationsCommand)
|
|
1348
|
+
.de(de_DeleteApplicationsCommand)
|
|
1349
|
+
.build() {
|
|
1350
|
+
}
|
|
1814
1351
|
|
|
1352
|
+
class DeleteTagsCommand extends smithyClient.Command
|
|
1353
|
+
.classBuilder()
|
|
1354
|
+
.ep(commonParams)
|
|
1355
|
+
.m(function (Command, cs, config, o) {
|
|
1356
|
+
return [
|
|
1357
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1358
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1359
|
+
];
|
|
1360
|
+
})
|
|
1361
|
+
.s("AWSPoseidonService_V2015_11_01", "DeleteTags", {})
|
|
1362
|
+
.n("ApplicationDiscoveryServiceClient", "DeleteTagsCommand")
|
|
1363
|
+
.f(void 0, void 0)
|
|
1364
|
+
.ser(se_DeleteTagsCommand)
|
|
1365
|
+
.de(de_DeleteTagsCommand)
|
|
1366
|
+
.build() {
|
|
1367
|
+
}
|
|
1815
1368
|
|
|
1369
|
+
class DescribeAgentsCommand extends smithyClient.Command
|
|
1370
|
+
.classBuilder()
|
|
1371
|
+
.ep(commonParams)
|
|
1372
|
+
.m(function (Command, cs, config, o) {
|
|
1373
|
+
return [
|
|
1374
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1375
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1376
|
+
];
|
|
1377
|
+
})
|
|
1378
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeAgents", {})
|
|
1379
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeAgentsCommand")
|
|
1380
|
+
.f(void 0, DescribeAgentsResponseFilterSensitiveLog)
|
|
1381
|
+
.ser(se_DescribeAgentsCommand)
|
|
1382
|
+
.de(de_DescribeAgentsCommand)
|
|
1383
|
+
.build() {
|
|
1384
|
+
}
|
|
1816
1385
|
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
(
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
}
|
|
1386
|
+
class DescribeBatchDeleteConfigurationTaskCommand extends smithyClient.Command
|
|
1387
|
+
.classBuilder()
|
|
1388
|
+
.ep(commonParams)
|
|
1389
|
+
.m(function (Command, cs, config, o) {
|
|
1390
|
+
return [
|
|
1391
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1392
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1393
|
+
];
|
|
1394
|
+
})
|
|
1395
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeBatchDeleteConfigurationTask", {})
|
|
1396
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeBatchDeleteConfigurationTaskCommand")
|
|
1397
|
+
.f(void 0, void 0)
|
|
1398
|
+
.ser(se_DescribeBatchDeleteConfigurationTaskCommand)
|
|
1399
|
+
.de(de_DescribeBatchDeleteConfigurationTaskCommand)
|
|
1400
|
+
.build() {
|
|
1401
|
+
}
|
|
1827
1402
|
|
|
1828
|
-
|
|
1403
|
+
class DescribeConfigurationsCommand extends smithyClient.Command
|
|
1404
|
+
.classBuilder()
|
|
1405
|
+
.ep(commonParams)
|
|
1406
|
+
.m(function (Command, cs, config, o) {
|
|
1407
|
+
return [
|
|
1408
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1409
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1410
|
+
];
|
|
1411
|
+
})
|
|
1412
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeConfigurations", {})
|
|
1413
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeConfigurationsCommand")
|
|
1414
|
+
.f(void 0, void 0)
|
|
1415
|
+
.ser(se_DescribeConfigurationsCommand)
|
|
1416
|
+
.de(de_DescribeConfigurationsCommand)
|
|
1417
|
+
.build() {
|
|
1418
|
+
}
|
|
1829
1419
|
|
|
1420
|
+
class DescribeContinuousExportsCommand extends smithyClient.Command
|
|
1421
|
+
.classBuilder()
|
|
1422
|
+
.ep(commonParams)
|
|
1423
|
+
.m(function (Command, cs, config, o) {
|
|
1424
|
+
return [
|
|
1425
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1426
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1427
|
+
];
|
|
1428
|
+
})
|
|
1429
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeContinuousExports", {})
|
|
1430
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeContinuousExportsCommand")
|
|
1431
|
+
.f(void 0, void 0)
|
|
1432
|
+
.ser(se_DescribeContinuousExportsCommand)
|
|
1433
|
+
.de(de_DescribeContinuousExportsCommand)
|
|
1434
|
+
.build() {
|
|
1435
|
+
}
|
|
1830
1436
|
|
|
1437
|
+
class DescribeExportConfigurationsCommand extends smithyClient.Command
|
|
1438
|
+
.classBuilder()
|
|
1439
|
+
.ep(commonParams)
|
|
1440
|
+
.m(function (Command, cs, config, o) {
|
|
1441
|
+
return [
|
|
1442
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1443
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1444
|
+
];
|
|
1445
|
+
})
|
|
1446
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeExportConfigurations", {})
|
|
1447
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeExportConfigurationsCommand")
|
|
1448
|
+
.f(void 0, void 0)
|
|
1449
|
+
.ser(se_DescribeExportConfigurationsCommand)
|
|
1450
|
+
.de(de_DescribeExportConfigurationsCommand)
|
|
1451
|
+
.build() {
|
|
1452
|
+
}
|
|
1831
1453
|
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
(
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
}
|
|
1454
|
+
class DescribeExportTasksCommand extends smithyClient.Command
|
|
1455
|
+
.classBuilder()
|
|
1456
|
+
.ep(commonParams)
|
|
1457
|
+
.m(function (Command, cs, config, o) {
|
|
1458
|
+
return [
|
|
1459
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1460
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1461
|
+
];
|
|
1462
|
+
})
|
|
1463
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeExportTasks", {})
|
|
1464
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeExportTasksCommand")
|
|
1465
|
+
.f(void 0, void 0)
|
|
1466
|
+
.ser(se_DescribeExportTasksCommand)
|
|
1467
|
+
.de(de_DescribeExportTasksCommand)
|
|
1468
|
+
.build() {
|
|
1469
|
+
}
|
|
1842
1470
|
|
|
1843
|
-
|
|
1471
|
+
class DescribeImportTasksCommand extends smithyClient.Command
|
|
1472
|
+
.classBuilder()
|
|
1473
|
+
.ep(commonParams)
|
|
1474
|
+
.m(function (Command, cs, config, o) {
|
|
1475
|
+
return [
|
|
1476
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1477
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1478
|
+
];
|
|
1479
|
+
})
|
|
1480
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeImportTasks", {})
|
|
1481
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeImportTasksCommand")
|
|
1482
|
+
.f(void 0, void 0)
|
|
1483
|
+
.ser(se_DescribeImportTasksCommand)
|
|
1484
|
+
.de(de_DescribeImportTasksCommand)
|
|
1485
|
+
.build() {
|
|
1486
|
+
}
|
|
1844
1487
|
|
|
1488
|
+
class DescribeTagsCommand extends smithyClient.Command
|
|
1489
|
+
.classBuilder()
|
|
1490
|
+
.ep(commonParams)
|
|
1491
|
+
.m(function (Command, cs, config, o) {
|
|
1492
|
+
return [
|
|
1493
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1494
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1495
|
+
];
|
|
1496
|
+
})
|
|
1497
|
+
.s("AWSPoseidonService_V2015_11_01", "DescribeTags", {})
|
|
1498
|
+
.n("ApplicationDiscoveryServiceClient", "DescribeTagsCommand")
|
|
1499
|
+
.f(void 0, void 0)
|
|
1500
|
+
.ser(se_DescribeTagsCommand)
|
|
1501
|
+
.de(de_DescribeTagsCommand)
|
|
1502
|
+
.build() {
|
|
1503
|
+
}
|
|
1845
1504
|
|
|
1505
|
+
class DisassociateConfigurationItemsFromApplicationCommand extends smithyClient.Command
|
|
1506
|
+
.classBuilder()
|
|
1507
|
+
.ep(commonParams)
|
|
1508
|
+
.m(function (Command, cs, config, o) {
|
|
1509
|
+
return [
|
|
1510
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1511
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1512
|
+
];
|
|
1513
|
+
})
|
|
1514
|
+
.s("AWSPoseidonService_V2015_11_01", "DisassociateConfigurationItemsFromApplication", {})
|
|
1515
|
+
.n("ApplicationDiscoveryServiceClient", "DisassociateConfigurationItemsFromApplicationCommand")
|
|
1516
|
+
.f(void 0, void 0)
|
|
1517
|
+
.ser(se_DisassociateConfigurationItemsFromApplicationCommand)
|
|
1518
|
+
.de(de_DisassociateConfigurationItemsFromApplicationCommand)
|
|
1519
|
+
.build() {
|
|
1520
|
+
}
|
|
1846
1521
|
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
(
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
}
|
|
1522
|
+
class ExportConfigurationsCommand extends smithyClient.Command
|
|
1523
|
+
.classBuilder()
|
|
1524
|
+
.ep(commonParams)
|
|
1525
|
+
.m(function (Command, cs, config, o) {
|
|
1526
|
+
return [
|
|
1527
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1528
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1529
|
+
];
|
|
1530
|
+
})
|
|
1531
|
+
.s("AWSPoseidonService_V2015_11_01", "ExportConfigurations", {})
|
|
1532
|
+
.n("ApplicationDiscoveryServiceClient", "ExportConfigurationsCommand")
|
|
1533
|
+
.f(void 0, void 0)
|
|
1534
|
+
.ser(se_ExportConfigurationsCommand)
|
|
1535
|
+
.de(de_ExportConfigurationsCommand)
|
|
1536
|
+
.build() {
|
|
1537
|
+
}
|
|
1857
1538
|
|
|
1858
|
-
|
|
1539
|
+
class GetDiscoverySummaryCommand extends smithyClient.Command
|
|
1540
|
+
.classBuilder()
|
|
1541
|
+
.ep(commonParams)
|
|
1542
|
+
.m(function (Command, cs, config, o) {
|
|
1543
|
+
return [
|
|
1544
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1545
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1546
|
+
];
|
|
1547
|
+
})
|
|
1548
|
+
.s("AWSPoseidonService_V2015_11_01", "GetDiscoverySummary", {})
|
|
1549
|
+
.n("ApplicationDiscoveryServiceClient", "GetDiscoverySummaryCommand")
|
|
1550
|
+
.f(void 0, void 0)
|
|
1551
|
+
.ser(se_GetDiscoverySummaryCommand)
|
|
1552
|
+
.de(de_GetDiscoverySummaryCommand)
|
|
1553
|
+
.build() {
|
|
1554
|
+
}
|
|
1859
1555
|
|
|
1556
|
+
class ListConfigurationsCommand extends smithyClient.Command
|
|
1557
|
+
.classBuilder()
|
|
1558
|
+
.ep(commonParams)
|
|
1559
|
+
.m(function (Command, cs, config, o) {
|
|
1560
|
+
return [
|
|
1561
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1562
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1563
|
+
];
|
|
1564
|
+
})
|
|
1565
|
+
.s("AWSPoseidonService_V2015_11_01", "ListConfigurations", {})
|
|
1566
|
+
.n("ApplicationDiscoveryServiceClient", "ListConfigurationsCommand")
|
|
1567
|
+
.f(void 0, void 0)
|
|
1568
|
+
.ser(se_ListConfigurationsCommand)
|
|
1569
|
+
.de(de_ListConfigurationsCommand)
|
|
1570
|
+
.build() {
|
|
1571
|
+
}
|
|
1860
1572
|
|
|
1573
|
+
class ListServerNeighborsCommand extends smithyClient.Command
|
|
1574
|
+
.classBuilder()
|
|
1575
|
+
.ep(commonParams)
|
|
1576
|
+
.m(function (Command, cs, config, o) {
|
|
1577
|
+
return [
|
|
1578
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1579
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1580
|
+
];
|
|
1581
|
+
})
|
|
1582
|
+
.s("AWSPoseidonService_V2015_11_01", "ListServerNeighbors", {})
|
|
1583
|
+
.n("ApplicationDiscoveryServiceClient", "ListServerNeighborsCommand")
|
|
1584
|
+
.f(void 0, void 0)
|
|
1585
|
+
.ser(se_ListServerNeighborsCommand)
|
|
1586
|
+
.de(de_ListServerNeighborsCommand)
|
|
1587
|
+
.build() {
|
|
1588
|
+
}
|
|
1861
1589
|
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
(
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
}
|
|
1590
|
+
class StartBatchDeleteConfigurationTaskCommand extends smithyClient.Command
|
|
1591
|
+
.classBuilder()
|
|
1592
|
+
.ep(commonParams)
|
|
1593
|
+
.m(function (Command, cs, config, o) {
|
|
1594
|
+
return [
|
|
1595
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1596
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1597
|
+
];
|
|
1598
|
+
})
|
|
1599
|
+
.s("AWSPoseidonService_V2015_11_01", "StartBatchDeleteConfigurationTask", {})
|
|
1600
|
+
.n("ApplicationDiscoveryServiceClient", "StartBatchDeleteConfigurationTaskCommand")
|
|
1601
|
+
.f(void 0, void 0)
|
|
1602
|
+
.ser(se_StartBatchDeleteConfigurationTaskCommand)
|
|
1603
|
+
.de(de_StartBatchDeleteConfigurationTaskCommand)
|
|
1604
|
+
.build() {
|
|
1605
|
+
}
|
|
1872
1606
|
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
DescribeTagsCommand,
|
|
1890
|
-
DisassociateConfigurationItemsFromApplicationCommand,
|
|
1891
|
-
ExportConfigurationsCommand,
|
|
1892
|
-
GetDiscoverySummaryCommand,
|
|
1893
|
-
ListConfigurationsCommand,
|
|
1894
|
-
ListServerNeighborsCommand,
|
|
1895
|
-
StartBatchDeleteConfigurationTaskCommand,
|
|
1896
|
-
StartContinuousExportCommand,
|
|
1897
|
-
StartDataCollectionByAgentIdsCommand,
|
|
1898
|
-
StartExportTaskCommand,
|
|
1899
|
-
StartImportTaskCommand,
|
|
1900
|
-
StopContinuousExportCommand,
|
|
1901
|
-
StopDataCollectionByAgentIdsCommand,
|
|
1902
|
-
UpdateApplicationCommand
|
|
1903
|
-
};
|
|
1904
|
-
var ApplicationDiscoveryService = class extends ApplicationDiscoveryServiceClient {
|
|
1905
|
-
static {
|
|
1906
|
-
__name(this, "ApplicationDiscoveryService");
|
|
1907
|
-
}
|
|
1908
|
-
};
|
|
1909
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ApplicationDiscoveryService);
|
|
1607
|
+
class StartContinuousExportCommand extends smithyClient.Command
|
|
1608
|
+
.classBuilder()
|
|
1609
|
+
.ep(commonParams)
|
|
1610
|
+
.m(function (Command, cs, config, o) {
|
|
1611
|
+
return [
|
|
1612
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1613
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1614
|
+
];
|
|
1615
|
+
})
|
|
1616
|
+
.s("AWSPoseidonService_V2015_11_01", "StartContinuousExport", {})
|
|
1617
|
+
.n("ApplicationDiscoveryServiceClient", "StartContinuousExportCommand")
|
|
1618
|
+
.f(void 0, void 0)
|
|
1619
|
+
.ser(se_StartContinuousExportCommand)
|
|
1620
|
+
.de(de_StartContinuousExportCommand)
|
|
1621
|
+
.build() {
|
|
1622
|
+
}
|
|
1910
1623
|
|
|
1911
|
-
|
|
1624
|
+
class StartDataCollectionByAgentIdsCommand extends smithyClient.Command
|
|
1625
|
+
.classBuilder()
|
|
1626
|
+
.ep(commonParams)
|
|
1627
|
+
.m(function (Command, cs, config, o) {
|
|
1628
|
+
return [
|
|
1629
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1630
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1631
|
+
];
|
|
1632
|
+
})
|
|
1633
|
+
.s("AWSPoseidonService_V2015_11_01", "StartDataCollectionByAgentIds", {})
|
|
1634
|
+
.n("ApplicationDiscoveryServiceClient", "StartDataCollectionByAgentIdsCommand")
|
|
1635
|
+
.f(void 0, void 0)
|
|
1636
|
+
.ser(se_StartDataCollectionByAgentIdsCommand)
|
|
1637
|
+
.de(de_StartDataCollectionByAgentIdsCommand)
|
|
1638
|
+
.build() {
|
|
1639
|
+
}
|
|
1912
1640
|
|
|
1913
|
-
|
|
1641
|
+
class StartExportTaskCommand extends smithyClient.Command
|
|
1642
|
+
.classBuilder()
|
|
1643
|
+
.ep(commonParams)
|
|
1644
|
+
.m(function (Command, cs, config, o) {
|
|
1645
|
+
return [
|
|
1646
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1647
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1648
|
+
];
|
|
1649
|
+
})
|
|
1650
|
+
.s("AWSPoseidonService_V2015_11_01", "StartExportTask", {})
|
|
1651
|
+
.n("ApplicationDiscoveryServiceClient", "StartExportTaskCommand")
|
|
1652
|
+
.f(void 0, void 0)
|
|
1653
|
+
.ser(se_StartExportTaskCommand)
|
|
1654
|
+
.de(de_StartExportTaskCommand)
|
|
1655
|
+
.build() {
|
|
1656
|
+
}
|
|
1914
1657
|
|
|
1915
|
-
|
|
1658
|
+
class StartImportTaskCommand extends smithyClient.Command
|
|
1659
|
+
.classBuilder()
|
|
1660
|
+
.ep(commonParams)
|
|
1661
|
+
.m(function (Command, cs, config, o) {
|
|
1662
|
+
return [
|
|
1663
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1664
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1665
|
+
];
|
|
1666
|
+
})
|
|
1667
|
+
.s("AWSPoseidonService_V2015_11_01", "StartImportTask", {})
|
|
1668
|
+
.n("ApplicationDiscoveryServiceClient", "StartImportTaskCommand")
|
|
1669
|
+
.f(void 0, void 0)
|
|
1670
|
+
.ser(se_StartImportTaskCommand)
|
|
1671
|
+
.de(de_StartImportTaskCommand)
|
|
1672
|
+
.build() {
|
|
1673
|
+
}
|
|
1916
1674
|
|
|
1917
|
-
|
|
1675
|
+
class StopContinuousExportCommand extends smithyClient.Command
|
|
1676
|
+
.classBuilder()
|
|
1677
|
+
.ep(commonParams)
|
|
1678
|
+
.m(function (Command, cs, config, o) {
|
|
1679
|
+
return [
|
|
1680
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1681
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1682
|
+
];
|
|
1683
|
+
})
|
|
1684
|
+
.s("AWSPoseidonService_V2015_11_01", "StopContinuousExport", {})
|
|
1685
|
+
.n("ApplicationDiscoveryServiceClient", "StopContinuousExportCommand")
|
|
1686
|
+
.f(void 0, void 0)
|
|
1687
|
+
.ser(se_StopContinuousExportCommand)
|
|
1688
|
+
.de(de_StopContinuousExportCommand)
|
|
1689
|
+
.build() {
|
|
1690
|
+
}
|
|
1918
1691
|
|
|
1919
|
-
|
|
1692
|
+
class StopDataCollectionByAgentIdsCommand extends smithyClient.Command
|
|
1693
|
+
.classBuilder()
|
|
1694
|
+
.ep(commonParams)
|
|
1695
|
+
.m(function (Command, cs, config, o) {
|
|
1696
|
+
return [
|
|
1697
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1698
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1699
|
+
];
|
|
1700
|
+
})
|
|
1701
|
+
.s("AWSPoseidonService_V2015_11_01", "StopDataCollectionByAgentIds", {})
|
|
1702
|
+
.n("ApplicationDiscoveryServiceClient", "StopDataCollectionByAgentIdsCommand")
|
|
1703
|
+
.f(void 0, void 0)
|
|
1704
|
+
.ser(se_StopDataCollectionByAgentIdsCommand)
|
|
1705
|
+
.de(de_StopDataCollectionByAgentIdsCommand)
|
|
1706
|
+
.build() {
|
|
1707
|
+
}
|
|
1920
1708
|
|
|
1921
|
-
|
|
1709
|
+
class UpdateApplicationCommand extends smithyClient.Command
|
|
1710
|
+
.classBuilder()
|
|
1711
|
+
.ep(commonParams)
|
|
1712
|
+
.m(function (Command, cs, config, o) {
|
|
1713
|
+
return [
|
|
1714
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1715
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1716
|
+
];
|
|
1717
|
+
})
|
|
1718
|
+
.s("AWSPoseidonService_V2015_11_01", "UpdateApplication", {})
|
|
1719
|
+
.n("ApplicationDiscoveryServiceClient", "UpdateApplicationCommand")
|
|
1720
|
+
.f(void 0, void 0)
|
|
1721
|
+
.ser(se_UpdateApplicationCommand)
|
|
1722
|
+
.de(de_UpdateApplicationCommand)
|
|
1723
|
+
.build() {
|
|
1724
|
+
}
|
|
1922
1725
|
|
|
1923
|
-
|
|
1726
|
+
const commands = {
|
|
1727
|
+
AssociateConfigurationItemsToApplicationCommand,
|
|
1728
|
+
BatchDeleteAgentsCommand,
|
|
1729
|
+
BatchDeleteImportDataCommand,
|
|
1730
|
+
CreateApplicationCommand,
|
|
1731
|
+
CreateTagsCommand,
|
|
1732
|
+
DeleteApplicationsCommand,
|
|
1733
|
+
DeleteTagsCommand,
|
|
1734
|
+
DescribeAgentsCommand,
|
|
1735
|
+
DescribeBatchDeleteConfigurationTaskCommand,
|
|
1736
|
+
DescribeConfigurationsCommand,
|
|
1737
|
+
DescribeContinuousExportsCommand,
|
|
1738
|
+
DescribeExportConfigurationsCommand,
|
|
1739
|
+
DescribeExportTasksCommand,
|
|
1740
|
+
DescribeImportTasksCommand,
|
|
1741
|
+
DescribeTagsCommand,
|
|
1742
|
+
DisassociateConfigurationItemsFromApplicationCommand,
|
|
1743
|
+
ExportConfigurationsCommand,
|
|
1744
|
+
GetDiscoverySummaryCommand,
|
|
1745
|
+
ListConfigurationsCommand,
|
|
1746
|
+
ListServerNeighborsCommand,
|
|
1747
|
+
StartBatchDeleteConfigurationTaskCommand,
|
|
1748
|
+
StartContinuousExportCommand,
|
|
1749
|
+
StartDataCollectionByAgentIdsCommand,
|
|
1750
|
+
StartExportTaskCommand,
|
|
1751
|
+
StartImportTaskCommand,
|
|
1752
|
+
StopContinuousExportCommand,
|
|
1753
|
+
StopDataCollectionByAgentIdsCommand,
|
|
1754
|
+
UpdateApplicationCommand,
|
|
1755
|
+
};
|
|
1756
|
+
class ApplicationDiscoveryService extends ApplicationDiscoveryServiceClient {
|
|
1757
|
+
}
|
|
1758
|
+
smithyClient.createAggregatedClient(commands, ApplicationDiscoveryService);
|
|
1924
1759
|
|
|
1925
|
-
|
|
1760
|
+
const paginateDescribeAgents = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeAgentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1926
1761
|
|
|
1927
|
-
|
|
1762
|
+
const paginateDescribeContinuousExports = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeContinuousExportsCommand, "nextToken", "nextToken", "maxResults");
|
|
1928
1763
|
|
|
1929
|
-
|
|
1764
|
+
const paginateDescribeExportConfigurations = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeExportConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1930
1765
|
|
|
1931
|
-
|
|
1766
|
+
const paginateDescribeExportTasks = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeExportTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1932
1767
|
|
|
1933
|
-
|
|
1768
|
+
const paginateDescribeImportTasks = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeImportTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1934
1769
|
|
|
1935
|
-
|
|
1770
|
+
const paginateDescribeTags = core.createPaginator(ApplicationDiscoveryServiceClient, DescribeTagsCommand, "nextToken", "nextToken", "maxResults");
|
|
1936
1771
|
|
|
1937
|
-
|
|
1938
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1772
|
+
const paginateListConfigurations = core.createPaginator(ApplicationDiscoveryServiceClient, ListConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1939
1773
|
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
ApplicationDiscoveryServiceClient,
|
|
1944
|
-
ApplicationDiscoveryService,
|
|
1945
|
-
$Command,
|
|
1946
|
-
AssociateConfigurationItemsToApplicationCommand,
|
|
1947
|
-
BatchDeleteAgentsCommand,
|
|
1948
|
-
BatchDeleteImportDataCommand,
|
|
1949
|
-
CreateApplicationCommand,
|
|
1950
|
-
CreateTagsCommand,
|
|
1951
|
-
DeleteApplicationsCommand,
|
|
1952
|
-
DeleteTagsCommand,
|
|
1953
|
-
DescribeAgentsCommand,
|
|
1954
|
-
DescribeBatchDeleteConfigurationTaskCommand,
|
|
1955
|
-
DescribeConfigurationsCommand,
|
|
1956
|
-
DescribeContinuousExportsCommand,
|
|
1957
|
-
DescribeExportConfigurationsCommand,
|
|
1958
|
-
DescribeExportTasksCommand,
|
|
1959
|
-
DescribeImportTasksCommand,
|
|
1960
|
-
DescribeTagsCommand,
|
|
1961
|
-
DisassociateConfigurationItemsFromApplicationCommand,
|
|
1962
|
-
ExportConfigurationsCommand,
|
|
1963
|
-
GetDiscoverySummaryCommand,
|
|
1964
|
-
ListConfigurationsCommand,
|
|
1965
|
-
ListServerNeighborsCommand,
|
|
1966
|
-
StartBatchDeleteConfigurationTaskCommand,
|
|
1967
|
-
StartContinuousExportCommand,
|
|
1968
|
-
StartDataCollectionByAgentIdsCommand,
|
|
1969
|
-
StartExportTaskCommand,
|
|
1970
|
-
StartImportTaskCommand,
|
|
1971
|
-
StopContinuousExportCommand,
|
|
1972
|
-
StopDataCollectionByAgentIdsCommand,
|
|
1973
|
-
UpdateApplicationCommand,
|
|
1974
|
-
paginateDescribeAgents,
|
|
1975
|
-
paginateDescribeContinuousExports,
|
|
1976
|
-
paginateDescribeExportConfigurations,
|
|
1977
|
-
paginateDescribeExportTasks,
|
|
1978
|
-
paginateDescribeImportTasks,
|
|
1979
|
-
paginateDescribeTags,
|
|
1980
|
-
paginateListConfigurations,
|
|
1981
|
-
AgentStatus,
|
|
1982
|
-
AuthorizationErrorException,
|
|
1983
|
-
HomeRegionNotSetException,
|
|
1984
|
-
InvalidParameterException,
|
|
1985
|
-
InvalidParameterValueException,
|
|
1986
|
-
ServerInternalErrorException,
|
|
1987
|
-
DeleteAgentErrorCode,
|
|
1988
|
-
BatchDeleteImportDataErrorCode,
|
|
1989
|
-
ResourceNotFoundException,
|
|
1990
|
-
DeletionConfigurationItemType,
|
|
1991
|
-
BatchDeleteConfigurationTaskStatus,
|
|
1992
|
-
DataSource,
|
|
1993
|
-
ContinuousExportStatus,
|
|
1994
|
-
OperationNotPermittedException,
|
|
1995
|
-
ExportStatus,
|
|
1996
|
-
ImportTaskFilterName,
|
|
1997
|
-
FileClassification,
|
|
1998
|
-
ImportStatus,
|
|
1999
|
-
ConfigurationItemType,
|
|
2000
|
-
OrderString,
|
|
2001
|
-
LimitExceededException,
|
|
2002
|
-
ConflictErrorException,
|
|
2003
|
-
ResourceInUseException,
|
|
2004
|
-
ExportDataFormat,
|
|
2005
|
-
OfferingClass,
|
|
2006
|
-
PurchasingOption,
|
|
2007
|
-
TermLength,
|
|
2008
|
-
Tenancy,
|
|
2009
|
-
ExportPreferences,
|
|
2010
|
-
AgentNetworkInfoFilterSensitiveLog,
|
|
2011
|
-
AgentInfoFilterSensitiveLog,
|
|
2012
|
-
DescribeAgentsResponseFilterSensitiveLog
|
|
1774
|
+
Object.defineProperty(exports, "$Command", {
|
|
1775
|
+
enumerable: true,
|
|
1776
|
+
get: function () { return smithyClient.Command; }
|
|
2013
1777
|
});
|
|
2014
|
-
|
|
1778
|
+
Object.defineProperty(exports, "__Client", {
|
|
1779
|
+
enumerable: true,
|
|
1780
|
+
get: function () { return smithyClient.Client; }
|
|
1781
|
+
});
|
|
1782
|
+
exports.AgentInfoFilterSensitiveLog = AgentInfoFilterSensitiveLog;
|
|
1783
|
+
exports.AgentNetworkInfoFilterSensitiveLog = AgentNetworkInfoFilterSensitiveLog;
|
|
1784
|
+
exports.AgentStatus = AgentStatus;
|
|
1785
|
+
exports.ApplicationDiscoveryService = ApplicationDiscoveryService;
|
|
1786
|
+
exports.ApplicationDiscoveryServiceClient = ApplicationDiscoveryServiceClient;
|
|
1787
|
+
exports.ApplicationDiscoveryServiceServiceException = ApplicationDiscoveryServiceServiceException;
|
|
1788
|
+
exports.AssociateConfigurationItemsToApplicationCommand = AssociateConfigurationItemsToApplicationCommand;
|
|
1789
|
+
exports.AuthorizationErrorException = AuthorizationErrorException;
|
|
1790
|
+
exports.BatchDeleteAgentsCommand = BatchDeleteAgentsCommand;
|
|
1791
|
+
exports.BatchDeleteConfigurationTaskStatus = BatchDeleteConfigurationTaskStatus;
|
|
1792
|
+
exports.BatchDeleteImportDataCommand = BatchDeleteImportDataCommand;
|
|
1793
|
+
exports.BatchDeleteImportDataErrorCode = BatchDeleteImportDataErrorCode;
|
|
1794
|
+
exports.ConfigurationItemType = ConfigurationItemType;
|
|
1795
|
+
exports.ConflictErrorException = ConflictErrorException;
|
|
1796
|
+
exports.ContinuousExportStatus = ContinuousExportStatus;
|
|
1797
|
+
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
1798
|
+
exports.CreateTagsCommand = CreateTagsCommand;
|
|
1799
|
+
exports.DataSource = DataSource;
|
|
1800
|
+
exports.DeleteAgentErrorCode = DeleteAgentErrorCode;
|
|
1801
|
+
exports.DeleteApplicationsCommand = DeleteApplicationsCommand;
|
|
1802
|
+
exports.DeleteTagsCommand = DeleteTagsCommand;
|
|
1803
|
+
exports.DeletionConfigurationItemType = DeletionConfigurationItemType;
|
|
1804
|
+
exports.DescribeAgentsCommand = DescribeAgentsCommand;
|
|
1805
|
+
exports.DescribeAgentsResponseFilterSensitiveLog = DescribeAgentsResponseFilterSensitiveLog;
|
|
1806
|
+
exports.DescribeBatchDeleteConfigurationTaskCommand = DescribeBatchDeleteConfigurationTaskCommand;
|
|
1807
|
+
exports.DescribeConfigurationsCommand = DescribeConfigurationsCommand;
|
|
1808
|
+
exports.DescribeContinuousExportsCommand = DescribeContinuousExportsCommand;
|
|
1809
|
+
exports.DescribeExportConfigurationsCommand = DescribeExportConfigurationsCommand;
|
|
1810
|
+
exports.DescribeExportTasksCommand = DescribeExportTasksCommand;
|
|
1811
|
+
exports.DescribeImportTasksCommand = DescribeImportTasksCommand;
|
|
1812
|
+
exports.DescribeTagsCommand = DescribeTagsCommand;
|
|
1813
|
+
exports.DisassociateConfigurationItemsFromApplicationCommand = DisassociateConfigurationItemsFromApplicationCommand;
|
|
1814
|
+
exports.ExportConfigurationsCommand = ExportConfigurationsCommand;
|
|
1815
|
+
exports.ExportDataFormat = ExportDataFormat;
|
|
1816
|
+
exports.ExportStatus = ExportStatus;
|
|
1817
|
+
exports.FileClassification = FileClassification;
|
|
1818
|
+
exports.GetDiscoverySummaryCommand = GetDiscoverySummaryCommand;
|
|
1819
|
+
exports.HomeRegionNotSetException = HomeRegionNotSetException;
|
|
1820
|
+
exports.ImportStatus = ImportStatus;
|
|
1821
|
+
exports.ImportTaskFilterName = ImportTaskFilterName;
|
|
1822
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
1823
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
1824
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1825
|
+
exports.ListConfigurationsCommand = ListConfigurationsCommand;
|
|
1826
|
+
exports.ListServerNeighborsCommand = ListServerNeighborsCommand;
|
|
1827
|
+
exports.OfferingClass = OfferingClass;
|
|
1828
|
+
exports.OperationNotPermittedException = OperationNotPermittedException;
|
|
1829
|
+
exports.OrderString = OrderString;
|
|
1830
|
+
exports.PurchasingOption = PurchasingOption;
|
|
1831
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
1832
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1833
|
+
exports.ServerInternalErrorException = ServerInternalErrorException;
|
|
1834
|
+
exports.StartBatchDeleteConfigurationTaskCommand = StartBatchDeleteConfigurationTaskCommand;
|
|
1835
|
+
exports.StartContinuousExportCommand = StartContinuousExportCommand;
|
|
1836
|
+
exports.StartDataCollectionByAgentIdsCommand = StartDataCollectionByAgentIdsCommand;
|
|
1837
|
+
exports.StartExportTaskCommand = StartExportTaskCommand;
|
|
1838
|
+
exports.StartImportTaskCommand = StartImportTaskCommand;
|
|
1839
|
+
exports.StopContinuousExportCommand = StopContinuousExportCommand;
|
|
1840
|
+
exports.StopDataCollectionByAgentIdsCommand = StopDataCollectionByAgentIdsCommand;
|
|
1841
|
+
exports.Tenancy = Tenancy;
|
|
1842
|
+
exports.TermLength = TermLength;
|
|
1843
|
+
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
1844
|
+
exports.paginateDescribeAgents = paginateDescribeAgents;
|
|
1845
|
+
exports.paginateDescribeContinuousExports = paginateDescribeContinuousExports;
|
|
1846
|
+
exports.paginateDescribeExportConfigurations = paginateDescribeExportConfigurations;
|
|
1847
|
+
exports.paginateDescribeExportTasks = paginateDescribeExportTasks;
|
|
1848
|
+
exports.paginateDescribeImportTasks = paginateDescribeImportTasks;
|
|
1849
|
+
exports.paginateDescribeTags = paginateDescribeTags;
|
|
1850
|
+
exports.paginateListConfigurations = paginateListConfigurations;
|