@aws-sdk/client-servicediscovery 3.901.0 → 3.907.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1984 -2196
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2275 +1,2063 @@
|
|
|
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
|
-
CreateServiceCommand: () => CreateServiceCommand,
|
|
28
|
-
CustomHealthNotFound: () => CustomHealthNotFound,
|
|
29
|
-
CustomHealthStatus: () => CustomHealthStatus,
|
|
30
|
-
DeleteNamespaceCommand: () => DeleteNamespaceCommand,
|
|
31
|
-
DeleteServiceAttributesCommand: () => DeleteServiceAttributesCommand,
|
|
32
|
-
DeleteServiceCommand: () => DeleteServiceCommand,
|
|
33
|
-
DeregisterInstanceCommand: () => DeregisterInstanceCommand,
|
|
34
|
-
DiscoverInstancesCommand: () => DiscoverInstancesCommand,
|
|
35
|
-
DiscoverInstancesRevisionCommand: () => DiscoverInstancesRevisionCommand,
|
|
36
|
-
DuplicateRequest: () => DuplicateRequest,
|
|
37
|
-
FilterCondition: () => FilterCondition,
|
|
38
|
-
GetInstanceCommand: () => GetInstanceCommand,
|
|
39
|
-
GetInstancesHealthStatusCommand: () => GetInstancesHealthStatusCommand,
|
|
40
|
-
GetNamespaceCommand: () => GetNamespaceCommand,
|
|
41
|
-
GetOperationCommand: () => GetOperationCommand,
|
|
42
|
-
GetServiceAttributesCommand: () => GetServiceAttributesCommand,
|
|
43
|
-
GetServiceCommand: () => GetServiceCommand,
|
|
44
|
-
HealthCheckType: () => HealthCheckType,
|
|
45
|
-
HealthStatus: () => HealthStatus,
|
|
46
|
-
HealthStatusFilter: () => HealthStatusFilter,
|
|
47
|
-
InstanceNotFound: () => InstanceNotFound,
|
|
48
|
-
InvalidInput: () => InvalidInput,
|
|
49
|
-
ListInstancesCommand: () => ListInstancesCommand,
|
|
50
|
-
ListNamespacesCommand: () => ListNamespacesCommand,
|
|
51
|
-
ListOperationsCommand: () => ListOperationsCommand,
|
|
52
|
-
ListServicesCommand: () => ListServicesCommand,
|
|
53
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
54
|
-
NamespaceAlreadyExists: () => NamespaceAlreadyExists,
|
|
55
|
-
NamespaceFilterName: () => NamespaceFilterName,
|
|
56
|
-
NamespaceNotFound: () => NamespaceNotFound,
|
|
57
|
-
NamespaceType: () => NamespaceType,
|
|
58
|
-
OperationFilterName: () => OperationFilterName,
|
|
59
|
-
OperationNotFound: () => OperationNotFound,
|
|
60
|
-
OperationStatus: () => OperationStatus,
|
|
61
|
-
OperationTargetType: () => OperationTargetType,
|
|
62
|
-
OperationType: () => OperationType,
|
|
63
|
-
RecordType: () => RecordType,
|
|
64
|
-
RegisterInstanceCommand: () => RegisterInstanceCommand,
|
|
65
|
-
RequestLimitExceeded: () => RequestLimitExceeded,
|
|
66
|
-
ResourceInUse: () => ResourceInUse,
|
|
67
|
-
ResourceLimitExceeded: () => ResourceLimitExceeded,
|
|
68
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
69
|
-
RoutingPolicy: () => RoutingPolicy,
|
|
70
|
-
ServiceAlreadyExists: () => ServiceAlreadyExists,
|
|
71
|
-
ServiceAttributesLimitExceededException: () => ServiceAttributesLimitExceededException,
|
|
72
|
-
ServiceDiscovery: () => ServiceDiscovery,
|
|
73
|
-
ServiceDiscoveryClient: () => ServiceDiscoveryClient,
|
|
74
|
-
ServiceDiscoveryServiceException: () => ServiceDiscoveryServiceException,
|
|
75
|
-
ServiceFilterName: () => ServiceFilterName,
|
|
76
|
-
ServiceNotFound: () => ServiceNotFound,
|
|
77
|
-
ServiceType: () => ServiceType,
|
|
78
|
-
ServiceTypeOption: () => ServiceTypeOption,
|
|
79
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
80
|
-
TooManyTagsException: () => TooManyTagsException,
|
|
81
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
82
|
-
UpdateHttpNamespaceCommand: () => UpdateHttpNamespaceCommand,
|
|
83
|
-
UpdateInstanceCustomHealthStatusCommand: () => UpdateInstanceCustomHealthStatusCommand,
|
|
84
|
-
UpdatePrivateDnsNamespaceCommand: () => UpdatePrivateDnsNamespaceCommand,
|
|
85
|
-
UpdatePublicDnsNamespaceCommand: () => UpdatePublicDnsNamespaceCommand,
|
|
86
|
-
UpdateServiceAttributesCommand: () => UpdateServiceAttributesCommand,
|
|
87
|
-
UpdateServiceCommand: () => UpdateServiceCommand,
|
|
88
|
-
__Client: () => import_smithy_client.Client,
|
|
89
|
-
paginateGetInstancesHealthStatus: () => paginateGetInstancesHealthStatus,
|
|
90
|
-
paginateListInstances: () => paginateListInstances,
|
|
91
|
-
paginateListNamespaces: () => paginateListNamespaces,
|
|
92
|
-
paginateListOperations: () => paginateListOperations,
|
|
93
|
-
paginateListServices: () => paginateListServices
|
|
94
|
-
});
|
|
95
|
-
module.exports = __toCommonJS(index_exports);
|
|
96
|
-
|
|
97
|
-
// src/ServiceDiscoveryClient.ts
|
|
98
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
99
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
100
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
101
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
102
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
103
|
-
var import_core = require("@smithy/core");
|
|
104
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
105
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
106
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
107
|
-
|
|
108
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
109
|
-
|
|
110
|
-
// src/endpoint/EndpointParameters.ts
|
|
111
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
112
|
-
return Object.assign(options, {
|
|
113
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
114
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
115
|
-
defaultSigningName: "servicediscovery"
|
|
116
|
-
});
|
|
117
|
-
}, "resolveClientEndpointParameters");
|
|
118
|
-
var commonParams = {
|
|
119
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
120
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
121
|
-
Region: { type: "builtInParams", name: "region" },
|
|
122
|
-
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: "servicediscovery",
|
|
26
|
+
});
|
|
123
27
|
};
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
-
|
|
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" },
|
|
33
|
+
};
|
|
34
|
+
|
|
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
|
+
};
|
|
73
|
+
|
|
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
|
+
};
|
|
79
|
+
|
|
80
|
+
class ServiceDiscoveryClient 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.defaultServiceDiscoveryHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
161
108
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
167
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
168
|
-
credentials: config.credentials()
|
|
169
|
-
};
|
|
170
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
171
|
-
|
|
172
|
-
// src/runtimeExtensions.ts
|
|
173
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
174
|
-
const extensionConfiguration = Object.assign(
|
|
175
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
176
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
177
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
178
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
179
|
-
);
|
|
180
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
181
|
-
return Object.assign(
|
|
182
|
-
runtimeConfig,
|
|
183
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
184
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
185
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
186
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
187
|
-
);
|
|
188
|
-
}, "resolveRuntimeExtensions");
|
|
189
|
-
|
|
190
|
-
// src/ServiceDiscoveryClient.ts
|
|
191
|
-
var ServiceDiscoveryClient = class extends import_smithy_client.Client {
|
|
192
|
-
static {
|
|
193
|
-
__name(this, "ServiceDiscoveryClient");
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* The resolved configuration of ServiceDiscoveryClient class. This is resolved and normalized from the {@link ServiceDiscoveryClientConfig | constructor configuration interface}.
|
|
197
|
-
*/
|
|
198
|
-
config;
|
|
199
|
-
constructor(...[configuration]) {
|
|
200
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
201
|
-
super(_config_0);
|
|
202
|
-
this.initConfig = _config_0;
|
|
203
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
204
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
205
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
206
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
207
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
208
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
209
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
210
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
211
|
-
this.config = _config_8;
|
|
212
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
213
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
214
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
217
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
218
|
-
this.middlewareStack.use(
|
|
219
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
220
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultServiceDiscoveryHttpAuthSchemeParametersProvider,
|
|
221
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
222
|
-
"aws.auth#sigv4": config.credentials
|
|
223
|
-
}), "identityProviderConfigProvider")
|
|
224
|
-
})
|
|
225
|
-
);
|
|
226
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
230
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
231
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
232
|
-
*/
|
|
233
|
-
destroy() {
|
|
234
|
-
super.destroy();
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
// src/ServiceDiscovery.ts
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
// src/commands/CreateHttpNamespaceCommand.ts
|
|
242
|
-
|
|
243
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
// src/protocols/Aws_json1_1.ts
|
|
247
|
-
var import_core2 = require("@aws-sdk/core");
|
|
248
|
-
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
249
113
|
|
|
250
|
-
|
|
114
|
+
class ServiceDiscoveryServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, ServiceDiscoveryServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
251
120
|
|
|
252
|
-
|
|
121
|
+
class DuplicateRequest extends ServiceDiscoveryServiceException {
|
|
122
|
+
name = "DuplicateRequest";
|
|
123
|
+
$fault = "client";
|
|
124
|
+
Message;
|
|
125
|
+
DuplicateOperationId;
|
|
126
|
+
constructor(opts) {
|
|
127
|
+
super({
|
|
128
|
+
name: "DuplicateRequest",
|
|
129
|
+
$fault: "client",
|
|
130
|
+
...opts,
|
|
131
|
+
});
|
|
132
|
+
Object.setPrototypeOf(this, DuplicateRequest.prototype);
|
|
133
|
+
this.Message = opts.Message;
|
|
134
|
+
this.DuplicateOperationId = opts.DuplicateOperationId;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
class InvalidInput extends ServiceDiscoveryServiceException {
|
|
138
|
+
name = "InvalidInput";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
Message;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "InvalidInput",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, InvalidInput.prototype);
|
|
148
|
+
this.Message = opts.Message;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class NamespaceAlreadyExists extends ServiceDiscoveryServiceException {
|
|
152
|
+
name = "NamespaceAlreadyExists";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
Message;
|
|
155
|
+
CreatorRequestId;
|
|
156
|
+
NamespaceId;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "NamespaceAlreadyExists",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, NamespaceAlreadyExists.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
this.CreatorRequestId = opts.CreatorRequestId;
|
|
166
|
+
this.NamespaceId = opts.NamespaceId;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
class ResourceLimitExceeded extends ServiceDiscoveryServiceException {
|
|
170
|
+
name = "ResourceLimitExceeded";
|
|
171
|
+
$fault = "client";
|
|
172
|
+
Message;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "ResourceLimitExceeded",
|
|
176
|
+
$fault: "client",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, ResourceLimitExceeded.prototype);
|
|
180
|
+
this.Message = opts.Message;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class TooManyTagsException extends ServiceDiscoveryServiceException {
|
|
184
|
+
name = "TooManyTagsException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
Message;
|
|
187
|
+
ResourceName;
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "TooManyTagsException",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
195
|
+
this.Message = opts.Message;
|
|
196
|
+
this.ResourceName = opts.ResourceName;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
const RecordType = {
|
|
200
|
+
A: "A",
|
|
201
|
+
AAAA: "AAAA",
|
|
202
|
+
CNAME: "CNAME",
|
|
203
|
+
SRV: "SRV",
|
|
204
|
+
};
|
|
205
|
+
const RoutingPolicy = {
|
|
206
|
+
MULTIVALUE: "MULTIVALUE",
|
|
207
|
+
WEIGHTED: "WEIGHTED",
|
|
208
|
+
};
|
|
209
|
+
const HealthCheckType = {
|
|
210
|
+
HTTP: "HTTP",
|
|
211
|
+
HTTPS: "HTTPS",
|
|
212
|
+
TCP: "TCP",
|
|
213
|
+
};
|
|
214
|
+
const ServiceTypeOption = {
|
|
215
|
+
HTTP: "HTTP",
|
|
216
|
+
};
|
|
217
|
+
const ServiceType = {
|
|
218
|
+
DNS: "DNS",
|
|
219
|
+
DNS_HTTP: "DNS_HTTP",
|
|
220
|
+
HTTP: "HTTP",
|
|
221
|
+
};
|
|
222
|
+
class NamespaceNotFound extends ServiceDiscoveryServiceException {
|
|
223
|
+
name = "NamespaceNotFound";
|
|
224
|
+
$fault = "client";
|
|
225
|
+
Message;
|
|
226
|
+
constructor(opts) {
|
|
227
|
+
super({
|
|
228
|
+
name: "NamespaceNotFound",
|
|
229
|
+
$fault: "client",
|
|
230
|
+
...opts,
|
|
231
|
+
});
|
|
232
|
+
Object.setPrototypeOf(this, NamespaceNotFound.prototype);
|
|
233
|
+
this.Message = opts.Message;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
class ServiceAlreadyExists extends ServiceDiscoveryServiceException {
|
|
237
|
+
name = "ServiceAlreadyExists";
|
|
238
|
+
$fault = "client";
|
|
239
|
+
Message;
|
|
240
|
+
CreatorRequestId;
|
|
241
|
+
ServiceId;
|
|
242
|
+
ServiceArn;
|
|
243
|
+
constructor(opts) {
|
|
244
|
+
super({
|
|
245
|
+
name: "ServiceAlreadyExists",
|
|
246
|
+
$fault: "client",
|
|
247
|
+
...opts,
|
|
248
|
+
});
|
|
249
|
+
Object.setPrototypeOf(this, ServiceAlreadyExists.prototype);
|
|
250
|
+
this.Message = opts.Message;
|
|
251
|
+
this.CreatorRequestId = opts.CreatorRequestId;
|
|
252
|
+
this.ServiceId = opts.ServiceId;
|
|
253
|
+
this.ServiceArn = opts.ServiceArn;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
class CustomHealthNotFound extends ServiceDiscoveryServiceException {
|
|
257
|
+
name = "CustomHealthNotFound";
|
|
258
|
+
$fault = "client";
|
|
259
|
+
Message;
|
|
260
|
+
constructor(opts) {
|
|
261
|
+
super({
|
|
262
|
+
name: "CustomHealthNotFound",
|
|
263
|
+
$fault: "client",
|
|
264
|
+
...opts,
|
|
265
|
+
});
|
|
266
|
+
Object.setPrototypeOf(this, CustomHealthNotFound.prototype);
|
|
267
|
+
this.Message = opts.Message;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
const CustomHealthStatus = {
|
|
271
|
+
HEALTHY: "HEALTHY",
|
|
272
|
+
UNHEALTHY: "UNHEALTHY",
|
|
273
|
+
};
|
|
274
|
+
class ResourceInUse extends ServiceDiscoveryServiceException {
|
|
275
|
+
name = "ResourceInUse";
|
|
276
|
+
$fault = "client";
|
|
277
|
+
Message;
|
|
278
|
+
constructor(opts) {
|
|
279
|
+
super({
|
|
280
|
+
name: "ResourceInUse",
|
|
281
|
+
$fault: "client",
|
|
282
|
+
...opts,
|
|
283
|
+
});
|
|
284
|
+
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
285
|
+
this.Message = opts.Message;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
class ServiceNotFound extends ServiceDiscoveryServiceException {
|
|
289
|
+
name = "ServiceNotFound";
|
|
290
|
+
$fault = "client";
|
|
291
|
+
Message;
|
|
292
|
+
constructor(opts) {
|
|
293
|
+
super({
|
|
294
|
+
name: "ServiceNotFound",
|
|
295
|
+
$fault: "client",
|
|
296
|
+
...opts,
|
|
297
|
+
});
|
|
298
|
+
Object.setPrototypeOf(this, ServiceNotFound.prototype);
|
|
299
|
+
this.Message = opts.Message;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
class InstanceNotFound extends ServiceDiscoveryServiceException {
|
|
303
|
+
name = "InstanceNotFound";
|
|
304
|
+
$fault = "client";
|
|
305
|
+
Message;
|
|
306
|
+
constructor(opts) {
|
|
307
|
+
super({
|
|
308
|
+
name: "InstanceNotFound",
|
|
309
|
+
$fault: "client",
|
|
310
|
+
...opts,
|
|
311
|
+
});
|
|
312
|
+
Object.setPrototypeOf(this, InstanceNotFound.prototype);
|
|
313
|
+
this.Message = opts.Message;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
const HealthStatusFilter = {
|
|
317
|
+
ALL: "ALL",
|
|
318
|
+
HEALTHY: "HEALTHY",
|
|
319
|
+
HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL",
|
|
320
|
+
UNHEALTHY: "UNHEALTHY",
|
|
321
|
+
};
|
|
322
|
+
const HealthStatus = {
|
|
323
|
+
HEALTHY: "HEALTHY",
|
|
324
|
+
UNHEALTHY: "UNHEALTHY",
|
|
325
|
+
UNKNOWN: "UNKNOWN",
|
|
326
|
+
};
|
|
327
|
+
class RequestLimitExceeded extends ServiceDiscoveryServiceException {
|
|
328
|
+
name = "RequestLimitExceeded";
|
|
329
|
+
$fault = "client";
|
|
330
|
+
Message;
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "RequestLimitExceeded",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts,
|
|
336
|
+
});
|
|
337
|
+
Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
|
|
338
|
+
this.Message = opts.Message;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
const FilterCondition = {
|
|
342
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
343
|
+
BETWEEN: "BETWEEN",
|
|
344
|
+
EQ: "EQ",
|
|
345
|
+
IN: "IN",
|
|
346
|
+
};
|
|
347
|
+
const NamespaceType = {
|
|
348
|
+
DNS_PRIVATE: "DNS_PRIVATE",
|
|
349
|
+
DNS_PUBLIC: "DNS_PUBLIC",
|
|
350
|
+
HTTP: "HTTP",
|
|
351
|
+
};
|
|
352
|
+
const OperationStatus = {
|
|
353
|
+
FAIL: "FAIL",
|
|
354
|
+
PENDING: "PENDING",
|
|
355
|
+
SUBMITTED: "SUBMITTED",
|
|
356
|
+
SUCCESS: "SUCCESS",
|
|
357
|
+
};
|
|
358
|
+
const OperationTargetType = {
|
|
359
|
+
INSTANCE: "INSTANCE",
|
|
360
|
+
NAMESPACE: "NAMESPACE",
|
|
361
|
+
SERVICE: "SERVICE",
|
|
362
|
+
};
|
|
363
|
+
const OperationType = {
|
|
364
|
+
CREATE_NAMESPACE: "CREATE_NAMESPACE",
|
|
365
|
+
DELETE_NAMESPACE: "DELETE_NAMESPACE",
|
|
366
|
+
DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE",
|
|
367
|
+
REGISTER_INSTANCE: "REGISTER_INSTANCE",
|
|
368
|
+
UPDATE_NAMESPACE: "UPDATE_NAMESPACE",
|
|
369
|
+
UPDATE_SERVICE: "UPDATE_SERVICE",
|
|
370
|
+
};
|
|
371
|
+
class OperationNotFound extends ServiceDiscoveryServiceException {
|
|
372
|
+
name = "OperationNotFound";
|
|
373
|
+
$fault = "client";
|
|
374
|
+
Message;
|
|
375
|
+
constructor(opts) {
|
|
376
|
+
super({
|
|
377
|
+
name: "OperationNotFound",
|
|
378
|
+
$fault: "client",
|
|
379
|
+
...opts,
|
|
380
|
+
});
|
|
381
|
+
Object.setPrototypeOf(this, OperationNotFound.prototype);
|
|
382
|
+
this.Message = opts.Message;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
const NamespaceFilterName = {
|
|
386
|
+
HTTP_NAME: "HTTP_NAME",
|
|
387
|
+
NAME: "NAME",
|
|
388
|
+
RESOURCE_OWNER: "RESOURCE_OWNER",
|
|
389
|
+
TYPE: "TYPE",
|
|
390
|
+
};
|
|
391
|
+
const OperationFilterName = {
|
|
392
|
+
NAMESPACE_ID: "NAMESPACE_ID",
|
|
393
|
+
SERVICE_ID: "SERVICE_ID",
|
|
394
|
+
STATUS: "STATUS",
|
|
395
|
+
TYPE: "TYPE",
|
|
396
|
+
UPDATE_DATE: "UPDATE_DATE",
|
|
397
|
+
};
|
|
398
|
+
const ServiceFilterName = {
|
|
399
|
+
NAMESPACE_ID: "NAMESPACE_ID",
|
|
400
|
+
RESOURCE_OWNER: "RESOURCE_OWNER",
|
|
401
|
+
};
|
|
402
|
+
class ResourceNotFoundException extends ServiceDiscoveryServiceException {
|
|
403
|
+
name = "ResourceNotFoundException";
|
|
404
|
+
$fault = "client";
|
|
405
|
+
Message;
|
|
406
|
+
constructor(opts) {
|
|
407
|
+
super({
|
|
408
|
+
name: "ResourceNotFoundException",
|
|
409
|
+
$fault: "client",
|
|
410
|
+
...opts,
|
|
411
|
+
});
|
|
412
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
413
|
+
this.Message = opts.Message;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
class ServiceAttributesLimitExceededException extends ServiceDiscoveryServiceException {
|
|
417
|
+
name = "ServiceAttributesLimitExceededException";
|
|
418
|
+
$fault = "client";
|
|
419
|
+
Message;
|
|
420
|
+
constructor(opts) {
|
|
421
|
+
super({
|
|
422
|
+
name: "ServiceAttributesLimitExceededException",
|
|
423
|
+
$fault: "client",
|
|
424
|
+
...opts,
|
|
425
|
+
});
|
|
426
|
+
Object.setPrototypeOf(this, ServiceAttributesLimitExceededException.prototype);
|
|
427
|
+
this.Message = opts.Message;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
253
430
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
431
|
+
const se_CreateHttpNamespaceCommand = async (input, context) => {
|
|
432
|
+
const headers = sharedHeaders("CreateHttpNamespace");
|
|
433
|
+
let body;
|
|
434
|
+
body = JSON.stringify(se_CreateHttpNamespaceRequest(input));
|
|
435
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
|
+
};
|
|
437
|
+
const se_CreatePrivateDnsNamespaceCommand = async (input, context) => {
|
|
438
|
+
const headers = sharedHeaders("CreatePrivateDnsNamespace");
|
|
439
|
+
let body;
|
|
440
|
+
body = JSON.stringify(se_CreatePrivateDnsNamespaceRequest(input));
|
|
441
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
442
|
+
};
|
|
443
|
+
const se_CreatePublicDnsNamespaceCommand = async (input, context) => {
|
|
444
|
+
const headers = sharedHeaders("CreatePublicDnsNamespace");
|
|
445
|
+
let body;
|
|
446
|
+
body = JSON.stringify(se_CreatePublicDnsNamespaceRequest(input));
|
|
447
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
|
+
};
|
|
449
|
+
const se_CreateServiceCommand = async (input, context) => {
|
|
450
|
+
const headers = sharedHeaders("CreateService");
|
|
451
|
+
let body;
|
|
452
|
+
body = JSON.stringify(se_CreateServiceRequest(input));
|
|
453
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
454
|
+
};
|
|
455
|
+
const se_DeleteNamespaceCommand = async (input, context) => {
|
|
456
|
+
const headers = sharedHeaders("DeleteNamespace");
|
|
457
|
+
let body;
|
|
458
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
459
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
460
|
+
};
|
|
461
|
+
const se_DeleteServiceCommand = async (input, context) => {
|
|
462
|
+
const headers = sharedHeaders("DeleteService");
|
|
463
|
+
let body;
|
|
464
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
465
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
466
|
+
};
|
|
467
|
+
const se_DeleteServiceAttributesCommand = async (input, context) => {
|
|
468
|
+
const headers = sharedHeaders("DeleteServiceAttributes");
|
|
469
|
+
let body;
|
|
470
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
471
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
472
|
+
};
|
|
473
|
+
const se_DeregisterInstanceCommand = async (input, context) => {
|
|
474
|
+
const headers = sharedHeaders("DeregisterInstance");
|
|
475
|
+
let body;
|
|
476
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
477
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
|
+
};
|
|
479
|
+
const se_DiscoverInstancesCommand = async (input, context) => {
|
|
480
|
+
const headers = sharedHeaders("DiscoverInstances");
|
|
481
|
+
let body;
|
|
482
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
483
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
484
|
+
if (context.disableHostPrefix !== true) {
|
|
485
|
+
resolvedHostname = "data-" + resolvedHostname;
|
|
486
|
+
if (!protocolHttp.isValidHostname(resolvedHostname)) {
|
|
487
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
491
|
+
};
|
|
492
|
+
const se_DiscoverInstancesRevisionCommand = async (input, context) => {
|
|
493
|
+
const headers = sharedHeaders("DiscoverInstancesRevision");
|
|
494
|
+
let body;
|
|
495
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
496
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
497
|
+
if (context.disableHostPrefix !== true) {
|
|
498
|
+
resolvedHostname = "data-" + resolvedHostname;
|
|
499
|
+
if (!protocolHttp.isValidHostname(resolvedHostname)) {
|
|
500
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
504
|
+
};
|
|
505
|
+
const se_GetInstanceCommand = async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("GetInstance");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
|
+
};
|
|
511
|
+
const se_GetInstancesHealthStatusCommand = async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("GetInstancesHealthStatus");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
+
};
|
|
517
|
+
const se_GetNamespaceCommand = async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("GetNamespace");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
|
+
};
|
|
523
|
+
const se_GetOperationCommand = async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("GetOperation");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
|
+
};
|
|
529
|
+
const se_GetServiceCommand = async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("GetService");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
534
|
+
};
|
|
535
|
+
const se_GetServiceAttributesCommand = async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("GetServiceAttributes");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
540
|
+
};
|
|
541
|
+
const se_ListInstancesCommand = async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("ListInstances");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
546
|
+
};
|
|
547
|
+
const se_ListNamespacesCommand = async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("ListNamespaces");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
552
|
+
};
|
|
553
|
+
const se_ListOperationsCommand = async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("ListOperations");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
|
+
};
|
|
559
|
+
const se_ListServicesCommand = async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("ListServices");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
564
|
+
};
|
|
565
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
570
|
+
};
|
|
571
|
+
const se_RegisterInstanceCommand = async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("RegisterInstance");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify(se_RegisterInstanceRequest(input));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
576
|
+
};
|
|
577
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
578
|
+
const headers = sharedHeaders("TagResource");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
581
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
582
|
+
};
|
|
583
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
584
|
+
const headers = sharedHeaders("UntagResource");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
587
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
588
|
+
};
|
|
589
|
+
const se_UpdateHttpNamespaceCommand = async (input, context) => {
|
|
590
|
+
const headers = sharedHeaders("UpdateHttpNamespace");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(se_UpdateHttpNamespaceRequest(input));
|
|
593
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
594
|
+
};
|
|
595
|
+
const se_UpdateInstanceCustomHealthStatusCommand = async (input, context) => {
|
|
596
|
+
const headers = sharedHeaders("UpdateInstanceCustomHealthStatus");
|
|
597
|
+
let body;
|
|
598
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
599
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
600
|
+
};
|
|
601
|
+
const se_UpdatePrivateDnsNamespaceCommand = async (input, context) => {
|
|
602
|
+
const headers = sharedHeaders("UpdatePrivateDnsNamespace");
|
|
603
|
+
let body;
|
|
604
|
+
body = JSON.stringify(se_UpdatePrivateDnsNamespaceRequest(input));
|
|
605
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
606
|
+
};
|
|
607
|
+
const se_UpdatePublicDnsNamespaceCommand = async (input, context) => {
|
|
608
|
+
const headers = sharedHeaders("UpdatePublicDnsNamespace");
|
|
609
|
+
let body;
|
|
610
|
+
body = JSON.stringify(se_UpdatePublicDnsNamespaceRequest(input));
|
|
611
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
612
|
+
};
|
|
613
|
+
const se_UpdateServiceCommand = async (input, context) => {
|
|
614
|
+
const headers = sharedHeaders("UpdateService");
|
|
615
|
+
let body;
|
|
616
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
617
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
618
|
+
};
|
|
619
|
+
const se_UpdateServiceAttributesCommand = async (input, context) => {
|
|
620
|
+
const headers = sharedHeaders("UpdateServiceAttributes");
|
|
621
|
+
let body;
|
|
622
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
623
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
624
|
+
};
|
|
625
|
+
const de_CreateHttpNamespaceCommand = async (output, context) => {
|
|
626
|
+
if (output.statusCode >= 300) {
|
|
627
|
+
return de_CommandError(output, context);
|
|
628
|
+
}
|
|
629
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
630
|
+
let contents = {};
|
|
631
|
+
contents = smithyClient._json(data);
|
|
632
|
+
const response = {
|
|
633
|
+
$metadata: deserializeMetadata(output),
|
|
634
|
+
...contents,
|
|
635
|
+
};
|
|
636
|
+
return response;
|
|
637
|
+
};
|
|
638
|
+
const de_CreatePrivateDnsNamespaceCommand = async (output, context) => {
|
|
639
|
+
if (output.statusCode >= 300) {
|
|
640
|
+
return de_CommandError(output, context);
|
|
641
|
+
}
|
|
642
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
643
|
+
let contents = {};
|
|
644
|
+
contents = smithyClient._json(data);
|
|
645
|
+
const response = {
|
|
646
|
+
$metadata: deserializeMetadata(output),
|
|
647
|
+
...contents,
|
|
648
|
+
};
|
|
649
|
+
return response;
|
|
650
|
+
};
|
|
651
|
+
const de_CreatePublicDnsNamespaceCommand = async (output, context) => {
|
|
652
|
+
if (output.statusCode >= 300) {
|
|
653
|
+
return de_CommandError(output, context);
|
|
654
|
+
}
|
|
655
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
656
|
+
let contents = {};
|
|
657
|
+
contents = smithyClient._json(data);
|
|
658
|
+
const response = {
|
|
659
|
+
$metadata: deserializeMetadata(output),
|
|
660
|
+
...contents,
|
|
661
|
+
};
|
|
662
|
+
return response;
|
|
663
|
+
};
|
|
664
|
+
const de_CreateServiceCommand = async (output, context) => {
|
|
665
|
+
if (output.statusCode >= 300) {
|
|
666
|
+
return de_CommandError(output, context);
|
|
667
|
+
}
|
|
668
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
669
|
+
let contents = {};
|
|
670
|
+
contents = de_CreateServiceResponse(data);
|
|
671
|
+
const response = {
|
|
672
|
+
$metadata: deserializeMetadata(output),
|
|
673
|
+
...contents,
|
|
674
|
+
};
|
|
675
|
+
return response;
|
|
676
|
+
};
|
|
677
|
+
const de_DeleteNamespaceCommand = async (output, context) => {
|
|
678
|
+
if (output.statusCode >= 300) {
|
|
679
|
+
return de_CommandError(output, context);
|
|
680
|
+
}
|
|
681
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
682
|
+
let contents = {};
|
|
683
|
+
contents = smithyClient._json(data);
|
|
684
|
+
const response = {
|
|
685
|
+
$metadata: deserializeMetadata(output),
|
|
686
|
+
...contents,
|
|
687
|
+
};
|
|
688
|
+
return response;
|
|
689
|
+
};
|
|
690
|
+
const de_DeleteServiceCommand = async (output, context) => {
|
|
691
|
+
if (output.statusCode >= 300) {
|
|
692
|
+
return de_CommandError(output, context);
|
|
693
|
+
}
|
|
694
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
695
|
+
let contents = {};
|
|
696
|
+
contents = smithyClient._json(data);
|
|
697
|
+
const response = {
|
|
698
|
+
$metadata: deserializeMetadata(output),
|
|
699
|
+
...contents,
|
|
700
|
+
};
|
|
701
|
+
return response;
|
|
702
|
+
};
|
|
703
|
+
const de_DeleteServiceAttributesCommand = async (output, context) => {
|
|
704
|
+
if (output.statusCode >= 300) {
|
|
705
|
+
return de_CommandError(output, context);
|
|
706
|
+
}
|
|
707
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
708
|
+
let contents = {};
|
|
709
|
+
contents = smithyClient._json(data);
|
|
710
|
+
const response = {
|
|
711
|
+
$metadata: deserializeMetadata(output),
|
|
712
|
+
...contents,
|
|
713
|
+
};
|
|
714
|
+
return response;
|
|
715
|
+
};
|
|
716
|
+
const de_DeregisterInstanceCommand = async (output, context) => {
|
|
717
|
+
if (output.statusCode >= 300) {
|
|
718
|
+
return de_CommandError(output, context);
|
|
719
|
+
}
|
|
720
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
721
|
+
let contents = {};
|
|
722
|
+
contents = smithyClient._json(data);
|
|
723
|
+
const response = {
|
|
724
|
+
$metadata: deserializeMetadata(output),
|
|
725
|
+
...contents,
|
|
726
|
+
};
|
|
727
|
+
return response;
|
|
728
|
+
};
|
|
729
|
+
const de_DiscoverInstancesCommand = async (output, context) => {
|
|
730
|
+
if (output.statusCode >= 300) {
|
|
731
|
+
return de_CommandError(output, context);
|
|
732
|
+
}
|
|
733
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
734
|
+
let contents = {};
|
|
735
|
+
contents = smithyClient._json(data);
|
|
736
|
+
const response = {
|
|
737
|
+
$metadata: deserializeMetadata(output),
|
|
738
|
+
...contents,
|
|
739
|
+
};
|
|
740
|
+
return response;
|
|
741
|
+
};
|
|
742
|
+
const de_DiscoverInstancesRevisionCommand = async (output, context) => {
|
|
743
|
+
if (output.statusCode >= 300) {
|
|
744
|
+
return de_CommandError(output, context);
|
|
745
|
+
}
|
|
746
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
747
|
+
let contents = {};
|
|
748
|
+
contents = smithyClient._json(data);
|
|
749
|
+
const response = {
|
|
750
|
+
$metadata: deserializeMetadata(output),
|
|
751
|
+
...contents,
|
|
752
|
+
};
|
|
753
|
+
return response;
|
|
754
|
+
};
|
|
755
|
+
const de_GetInstanceCommand = async (output, context) => {
|
|
756
|
+
if (output.statusCode >= 300) {
|
|
757
|
+
return de_CommandError(output, context);
|
|
758
|
+
}
|
|
759
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
760
|
+
let contents = {};
|
|
761
|
+
contents = smithyClient._json(data);
|
|
762
|
+
const response = {
|
|
763
|
+
$metadata: deserializeMetadata(output),
|
|
764
|
+
...contents,
|
|
765
|
+
};
|
|
766
|
+
return response;
|
|
767
|
+
};
|
|
768
|
+
const de_GetInstancesHealthStatusCommand = async (output, context) => {
|
|
769
|
+
if (output.statusCode >= 300) {
|
|
770
|
+
return de_CommandError(output, context);
|
|
771
|
+
}
|
|
772
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
773
|
+
let contents = {};
|
|
774
|
+
contents = smithyClient._json(data);
|
|
775
|
+
const response = {
|
|
776
|
+
$metadata: deserializeMetadata(output),
|
|
777
|
+
...contents,
|
|
778
|
+
};
|
|
779
|
+
return response;
|
|
780
|
+
};
|
|
781
|
+
const de_GetNamespaceCommand = async (output, context) => {
|
|
782
|
+
if (output.statusCode >= 300) {
|
|
783
|
+
return de_CommandError(output, context);
|
|
784
|
+
}
|
|
785
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
786
|
+
let contents = {};
|
|
787
|
+
contents = de_GetNamespaceResponse(data);
|
|
788
|
+
const response = {
|
|
789
|
+
$metadata: deserializeMetadata(output),
|
|
790
|
+
...contents,
|
|
791
|
+
};
|
|
792
|
+
return response;
|
|
793
|
+
};
|
|
794
|
+
const de_GetOperationCommand = async (output, context) => {
|
|
795
|
+
if (output.statusCode >= 300) {
|
|
796
|
+
return de_CommandError(output, context);
|
|
797
|
+
}
|
|
798
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
799
|
+
let contents = {};
|
|
800
|
+
contents = de_GetOperationResponse(data);
|
|
801
|
+
const response = {
|
|
802
|
+
$metadata: deserializeMetadata(output),
|
|
803
|
+
...contents,
|
|
804
|
+
};
|
|
805
|
+
return response;
|
|
806
|
+
};
|
|
807
|
+
const de_GetServiceCommand = async (output, context) => {
|
|
808
|
+
if (output.statusCode >= 300) {
|
|
809
|
+
return de_CommandError(output, context);
|
|
810
|
+
}
|
|
811
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
812
|
+
let contents = {};
|
|
813
|
+
contents = de_GetServiceResponse(data);
|
|
814
|
+
const response = {
|
|
815
|
+
$metadata: deserializeMetadata(output),
|
|
816
|
+
...contents,
|
|
817
|
+
};
|
|
818
|
+
return response;
|
|
819
|
+
};
|
|
820
|
+
const de_GetServiceAttributesCommand = async (output, context) => {
|
|
821
|
+
if (output.statusCode >= 300) {
|
|
822
|
+
return de_CommandError(output, context);
|
|
823
|
+
}
|
|
824
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
825
|
+
let contents = {};
|
|
826
|
+
contents = smithyClient._json(data);
|
|
827
|
+
const response = {
|
|
828
|
+
$metadata: deserializeMetadata(output),
|
|
829
|
+
...contents,
|
|
830
|
+
};
|
|
831
|
+
return response;
|
|
832
|
+
};
|
|
833
|
+
const de_ListInstancesCommand = async (output, context) => {
|
|
834
|
+
if (output.statusCode >= 300) {
|
|
835
|
+
return de_CommandError(output, context);
|
|
836
|
+
}
|
|
837
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
838
|
+
let contents = {};
|
|
839
|
+
contents = smithyClient._json(data);
|
|
840
|
+
const response = {
|
|
841
|
+
$metadata: deserializeMetadata(output),
|
|
842
|
+
...contents,
|
|
843
|
+
};
|
|
844
|
+
return response;
|
|
845
|
+
};
|
|
846
|
+
const de_ListNamespacesCommand = async (output, context) => {
|
|
847
|
+
if (output.statusCode >= 300) {
|
|
848
|
+
return de_CommandError(output, context);
|
|
849
|
+
}
|
|
850
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
851
|
+
let contents = {};
|
|
852
|
+
contents = de_ListNamespacesResponse(data);
|
|
853
|
+
const response = {
|
|
854
|
+
$metadata: deserializeMetadata(output),
|
|
855
|
+
...contents,
|
|
856
|
+
};
|
|
857
|
+
return response;
|
|
858
|
+
};
|
|
859
|
+
const de_ListOperationsCommand = async (output, context) => {
|
|
860
|
+
if (output.statusCode >= 300) {
|
|
861
|
+
return de_CommandError(output, context);
|
|
862
|
+
}
|
|
863
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
864
|
+
let contents = {};
|
|
865
|
+
contents = smithyClient._json(data);
|
|
866
|
+
const response = {
|
|
867
|
+
$metadata: deserializeMetadata(output),
|
|
868
|
+
...contents,
|
|
869
|
+
};
|
|
870
|
+
return response;
|
|
871
|
+
};
|
|
872
|
+
const de_ListServicesCommand = async (output, context) => {
|
|
873
|
+
if (output.statusCode >= 300) {
|
|
874
|
+
return de_CommandError(output, context);
|
|
875
|
+
}
|
|
876
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
877
|
+
let contents = {};
|
|
878
|
+
contents = de_ListServicesResponse(data);
|
|
879
|
+
const response = {
|
|
880
|
+
$metadata: deserializeMetadata(output),
|
|
881
|
+
...contents,
|
|
882
|
+
};
|
|
883
|
+
return response;
|
|
884
|
+
};
|
|
885
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
886
|
+
if (output.statusCode >= 300) {
|
|
887
|
+
return de_CommandError(output, context);
|
|
888
|
+
}
|
|
889
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
890
|
+
let contents = {};
|
|
891
|
+
contents = smithyClient._json(data);
|
|
892
|
+
const response = {
|
|
893
|
+
$metadata: deserializeMetadata(output),
|
|
894
|
+
...contents,
|
|
895
|
+
};
|
|
896
|
+
return response;
|
|
897
|
+
};
|
|
898
|
+
const de_RegisterInstanceCommand = async (output, context) => {
|
|
899
|
+
if (output.statusCode >= 300) {
|
|
900
|
+
return de_CommandError(output, context);
|
|
901
|
+
}
|
|
902
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
903
|
+
let contents = {};
|
|
904
|
+
contents = smithyClient._json(data);
|
|
905
|
+
const response = {
|
|
906
|
+
$metadata: deserializeMetadata(output),
|
|
907
|
+
...contents,
|
|
908
|
+
};
|
|
909
|
+
return response;
|
|
910
|
+
};
|
|
911
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
912
|
+
if (output.statusCode >= 300) {
|
|
913
|
+
return de_CommandError(output, context);
|
|
914
|
+
}
|
|
915
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
916
|
+
let contents = {};
|
|
917
|
+
contents = smithyClient._json(data);
|
|
918
|
+
const response = {
|
|
919
|
+
$metadata: deserializeMetadata(output),
|
|
920
|
+
...contents,
|
|
921
|
+
};
|
|
922
|
+
return response;
|
|
923
|
+
};
|
|
924
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
925
|
+
if (output.statusCode >= 300) {
|
|
926
|
+
return de_CommandError(output, context);
|
|
927
|
+
}
|
|
928
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
929
|
+
let contents = {};
|
|
930
|
+
contents = smithyClient._json(data);
|
|
931
|
+
const response = {
|
|
932
|
+
$metadata: deserializeMetadata(output),
|
|
933
|
+
...contents,
|
|
934
|
+
};
|
|
935
|
+
return response;
|
|
936
|
+
};
|
|
937
|
+
const de_UpdateHttpNamespaceCommand = async (output, context) => {
|
|
938
|
+
if (output.statusCode >= 300) {
|
|
939
|
+
return de_CommandError(output, context);
|
|
940
|
+
}
|
|
941
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
942
|
+
let contents = {};
|
|
943
|
+
contents = smithyClient._json(data);
|
|
944
|
+
const response = {
|
|
945
|
+
$metadata: deserializeMetadata(output),
|
|
946
|
+
...contents,
|
|
947
|
+
};
|
|
948
|
+
return response;
|
|
949
|
+
};
|
|
950
|
+
const de_UpdateInstanceCustomHealthStatusCommand = async (output, context) => {
|
|
951
|
+
if (output.statusCode >= 300) {
|
|
952
|
+
return de_CommandError(output, context);
|
|
953
|
+
}
|
|
954
|
+
await smithyClient.collectBody(output.body, context);
|
|
955
|
+
const response = {
|
|
956
|
+
$metadata: deserializeMetadata(output),
|
|
957
|
+
};
|
|
958
|
+
return response;
|
|
959
|
+
};
|
|
960
|
+
const de_UpdatePrivateDnsNamespaceCommand = async (output, context) => {
|
|
961
|
+
if (output.statusCode >= 300) {
|
|
962
|
+
return de_CommandError(output, context);
|
|
963
|
+
}
|
|
964
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
965
|
+
let contents = {};
|
|
966
|
+
contents = smithyClient._json(data);
|
|
967
|
+
const response = {
|
|
968
|
+
$metadata: deserializeMetadata(output),
|
|
969
|
+
...contents,
|
|
970
|
+
};
|
|
971
|
+
return response;
|
|
972
|
+
};
|
|
973
|
+
const de_UpdatePublicDnsNamespaceCommand = async (output, context) => {
|
|
974
|
+
if (output.statusCode >= 300) {
|
|
975
|
+
return de_CommandError(output, context);
|
|
976
|
+
}
|
|
977
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
978
|
+
let contents = {};
|
|
979
|
+
contents = smithyClient._json(data);
|
|
980
|
+
const response = {
|
|
981
|
+
$metadata: deserializeMetadata(output),
|
|
982
|
+
...contents,
|
|
983
|
+
};
|
|
984
|
+
return response;
|
|
985
|
+
};
|
|
986
|
+
const de_UpdateServiceCommand = async (output, context) => {
|
|
987
|
+
if (output.statusCode >= 300) {
|
|
988
|
+
return de_CommandError(output, context);
|
|
989
|
+
}
|
|
990
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
991
|
+
let contents = {};
|
|
992
|
+
contents = smithyClient._json(data);
|
|
993
|
+
const response = {
|
|
994
|
+
$metadata: deserializeMetadata(output),
|
|
995
|
+
...contents,
|
|
996
|
+
};
|
|
997
|
+
return response;
|
|
998
|
+
};
|
|
999
|
+
const de_UpdateServiceAttributesCommand = async (output, context) => {
|
|
1000
|
+
if (output.statusCode >= 300) {
|
|
1001
|
+
return de_CommandError(output, context);
|
|
1002
|
+
}
|
|
1003
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
1004
|
+
let contents = {};
|
|
1005
|
+
contents = smithyClient._json(data);
|
|
1006
|
+
const response = {
|
|
1007
|
+
$metadata: deserializeMetadata(output),
|
|
1008
|
+
...contents,
|
|
1009
|
+
};
|
|
1010
|
+
return response;
|
|
1011
|
+
};
|
|
1012
|
+
const de_CommandError = async (output, context) => {
|
|
1013
|
+
const parsedOutput = {
|
|
1014
|
+
...output,
|
|
1015
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1016
|
+
};
|
|
1017
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1018
|
+
switch (errorCode) {
|
|
1019
|
+
case "DuplicateRequest":
|
|
1020
|
+
case "com.amazonaws.servicediscovery#DuplicateRequest":
|
|
1021
|
+
throw await de_DuplicateRequestRes(parsedOutput);
|
|
1022
|
+
case "InvalidInput":
|
|
1023
|
+
case "com.amazonaws.servicediscovery#InvalidInput":
|
|
1024
|
+
throw await de_InvalidInputRes(parsedOutput);
|
|
1025
|
+
case "NamespaceAlreadyExists":
|
|
1026
|
+
case "com.amazonaws.servicediscovery#NamespaceAlreadyExists":
|
|
1027
|
+
throw await de_NamespaceAlreadyExistsRes(parsedOutput);
|
|
1028
|
+
case "ResourceLimitExceeded":
|
|
1029
|
+
case "com.amazonaws.servicediscovery#ResourceLimitExceeded":
|
|
1030
|
+
throw await de_ResourceLimitExceededRes(parsedOutput);
|
|
1031
|
+
case "TooManyTagsException":
|
|
1032
|
+
case "com.amazonaws.servicediscovery#TooManyTagsException":
|
|
1033
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput);
|
|
1034
|
+
case "NamespaceNotFound":
|
|
1035
|
+
case "com.amazonaws.servicediscovery#NamespaceNotFound":
|
|
1036
|
+
throw await de_NamespaceNotFoundRes(parsedOutput);
|
|
1037
|
+
case "ServiceAlreadyExists":
|
|
1038
|
+
case "com.amazonaws.servicediscovery#ServiceAlreadyExists":
|
|
1039
|
+
throw await de_ServiceAlreadyExistsRes(parsedOutput);
|
|
1040
|
+
case "ResourceInUse":
|
|
1041
|
+
case "com.amazonaws.servicediscovery#ResourceInUse":
|
|
1042
|
+
throw await de_ResourceInUseRes(parsedOutput);
|
|
1043
|
+
case "ServiceNotFound":
|
|
1044
|
+
case "com.amazonaws.servicediscovery#ServiceNotFound":
|
|
1045
|
+
throw await de_ServiceNotFoundRes(parsedOutput);
|
|
1046
|
+
case "InstanceNotFound":
|
|
1047
|
+
case "com.amazonaws.servicediscovery#InstanceNotFound":
|
|
1048
|
+
throw await de_InstanceNotFoundRes(parsedOutput);
|
|
1049
|
+
case "RequestLimitExceeded":
|
|
1050
|
+
case "com.amazonaws.servicediscovery#RequestLimitExceeded":
|
|
1051
|
+
throw await de_RequestLimitExceededRes(parsedOutput);
|
|
1052
|
+
case "OperationNotFound":
|
|
1053
|
+
case "com.amazonaws.servicediscovery#OperationNotFound":
|
|
1054
|
+
throw await de_OperationNotFoundRes(parsedOutput);
|
|
1055
|
+
case "ResourceNotFoundException":
|
|
1056
|
+
case "com.amazonaws.servicediscovery#ResourceNotFoundException":
|
|
1057
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1058
|
+
case "CustomHealthNotFound":
|
|
1059
|
+
case "com.amazonaws.servicediscovery#CustomHealthNotFound":
|
|
1060
|
+
throw await de_CustomHealthNotFoundRes(parsedOutput);
|
|
1061
|
+
case "ServiceAttributesLimitExceededException":
|
|
1062
|
+
case "com.amazonaws.servicediscovery#ServiceAttributesLimitExceededException":
|
|
1063
|
+
throw await de_ServiceAttributesLimitExceededExceptionRes(parsedOutput);
|
|
1064
|
+
default:
|
|
1065
|
+
const parsedBody = parsedOutput.body;
|
|
1066
|
+
return throwDefaultError({
|
|
1067
|
+
output,
|
|
1068
|
+
parsedBody,
|
|
1069
|
+
errorCode,
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
265
1072
|
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
name = "DuplicateRequest";
|
|
273
|
-
$fault = "client";
|
|
274
|
-
Message;
|
|
275
|
-
/**
|
|
276
|
-
* <p>The ID of the operation that's already in progress.</p>
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
|
-
DuplicateOperationId;
|
|
280
|
-
/**
|
|
281
|
-
* @internal
|
|
282
|
-
*/
|
|
283
|
-
constructor(opts) {
|
|
284
|
-
super({
|
|
285
|
-
name: "DuplicateRequest",
|
|
286
|
-
$fault: "client",
|
|
287
|
-
...opts
|
|
1073
|
+
const de_CustomHealthNotFoundRes = async (parsedOutput, context) => {
|
|
1074
|
+
const body = parsedOutput.body;
|
|
1075
|
+
const deserialized = smithyClient._json(body);
|
|
1076
|
+
const exception = new CustomHealthNotFound({
|
|
1077
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1078
|
+
...deserialized,
|
|
288
1079
|
});
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
name = "InvalidInput";
|
|
299
|
-
$fault = "client";
|
|
300
|
-
Message;
|
|
301
|
-
/**
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
|
-
constructor(opts) {
|
|
305
|
-
super({
|
|
306
|
-
name: "InvalidInput",
|
|
307
|
-
$fault: "client",
|
|
308
|
-
...opts
|
|
1080
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1081
|
+
};
|
|
1082
|
+
const de_DuplicateRequestRes = async (parsedOutput, context) => {
|
|
1083
|
+
const body = parsedOutput.body;
|
|
1084
|
+
const deserialized = smithyClient._json(body);
|
|
1085
|
+
const exception = new DuplicateRequest({
|
|
1086
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1087
|
+
...deserialized,
|
|
309
1088
|
});
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
name = "NamespaceAlreadyExists";
|
|
319
|
-
$fault = "client";
|
|
320
|
-
Message;
|
|
321
|
-
/**
|
|
322
|
-
* <p>The <code>CreatorRequestId</code> that was used to create the namespace.</p>
|
|
323
|
-
* @public
|
|
324
|
-
*/
|
|
325
|
-
CreatorRequestId;
|
|
326
|
-
/**
|
|
327
|
-
* <p>The ID of the existing namespace.</p>
|
|
328
|
-
* @public
|
|
329
|
-
*/
|
|
330
|
-
NamespaceId;
|
|
331
|
-
/**
|
|
332
|
-
* @internal
|
|
333
|
-
*/
|
|
334
|
-
constructor(opts) {
|
|
335
|
-
super({
|
|
336
|
-
name: "NamespaceAlreadyExists",
|
|
337
|
-
$fault: "client",
|
|
338
|
-
...opts
|
|
1089
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1090
|
+
};
|
|
1091
|
+
const de_InstanceNotFoundRes = async (parsedOutput, context) => {
|
|
1092
|
+
const body = parsedOutput.body;
|
|
1093
|
+
const deserialized = smithyClient._json(body);
|
|
1094
|
+
const exception = new InstanceNotFound({
|
|
1095
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1096
|
+
...deserialized,
|
|
339
1097
|
});
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
__name(this, "ResourceLimitExceeded");
|
|
349
|
-
}
|
|
350
|
-
name = "ResourceLimitExceeded";
|
|
351
|
-
$fault = "client";
|
|
352
|
-
Message;
|
|
353
|
-
/**
|
|
354
|
-
* @internal
|
|
355
|
-
*/
|
|
356
|
-
constructor(opts) {
|
|
357
|
-
super({
|
|
358
|
-
name: "ResourceLimitExceeded",
|
|
359
|
-
$fault: "client",
|
|
360
|
-
...opts
|
|
1098
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1099
|
+
};
|
|
1100
|
+
const de_InvalidInputRes = async (parsedOutput, context) => {
|
|
1101
|
+
const body = parsedOutput.body;
|
|
1102
|
+
const deserialized = smithyClient._json(body);
|
|
1103
|
+
const exception = new InvalidInput({
|
|
1104
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1105
|
+
...deserialized,
|
|
361
1106
|
});
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
name = "TooManyTagsException";
|
|
371
|
-
$fault = "client";
|
|
372
|
-
Message;
|
|
373
|
-
/**
|
|
374
|
-
* <p>The name of the resource.</p>
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
ResourceName;
|
|
378
|
-
/**
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
constructor(opts) {
|
|
382
|
-
super({
|
|
383
|
-
name: "TooManyTagsException",
|
|
384
|
-
$fault: "client",
|
|
385
|
-
...opts
|
|
1107
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1108
|
+
};
|
|
1109
|
+
const de_NamespaceAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1110
|
+
const body = parsedOutput.body;
|
|
1111
|
+
const deserialized = smithyClient._json(body);
|
|
1112
|
+
const exception = new NamespaceAlreadyExists({
|
|
1113
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1114
|
+
...deserialized,
|
|
386
1115
|
});
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
CNAME: "CNAME",
|
|
396
|
-
SRV: "SRV"
|
|
397
|
-
};
|
|
398
|
-
var RoutingPolicy = {
|
|
399
|
-
MULTIVALUE: "MULTIVALUE",
|
|
400
|
-
WEIGHTED: "WEIGHTED"
|
|
401
|
-
};
|
|
402
|
-
var HealthCheckType = {
|
|
403
|
-
HTTP: "HTTP",
|
|
404
|
-
HTTPS: "HTTPS",
|
|
405
|
-
TCP: "TCP"
|
|
406
|
-
};
|
|
407
|
-
var ServiceTypeOption = {
|
|
408
|
-
HTTP: "HTTP"
|
|
409
|
-
};
|
|
410
|
-
var ServiceType = {
|
|
411
|
-
DNS: "DNS",
|
|
412
|
-
DNS_HTTP: "DNS_HTTP",
|
|
413
|
-
HTTP: "HTTP"
|
|
414
|
-
};
|
|
415
|
-
var NamespaceNotFound = class _NamespaceNotFound extends ServiceDiscoveryServiceException {
|
|
416
|
-
static {
|
|
417
|
-
__name(this, "NamespaceNotFound");
|
|
418
|
-
}
|
|
419
|
-
name = "NamespaceNotFound";
|
|
420
|
-
$fault = "client";
|
|
421
|
-
Message;
|
|
422
|
-
/**
|
|
423
|
-
* @internal
|
|
424
|
-
*/
|
|
425
|
-
constructor(opts) {
|
|
426
|
-
super({
|
|
427
|
-
name: "NamespaceNotFound",
|
|
428
|
-
$fault: "client",
|
|
429
|
-
...opts
|
|
1116
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1117
|
+
};
|
|
1118
|
+
const de_NamespaceNotFoundRes = async (parsedOutput, context) => {
|
|
1119
|
+
const body = parsedOutput.body;
|
|
1120
|
+
const deserialized = smithyClient._json(body);
|
|
1121
|
+
const exception = new NamespaceNotFound({
|
|
1122
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1123
|
+
...deserialized,
|
|
430
1124
|
});
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
name = "ServiceAlreadyExists";
|
|
440
|
-
$fault = "client";
|
|
441
|
-
Message;
|
|
442
|
-
/**
|
|
443
|
-
* <p>The <code>CreatorRequestId</code> that was used to create the service.</p>
|
|
444
|
-
* @public
|
|
445
|
-
*/
|
|
446
|
-
CreatorRequestId;
|
|
447
|
-
/**
|
|
448
|
-
* <p>The ID of the existing service.</p>
|
|
449
|
-
* @public
|
|
450
|
-
*/
|
|
451
|
-
ServiceId;
|
|
452
|
-
/**
|
|
453
|
-
* <p>The ARN of the existing service.</p>
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
ServiceArn;
|
|
457
|
-
/**
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
460
|
-
constructor(opts) {
|
|
461
|
-
super({
|
|
462
|
-
name: "ServiceAlreadyExists",
|
|
463
|
-
$fault: "client",
|
|
464
|
-
...opts
|
|
1125
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1126
|
+
};
|
|
1127
|
+
const de_OperationNotFoundRes = async (parsedOutput, context) => {
|
|
1128
|
+
const body = parsedOutput.body;
|
|
1129
|
+
const deserialized = smithyClient._json(body);
|
|
1130
|
+
const exception = new OperationNotFound({
|
|
1131
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1132
|
+
...deserialized,
|
|
465
1133
|
});
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
static {
|
|
475
|
-
__name(this, "CustomHealthNotFound");
|
|
476
|
-
}
|
|
477
|
-
name = "CustomHealthNotFound";
|
|
478
|
-
$fault = "client";
|
|
479
|
-
Message;
|
|
480
|
-
/**
|
|
481
|
-
* @internal
|
|
482
|
-
*/
|
|
483
|
-
constructor(opts) {
|
|
484
|
-
super({
|
|
485
|
-
name: "CustomHealthNotFound",
|
|
486
|
-
$fault: "client",
|
|
487
|
-
...opts
|
|
1134
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1135
|
+
};
|
|
1136
|
+
const de_RequestLimitExceededRes = async (parsedOutput, context) => {
|
|
1137
|
+
const body = parsedOutput.body;
|
|
1138
|
+
const deserialized = smithyClient._json(body);
|
|
1139
|
+
const exception = new RequestLimitExceeded({
|
|
1140
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1141
|
+
...deserialized,
|
|
488
1142
|
});
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
var ResourceInUse = class _ResourceInUse extends ServiceDiscoveryServiceException {
|
|
498
|
-
static {
|
|
499
|
-
__name(this, "ResourceInUse");
|
|
500
|
-
}
|
|
501
|
-
name = "ResourceInUse";
|
|
502
|
-
$fault = "client";
|
|
503
|
-
Message;
|
|
504
|
-
/**
|
|
505
|
-
* @internal
|
|
506
|
-
*/
|
|
507
|
-
constructor(opts) {
|
|
508
|
-
super({
|
|
509
|
-
name: "ResourceInUse",
|
|
510
|
-
$fault: "client",
|
|
511
|
-
...opts
|
|
1143
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1144
|
+
};
|
|
1145
|
+
const de_ResourceInUseRes = async (parsedOutput, context) => {
|
|
1146
|
+
const body = parsedOutput.body;
|
|
1147
|
+
const deserialized = smithyClient._json(body);
|
|
1148
|
+
const exception = new ResourceInUse({
|
|
1149
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1150
|
+
...deserialized,
|
|
512
1151
|
});
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
name = "ServiceNotFound";
|
|
522
|
-
$fault = "client";
|
|
523
|
-
Message;
|
|
524
|
-
/**
|
|
525
|
-
* @internal
|
|
526
|
-
*/
|
|
527
|
-
constructor(opts) {
|
|
528
|
-
super({
|
|
529
|
-
name: "ServiceNotFound",
|
|
530
|
-
$fault: "client",
|
|
531
|
-
...opts
|
|
1152
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1153
|
+
};
|
|
1154
|
+
const de_ResourceLimitExceededRes = async (parsedOutput, context) => {
|
|
1155
|
+
const body = parsedOutput.body;
|
|
1156
|
+
const deserialized = smithyClient._json(body);
|
|
1157
|
+
const exception = new ResourceLimitExceeded({
|
|
1158
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1159
|
+
...deserialized,
|
|
532
1160
|
});
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
name = "InstanceNotFound";
|
|
542
|
-
$fault = "client";
|
|
543
|
-
Message;
|
|
544
|
-
/**
|
|
545
|
-
* @internal
|
|
546
|
-
*/
|
|
547
|
-
constructor(opts) {
|
|
548
|
-
super({
|
|
549
|
-
name: "InstanceNotFound",
|
|
550
|
-
$fault: "client",
|
|
551
|
-
...opts
|
|
1161
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1162
|
+
};
|
|
1163
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1164
|
+
const body = parsedOutput.body;
|
|
1165
|
+
const deserialized = smithyClient._json(body);
|
|
1166
|
+
const exception = new ResourceNotFoundException({
|
|
1167
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1168
|
+
...deserialized,
|
|
552
1169
|
});
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
UNHEALTHY: "UNHEALTHY"
|
|
562
|
-
};
|
|
563
|
-
var HealthStatus = {
|
|
564
|
-
HEALTHY: "HEALTHY",
|
|
565
|
-
UNHEALTHY: "UNHEALTHY",
|
|
566
|
-
UNKNOWN: "UNKNOWN"
|
|
567
|
-
};
|
|
568
|
-
var RequestLimitExceeded = class _RequestLimitExceeded extends ServiceDiscoveryServiceException {
|
|
569
|
-
static {
|
|
570
|
-
__name(this, "RequestLimitExceeded");
|
|
571
|
-
}
|
|
572
|
-
name = "RequestLimitExceeded";
|
|
573
|
-
$fault = "client";
|
|
574
|
-
Message;
|
|
575
|
-
/**
|
|
576
|
-
* @internal
|
|
577
|
-
*/
|
|
578
|
-
constructor(opts) {
|
|
579
|
-
super({
|
|
580
|
-
name: "RequestLimitExceeded",
|
|
581
|
-
$fault: "client",
|
|
582
|
-
...opts
|
|
1170
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1171
|
+
};
|
|
1172
|
+
const de_ServiceAlreadyExistsRes = async (parsedOutput, context) => {
|
|
1173
|
+
const body = parsedOutput.body;
|
|
1174
|
+
const deserialized = smithyClient._json(body);
|
|
1175
|
+
const exception = new ServiceAlreadyExists({
|
|
1176
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1177
|
+
...deserialized,
|
|
583
1178
|
});
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
IN: "IN"
|
|
593
|
-
};
|
|
594
|
-
var NamespaceType = {
|
|
595
|
-
DNS_PRIVATE: "DNS_PRIVATE",
|
|
596
|
-
DNS_PUBLIC: "DNS_PUBLIC",
|
|
597
|
-
HTTP: "HTTP"
|
|
598
|
-
};
|
|
599
|
-
var OperationStatus = {
|
|
600
|
-
FAIL: "FAIL",
|
|
601
|
-
PENDING: "PENDING",
|
|
602
|
-
SUBMITTED: "SUBMITTED",
|
|
603
|
-
SUCCESS: "SUCCESS"
|
|
604
|
-
};
|
|
605
|
-
var OperationTargetType = {
|
|
606
|
-
INSTANCE: "INSTANCE",
|
|
607
|
-
NAMESPACE: "NAMESPACE",
|
|
608
|
-
SERVICE: "SERVICE"
|
|
609
|
-
};
|
|
610
|
-
var OperationType = {
|
|
611
|
-
CREATE_NAMESPACE: "CREATE_NAMESPACE",
|
|
612
|
-
DELETE_NAMESPACE: "DELETE_NAMESPACE",
|
|
613
|
-
DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE",
|
|
614
|
-
REGISTER_INSTANCE: "REGISTER_INSTANCE",
|
|
615
|
-
UPDATE_NAMESPACE: "UPDATE_NAMESPACE",
|
|
616
|
-
UPDATE_SERVICE: "UPDATE_SERVICE"
|
|
617
|
-
};
|
|
618
|
-
var OperationNotFound = class _OperationNotFound extends ServiceDiscoveryServiceException {
|
|
619
|
-
static {
|
|
620
|
-
__name(this, "OperationNotFound");
|
|
621
|
-
}
|
|
622
|
-
name = "OperationNotFound";
|
|
623
|
-
$fault = "client";
|
|
624
|
-
Message;
|
|
625
|
-
/**
|
|
626
|
-
* @internal
|
|
627
|
-
*/
|
|
628
|
-
constructor(opts) {
|
|
629
|
-
super({
|
|
630
|
-
name: "OperationNotFound",
|
|
631
|
-
$fault: "client",
|
|
632
|
-
...opts
|
|
1179
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1180
|
+
};
|
|
1181
|
+
const de_ServiceAttributesLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1182
|
+
const body = parsedOutput.body;
|
|
1183
|
+
const deserialized = smithyClient._json(body);
|
|
1184
|
+
const exception = new ServiceAttributesLimitExceededException({
|
|
1185
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1186
|
+
...deserialized,
|
|
633
1187
|
});
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
TYPE: "TYPE"
|
|
643
|
-
};
|
|
644
|
-
var OperationFilterName = {
|
|
645
|
-
NAMESPACE_ID: "NAMESPACE_ID",
|
|
646
|
-
SERVICE_ID: "SERVICE_ID",
|
|
647
|
-
STATUS: "STATUS",
|
|
648
|
-
TYPE: "TYPE",
|
|
649
|
-
UPDATE_DATE: "UPDATE_DATE"
|
|
650
|
-
};
|
|
651
|
-
var ServiceFilterName = {
|
|
652
|
-
NAMESPACE_ID: "NAMESPACE_ID",
|
|
653
|
-
RESOURCE_OWNER: "RESOURCE_OWNER"
|
|
654
|
-
};
|
|
655
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends ServiceDiscoveryServiceException {
|
|
656
|
-
static {
|
|
657
|
-
__name(this, "ResourceNotFoundException");
|
|
658
|
-
}
|
|
659
|
-
name = "ResourceNotFoundException";
|
|
660
|
-
$fault = "client";
|
|
661
|
-
Message;
|
|
662
|
-
/**
|
|
663
|
-
* @internal
|
|
664
|
-
*/
|
|
665
|
-
constructor(opts) {
|
|
666
|
-
super({
|
|
667
|
-
name: "ResourceNotFoundException",
|
|
668
|
-
$fault: "client",
|
|
669
|
-
...opts
|
|
1188
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1189
|
+
};
|
|
1190
|
+
const de_ServiceNotFoundRes = async (parsedOutput, context) => {
|
|
1191
|
+
const body = parsedOutput.body;
|
|
1192
|
+
const deserialized = smithyClient._json(body);
|
|
1193
|
+
const exception = new ServiceNotFound({
|
|
1194
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1195
|
+
...deserialized,
|
|
670
1196
|
});
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
$fault: "client",
|
|
689
|
-
...opts
|
|
1197
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1198
|
+
};
|
|
1199
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1200
|
+
const body = parsedOutput.body;
|
|
1201
|
+
const deserialized = smithyClient._json(body);
|
|
1202
|
+
const exception = new TooManyTagsException({
|
|
1203
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
|
+
...deserialized,
|
|
1205
|
+
});
|
|
1206
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1207
|
+
};
|
|
1208
|
+
const se_CreateHttpNamespaceRequest = (input, context) => {
|
|
1209
|
+
return smithyClient.take(input, {
|
|
1210
|
+
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1211
|
+
Description: [],
|
|
1212
|
+
Name: [],
|
|
1213
|
+
Tags: smithyClient._json,
|
|
690
1214
|
});
|
|
691
|
-
Object.setPrototypeOf(this, _ServiceAttributesLimitExceededException.prototype);
|
|
692
|
-
this.Message = opts.Message;
|
|
693
|
-
}
|
|
694
|
-
};
|
|
695
|
-
|
|
696
|
-
// src/protocols/Aws_json1_1.ts
|
|
697
|
-
var se_CreateHttpNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
698
|
-
const headers = sharedHeaders("CreateHttpNamespace");
|
|
699
|
-
let body;
|
|
700
|
-
body = JSON.stringify(se_CreateHttpNamespaceRequest(input, context));
|
|
701
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
702
|
-
}, "se_CreateHttpNamespaceCommand");
|
|
703
|
-
var se_CreatePrivateDnsNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
704
|
-
const headers = sharedHeaders("CreatePrivateDnsNamespace");
|
|
705
|
-
let body;
|
|
706
|
-
body = JSON.stringify(se_CreatePrivateDnsNamespaceRequest(input, context));
|
|
707
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
708
|
-
}, "se_CreatePrivateDnsNamespaceCommand");
|
|
709
|
-
var se_CreatePublicDnsNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
710
|
-
const headers = sharedHeaders("CreatePublicDnsNamespace");
|
|
711
|
-
let body;
|
|
712
|
-
body = JSON.stringify(se_CreatePublicDnsNamespaceRequest(input, context));
|
|
713
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
714
|
-
}, "se_CreatePublicDnsNamespaceCommand");
|
|
715
|
-
var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
716
|
-
const headers = sharedHeaders("CreateService");
|
|
717
|
-
let body;
|
|
718
|
-
body = JSON.stringify(se_CreateServiceRequest(input, context));
|
|
719
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
720
|
-
}, "se_CreateServiceCommand");
|
|
721
|
-
var se_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
-
const headers = sharedHeaders("DeleteNamespace");
|
|
723
|
-
let body;
|
|
724
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
725
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
726
|
-
}, "se_DeleteNamespaceCommand");
|
|
727
|
-
var se_DeleteServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
728
|
-
const headers = sharedHeaders("DeleteService");
|
|
729
|
-
let body;
|
|
730
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
731
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
732
|
-
}, "se_DeleteServiceCommand");
|
|
733
|
-
var se_DeleteServiceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
734
|
-
const headers = sharedHeaders("DeleteServiceAttributes");
|
|
735
|
-
let body;
|
|
736
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
737
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
738
|
-
}, "se_DeleteServiceAttributesCommand");
|
|
739
|
-
var se_DeregisterInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
-
const headers = sharedHeaders("DeregisterInstance");
|
|
741
|
-
let body;
|
|
742
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
743
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
744
|
-
}, "se_DeregisterInstanceCommand");
|
|
745
|
-
var se_DiscoverInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
-
const headers = sharedHeaders("DiscoverInstances");
|
|
747
|
-
let body;
|
|
748
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
749
|
-
let { hostname: resolvedHostname } = await context.endpoint();
|
|
750
|
-
if (context.disableHostPrefix !== true) {
|
|
751
|
-
resolvedHostname = "data-" + resolvedHostname;
|
|
752
|
-
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
753
|
-
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
757
|
-
}, "se_DiscoverInstancesCommand");
|
|
758
|
-
var se_DiscoverInstancesRevisionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
-
const headers = sharedHeaders("DiscoverInstancesRevision");
|
|
760
|
-
let body;
|
|
761
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
762
|
-
let { hostname: resolvedHostname } = await context.endpoint();
|
|
763
|
-
if (context.disableHostPrefix !== true) {
|
|
764
|
-
resolvedHostname = "data-" + resolvedHostname;
|
|
765
|
-
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
766
|
-
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
770
|
-
}, "se_DiscoverInstancesRevisionCommand");
|
|
771
|
-
var se_GetInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
772
|
-
const headers = sharedHeaders("GetInstance");
|
|
773
|
-
let body;
|
|
774
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
775
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
776
|
-
}, "se_GetInstanceCommand");
|
|
777
|
-
var se_GetInstancesHealthStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
778
|
-
const headers = sharedHeaders("GetInstancesHealthStatus");
|
|
779
|
-
let body;
|
|
780
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
781
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
782
|
-
}, "se_GetInstancesHealthStatusCommand");
|
|
783
|
-
var se_GetNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
784
|
-
const headers = sharedHeaders("GetNamespace");
|
|
785
|
-
let body;
|
|
786
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
787
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
788
|
-
}, "se_GetNamespaceCommand");
|
|
789
|
-
var se_GetOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
790
|
-
const headers = sharedHeaders("GetOperation");
|
|
791
|
-
let body;
|
|
792
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
793
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
794
|
-
}, "se_GetOperationCommand");
|
|
795
|
-
var se_GetServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
796
|
-
const headers = sharedHeaders("GetService");
|
|
797
|
-
let body;
|
|
798
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
799
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
800
|
-
}, "se_GetServiceCommand");
|
|
801
|
-
var se_GetServiceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
802
|
-
const headers = sharedHeaders("GetServiceAttributes");
|
|
803
|
-
let body;
|
|
804
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
805
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
806
|
-
}, "se_GetServiceAttributesCommand");
|
|
807
|
-
var se_ListInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
808
|
-
const headers = sharedHeaders("ListInstances");
|
|
809
|
-
let body;
|
|
810
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
811
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
812
|
-
}, "se_ListInstancesCommand");
|
|
813
|
-
var se_ListNamespacesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
814
|
-
const headers = sharedHeaders("ListNamespaces");
|
|
815
|
-
let body;
|
|
816
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
817
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
818
|
-
}, "se_ListNamespacesCommand");
|
|
819
|
-
var se_ListOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
820
|
-
const headers = sharedHeaders("ListOperations");
|
|
821
|
-
let body;
|
|
822
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
823
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
824
|
-
}, "se_ListOperationsCommand");
|
|
825
|
-
var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
826
|
-
const headers = sharedHeaders("ListServices");
|
|
827
|
-
let body;
|
|
828
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
829
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
830
|
-
}, "se_ListServicesCommand");
|
|
831
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
832
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
833
|
-
let body;
|
|
834
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
835
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
836
|
-
}, "se_ListTagsForResourceCommand");
|
|
837
|
-
var se_RegisterInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
838
|
-
const headers = sharedHeaders("RegisterInstance");
|
|
839
|
-
let body;
|
|
840
|
-
body = JSON.stringify(se_RegisterInstanceRequest(input, context));
|
|
841
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
842
|
-
}, "se_RegisterInstanceCommand");
|
|
843
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
844
|
-
const headers = sharedHeaders("TagResource");
|
|
845
|
-
let body;
|
|
846
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
847
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
848
|
-
}, "se_TagResourceCommand");
|
|
849
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
850
|
-
const headers = sharedHeaders("UntagResource");
|
|
851
|
-
let body;
|
|
852
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
853
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
854
|
-
}, "se_UntagResourceCommand");
|
|
855
|
-
var se_UpdateHttpNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
856
|
-
const headers = sharedHeaders("UpdateHttpNamespace");
|
|
857
|
-
let body;
|
|
858
|
-
body = JSON.stringify(se_UpdateHttpNamespaceRequest(input, context));
|
|
859
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
860
|
-
}, "se_UpdateHttpNamespaceCommand");
|
|
861
|
-
var se_UpdateInstanceCustomHealthStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
862
|
-
const headers = sharedHeaders("UpdateInstanceCustomHealthStatus");
|
|
863
|
-
let body;
|
|
864
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
865
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
866
|
-
}, "se_UpdateInstanceCustomHealthStatusCommand");
|
|
867
|
-
var se_UpdatePrivateDnsNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
868
|
-
const headers = sharedHeaders("UpdatePrivateDnsNamespace");
|
|
869
|
-
let body;
|
|
870
|
-
body = JSON.stringify(se_UpdatePrivateDnsNamespaceRequest(input, context));
|
|
871
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
872
|
-
}, "se_UpdatePrivateDnsNamespaceCommand");
|
|
873
|
-
var se_UpdatePublicDnsNamespaceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
874
|
-
const headers = sharedHeaders("UpdatePublicDnsNamespace");
|
|
875
|
-
let body;
|
|
876
|
-
body = JSON.stringify(se_UpdatePublicDnsNamespaceRequest(input, context));
|
|
877
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
878
|
-
}, "se_UpdatePublicDnsNamespaceCommand");
|
|
879
|
-
var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
880
|
-
const headers = sharedHeaders("UpdateService");
|
|
881
|
-
let body;
|
|
882
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
883
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
884
|
-
}, "se_UpdateServiceCommand");
|
|
885
|
-
var se_UpdateServiceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
886
|
-
const headers = sharedHeaders("UpdateServiceAttributes");
|
|
887
|
-
let body;
|
|
888
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
889
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
890
|
-
}, "se_UpdateServiceAttributesCommand");
|
|
891
|
-
var de_CreateHttpNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
892
|
-
if (output.statusCode >= 300) {
|
|
893
|
-
return de_CommandError(output, context);
|
|
894
|
-
}
|
|
895
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
896
|
-
let contents = {};
|
|
897
|
-
contents = (0, import_smithy_client._json)(data);
|
|
898
|
-
const response = {
|
|
899
|
-
$metadata: deserializeMetadata(output),
|
|
900
|
-
...contents
|
|
901
|
-
};
|
|
902
|
-
return response;
|
|
903
|
-
}, "de_CreateHttpNamespaceCommand");
|
|
904
|
-
var de_CreatePrivateDnsNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
905
|
-
if (output.statusCode >= 300) {
|
|
906
|
-
return de_CommandError(output, context);
|
|
907
|
-
}
|
|
908
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
909
|
-
let contents = {};
|
|
910
|
-
contents = (0, import_smithy_client._json)(data);
|
|
911
|
-
const response = {
|
|
912
|
-
$metadata: deserializeMetadata(output),
|
|
913
|
-
...contents
|
|
914
|
-
};
|
|
915
|
-
return response;
|
|
916
|
-
}, "de_CreatePrivateDnsNamespaceCommand");
|
|
917
|
-
var de_CreatePublicDnsNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
918
|
-
if (output.statusCode >= 300) {
|
|
919
|
-
return de_CommandError(output, context);
|
|
920
|
-
}
|
|
921
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
922
|
-
let contents = {};
|
|
923
|
-
contents = (0, import_smithy_client._json)(data);
|
|
924
|
-
const response = {
|
|
925
|
-
$metadata: deserializeMetadata(output),
|
|
926
|
-
...contents
|
|
927
|
-
};
|
|
928
|
-
return response;
|
|
929
|
-
}, "de_CreatePublicDnsNamespaceCommand");
|
|
930
|
-
var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
931
|
-
if (output.statusCode >= 300) {
|
|
932
|
-
return de_CommandError(output, context);
|
|
933
|
-
}
|
|
934
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
935
|
-
let contents = {};
|
|
936
|
-
contents = de_CreateServiceResponse(data, context);
|
|
937
|
-
const response = {
|
|
938
|
-
$metadata: deserializeMetadata(output),
|
|
939
|
-
...contents
|
|
940
|
-
};
|
|
941
|
-
return response;
|
|
942
|
-
}, "de_CreateServiceCommand");
|
|
943
|
-
var de_DeleteNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
944
|
-
if (output.statusCode >= 300) {
|
|
945
|
-
return de_CommandError(output, context);
|
|
946
|
-
}
|
|
947
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
948
|
-
let contents = {};
|
|
949
|
-
contents = (0, import_smithy_client._json)(data);
|
|
950
|
-
const response = {
|
|
951
|
-
$metadata: deserializeMetadata(output),
|
|
952
|
-
...contents
|
|
953
|
-
};
|
|
954
|
-
return response;
|
|
955
|
-
}, "de_DeleteNamespaceCommand");
|
|
956
|
-
var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
957
|
-
if (output.statusCode >= 300) {
|
|
958
|
-
return de_CommandError(output, context);
|
|
959
|
-
}
|
|
960
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
961
|
-
let contents = {};
|
|
962
|
-
contents = (0, import_smithy_client._json)(data);
|
|
963
|
-
const response = {
|
|
964
|
-
$metadata: deserializeMetadata(output),
|
|
965
|
-
...contents
|
|
966
|
-
};
|
|
967
|
-
return response;
|
|
968
|
-
}, "de_DeleteServiceCommand");
|
|
969
|
-
var de_DeleteServiceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
970
|
-
if (output.statusCode >= 300) {
|
|
971
|
-
return de_CommandError(output, context);
|
|
972
|
-
}
|
|
973
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
974
|
-
let contents = {};
|
|
975
|
-
contents = (0, import_smithy_client._json)(data);
|
|
976
|
-
const response = {
|
|
977
|
-
$metadata: deserializeMetadata(output),
|
|
978
|
-
...contents
|
|
979
|
-
};
|
|
980
|
-
return response;
|
|
981
|
-
}, "de_DeleteServiceAttributesCommand");
|
|
982
|
-
var de_DeregisterInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
983
|
-
if (output.statusCode >= 300) {
|
|
984
|
-
return de_CommandError(output, context);
|
|
985
|
-
}
|
|
986
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
987
|
-
let contents = {};
|
|
988
|
-
contents = (0, import_smithy_client._json)(data);
|
|
989
|
-
const response = {
|
|
990
|
-
$metadata: deserializeMetadata(output),
|
|
991
|
-
...contents
|
|
992
|
-
};
|
|
993
|
-
return response;
|
|
994
|
-
}, "de_DeregisterInstanceCommand");
|
|
995
|
-
var de_DiscoverInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
996
|
-
if (output.statusCode >= 300) {
|
|
997
|
-
return de_CommandError(output, context);
|
|
998
|
-
}
|
|
999
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1000
|
-
let contents = {};
|
|
1001
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1002
|
-
const response = {
|
|
1003
|
-
$metadata: deserializeMetadata(output),
|
|
1004
|
-
...contents
|
|
1005
|
-
};
|
|
1006
|
-
return response;
|
|
1007
|
-
}, "de_DiscoverInstancesCommand");
|
|
1008
|
-
var de_DiscoverInstancesRevisionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1009
|
-
if (output.statusCode >= 300) {
|
|
1010
|
-
return de_CommandError(output, context);
|
|
1011
|
-
}
|
|
1012
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1013
|
-
let contents = {};
|
|
1014
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1015
|
-
const response = {
|
|
1016
|
-
$metadata: deserializeMetadata(output),
|
|
1017
|
-
...contents
|
|
1018
|
-
};
|
|
1019
|
-
return response;
|
|
1020
|
-
}, "de_DiscoverInstancesRevisionCommand");
|
|
1021
|
-
var de_GetInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
-
if (output.statusCode >= 300) {
|
|
1023
|
-
return de_CommandError(output, context);
|
|
1024
|
-
}
|
|
1025
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1026
|
-
let contents = {};
|
|
1027
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1028
|
-
const response = {
|
|
1029
|
-
$metadata: deserializeMetadata(output),
|
|
1030
|
-
...contents
|
|
1031
|
-
};
|
|
1032
|
-
return response;
|
|
1033
|
-
}, "de_GetInstanceCommand");
|
|
1034
|
-
var de_GetInstancesHealthStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1035
|
-
if (output.statusCode >= 300) {
|
|
1036
|
-
return de_CommandError(output, context);
|
|
1037
|
-
}
|
|
1038
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1039
|
-
let contents = {};
|
|
1040
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1041
|
-
const response = {
|
|
1042
|
-
$metadata: deserializeMetadata(output),
|
|
1043
|
-
...contents
|
|
1044
|
-
};
|
|
1045
|
-
return response;
|
|
1046
|
-
}, "de_GetInstancesHealthStatusCommand");
|
|
1047
|
-
var de_GetNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1048
|
-
if (output.statusCode >= 300) {
|
|
1049
|
-
return de_CommandError(output, context);
|
|
1050
|
-
}
|
|
1051
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1052
|
-
let contents = {};
|
|
1053
|
-
contents = de_GetNamespaceResponse(data, context);
|
|
1054
|
-
const response = {
|
|
1055
|
-
$metadata: deserializeMetadata(output),
|
|
1056
|
-
...contents
|
|
1057
|
-
};
|
|
1058
|
-
return response;
|
|
1059
|
-
}, "de_GetNamespaceCommand");
|
|
1060
|
-
var de_GetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1061
|
-
if (output.statusCode >= 300) {
|
|
1062
|
-
return de_CommandError(output, context);
|
|
1063
|
-
}
|
|
1064
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1065
|
-
let contents = {};
|
|
1066
|
-
contents = de_GetOperationResponse(data, context);
|
|
1067
|
-
const response = {
|
|
1068
|
-
$metadata: deserializeMetadata(output),
|
|
1069
|
-
...contents
|
|
1070
|
-
};
|
|
1071
|
-
return response;
|
|
1072
|
-
}, "de_GetOperationCommand");
|
|
1073
|
-
var de_GetServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1074
|
-
if (output.statusCode >= 300) {
|
|
1075
|
-
return de_CommandError(output, context);
|
|
1076
|
-
}
|
|
1077
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1078
|
-
let contents = {};
|
|
1079
|
-
contents = de_GetServiceResponse(data, context);
|
|
1080
|
-
const response = {
|
|
1081
|
-
$metadata: deserializeMetadata(output),
|
|
1082
|
-
...contents
|
|
1083
|
-
};
|
|
1084
|
-
return response;
|
|
1085
|
-
}, "de_GetServiceCommand");
|
|
1086
|
-
var de_GetServiceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1087
|
-
if (output.statusCode >= 300) {
|
|
1088
|
-
return de_CommandError(output, context);
|
|
1089
|
-
}
|
|
1090
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1091
|
-
let contents = {};
|
|
1092
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1093
|
-
const response = {
|
|
1094
|
-
$metadata: deserializeMetadata(output),
|
|
1095
|
-
...contents
|
|
1096
|
-
};
|
|
1097
|
-
return response;
|
|
1098
|
-
}, "de_GetServiceAttributesCommand");
|
|
1099
|
-
var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1100
|
-
if (output.statusCode >= 300) {
|
|
1101
|
-
return de_CommandError(output, context);
|
|
1102
|
-
}
|
|
1103
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1104
|
-
let contents = {};
|
|
1105
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1106
|
-
const response = {
|
|
1107
|
-
$metadata: deserializeMetadata(output),
|
|
1108
|
-
...contents
|
|
1109
|
-
};
|
|
1110
|
-
return response;
|
|
1111
|
-
}, "de_ListInstancesCommand");
|
|
1112
|
-
var de_ListNamespacesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
|
-
if (output.statusCode >= 300) {
|
|
1114
|
-
return de_CommandError(output, context);
|
|
1115
|
-
}
|
|
1116
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1117
|
-
let contents = {};
|
|
1118
|
-
contents = de_ListNamespacesResponse(data, context);
|
|
1119
|
-
const response = {
|
|
1120
|
-
$metadata: deserializeMetadata(output),
|
|
1121
|
-
...contents
|
|
1122
|
-
};
|
|
1123
|
-
return response;
|
|
1124
|
-
}, "de_ListNamespacesCommand");
|
|
1125
|
-
var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
-
if (output.statusCode >= 300) {
|
|
1127
|
-
return de_CommandError(output, context);
|
|
1128
|
-
}
|
|
1129
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1130
|
-
let contents = {};
|
|
1131
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1132
|
-
const response = {
|
|
1133
|
-
$metadata: deserializeMetadata(output),
|
|
1134
|
-
...contents
|
|
1135
|
-
};
|
|
1136
|
-
return response;
|
|
1137
|
-
}, "de_ListOperationsCommand");
|
|
1138
|
-
var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1139
|
-
if (output.statusCode >= 300) {
|
|
1140
|
-
return de_CommandError(output, context);
|
|
1141
|
-
}
|
|
1142
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1143
|
-
let contents = {};
|
|
1144
|
-
contents = de_ListServicesResponse(data, context);
|
|
1145
|
-
const response = {
|
|
1146
|
-
$metadata: deserializeMetadata(output),
|
|
1147
|
-
...contents
|
|
1148
|
-
};
|
|
1149
|
-
return response;
|
|
1150
|
-
}, "de_ListServicesCommand");
|
|
1151
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
-
if (output.statusCode >= 300) {
|
|
1153
|
-
return de_CommandError(output, context);
|
|
1154
|
-
}
|
|
1155
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1156
|
-
let contents = {};
|
|
1157
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1158
|
-
const response = {
|
|
1159
|
-
$metadata: deserializeMetadata(output),
|
|
1160
|
-
...contents
|
|
1161
|
-
};
|
|
1162
|
-
return response;
|
|
1163
|
-
}, "de_ListTagsForResourceCommand");
|
|
1164
|
-
var de_RegisterInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1165
|
-
if (output.statusCode >= 300) {
|
|
1166
|
-
return de_CommandError(output, context);
|
|
1167
|
-
}
|
|
1168
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1169
|
-
let contents = {};
|
|
1170
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1171
|
-
const response = {
|
|
1172
|
-
$metadata: deserializeMetadata(output),
|
|
1173
|
-
...contents
|
|
1174
|
-
};
|
|
1175
|
-
return response;
|
|
1176
|
-
}, "de_RegisterInstanceCommand");
|
|
1177
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1178
|
-
if (output.statusCode >= 300) {
|
|
1179
|
-
return de_CommandError(output, context);
|
|
1180
|
-
}
|
|
1181
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1182
|
-
let contents = {};
|
|
1183
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1184
|
-
const response = {
|
|
1185
|
-
$metadata: deserializeMetadata(output),
|
|
1186
|
-
...contents
|
|
1187
|
-
};
|
|
1188
|
-
return response;
|
|
1189
|
-
}, "de_TagResourceCommand");
|
|
1190
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1191
|
-
if (output.statusCode >= 300) {
|
|
1192
|
-
return de_CommandError(output, context);
|
|
1193
|
-
}
|
|
1194
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1195
|
-
let contents = {};
|
|
1196
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1197
|
-
const response = {
|
|
1198
|
-
$metadata: deserializeMetadata(output),
|
|
1199
|
-
...contents
|
|
1200
|
-
};
|
|
1201
|
-
return response;
|
|
1202
|
-
}, "de_UntagResourceCommand");
|
|
1203
|
-
var de_UpdateHttpNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1204
|
-
if (output.statusCode >= 300) {
|
|
1205
|
-
return de_CommandError(output, context);
|
|
1206
|
-
}
|
|
1207
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1208
|
-
let contents = {};
|
|
1209
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1210
|
-
const response = {
|
|
1211
|
-
$metadata: deserializeMetadata(output),
|
|
1212
|
-
...contents
|
|
1213
|
-
};
|
|
1214
|
-
return response;
|
|
1215
|
-
}, "de_UpdateHttpNamespaceCommand");
|
|
1216
|
-
var de_UpdateInstanceCustomHealthStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1217
|
-
if (output.statusCode >= 300) {
|
|
1218
|
-
return de_CommandError(output, context);
|
|
1219
|
-
}
|
|
1220
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1221
|
-
const response = {
|
|
1222
|
-
$metadata: deserializeMetadata(output)
|
|
1223
|
-
};
|
|
1224
|
-
return response;
|
|
1225
|
-
}, "de_UpdateInstanceCustomHealthStatusCommand");
|
|
1226
|
-
var de_UpdatePrivateDnsNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
-
if (output.statusCode >= 300) {
|
|
1228
|
-
return de_CommandError(output, context);
|
|
1229
|
-
}
|
|
1230
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1231
|
-
let contents = {};
|
|
1232
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1233
|
-
const response = {
|
|
1234
|
-
$metadata: deserializeMetadata(output),
|
|
1235
|
-
...contents
|
|
1236
|
-
};
|
|
1237
|
-
return response;
|
|
1238
|
-
}, "de_UpdatePrivateDnsNamespaceCommand");
|
|
1239
|
-
var de_UpdatePublicDnsNamespaceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1240
|
-
if (output.statusCode >= 300) {
|
|
1241
|
-
return de_CommandError(output, context);
|
|
1242
|
-
}
|
|
1243
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1244
|
-
let contents = {};
|
|
1245
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1246
|
-
const response = {
|
|
1247
|
-
$metadata: deserializeMetadata(output),
|
|
1248
|
-
...contents
|
|
1249
|
-
};
|
|
1250
|
-
return response;
|
|
1251
|
-
}, "de_UpdatePublicDnsNamespaceCommand");
|
|
1252
|
-
var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1253
|
-
if (output.statusCode >= 300) {
|
|
1254
|
-
return de_CommandError(output, context);
|
|
1255
|
-
}
|
|
1256
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1257
|
-
let contents = {};
|
|
1258
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1259
|
-
const response = {
|
|
1260
|
-
$metadata: deserializeMetadata(output),
|
|
1261
|
-
...contents
|
|
1262
|
-
};
|
|
1263
|
-
return response;
|
|
1264
|
-
}, "de_UpdateServiceCommand");
|
|
1265
|
-
var de_UpdateServiceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1266
|
-
if (output.statusCode >= 300) {
|
|
1267
|
-
return de_CommandError(output, context);
|
|
1268
|
-
}
|
|
1269
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1270
|
-
let contents = {};
|
|
1271
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1272
|
-
const response = {
|
|
1273
|
-
$metadata: deserializeMetadata(output),
|
|
1274
|
-
...contents
|
|
1275
|
-
};
|
|
1276
|
-
return response;
|
|
1277
|
-
}, "de_UpdateServiceAttributesCommand");
|
|
1278
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1279
|
-
const parsedOutput = {
|
|
1280
|
-
...output,
|
|
1281
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1282
|
-
};
|
|
1283
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1284
|
-
switch (errorCode) {
|
|
1285
|
-
case "DuplicateRequest":
|
|
1286
|
-
case "com.amazonaws.servicediscovery#DuplicateRequest":
|
|
1287
|
-
throw await de_DuplicateRequestRes(parsedOutput, context);
|
|
1288
|
-
case "InvalidInput":
|
|
1289
|
-
case "com.amazonaws.servicediscovery#InvalidInput":
|
|
1290
|
-
throw await de_InvalidInputRes(parsedOutput, context);
|
|
1291
|
-
case "NamespaceAlreadyExists":
|
|
1292
|
-
case "com.amazonaws.servicediscovery#NamespaceAlreadyExists":
|
|
1293
|
-
throw await de_NamespaceAlreadyExistsRes(parsedOutput, context);
|
|
1294
|
-
case "ResourceLimitExceeded":
|
|
1295
|
-
case "com.amazonaws.servicediscovery#ResourceLimitExceeded":
|
|
1296
|
-
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
1297
|
-
case "TooManyTagsException":
|
|
1298
|
-
case "com.amazonaws.servicediscovery#TooManyTagsException":
|
|
1299
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1300
|
-
case "NamespaceNotFound":
|
|
1301
|
-
case "com.amazonaws.servicediscovery#NamespaceNotFound":
|
|
1302
|
-
throw await de_NamespaceNotFoundRes(parsedOutput, context);
|
|
1303
|
-
case "ServiceAlreadyExists":
|
|
1304
|
-
case "com.amazonaws.servicediscovery#ServiceAlreadyExists":
|
|
1305
|
-
throw await de_ServiceAlreadyExistsRes(parsedOutput, context);
|
|
1306
|
-
case "ResourceInUse":
|
|
1307
|
-
case "com.amazonaws.servicediscovery#ResourceInUse":
|
|
1308
|
-
throw await de_ResourceInUseRes(parsedOutput, context);
|
|
1309
|
-
case "ServiceNotFound":
|
|
1310
|
-
case "com.amazonaws.servicediscovery#ServiceNotFound":
|
|
1311
|
-
throw await de_ServiceNotFoundRes(parsedOutput, context);
|
|
1312
|
-
case "InstanceNotFound":
|
|
1313
|
-
case "com.amazonaws.servicediscovery#InstanceNotFound":
|
|
1314
|
-
throw await de_InstanceNotFoundRes(parsedOutput, context);
|
|
1315
|
-
case "RequestLimitExceeded":
|
|
1316
|
-
case "com.amazonaws.servicediscovery#RequestLimitExceeded":
|
|
1317
|
-
throw await de_RequestLimitExceededRes(parsedOutput, context);
|
|
1318
|
-
case "OperationNotFound":
|
|
1319
|
-
case "com.amazonaws.servicediscovery#OperationNotFound":
|
|
1320
|
-
throw await de_OperationNotFoundRes(parsedOutput, context);
|
|
1321
|
-
case "ResourceNotFoundException":
|
|
1322
|
-
case "com.amazonaws.servicediscovery#ResourceNotFoundException":
|
|
1323
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1324
|
-
case "CustomHealthNotFound":
|
|
1325
|
-
case "com.amazonaws.servicediscovery#CustomHealthNotFound":
|
|
1326
|
-
throw await de_CustomHealthNotFoundRes(parsedOutput, context);
|
|
1327
|
-
case "ServiceAttributesLimitExceededException":
|
|
1328
|
-
case "com.amazonaws.servicediscovery#ServiceAttributesLimitExceededException":
|
|
1329
|
-
throw await de_ServiceAttributesLimitExceededExceptionRes(parsedOutput, context);
|
|
1330
|
-
default:
|
|
1331
|
-
const parsedBody = parsedOutput.body;
|
|
1332
|
-
return throwDefaultError({
|
|
1333
|
-
output,
|
|
1334
|
-
parsedBody,
|
|
1335
|
-
errorCode
|
|
1336
|
-
});
|
|
1337
|
-
}
|
|
1338
|
-
}, "de_CommandError");
|
|
1339
|
-
var de_CustomHealthNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1340
|
-
const body = parsedOutput.body;
|
|
1341
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1342
|
-
const exception = new CustomHealthNotFound({
|
|
1343
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1344
|
-
...deserialized
|
|
1345
|
-
});
|
|
1346
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1347
|
-
}, "de_CustomHealthNotFoundRes");
|
|
1348
|
-
var de_DuplicateRequestRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1349
|
-
const body = parsedOutput.body;
|
|
1350
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1351
|
-
const exception = new DuplicateRequest({
|
|
1352
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1353
|
-
...deserialized
|
|
1354
|
-
});
|
|
1355
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1356
|
-
}, "de_DuplicateRequestRes");
|
|
1357
|
-
var de_InstanceNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1358
|
-
const body = parsedOutput.body;
|
|
1359
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1360
|
-
const exception = new InstanceNotFound({
|
|
1361
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1362
|
-
...deserialized
|
|
1363
|
-
});
|
|
1364
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1365
|
-
}, "de_InstanceNotFoundRes");
|
|
1366
|
-
var de_InvalidInputRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1367
|
-
const body = parsedOutput.body;
|
|
1368
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1369
|
-
const exception = new InvalidInput({
|
|
1370
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1371
|
-
...deserialized
|
|
1372
|
-
});
|
|
1373
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1374
|
-
}, "de_InvalidInputRes");
|
|
1375
|
-
var de_NamespaceAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1376
|
-
const body = parsedOutput.body;
|
|
1377
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1378
|
-
const exception = new NamespaceAlreadyExists({
|
|
1379
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1380
|
-
...deserialized
|
|
1381
|
-
});
|
|
1382
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1383
|
-
}, "de_NamespaceAlreadyExistsRes");
|
|
1384
|
-
var de_NamespaceNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1385
|
-
const body = parsedOutput.body;
|
|
1386
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1387
|
-
const exception = new NamespaceNotFound({
|
|
1388
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1389
|
-
...deserialized
|
|
1390
|
-
});
|
|
1391
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1392
|
-
}, "de_NamespaceNotFoundRes");
|
|
1393
|
-
var de_OperationNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1394
|
-
const body = parsedOutput.body;
|
|
1395
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1396
|
-
const exception = new OperationNotFound({
|
|
1397
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1398
|
-
...deserialized
|
|
1399
|
-
});
|
|
1400
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1401
|
-
}, "de_OperationNotFoundRes");
|
|
1402
|
-
var de_RequestLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1403
|
-
const body = parsedOutput.body;
|
|
1404
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1405
|
-
const exception = new RequestLimitExceeded({
|
|
1406
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1407
|
-
...deserialized
|
|
1408
|
-
});
|
|
1409
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1410
|
-
}, "de_RequestLimitExceededRes");
|
|
1411
|
-
var de_ResourceInUseRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1412
|
-
const body = parsedOutput.body;
|
|
1413
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1414
|
-
const exception = new ResourceInUse({
|
|
1415
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1416
|
-
...deserialized
|
|
1417
|
-
});
|
|
1418
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1419
|
-
}, "de_ResourceInUseRes");
|
|
1420
|
-
var de_ResourceLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1421
|
-
const body = parsedOutput.body;
|
|
1422
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1423
|
-
const exception = new ResourceLimitExceeded({
|
|
1424
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1425
|
-
...deserialized
|
|
1426
|
-
});
|
|
1427
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1428
|
-
}, "de_ResourceLimitExceededRes");
|
|
1429
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1430
|
-
const body = parsedOutput.body;
|
|
1431
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1432
|
-
const exception = new ResourceNotFoundException({
|
|
1433
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1434
|
-
...deserialized
|
|
1435
|
-
});
|
|
1436
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1437
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1438
|
-
var de_ServiceAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1439
|
-
const body = parsedOutput.body;
|
|
1440
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1441
|
-
const exception = new ServiceAlreadyExists({
|
|
1442
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1443
|
-
...deserialized
|
|
1444
|
-
});
|
|
1445
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1446
|
-
}, "de_ServiceAlreadyExistsRes");
|
|
1447
|
-
var de_ServiceAttributesLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1448
|
-
const body = parsedOutput.body;
|
|
1449
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1450
|
-
const exception = new ServiceAttributesLimitExceededException({
|
|
1451
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1452
|
-
...deserialized
|
|
1453
|
-
});
|
|
1454
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1455
|
-
}, "de_ServiceAttributesLimitExceededExceptionRes");
|
|
1456
|
-
var de_ServiceNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1457
|
-
const body = parsedOutput.body;
|
|
1458
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1459
|
-
const exception = new ServiceNotFound({
|
|
1460
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1461
|
-
...deserialized
|
|
1462
|
-
});
|
|
1463
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1464
|
-
}, "de_ServiceNotFoundRes");
|
|
1465
|
-
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1466
|
-
const body = parsedOutput.body;
|
|
1467
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1468
|
-
const exception = new TooManyTagsException({
|
|
1469
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1470
|
-
...deserialized
|
|
1471
|
-
});
|
|
1472
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1473
|
-
}, "de_TooManyTagsExceptionRes");
|
|
1474
|
-
var se_CreateHttpNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1475
|
-
return (0, import_smithy_client.take)(input, {
|
|
1476
|
-
CreatorRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1477
|
-
Description: [],
|
|
1478
|
-
Name: [],
|
|
1479
|
-
Tags: import_smithy_client._json
|
|
1480
|
-
});
|
|
1481
|
-
}, "se_CreateHttpNamespaceRequest");
|
|
1482
|
-
var se_CreatePrivateDnsNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1483
|
-
return (0, import_smithy_client.take)(input, {
|
|
1484
|
-
CreatorRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1485
|
-
Description: [],
|
|
1486
|
-
Name: [],
|
|
1487
|
-
Properties: import_smithy_client._json,
|
|
1488
|
-
Tags: import_smithy_client._json,
|
|
1489
|
-
Vpc: []
|
|
1490
|
-
});
|
|
1491
|
-
}, "se_CreatePrivateDnsNamespaceRequest");
|
|
1492
|
-
var se_CreatePublicDnsNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1493
|
-
return (0, import_smithy_client.take)(input, {
|
|
1494
|
-
CreatorRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1495
|
-
Description: [],
|
|
1496
|
-
Name: [],
|
|
1497
|
-
Properties: import_smithy_client._json,
|
|
1498
|
-
Tags: import_smithy_client._json
|
|
1499
|
-
});
|
|
1500
|
-
}, "se_CreatePublicDnsNamespaceRequest");
|
|
1501
|
-
var se_CreateServiceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1502
|
-
return (0, import_smithy_client.take)(input, {
|
|
1503
|
-
CreatorRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1504
|
-
Description: [],
|
|
1505
|
-
DnsConfig: import_smithy_client._json,
|
|
1506
|
-
HealthCheckConfig: import_smithy_client._json,
|
|
1507
|
-
HealthCheckCustomConfig: import_smithy_client._json,
|
|
1508
|
-
Name: [],
|
|
1509
|
-
NamespaceId: [],
|
|
1510
|
-
Tags: import_smithy_client._json,
|
|
1511
|
-
Type: []
|
|
1512
|
-
});
|
|
1513
|
-
}, "se_CreateServiceRequest");
|
|
1514
|
-
var se_RegisterInstanceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1515
|
-
return (0, import_smithy_client.take)(input, {
|
|
1516
|
-
Attributes: import_smithy_client._json,
|
|
1517
|
-
CreatorRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1518
|
-
InstanceId: [],
|
|
1519
|
-
ServiceId: []
|
|
1520
|
-
});
|
|
1521
|
-
}, "se_RegisterInstanceRequest");
|
|
1522
|
-
var se_UpdateHttpNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1523
|
-
return (0, import_smithy_client.take)(input, {
|
|
1524
|
-
Id: [],
|
|
1525
|
-
Namespace: import_smithy_client._json,
|
|
1526
|
-
UpdaterRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
1527
|
-
});
|
|
1528
|
-
}, "se_UpdateHttpNamespaceRequest");
|
|
1529
|
-
var se_UpdatePrivateDnsNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1530
|
-
return (0, import_smithy_client.take)(input, {
|
|
1531
|
-
Id: [],
|
|
1532
|
-
Namespace: import_smithy_client._json,
|
|
1533
|
-
UpdaterRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
1534
|
-
});
|
|
1535
|
-
}, "se_UpdatePrivateDnsNamespaceRequest");
|
|
1536
|
-
var se_UpdatePublicDnsNamespaceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1537
|
-
return (0, import_smithy_client.take)(input, {
|
|
1538
|
-
Id: [],
|
|
1539
|
-
Namespace: import_smithy_client._json,
|
|
1540
|
-
UpdaterRequestId: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
1541
|
-
});
|
|
1542
|
-
}, "se_UpdatePublicDnsNamespaceRequest");
|
|
1543
|
-
var de_CreateServiceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1544
|
-
return (0, import_smithy_client.take)(output, {
|
|
1545
|
-
Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
|
|
1546
|
-
});
|
|
1547
|
-
}, "de_CreateServiceResponse");
|
|
1548
|
-
var de_GetNamespaceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1549
|
-
return (0, import_smithy_client.take)(output, {
|
|
1550
|
-
Namespace: /* @__PURE__ */ __name((_) => de_Namespace(_, context), "Namespace")
|
|
1551
|
-
});
|
|
1552
|
-
}, "de_GetNamespaceResponse");
|
|
1553
|
-
var de_GetOperationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1554
|
-
return (0, import_smithy_client.take)(output, {
|
|
1555
|
-
Operation: /* @__PURE__ */ __name((_) => de_Operation(_, context), "Operation")
|
|
1556
|
-
});
|
|
1557
|
-
}, "de_GetOperationResponse");
|
|
1558
|
-
var de_GetServiceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1559
|
-
return (0, import_smithy_client.take)(output, {
|
|
1560
|
-
Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service")
|
|
1561
|
-
});
|
|
1562
|
-
}, "de_GetServiceResponse");
|
|
1563
|
-
var de_ListNamespacesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1564
|
-
return (0, import_smithy_client.take)(output, {
|
|
1565
|
-
Namespaces: /* @__PURE__ */ __name((_) => de_NamespaceSummariesList(_, context), "Namespaces"),
|
|
1566
|
-
NextToken: import_smithy_client.expectString
|
|
1567
|
-
});
|
|
1568
|
-
}, "de_ListNamespacesResponse");
|
|
1569
|
-
var de_ListServicesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1570
|
-
return (0, import_smithy_client.take)(output, {
|
|
1571
|
-
NextToken: import_smithy_client.expectString,
|
|
1572
|
-
Services: /* @__PURE__ */ __name((_) => de_ServiceSummariesList(_, context), "Services")
|
|
1573
|
-
});
|
|
1574
|
-
}, "de_ListServicesResponse");
|
|
1575
|
-
var de_Namespace = /* @__PURE__ */ __name((output, context) => {
|
|
1576
|
-
return (0, import_smithy_client.take)(output, {
|
|
1577
|
-
Arn: import_smithy_client.expectString,
|
|
1578
|
-
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1579
|
-
CreatorRequestId: import_smithy_client.expectString,
|
|
1580
|
-
Description: import_smithy_client.expectString,
|
|
1581
|
-
Id: import_smithy_client.expectString,
|
|
1582
|
-
Name: import_smithy_client.expectString,
|
|
1583
|
-
Properties: import_smithy_client._json,
|
|
1584
|
-
ResourceOwner: import_smithy_client.expectString,
|
|
1585
|
-
ServiceCount: import_smithy_client.expectInt32,
|
|
1586
|
-
Type: import_smithy_client.expectString
|
|
1587
|
-
});
|
|
1588
|
-
}, "de_Namespace");
|
|
1589
|
-
var de_NamespaceSummariesList = /* @__PURE__ */ __name((output, context) => {
|
|
1590
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1591
|
-
return de_NamespaceSummary(entry, context);
|
|
1592
|
-
});
|
|
1593
|
-
return retVal;
|
|
1594
|
-
}, "de_NamespaceSummariesList");
|
|
1595
|
-
var de_NamespaceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1596
|
-
return (0, import_smithy_client.take)(output, {
|
|
1597
|
-
Arn: import_smithy_client.expectString,
|
|
1598
|
-
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1599
|
-
Description: import_smithy_client.expectString,
|
|
1600
|
-
Id: import_smithy_client.expectString,
|
|
1601
|
-
Name: import_smithy_client.expectString,
|
|
1602
|
-
Properties: import_smithy_client._json,
|
|
1603
|
-
ResourceOwner: import_smithy_client.expectString,
|
|
1604
|
-
ServiceCount: import_smithy_client.expectInt32,
|
|
1605
|
-
Type: import_smithy_client.expectString
|
|
1606
|
-
});
|
|
1607
|
-
}, "de_NamespaceSummary");
|
|
1608
|
-
var de_Operation = /* @__PURE__ */ __name((output, context) => {
|
|
1609
|
-
return (0, import_smithy_client.take)(output, {
|
|
1610
|
-
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1611
|
-
ErrorCode: import_smithy_client.expectString,
|
|
1612
|
-
ErrorMessage: import_smithy_client.expectString,
|
|
1613
|
-
Id: import_smithy_client.expectString,
|
|
1614
|
-
OwnerAccount: import_smithy_client.expectString,
|
|
1615
|
-
Status: import_smithy_client.expectString,
|
|
1616
|
-
Targets: import_smithy_client._json,
|
|
1617
|
-
Type: import_smithy_client.expectString,
|
|
1618
|
-
UpdateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdateDate")
|
|
1619
|
-
});
|
|
1620
|
-
}, "de_Operation");
|
|
1621
|
-
var de_Service = /* @__PURE__ */ __name((output, context) => {
|
|
1622
|
-
return (0, import_smithy_client.take)(output, {
|
|
1623
|
-
Arn: import_smithy_client.expectString,
|
|
1624
|
-
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1625
|
-
CreatedByAccount: import_smithy_client.expectString,
|
|
1626
|
-
CreatorRequestId: import_smithy_client.expectString,
|
|
1627
|
-
Description: import_smithy_client.expectString,
|
|
1628
|
-
DnsConfig: import_smithy_client._json,
|
|
1629
|
-
HealthCheckConfig: import_smithy_client._json,
|
|
1630
|
-
HealthCheckCustomConfig: import_smithy_client._json,
|
|
1631
|
-
Id: import_smithy_client.expectString,
|
|
1632
|
-
InstanceCount: import_smithy_client.expectInt32,
|
|
1633
|
-
Name: import_smithy_client.expectString,
|
|
1634
|
-
NamespaceId: import_smithy_client.expectString,
|
|
1635
|
-
ResourceOwner: import_smithy_client.expectString,
|
|
1636
|
-
Type: import_smithy_client.expectString
|
|
1637
|
-
});
|
|
1638
|
-
}, "de_Service");
|
|
1639
|
-
var de_ServiceSummariesList = /* @__PURE__ */ __name((output, context) => {
|
|
1640
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1641
|
-
return de_ServiceSummary(entry, context);
|
|
1642
|
-
});
|
|
1643
|
-
return retVal;
|
|
1644
|
-
}, "de_ServiceSummariesList");
|
|
1645
|
-
var de_ServiceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1646
|
-
return (0, import_smithy_client.take)(output, {
|
|
1647
|
-
Arn: import_smithy_client.expectString,
|
|
1648
|
-
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1649
|
-
CreatedByAccount: import_smithy_client.expectString,
|
|
1650
|
-
Description: import_smithy_client.expectString,
|
|
1651
|
-
DnsConfig: import_smithy_client._json,
|
|
1652
|
-
HealthCheckConfig: import_smithy_client._json,
|
|
1653
|
-
HealthCheckCustomConfig: import_smithy_client._json,
|
|
1654
|
-
Id: import_smithy_client.expectString,
|
|
1655
|
-
InstanceCount: import_smithy_client.expectInt32,
|
|
1656
|
-
Name: import_smithy_client.expectString,
|
|
1657
|
-
ResourceOwner: import_smithy_client.expectString,
|
|
1658
|
-
Type: import_smithy_client.expectString
|
|
1659
|
-
});
|
|
1660
|
-
}, "de_ServiceSummary");
|
|
1661
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1662
|
-
httpStatusCode: output.statusCode,
|
|
1663
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1664
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1665
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1666
|
-
}), "deserializeMetadata");
|
|
1667
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ServiceDiscoveryServiceException);
|
|
1668
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1669
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1670
|
-
const contents = {
|
|
1671
|
-
protocol,
|
|
1672
|
-
hostname,
|
|
1673
|
-
port,
|
|
1674
|
-
method: "POST",
|
|
1675
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1676
|
-
headers
|
|
1677
|
-
};
|
|
1678
|
-
if (resolvedHostname !== void 0) {
|
|
1679
|
-
contents.hostname = resolvedHostname;
|
|
1680
|
-
}
|
|
1681
|
-
if (body !== void 0) {
|
|
1682
|
-
contents.body = body;
|
|
1683
|
-
}
|
|
1684
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1685
|
-
}, "buildHttpRpcRequest");
|
|
1686
|
-
function sharedHeaders(operation) {
|
|
1687
|
-
return {
|
|
1688
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1689
|
-
"x-amz-target": `Route53AutoNaming_v20170314.${operation}`
|
|
1690
|
-
};
|
|
1691
|
-
}
|
|
1692
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1693
|
-
|
|
1694
|
-
// src/commands/CreateHttpNamespaceCommand.ts
|
|
1695
|
-
var CreateHttpNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1696
|
-
return [
|
|
1697
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1698
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1699
|
-
];
|
|
1700
|
-
}).s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {}).n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand").f(void 0, void 0).ser(se_CreateHttpNamespaceCommand).de(de_CreateHttpNamespaceCommand).build() {
|
|
1701
|
-
static {
|
|
1702
|
-
__name(this, "CreateHttpNamespaceCommand");
|
|
1703
|
-
}
|
|
1704
|
-
};
|
|
1705
|
-
|
|
1706
|
-
// src/commands/CreatePrivateDnsNamespaceCommand.ts
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
var CreatePrivateDnsNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1711
|
-
return [
|
|
1712
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1713
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1714
|
-
];
|
|
1715
|
-
}).s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {}).n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand").f(void 0, void 0).ser(se_CreatePrivateDnsNamespaceCommand).de(de_CreatePrivateDnsNamespaceCommand).build() {
|
|
1716
|
-
static {
|
|
1717
|
-
__name(this, "CreatePrivateDnsNamespaceCommand");
|
|
1718
|
-
}
|
|
1719
|
-
};
|
|
1720
|
-
|
|
1721
|
-
// src/commands/CreatePublicDnsNamespaceCommand.ts
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
var CreatePublicDnsNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1726
|
-
return [
|
|
1727
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1728
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1729
|
-
];
|
|
1730
|
-
}).s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {}).n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand").f(void 0, void 0).ser(se_CreatePublicDnsNamespaceCommand).de(de_CreatePublicDnsNamespaceCommand).build() {
|
|
1731
|
-
static {
|
|
1732
|
-
__name(this, "CreatePublicDnsNamespaceCommand");
|
|
1733
|
-
}
|
|
1734
|
-
};
|
|
1735
|
-
|
|
1736
|
-
// src/commands/CreateServiceCommand.ts
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
var CreateServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1741
|
-
return [
|
|
1742
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1743
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1744
|
-
];
|
|
1745
|
-
}).s("Route53AutoNaming_v20170314", "CreateService", {}).n("ServiceDiscoveryClient", "CreateServiceCommand").f(void 0, void 0).ser(se_CreateServiceCommand).de(de_CreateServiceCommand).build() {
|
|
1746
|
-
static {
|
|
1747
|
-
__name(this, "CreateServiceCommand");
|
|
1748
|
-
}
|
|
1749
1215
|
};
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
];
|
|
1760
|
-
}).s("Route53AutoNaming_v20170314", "DeleteNamespace", {}).n("ServiceDiscoveryClient", "DeleteNamespaceCommand").f(void 0, void 0).ser(se_DeleteNamespaceCommand).de(de_DeleteNamespaceCommand).build() {
|
|
1761
|
-
static {
|
|
1762
|
-
__name(this, "DeleteNamespaceCommand");
|
|
1763
|
-
}
|
|
1216
|
+
const se_CreatePrivateDnsNamespaceRequest = (input, context) => {
|
|
1217
|
+
return smithyClient.take(input, {
|
|
1218
|
+
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1219
|
+
Description: [],
|
|
1220
|
+
Name: [],
|
|
1221
|
+
Properties: smithyClient._json,
|
|
1222
|
+
Tags: smithyClient._json,
|
|
1223
|
+
Vpc: [],
|
|
1224
|
+
});
|
|
1764
1225
|
};
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1774
|
-
];
|
|
1775
|
-
}).s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {}).n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand").f(void 0, void 0).ser(se_DeleteServiceAttributesCommand).de(de_DeleteServiceAttributesCommand).build() {
|
|
1776
|
-
static {
|
|
1777
|
-
__name(this, "DeleteServiceAttributesCommand");
|
|
1778
|
-
}
|
|
1226
|
+
const se_CreatePublicDnsNamespaceRequest = (input, context) => {
|
|
1227
|
+
return smithyClient.take(input, {
|
|
1228
|
+
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1229
|
+
Description: [],
|
|
1230
|
+
Name: [],
|
|
1231
|
+
Properties: smithyClient._json,
|
|
1232
|
+
Tags: smithyClient._json,
|
|
1233
|
+
});
|
|
1779
1234
|
};
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
__name(this, "DeleteServiceCommand");
|
|
1793
|
-
}
|
|
1235
|
+
const se_CreateServiceRequest = (input, context) => {
|
|
1236
|
+
return smithyClient.take(input, {
|
|
1237
|
+
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1238
|
+
Description: [],
|
|
1239
|
+
DnsConfig: smithyClient._json,
|
|
1240
|
+
HealthCheckConfig: smithyClient._json,
|
|
1241
|
+
HealthCheckCustomConfig: smithyClient._json,
|
|
1242
|
+
Name: [],
|
|
1243
|
+
NamespaceId: [],
|
|
1244
|
+
Tags: smithyClient._json,
|
|
1245
|
+
Type: [],
|
|
1246
|
+
});
|
|
1794
1247
|
};
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1803
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1804
|
-
];
|
|
1805
|
-
}).s("Route53AutoNaming_v20170314", "DeregisterInstance", {}).n("ServiceDiscoveryClient", "DeregisterInstanceCommand").f(void 0, void 0).ser(se_DeregisterInstanceCommand).de(de_DeregisterInstanceCommand).build() {
|
|
1806
|
-
static {
|
|
1807
|
-
__name(this, "DeregisterInstanceCommand");
|
|
1808
|
-
}
|
|
1248
|
+
const se_RegisterInstanceRequest = (input, context) => {
|
|
1249
|
+
return smithyClient.take(input, {
|
|
1250
|
+
Attributes: smithyClient._json,
|
|
1251
|
+
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1252
|
+
InstanceId: [],
|
|
1253
|
+
ServiceId: [],
|
|
1254
|
+
});
|
|
1809
1255
|
};
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
return [
|
|
1817
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1818
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1819
|
-
];
|
|
1820
|
-
}).s("Route53AutoNaming_v20170314", "DiscoverInstances", {}).n("ServiceDiscoveryClient", "DiscoverInstancesCommand").f(void 0, void 0).ser(se_DiscoverInstancesCommand).de(de_DiscoverInstancesCommand).build() {
|
|
1821
|
-
static {
|
|
1822
|
-
__name(this, "DiscoverInstancesCommand");
|
|
1823
|
-
}
|
|
1256
|
+
const se_UpdateHttpNamespaceRequest = (input, context) => {
|
|
1257
|
+
return smithyClient.take(input, {
|
|
1258
|
+
Id: [],
|
|
1259
|
+
Namespace: smithyClient._json,
|
|
1260
|
+
UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1261
|
+
});
|
|
1824
1262
|
};
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
return [
|
|
1832
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1833
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1834
|
-
];
|
|
1835
|
-
}).s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {}).n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand").f(void 0, void 0).ser(se_DiscoverInstancesRevisionCommand).de(de_DiscoverInstancesRevisionCommand).build() {
|
|
1836
|
-
static {
|
|
1837
|
-
__name(this, "DiscoverInstancesRevisionCommand");
|
|
1838
|
-
}
|
|
1263
|
+
const se_UpdatePrivateDnsNamespaceRequest = (input, context) => {
|
|
1264
|
+
return smithyClient.take(input, {
|
|
1265
|
+
Id: [],
|
|
1266
|
+
Namespace: smithyClient._json,
|
|
1267
|
+
UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1268
|
+
});
|
|
1839
1269
|
};
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
return [
|
|
1847
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1848
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1849
|
-
];
|
|
1850
|
-
}).s("Route53AutoNaming_v20170314", "GetInstance", {}).n("ServiceDiscoveryClient", "GetInstanceCommand").f(void 0, void 0).ser(se_GetInstanceCommand).de(de_GetInstanceCommand).build() {
|
|
1851
|
-
static {
|
|
1852
|
-
__name(this, "GetInstanceCommand");
|
|
1853
|
-
}
|
|
1270
|
+
const se_UpdatePublicDnsNamespaceRequest = (input, context) => {
|
|
1271
|
+
return smithyClient.take(input, {
|
|
1272
|
+
Id: [],
|
|
1273
|
+
Namespace: smithyClient._json,
|
|
1274
|
+
UpdaterRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
1275
|
+
});
|
|
1854
1276
|
};
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
var GetInstancesHealthStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1861
|
-
return [
|
|
1862
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1863
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1864
|
-
];
|
|
1865
|
-
}).s("Route53AutoNaming_v20170314", "GetInstancesHealthStatus", {}).n("ServiceDiscoveryClient", "GetInstancesHealthStatusCommand").f(void 0, void 0).ser(se_GetInstancesHealthStatusCommand).de(de_GetInstancesHealthStatusCommand).build() {
|
|
1866
|
-
static {
|
|
1867
|
-
__name(this, "GetInstancesHealthStatusCommand");
|
|
1868
|
-
}
|
|
1277
|
+
const de_CreateServiceResponse = (output, context) => {
|
|
1278
|
+
return smithyClient.take(output, {
|
|
1279
|
+
Service: (_) => de_Service(_),
|
|
1280
|
+
});
|
|
1869
1281
|
};
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
var GetNamespaceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1876
|
-
return [
|
|
1877
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1878
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1879
|
-
];
|
|
1880
|
-
}).s("Route53AutoNaming_v20170314", "GetNamespace", {}).n("ServiceDiscoveryClient", "GetNamespaceCommand").f(void 0, void 0).ser(se_GetNamespaceCommand).de(de_GetNamespaceCommand).build() {
|
|
1881
|
-
static {
|
|
1882
|
-
__name(this, "GetNamespaceCommand");
|
|
1883
|
-
}
|
|
1282
|
+
const de_GetNamespaceResponse = (output, context) => {
|
|
1283
|
+
return smithyClient.take(output, {
|
|
1284
|
+
Namespace: (_) => de_Namespace(_),
|
|
1285
|
+
});
|
|
1884
1286
|
};
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
var GetOperationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1891
|
-
return [
|
|
1892
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1893
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1894
|
-
];
|
|
1895
|
-
}).s("Route53AutoNaming_v20170314", "GetOperation", {}).n("ServiceDiscoveryClient", "GetOperationCommand").f(void 0, void 0).ser(se_GetOperationCommand).de(de_GetOperationCommand).build() {
|
|
1896
|
-
static {
|
|
1897
|
-
__name(this, "GetOperationCommand");
|
|
1898
|
-
}
|
|
1287
|
+
const de_GetOperationResponse = (output, context) => {
|
|
1288
|
+
return smithyClient.take(output, {
|
|
1289
|
+
Operation: (_) => de_Operation(_),
|
|
1290
|
+
});
|
|
1899
1291
|
};
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
var GetServiceAttributesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1906
|
-
return [
|
|
1907
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1908
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1909
|
-
];
|
|
1910
|
-
}).s("Route53AutoNaming_v20170314", "GetServiceAttributes", {}).n("ServiceDiscoveryClient", "GetServiceAttributesCommand").f(void 0, void 0).ser(se_GetServiceAttributesCommand).de(de_GetServiceAttributesCommand).build() {
|
|
1911
|
-
static {
|
|
1912
|
-
__name(this, "GetServiceAttributesCommand");
|
|
1913
|
-
}
|
|
1292
|
+
const de_GetServiceResponse = (output, context) => {
|
|
1293
|
+
return smithyClient.take(output, {
|
|
1294
|
+
Service: (_) => de_Service(_),
|
|
1295
|
+
});
|
|
1914
1296
|
};
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
var GetServiceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1921
|
-
return [
|
|
1922
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1923
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1924
|
-
];
|
|
1925
|
-
}).s("Route53AutoNaming_v20170314", "GetService", {}).n("ServiceDiscoveryClient", "GetServiceCommand").f(void 0, void 0).ser(se_GetServiceCommand).de(de_GetServiceCommand).build() {
|
|
1926
|
-
static {
|
|
1927
|
-
__name(this, "GetServiceCommand");
|
|
1928
|
-
}
|
|
1297
|
+
const de_ListNamespacesResponse = (output, context) => {
|
|
1298
|
+
return smithyClient.take(output, {
|
|
1299
|
+
Namespaces: (_) => de_NamespaceSummariesList(_),
|
|
1300
|
+
NextToken: smithyClient.expectString,
|
|
1301
|
+
});
|
|
1929
1302
|
};
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
var ListInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1936
|
-
return [
|
|
1937
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1938
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1939
|
-
];
|
|
1940
|
-
}).s("Route53AutoNaming_v20170314", "ListInstances", {}).n("ServiceDiscoveryClient", "ListInstancesCommand").f(void 0, void 0).ser(se_ListInstancesCommand).de(de_ListInstancesCommand).build() {
|
|
1941
|
-
static {
|
|
1942
|
-
__name(this, "ListInstancesCommand");
|
|
1943
|
-
}
|
|
1303
|
+
const de_ListServicesResponse = (output, context) => {
|
|
1304
|
+
return smithyClient.take(output, {
|
|
1305
|
+
NextToken: smithyClient.expectString,
|
|
1306
|
+
Services: (_) => de_ServiceSummariesList(_),
|
|
1307
|
+
});
|
|
1944
1308
|
};
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
}
|
|
1309
|
+
const de_Namespace = (output, context) => {
|
|
1310
|
+
return smithyClient.take(output, {
|
|
1311
|
+
Arn: smithyClient.expectString,
|
|
1312
|
+
CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1313
|
+
CreatorRequestId: smithyClient.expectString,
|
|
1314
|
+
Description: smithyClient.expectString,
|
|
1315
|
+
Id: smithyClient.expectString,
|
|
1316
|
+
Name: smithyClient.expectString,
|
|
1317
|
+
Properties: smithyClient._json,
|
|
1318
|
+
ResourceOwner: smithyClient.expectString,
|
|
1319
|
+
ServiceCount: smithyClient.expectInt32,
|
|
1320
|
+
Type: smithyClient.expectString,
|
|
1321
|
+
});
|
|
1959
1322
|
};
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1323
|
+
const de_NamespaceSummariesList = (output, context) => {
|
|
1324
|
+
const retVal = (output || [])
|
|
1325
|
+
.filter((e) => e != null)
|
|
1326
|
+
.map((entry) => {
|
|
1327
|
+
return de_NamespaceSummary(entry);
|
|
1328
|
+
});
|
|
1329
|
+
return retVal;
|
|
1330
|
+
};
|
|
1331
|
+
const de_NamespaceSummary = (output, context) => {
|
|
1332
|
+
return smithyClient.take(output, {
|
|
1333
|
+
Arn: smithyClient.expectString,
|
|
1334
|
+
CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1335
|
+
Description: smithyClient.expectString,
|
|
1336
|
+
Id: smithyClient.expectString,
|
|
1337
|
+
Name: smithyClient.expectString,
|
|
1338
|
+
Properties: smithyClient._json,
|
|
1339
|
+
ResourceOwner: smithyClient.expectString,
|
|
1340
|
+
ServiceCount: smithyClient.expectInt32,
|
|
1341
|
+
Type: smithyClient.expectString,
|
|
1342
|
+
});
|
|
1974
1343
|
};
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
__name(this, "ListServicesCommand");
|
|
1988
|
-
}
|
|
1344
|
+
const de_Operation = (output, context) => {
|
|
1345
|
+
return smithyClient.take(output, {
|
|
1346
|
+
CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1347
|
+
ErrorCode: smithyClient.expectString,
|
|
1348
|
+
ErrorMessage: smithyClient.expectString,
|
|
1349
|
+
Id: smithyClient.expectString,
|
|
1350
|
+
OwnerAccount: smithyClient.expectString,
|
|
1351
|
+
Status: smithyClient.expectString,
|
|
1352
|
+
Targets: smithyClient._json,
|
|
1353
|
+
Type: smithyClient.expectString,
|
|
1354
|
+
UpdateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1355
|
+
});
|
|
1989
1356
|
};
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
1357
|
+
const de_Service = (output, context) => {
|
|
1358
|
+
return smithyClient.take(output, {
|
|
1359
|
+
Arn: smithyClient.expectString,
|
|
1360
|
+
CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1361
|
+
CreatedByAccount: smithyClient.expectString,
|
|
1362
|
+
CreatorRequestId: smithyClient.expectString,
|
|
1363
|
+
Description: smithyClient.expectString,
|
|
1364
|
+
DnsConfig: smithyClient._json,
|
|
1365
|
+
HealthCheckConfig: smithyClient._json,
|
|
1366
|
+
HealthCheckCustomConfig: smithyClient._json,
|
|
1367
|
+
Id: smithyClient.expectString,
|
|
1368
|
+
InstanceCount: smithyClient.expectInt32,
|
|
1369
|
+
Name: smithyClient.expectString,
|
|
1370
|
+
NamespaceId: smithyClient.expectString,
|
|
1371
|
+
ResourceOwner: smithyClient.expectString,
|
|
1372
|
+
Type: smithyClient.expectString,
|
|
1373
|
+
});
|
|
2004
1374
|
};
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
1375
|
+
const de_ServiceSummariesList = (output, context) => {
|
|
1376
|
+
const retVal = (output || [])
|
|
1377
|
+
.filter((e) => e != null)
|
|
1378
|
+
.map((entry) => {
|
|
1379
|
+
return de_ServiceSummary(entry);
|
|
1380
|
+
});
|
|
1381
|
+
return retVal;
|
|
1382
|
+
};
|
|
1383
|
+
const de_ServiceSummary = (output, context) => {
|
|
1384
|
+
return smithyClient.take(output, {
|
|
1385
|
+
Arn: smithyClient.expectString,
|
|
1386
|
+
CreateDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1387
|
+
CreatedByAccount: smithyClient.expectString,
|
|
1388
|
+
Description: smithyClient.expectString,
|
|
1389
|
+
DnsConfig: smithyClient._json,
|
|
1390
|
+
HealthCheckConfig: smithyClient._json,
|
|
1391
|
+
HealthCheckCustomConfig: smithyClient._json,
|
|
1392
|
+
Id: smithyClient.expectString,
|
|
1393
|
+
InstanceCount: smithyClient.expectInt32,
|
|
1394
|
+
Name: smithyClient.expectString,
|
|
1395
|
+
ResourceOwner: smithyClient.expectString,
|
|
1396
|
+
Type: smithyClient.expectString,
|
|
1397
|
+
});
|
|
2019
1398
|
};
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
1399
|
+
const deserializeMetadata = (output) => ({
|
|
1400
|
+
httpStatusCode: output.statusCode,
|
|
1401
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1402
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1403
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1404
|
+
});
|
|
1405
|
+
const throwDefaultError = smithyClient.withBaseException(ServiceDiscoveryServiceException);
|
|
1406
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1407
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1408
|
+
const contents = {
|
|
1409
|
+
protocol,
|
|
1410
|
+
hostname,
|
|
1411
|
+
port,
|
|
1412
|
+
method: "POST",
|
|
1413
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1414
|
+
headers,
|
|
1415
|
+
};
|
|
1416
|
+
if (resolvedHostname !== undefined) {
|
|
1417
|
+
contents.hostname = resolvedHostname;
|
|
1418
|
+
}
|
|
1419
|
+
if (body !== undefined) {
|
|
1420
|
+
contents.body = body;
|
|
1421
|
+
}
|
|
1422
|
+
return new protocolHttp.HttpRequest(contents);
|
|
2034
1423
|
};
|
|
1424
|
+
function sharedHeaders(operation) {
|
|
1425
|
+
return {
|
|
1426
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1427
|
+
"x-amz-target": `Route53AutoNaming_v20170314.${operation}`,
|
|
1428
|
+
};
|
|
1429
|
+
}
|
|
2035
1430
|
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
1431
|
+
class CreateHttpNamespaceCommand extends smithyClient.Command
|
|
1432
|
+
.classBuilder()
|
|
1433
|
+
.ep(commonParams)
|
|
1434
|
+
.m(function (Command, cs, config, o) {
|
|
1435
|
+
return [
|
|
1436
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1437
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1438
|
+
];
|
|
1439
|
+
})
|
|
1440
|
+
.s("Route53AutoNaming_v20170314", "CreateHttpNamespace", {})
|
|
1441
|
+
.n("ServiceDiscoveryClient", "CreateHttpNamespaceCommand")
|
|
1442
|
+
.f(void 0, void 0)
|
|
1443
|
+
.ser(se_CreateHttpNamespaceCommand)
|
|
1444
|
+
.de(de_CreateHttpNamespaceCommand)
|
|
1445
|
+
.build() {
|
|
1446
|
+
}
|
|
2050
1447
|
|
|
2051
|
-
|
|
1448
|
+
class CreatePrivateDnsNamespaceCommand extends smithyClient.Command
|
|
1449
|
+
.classBuilder()
|
|
1450
|
+
.ep(commonParams)
|
|
1451
|
+
.m(function (Command, cs, config, o) {
|
|
1452
|
+
return [
|
|
1453
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1454
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1455
|
+
];
|
|
1456
|
+
})
|
|
1457
|
+
.s("Route53AutoNaming_v20170314", "CreatePrivateDnsNamespace", {})
|
|
1458
|
+
.n("ServiceDiscoveryClient", "CreatePrivateDnsNamespaceCommand")
|
|
1459
|
+
.f(void 0, void 0)
|
|
1460
|
+
.ser(se_CreatePrivateDnsNamespaceCommand)
|
|
1461
|
+
.de(de_CreatePrivateDnsNamespaceCommand)
|
|
1462
|
+
.build() {
|
|
1463
|
+
}
|
|
2052
1464
|
|
|
1465
|
+
class CreatePublicDnsNamespaceCommand extends smithyClient.Command
|
|
1466
|
+
.classBuilder()
|
|
1467
|
+
.ep(commonParams)
|
|
1468
|
+
.m(function (Command, cs, config, o) {
|
|
1469
|
+
return [
|
|
1470
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1471
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1472
|
+
];
|
|
1473
|
+
})
|
|
1474
|
+
.s("Route53AutoNaming_v20170314", "CreatePublicDnsNamespace", {})
|
|
1475
|
+
.n("ServiceDiscoveryClient", "CreatePublicDnsNamespaceCommand")
|
|
1476
|
+
.f(void 0, void 0)
|
|
1477
|
+
.ser(se_CreatePublicDnsNamespaceCommand)
|
|
1478
|
+
.de(de_CreatePublicDnsNamespaceCommand)
|
|
1479
|
+
.build() {
|
|
1480
|
+
}
|
|
2053
1481
|
|
|
1482
|
+
class CreateServiceCommand extends smithyClient.Command
|
|
1483
|
+
.classBuilder()
|
|
1484
|
+
.ep(commonParams)
|
|
1485
|
+
.m(function (Command, cs, config, o) {
|
|
1486
|
+
return [
|
|
1487
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1488
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1489
|
+
];
|
|
1490
|
+
})
|
|
1491
|
+
.s("Route53AutoNaming_v20170314", "CreateService", {})
|
|
1492
|
+
.n("ServiceDiscoveryClient", "CreateServiceCommand")
|
|
1493
|
+
.f(void 0, void 0)
|
|
1494
|
+
.ser(se_CreateServiceCommand)
|
|
1495
|
+
.de(de_CreateServiceCommand)
|
|
1496
|
+
.build() {
|
|
1497
|
+
}
|
|
2054
1498
|
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
(
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
}
|
|
1499
|
+
class DeleteNamespaceCommand extends smithyClient.Command
|
|
1500
|
+
.classBuilder()
|
|
1501
|
+
.ep(commonParams)
|
|
1502
|
+
.m(function (Command, cs, config, o) {
|
|
1503
|
+
return [
|
|
1504
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1505
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1506
|
+
];
|
|
1507
|
+
})
|
|
1508
|
+
.s("Route53AutoNaming_v20170314", "DeleteNamespace", {})
|
|
1509
|
+
.n("ServiceDiscoveryClient", "DeleteNamespaceCommand")
|
|
1510
|
+
.f(void 0, void 0)
|
|
1511
|
+
.ser(se_DeleteNamespaceCommand)
|
|
1512
|
+
.de(de_DeleteNamespaceCommand)
|
|
1513
|
+
.build() {
|
|
1514
|
+
}
|
|
2065
1515
|
|
|
2066
|
-
|
|
1516
|
+
class DeleteServiceAttributesCommand extends smithyClient.Command
|
|
1517
|
+
.classBuilder()
|
|
1518
|
+
.ep(commonParams)
|
|
1519
|
+
.m(function (Command, cs, config, o) {
|
|
1520
|
+
return [
|
|
1521
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1522
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1523
|
+
];
|
|
1524
|
+
})
|
|
1525
|
+
.s("Route53AutoNaming_v20170314", "DeleteServiceAttributes", {})
|
|
1526
|
+
.n("ServiceDiscoveryClient", "DeleteServiceAttributesCommand")
|
|
1527
|
+
.f(void 0, void 0)
|
|
1528
|
+
.ser(se_DeleteServiceAttributesCommand)
|
|
1529
|
+
.de(de_DeleteServiceAttributesCommand)
|
|
1530
|
+
.build() {
|
|
1531
|
+
}
|
|
2067
1532
|
|
|
1533
|
+
class DeleteServiceCommand extends smithyClient.Command
|
|
1534
|
+
.classBuilder()
|
|
1535
|
+
.ep(commonParams)
|
|
1536
|
+
.m(function (Command, cs, config, o) {
|
|
1537
|
+
return [
|
|
1538
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1539
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1540
|
+
];
|
|
1541
|
+
})
|
|
1542
|
+
.s("Route53AutoNaming_v20170314", "DeleteService", {})
|
|
1543
|
+
.n("ServiceDiscoveryClient", "DeleteServiceCommand")
|
|
1544
|
+
.f(void 0, void 0)
|
|
1545
|
+
.ser(se_DeleteServiceCommand)
|
|
1546
|
+
.de(de_DeleteServiceCommand)
|
|
1547
|
+
.build() {
|
|
1548
|
+
}
|
|
2068
1549
|
|
|
1550
|
+
class DeregisterInstanceCommand extends smithyClient.Command
|
|
1551
|
+
.classBuilder()
|
|
1552
|
+
.ep(commonParams)
|
|
1553
|
+
.m(function (Command, cs, config, o) {
|
|
1554
|
+
return [
|
|
1555
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1556
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1557
|
+
];
|
|
1558
|
+
})
|
|
1559
|
+
.s("Route53AutoNaming_v20170314", "DeregisterInstance", {})
|
|
1560
|
+
.n("ServiceDiscoveryClient", "DeregisterInstanceCommand")
|
|
1561
|
+
.f(void 0, void 0)
|
|
1562
|
+
.ser(se_DeregisterInstanceCommand)
|
|
1563
|
+
.de(de_DeregisterInstanceCommand)
|
|
1564
|
+
.build() {
|
|
1565
|
+
}
|
|
2069
1566
|
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
(
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
}
|
|
1567
|
+
class DiscoverInstancesCommand extends smithyClient.Command
|
|
1568
|
+
.classBuilder()
|
|
1569
|
+
.ep(commonParams)
|
|
1570
|
+
.m(function (Command, cs, config, o) {
|
|
1571
|
+
return [
|
|
1572
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1573
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1574
|
+
];
|
|
1575
|
+
})
|
|
1576
|
+
.s("Route53AutoNaming_v20170314", "DiscoverInstances", {})
|
|
1577
|
+
.n("ServiceDiscoveryClient", "DiscoverInstancesCommand")
|
|
1578
|
+
.f(void 0, void 0)
|
|
1579
|
+
.ser(se_DiscoverInstancesCommand)
|
|
1580
|
+
.de(de_DiscoverInstancesCommand)
|
|
1581
|
+
.build() {
|
|
1582
|
+
}
|
|
2080
1583
|
|
|
2081
|
-
|
|
1584
|
+
class DiscoverInstancesRevisionCommand extends smithyClient.Command
|
|
1585
|
+
.classBuilder()
|
|
1586
|
+
.ep(commonParams)
|
|
1587
|
+
.m(function (Command, cs, config, o) {
|
|
1588
|
+
return [
|
|
1589
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1590
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1591
|
+
];
|
|
1592
|
+
})
|
|
1593
|
+
.s("Route53AutoNaming_v20170314", "DiscoverInstancesRevision", {})
|
|
1594
|
+
.n("ServiceDiscoveryClient", "DiscoverInstancesRevisionCommand")
|
|
1595
|
+
.f(void 0, void 0)
|
|
1596
|
+
.ser(se_DiscoverInstancesRevisionCommand)
|
|
1597
|
+
.de(de_DiscoverInstancesRevisionCommand)
|
|
1598
|
+
.build() {
|
|
1599
|
+
}
|
|
2082
1600
|
|
|
1601
|
+
class GetInstanceCommand extends smithyClient.Command
|
|
1602
|
+
.classBuilder()
|
|
1603
|
+
.ep(commonParams)
|
|
1604
|
+
.m(function (Command, cs, config, o) {
|
|
1605
|
+
return [
|
|
1606
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1607
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1608
|
+
];
|
|
1609
|
+
})
|
|
1610
|
+
.s("Route53AutoNaming_v20170314", "GetInstance", {})
|
|
1611
|
+
.n("ServiceDiscoveryClient", "GetInstanceCommand")
|
|
1612
|
+
.f(void 0, void 0)
|
|
1613
|
+
.ser(se_GetInstanceCommand)
|
|
1614
|
+
.de(de_GetInstanceCommand)
|
|
1615
|
+
.build() {
|
|
1616
|
+
}
|
|
2083
1617
|
|
|
1618
|
+
class GetInstancesHealthStatusCommand extends smithyClient.Command
|
|
1619
|
+
.classBuilder()
|
|
1620
|
+
.ep(commonParams)
|
|
1621
|
+
.m(function (Command, cs, config, o) {
|
|
1622
|
+
return [
|
|
1623
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1624
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1625
|
+
];
|
|
1626
|
+
})
|
|
1627
|
+
.s("Route53AutoNaming_v20170314", "GetInstancesHealthStatus", {})
|
|
1628
|
+
.n("ServiceDiscoveryClient", "GetInstancesHealthStatusCommand")
|
|
1629
|
+
.f(void 0, void 0)
|
|
1630
|
+
.ser(se_GetInstancesHealthStatusCommand)
|
|
1631
|
+
.de(de_GetInstancesHealthStatusCommand)
|
|
1632
|
+
.build() {
|
|
1633
|
+
}
|
|
2084
1634
|
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
(
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
}
|
|
1635
|
+
class GetNamespaceCommand extends smithyClient.Command
|
|
1636
|
+
.classBuilder()
|
|
1637
|
+
.ep(commonParams)
|
|
1638
|
+
.m(function (Command, cs, config, o) {
|
|
1639
|
+
return [
|
|
1640
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1641
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1642
|
+
];
|
|
1643
|
+
})
|
|
1644
|
+
.s("Route53AutoNaming_v20170314", "GetNamespace", {})
|
|
1645
|
+
.n("ServiceDiscoveryClient", "GetNamespaceCommand")
|
|
1646
|
+
.f(void 0, void 0)
|
|
1647
|
+
.ser(se_GetNamespaceCommand)
|
|
1648
|
+
.de(de_GetNamespaceCommand)
|
|
1649
|
+
.build() {
|
|
1650
|
+
}
|
|
2095
1651
|
|
|
2096
|
-
|
|
1652
|
+
class GetOperationCommand extends smithyClient.Command
|
|
1653
|
+
.classBuilder()
|
|
1654
|
+
.ep(commonParams)
|
|
1655
|
+
.m(function (Command, cs, config, o) {
|
|
1656
|
+
return [
|
|
1657
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1658
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1659
|
+
];
|
|
1660
|
+
})
|
|
1661
|
+
.s("Route53AutoNaming_v20170314", "GetOperation", {})
|
|
1662
|
+
.n("ServiceDiscoveryClient", "GetOperationCommand")
|
|
1663
|
+
.f(void 0, void 0)
|
|
1664
|
+
.ser(se_GetOperationCommand)
|
|
1665
|
+
.de(de_GetOperationCommand)
|
|
1666
|
+
.build() {
|
|
1667
|
+
}
|
|
2097
1668
|
|
|
1669
|
+
class GetServiceAttributesCommand extends smithyClient.Command
|
|
1670
|
+
.classBuilder()
|
|
1671
|
+
.ep(commonParams)
|
|
1672
|
+
.m(function (Command, cs, config, o) {
|
|
1673
|
+
return [
|
|
1674
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1675
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1676
|
+
];
|
|
1677
|
+
})
|
|
1678
|
+
.s("Route53AutoNaming_v20170314", "GetServiceAttributes", {})
|
|
1679
|
+
.n("ServiceDiscoveryClient", "GetServiceAttributesCommand")
|
|
1680
|
+
.f(void 0, void 0)
|
|
1681
|
+
.ser(se_GetServiceAttributesCommand)
|
|
1682
|
+
.de(de_GetServiceAttributesCommand)
|
|
1683
|
+
.build() {
|
|
1684
|
+
}
|
|
2098
1685
|
|
|
1686
|
+
class GetServiceCommand extends smithyClient.Command
|
|
1687
|
+
.classBuilder()
|
|
1688
|
+
.ep(commonParams)
|
|
1689
|
+
.m(function (Command, cs, config, o) {
|
|
1690
|
+
return [
|
|
1691
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1692
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1693
|
+
];
|
|
1694
|
+
})
|
|
1695
|
+
.s("Route53AutoNaming_v20170314", "GetService", {})
|
|
1696
|
+
.n("ServiceDiscoveryClient", "GetServiceCommand")
|
|
1697
|
+
.f(void 0, void 0)
|
|
1698
|
+
.ser(se_GetServiceCommand)
|
|
1699
|
+
.de(de_GetServiceCommand)
|
|
1700
|
+
.build() {
|
|
1701
|
+
}
|
|
2099
1702
|
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
(
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
}
|
|
1703
|
+
class ListInstancesCommand extends smithyClient.Command
|
|
1704
|
+
.classBuilder()
|
|
1705
|
+
.ep(commonParams)
|
|
1706
|
+
.m(function (Command, cs, config, o) {
|
|
1707
|
+
return [
|
|
1708
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1709
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1710
|
+
];
|
|
1711
|
+
})
|
|
1712
|
+
.s("Route53AutoNaming_v20170314", "ListInstances", {})
|
|
1713
|
+
.n("ServiceDiscoveryClient", "ListInstancesCommand")
|
|
1714
|
+
.f(void 0, void 0)
|
|
1715
|
+
.ser(se_ListInstancesCommand)
|
|
1716
|
+
.de(de_ListInstancesCommand)
|
|
1717
|
+
.build() {
|
|
1718
|
+
}
|
|
2110
1719
|
|
|
2111
|
-
|
|
1720
|
+
class ListNamespacesCommand extends smithyClient.Command
|
|
1721
|
+
.classBuilder()
|
|
1722
|
+
.ep(commonParams)
|
|
1723
|
+
.m(function (Command, cs, config, o) {
|
|
1724
|
+
return [
|
|
1725
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1726
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1727
|
+
];
|
|
1728
|
+
})
|
|
1729
|
+
.s("Route53AutoNaming_v20170314", "ListNamespaces", {})
|
|
1730
|
+
.n("ServiceDiscoveryClient", "ListNamespacesCommand")
|
|
1731
|
+
.f(void 0, void 0)
|
|
1732
|
+
.ser(se_ListNamespacesCommand)
|
|
1733
|
+
.de(de_ListNamespacesCommand)
|
|
1734
|
+
.build() {
|
|
1735
|
+
}
|
|
2112
1736
|
|
|
1737
|
+
class ListOperationsCommand extends smithyClient.Command
|
|
1738
|
+
.classBuilder()
|
|
1739
|
+
.ep(commonParams)
|
|
1740
|
+
.m(function (Command, cs, config, o) {
|
|
1741
|
+
return [
|
|
1742
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1743
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1744
|
+
];
|
|
1745
|
+
})
|
|
1746
|
+
.s("Route53AutoNaming_v20170314", "ListOperations", {})
|
|
1747
|
+
.n("ServiceDiscoveryClient", "ListOperationsCommand")
|
|
1748
|
+
.f(void 0, void 0)
|
|
1749
|
+
.ser(se_ListOperationsCommand)
|
|
1750
|
+
.de(de_ListOperationsCommand)
|
|
1751
|
+
.build() {
|
|
1752
|
+
}
|
|
2113
1753
|
|
|
1754
|
+
class ListServicesCommand extends smithyClient.Command
|
|
1755
|
+
.classBuilder()
|
|
1756
|
+
.ep(commonParams)
|
|
1757
|
+
.m(function (Command, cs, config, o) {
|
|
1758
|
+
return [
|
|
1759
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1760
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1761
|
+
];
|
|
1762
|
+
})
|
|
1763
|
+
.s("Route53AutoNaming_v20170314", "ListServices", {})
|
|
1764
|
+
.n("ServiceDiscoveryClient", "ListServicesCommand")
|
|
1765
|
+
.f(void 0, void 0)
|
|
1766
|
+
.ser(se_ListServicesCommand)
|
|
1767
|
+
.de(de_ListServicesCommand)
|
|
1768
|
+
.build() {
|
|
1769
|
+
}
|
|
2114
1770
|
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
(
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
}
|
|
1771
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1772
|
+
.classBuilder()
|
|
1773
|
+
.ep(commonParams)
|
|
1774
|
+
.m(function (Command, cs, config, o) {
|
|
1775
|
+
return [
|
|
1776
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1777
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1778
|
+
];
|
|
1779
|
+
})
|
|
1780
|
+
.s("Route53AutoNaming_v20170314", "ListTagsForResource", {})
|
|
1781
|
+
.n("ServiceDiscoveryClient", "ListTagsForResourceCommand")
|
|
1782
|
+
.f(void 0, void 0)
|
|
1783
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1784
|
+
.de(de_ListTagsForResourceCommand)
|
|
1785
|
+
.build() {
|
|
1786
|
+
}
|
|
2125
1787
|
|
|
2126
|
-
|
|
1788
|
+
class RegisterInstanceCommand extends smithyClient.Command
|
|
1789
|
+
.classBuilder()
|
|
1790
|
+
.ep(commonParams)
|
|
1791
|
+
.m(function (Command, cs, config, o) {
|
|
1792
|
+
return [
|
|
1793
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1794
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1795
|
+
];
|
|
1796
|
+
})
|
|
1797
|
+
.s("Route53AutoNaming_v20170314", "RegisterInstance", {})
|
|
1798
|
+
.n("ServiceDiscoveryClient", "RegisterInstanceCommand")
|
|
1799
|
+
.f(void 0, void 0)
|
|
1800
|
+
.ser(se_RegisterInstanceCommand)
|
|
1801
|
+
.de(de_RegisterInstanceCommand)
|
|
1802
|
+
.build() {
|
|
1803
|
+
}
|
|
2127
1804
|
|
|
1805
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1806
|
+
.classBuilder()
|
|
1807
|
+
.ep(commonParams)
|
|
1808
|
+
.m(function (Command, cs, config, o) {
|
|
1809
|
+
return [
|
|
1810
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1811
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1812
|
+
];
|
|
1813
|
+
})
|
|
1814
|
+
.s("Route53AutoNaming_v20170314", "TagResource", {})
|
|
1815
|
+
.n("ServiceDiscoveryClient", "TagResourceCommand")
|
|
1816
|
+
.f(void 0, void 0)
|
|
1817
|
+
.ser(se_TagResourceCommand)
|
|
1818
|
+
.de(de_TagResourceCommand)
|
|
1819
|
+
.build() {
|
|
1820
|
+
}
|
|
2128
1821
|
|
|
1822
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1823
|
+
.classBuilder()
|
|
1824
|
+
.ep(commonParams)
|
|
1825
|
+
.m(function (Command, cs, config, o) {
|
|
1826
|
+
return [
|
|
1827
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1828
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1829
|
+
];
|
|
1830
|
+
})
|
|
1831
|
+
.s("Route53AutoNaming_v20170314", "UntagResource", {})
|
|
1832
|
+
.n("ServiceDiscoveryClient", "UntagResourceCommand")
|
|
1833
|
+
.f(void 0, void 0)
|
|
1834
|
+
.ser(se_UntagResourceCommand)
|
|
1835
|
+
.de(de_UntagResourceCommand)
|
|
1836
|
+
.build() {
|
|
1837
|
+
}
|
|
2129
1838
|
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
(
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
}
|
|
1839
|
+
class UpdateHttpNamespaceCommand extends smithyClient.Command
|
|
1840
|
+
.classBuilder()
|
|
1841
|
+
.ep(commonParams)
|
|
1842
|
+
.m(function (Command, cs, config, o) {
|
|
1843
|
+
return [
|
|
1844
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1845
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1846
|
+
];
|
|
1847
|
+
})
|
|
1848
|
+
.s("Route53AutoNaming_v20170314", "UpdateHttpNamespace", {})
|
|
1849
|
+
.n("ServiceDiscoveryClient", "UpdateHttpNamespaceCommand")
|
|
1850
|
+
.f(void 0, void 0)
|
|
1851
|
+
.ser(se_UpdateHttpNamespaceCommand)
|
|
1852
|
+
.de(de_UpdateHttpNamespaceCommand)
|
|
1853
|
+
.build() {
|
|
1854
|
+
}
|
|
2140
1855
|
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
GetServiceCommand,
|
|
2158
|
-
GetServiceAttributesCommand,
|
|
2159
|
-
ListInstancesCommand,
|
|
2160
|
-
ListNamespacesCommand,
|
|
2161
|
-
ListOperationsCommand,
|
|
2162
|
-
ListServicesCommand,
|
|
2163
|
-
ListTagsForResourceCommand,
|
|
2164
|
-
RegisterInstanceCommand,
|
|
2165
|
-
TagResourceCommand,
|
|
2166
|
-
UntagResourceCommand,
|
|
2167
|
-
UpdateHttpNamespaceCommand,
|
|
2168
|
-
UpdateInstanceCustomHealthStatusCommand,
|
|
2169
|
-
UpdatePrivateDnsNamespaceCommand,
|
|
2170
|
-
UpdatePublicDnsNamespaceCommand,
|
|
2171
|
-
UpdateServiceCommand,
|
|
2172
|
-
UpdateServiceAttributesCommand
|
|
2173
|
-
};
|
|
2174
|
-
var ServiceDiscovery = class extends ServiceDiscoveryClient {
|
|
2175
|
-
static {
|
|
2176
|
-
__name(this, "ServiceDiscovery");
|
|
2177
|
-
}
|
|
2178
|
-
};
|
|
2179
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ServiceDiscovery);
|
|
1856
|
+
class UpdateInstanceCustomHealthStatusCommand extends smithyClient.Command
|
|
1857
|
+
.classBuilder()
|
|
1858
|
+
.ep(commonParams)
|
|
1859
|
+
.m(function (Command, cs, config, o) {
|
|
1860
|
+
return [
|
|
1861
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1862
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1863
|
+
];
|
|
1864
|
+
})
|
|
1865
|
+
.s("Route53AutoNaming_v20170314", "UpdateInstanceCustomHealthStatus", {})
|
|
1866
|
+
.n("ServiceDiscoveryClient", "UpdateInstanceCustomHealthStatusCommand")
|
|
1867
|
+
.f(void 0, void 0)
|
|
1868
|
+
.ser(se_UpdateInstanceCustomHealthStatusCommand)
|
|
1869
|
+
.de(de_UpdateInstanceCustomHealthStatusCommand)
|
|
1870
|
+
.build() {
|
|
1871
|
+
}
|
|
2180
1872
|
|
|
2181
|
-
|
|
1873
|
+
class UpdatePrivateDnsNamespaceCommand extends smithyClient.Command
|
|
1874
|
+
.classBuilder()
|
|
1875
|
+
.ep(commonParams)
|
|
1876
|
+
.m(function (Command, cs, config, o) {
|
|
1877
|
+
return [
|
|
1878
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1879
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1880
|
+
];
|
|
1881
|
+
})
|
|
1882
|
+
.s("Route53AutoNaming_v20170314", "UpdatePrivateDnsNamespace", {})
|
|
1883
|
+
.n("ServiceDiscoveryClient", "UpdatePrivateDnsNamespaceCommand")
|
|
1884
|
+
.f(void 0, void 0)
|
|
1885
|
+
.ser(se_UpdatePrivateDnsNamespaceCommand)
|
|
1886
|
+
.de(de_UpdatePrivateDnsNamespaceCommand)
|
|
1887
|
+
.build() {
|
|
1888
|
+
}
|
|
2182
1889
|
|
|
2183
|
-
|
|
1890
|
+
class UpdatePublicDnsNamespaceCommand extends smithyClient.Command
|
|
1891
|
+
.classBuilder()
|
|
1892
|
+
.ep(commonParams)
|
|
1893
|
+
.m(function (Command, cs, config, o) {
|
|
1894
|
+
return [
|
|
1895
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1896
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1897
|
+
];
|
|
1898
|
+
})
|
|
1899
|
+
.s("Route53AutoNaming_v20170314", "UpdatePublicDnsNamespace", {})
|
|
1900
|
+
.n("ServiceDiscoveryClient", "UpdatePublicDnsNamespaceCommand")
|
|
1901
|
+
.f(void 0, void 0)
|
|
1902
|
+
.ser(se_UpdatePublicDnsNamespaceCommand)
|
|
1903
|
+
.de(de_UpdatePublicDnsNamespaceCommand)
|
|
1904
|
+
.build() {
|
|
1905
|
+
}
|
|
2184
1906
|
|
|
2185
|
-
|
|
1907
|
+
class UpdateServiceAttributesCommand extends smithyClient.Command
|
|
1908
|
+
.classBuilder()
|
|
1909
|
+
.ep(commonParams)
|
|
1910
|
+
.m(function (Command, cs, config, o) {
|
|
1911
|
+
return [
|
|
1912
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1913
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1914
|
+
];
|
|
1915
|
+
})
|
|
1916
|
+
.s("Route53AutoNaming_v20170314", "UpdateServiceAttributes", {})
|
|
1917
|
+
.n("ServiceDiscoveryClient", "UpdateServiceAttributesCommand")
|
|
1918
|
+
.f(void 0, void 0)
|
|
1919
|
+
.ser(se_UpdateServiceAttributesCommand)
|
|
1920
|
+
.de(de_UpdateServiceAttributesCommand)
|
|
1921
|
+
.build() {
|
|
1922
|
+
}
|
|
2186
1923
|
|
|
2187
|
-
|
|
1924
|
+
class UpdateServiceCommand extends smithyClient.Command
|
|
1925
|
+
.classBuilder()
|
|
1926
|
+
.ep(commonParams)
|
|
1927
|
+
.m(function (Command, cs, config, o) {
|
|
1928
|
+
return [
|
|
1929
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1930
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1931
|
+
];
|
|
1932
|
+
})
|
|
1933
|
+
.s("Route53AutoNaming_v20170314", "UpdateService", {})
|
|
1934
|
+
.n("ServiceDiscoveryClient", "UpdateServiceCommand")
|
|
1935
|
+
.f(void 0, void 0)
|
|
1936
|
+
.ser(se_UpdateServiceCommand)
|
|
1937
|
+
.de(de_UpdateServiceCommand)
|
|
1938
|
+
.build() {
|
|
1939
|
+
}
|
|
2188
1940
|
|
|
2189
|
-
|
|
1941
|
+
const commands = {
|
|
1942
|
+
CreateHttpNamespaceCommand,
|
|
1943
|
+
CreatePrivateDnsNamespaceCommand,
|
|
1944
|
+
CreatePublicDnsNamespaceCommand,
|
|
1945
|
+
CreateServiceCommand,
|
|
1946
|
+
DeleteNamespaceCommand,
|
|
1947
|
+
DeleteServiceCommand,
|
|
1948
|
+
DeleteServiceAttributesCommand,
|
|
1949
|
+
DeregisterInstanceCommand,
|
|
1950
|
+
DiscoverInstancesCommand,
|
|
1951
|
+
DiscoverInstancesRevisionCommand,
|
|
1952
|
+
GetInstanceCommand,
|
|
1953
|
+
GetInstancesHealthStatusCommand,
|
|
1954
|
+
GetNamespaceCommand,
|
|
1955
|
+
GetOperationCommand,
|
|
1956
|
+
GetServiceCommand,
|
|
1957
|
+
GetServiceAttributesCommand,
|
|
1958
|
+
ListInstancesCommand,
|
|
1959
|
+
ListNamespacesCommand,
|
|
1960
|
+
ListOperationsCommand,
|
|
1961
|
+
ListServicesCommand,
|
|
1962
|
+
ListTagsForResourceCommand,
|
|
1963
|
+
RegisterInstanceCommand,
|
|
1964
|
+
TagResourceCommand,
|
|
1965
|
+
UntagResourceCommand,
|
|
1966
|
+
UpdateHttpNamespaceCommand,
|
|
1967
|
+
UpdateInstanceCustomHealthStatusCommand,
|
|
1968
|
+
UpdatePrivateDnsNamespaceCommand,
|
|
1969
|
+
UpdatePublicDnsNamespaceCommand,
|
|
1970
|
+
UpdateServiceCommand,
|
|
1971
|
+
UpdateServiceAttributesCommand,
|
|
1972
|
+
};
|
|
1973
|
+
class ServiceDiscovery extends ServiceDiscoveryClient {
|
|
1974
|
+
}
|
|
1975
|
+
smithyClient.createAggregatedClient(commands, ServiceDiscovery);
|
|
2190
1976
|
|
|
2191
|
-
|
|
1977
|
+
const paginateGetInstancesHealthStatus = core.createPaginator(ServiceDiscoveryClient, GetInstancesHealthStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
2192
1978
|
|
|
2193
|
-
|
|
1979
|
+
const paginateListInstances = core.createPaginator(ServiceDiscoveryClient, ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2194
1980
|
|
|
2195
|
-
|
|
1981
|
+
const paginateListNamespaces = core.createPaginator(ServiceDiscoveryClient, ListNamespacesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2196
1982
|
|
|
2197
|
-
|
|
1983
|
+
const paginateListOperations = core.createPaginator(ServiceDiscoveryClient, ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2198
1984
|
|
|
2199
|
-
|
|
2200
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1985
|
+
const paginateListServices = core.createPaginator(ServiceDiscoveryClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2201
1986
|
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
ServiceDiscoveryClient,
|
|
2206
|
-
ServiceDiscovery,
|
|
2207
|
-
$Command,
|
|
2208
|
-
CreateHttpNamespaceCommand,
|
|
2209
|
-
CreatePrivateDnsNamespaceCommand,
|
|
2210
|
-
CreatePublicDnsNamespaceCommand,
|
|
2211
|
-
CreateServiceCommand,
|
|
2212
|
-
DeleteNamespaceCommand,
|
|
2213
|
-
DeleteServiceAttributesCommand,
|
|
2214
|
-
DeleteServiceCommand,
|
|
2215
|
-
DeregisterInstanceCommand,
|
|
2216
|
-
DiscoverInstancesCommand,
|
|
2217
|
-
DiscoverInstancesRevisionCommand,
|
|
2218
|
-
GetInstanceCommand,
|
|
2219
|
-
GetInstancesHealthStatusCommand,
|
|
2220
|
-
GetNamespaceCommand,
|
|
2221
|
-
GetOperationCommand,
|
|
2222
|
-
GetServiceAttributesCommand,
|
|
2223
|
-
GetServiceCommand,
|
|
2224
|
-
ListInstancesCommand,
|
|
2225
|
-
ListNamespacesCommand,
|
|
2226
|
-
ListOperationsCommand,
|
|
2227
|
-
ListServicesCommand,
|
|
2228
|
-
ListTagsForResourceCommand,
|
|
2229
|
-
RegisterInstanceCommand,
|
|
2230
|
-
TagResourceCommand,
|
|
2231
|
-
UntagResourceCommand,
|
|
2232
|
-
UpdateHttpNamespaceCommand,
|
|
2233
|
-
UpdateInstanceCustomHealthStatusCommand,
|
|
2234
|
-
UpdatePrivateDnsNamespaceCommand,
|
|
2235
|
-
UpdatePublicDnsNamespaceCommand,
|
|
2236
|
-
UpdateServiceAttributesCommand,
|
|
2237
|
-
UpdateServiceCommand,
|
|
2238
|
-
paginateGetInstancesHealthStatus,
|
|
2239
|
-
paginateListInstances,
|
|
2240
|
-
paginateListNamespaces,
|
|
2241
|
-
paginateListOperations,
|
|
2242
|
-
paginateListServices,
|
|
2243
|
-
DuplicateRequest,
|
|
2244
|
-
InvalidInput,
|
|
2245
|
-
NamespaceAlreadyExists,
|
|
2246
|
-
ResourceLimitExceeded,
|
|
2247
|
-
TooManyTagsException,
|
|
2248
|
-
RecordType,
|
|
2249
|
-
RoutingPolicy,
|
|
2250
|
-
HealthCheckType,
|
|
2251
|
-
ServiceTypeOption,
|
|
2252
|
-
ServiceType,
|
|
2253
|
-
NamespaceNotFound,
|
|
2254
|
-
ServiceAlreadyExists,
|
|
2255
|
-
CustomHealthNotFound,
|
|
2256
|
-
CustomHealthStatus,
|
|
2257
|
-
ResourceInUse,
|
|
2258
|
-
ServiceNotFound,
|
|
2259
|
-
InstanceNotFound,
|
|
2260
|
-
HealthStatusFilter,
|
|
2261
|
-
HealthStatus,
|
|
2262
|
-
RequestLimitExceeded,
|
|
2263
|
-
FilterCondition,
|
|
2264
|
-
NamespaceType,
|
|
2265
|
-
OperationStatus,
|
|
2266
|
-
OperationTargetType,
|
|
2267
|
-
OperationType,
|
|
2268
|
-
OperationNotFound,
|
|
2269
|
-
NamespaceFilterName,
|
|
2270
|
-
OperationFilterName,
|
|
2271
|
-
ServiceFilterName,
|
|
2272
|
-
ResourceNotFoundException,
|
|
2273
|
-
ServiceAttributesLimitExceededException
|
|
1987
|
+
Object.defineProperty(exports, "$Command", {
|
|
1988
|
+
enumerable: true,
|
|
1989
|
+
get: function () { return smithyClient.Command; }
|
|
2274
1990
|
});
|
|
2275
|
-
|
|
1991
|
+
Object.defineProperty(exports, "__Client", {
|
|
1992
|
+
enumerable: true,
|
|
1993
|
+
get: function () { return smithyClient.Client; }
|
|
1994
|
+
});
|
|
1995
|
+
exports.CreateHttpNamespaceCommand = CreateHttpNamespaceCommand;
|
|
1996
|
+
exports.CreatePrivateDnsNamespaceCommand = CreatePrivateDnsNamespaceCommand;
|
|
1997
|
+
exports.CreatePublicDnsNamespaceCommand = CreatePublicDnsNamespaceCommand;
|
|
1998
|
+
exports.CreateServiceCommand = CreateServiceCommand;
|
|
1999
|
+
exports.CustomHealthNotFound = CustomHealthNotFound;
|
|
2000
|
+
exports.CustomHealthStatus = CustomHealthStatus;
|
|
2001
|
+
exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
|
|
2002
|
+
exports.DeleteServiceAttributesCommand = DeleteServiceAttributesCommand;
|
|
2003
|
+
exports.DeleteServiceCommand = DeleteServiceCommand;
|
|
2004
|
+
exports.DeregisterInstanceCommand = DeregisterInstanceCommand;
|
|
2005
|
+
exports.DiscoverInstancesCommand = DiscoverInstancesCommand;
|
|
2006
|
+
exports.DiscoverInstancesRevisionCommand = DiscoverInstancesRevisionCommand;
|
|
2007
|
+
exports.DuplicateRequest = DuplicateRequest;
|
|
2008
|
+
exports.FilterCondition = FilterCondition;
|
|
2009
|
+
exports.GetInstanceCommand = GetInstanceCommand;
|
|
2010
|
+
exports.GetInstancesHealthStatusCommand = GetInstancesHealthStatusCommand;
|
|
2011
|
+
exports.GetNamespaceCommand = GetNamespaceCommand;
|
|
2012
|
+
exports.GetOperationCommand = GetOperationCommand;
|
|
2013
|
+
exports.GetServiceAttributesCommand = GetServiceAttributesCommand;
|
|
2014
|
+
exports.GetServiceCommand = GetServiceCommand;
|
|
2015
|
+
exports.HealthCheckType = HealthCheckType;
|
|
2016
|
+
exports.HealthStatus = HealthStatus;
|
|
2017
|
+
exports.HealthStatusFilter = HealthStatusFilter;
|
|
2018
|
+
exports.InstanceNotFound = InstanceNotFound;
|
|
2019
|
+
exports.InvalidInput = InvalidInput;
|
|
2020
|
+
exports.ListInstancesCommand = ListInstancesCommand;
|
|
2021
|
+
exports.ListNamespacesCommand = ListNamespacesCommand;
|
|
2022
|
+
exports.ListOperationsCommand = ListOperationsCommand;
|
|
2023
|
+
exports.ListServicesCommand = ListServicesCommand;
|
|
2024
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2025
|
+
exports.NamespaceAlreadyExists = NamespaceAlreadyExists;
|
|
2026
|
+
exports.NamespaceFilterName = NamespaceFilterName;
|
|
2027
|
+
exports.NamespaceNotFound = NamespaceNotFound;
|
|
2028
|
+
exports.NamespaceType = NamespaceType;
|
|
2029
|
+
exports.OperationFilterName = OperationFilterName;
|
|
2030
|
+
exports.OperationNotFound = OperationNotFound;
|
|
2031
|
+
exports.OperationStatus = OperationStatus;
|
|
2032
|
+
exports.OperationTargetType = OperationTargetType;
|
|
2033
|
+
exports.OperationType = OperationType;
|
|
2034
|
+
exports.RecordType = RecordType;
|
|
2035
|
+
exports.RegisterInstanceCommand = RegisterInstanceCommand;
|
|
2036
|
+
exports.RequestLimitExceeded = RequestLimitExceeded;
|
|
2037
|
+
exports.ResourceInUse = ResourceInUse;
|
|
2038
|
+
exports.ResourceLimitExceeded = ResourceLimitExceeded;
|
|
2039
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2040
|
+
exports.RoutingPolicy = RoutingPolicy;
|
|
2041
|
+
exports.ServiceAlreadyExists = ServiceAlreadyExists;
|
|
2042
|
+
exports.ServiceAttributesLimitExceededException = ServiceAttributesLimitExceededException;
|
|
2043
|
+
exports.ServiceDiscovery = ServiceDiscovery;
|
|
2044
|
+
exports.ServiceDiscoveryClient = ServiceDiscoveryClient;
|
|
2045
|
+
exports.ServiceDiscoveryServiceException = ServiceDiscoveryServiceException;
|
|
2046
|
+
exports.ServiceFilterName = ServiceFilterName;
|
|
2047
|
+
exports.ServiceNotFound = ServiceNotFound;
|
|
2048
|
+
exports.ServiceType = ServiceType;
|
|
2049
|
+
exports.ServiceTypeOption = ServiceTypeOption;
|
|
2050
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
2051
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
2052
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2053
|
+
exports.UpdateHttpNamespaceCommand = UpdateHttpNamespaceCommand;
|
|
2054
|
+
exports.UpdateInstanceCustomHealthStatusCommand = UpdateInstanceCustomHealthStatusCommand;
|
|
2055
|
+
exports.UpdatePrivateDnsNamespaceCommand = UpdatePrivateDnsNamespaceCommand;
|
|
2056
|
+
exports.UpdatePublicDnsNamespaceCommand = UpdatePublicDnsNamespaceCommand;
|
|
2057
|
+
exports.UpdateServiceAttributesCommand = UpdateServiceAttributesCommand;
|
|
2058
|
+
exports.UpdateServiceCommand = UpdateServiceCommand;
|
|
2059
|
+
exports.paginateGetInstancesHealthStatus = paginateGetInstancesHealthStatus;
|
|
2060
|
+
exports.paginateListInstances = paginateListInstances;
|
|
2061
|
+
exports.paginateListNamespaces = paginateListNamespaces;
|
|
2062
|
+
exports.paginateListOperations = paginateListOperations;
|
|
2063
|
+
exports.paginateListServices = paginateListServices;
|