@aws-sdk/client-servicediscovery 3.489.0 → 3.495.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist-cjs/ServiceDiscovery.js +1 -65
  2. package/dist-cjs/ServiceDiscoveryClient.js +1 -43
  3. package/dist-cjs/commands/CreateHttpNamespaceCommand.js +1 -28
  4. package/dist-cjs/commands/CreatePrivateDnsNamespaceCommand.js +1 -28
  5. package/dist-cjs/commands/CreatePublicDnsNamespaceCommand.js +1 -28
  6. package/dist-cjs/commands/CreateServiceCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteNamespaceCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteServiceCommand.js +1 -28
  9. package/dist-cjs/commands/DeregisterInstanceCommand.js +1 -28
  10. package/dist-cjs/commands/DiscoverInstancesCommand.js +1 -28
  11. package/dist-cjs/commands/DiscoverInstancesRevisionCommand.js +1 -28
  12. package/dist-cjs/commands/GetInstanceCommand.js +1 -28
  13. package/dist-cjs/commands/GetInstancesHealthStatusCommand.js +1 -28
  14. package/dist-cjs/commands/GetNamespaceCommand.js +1 -28
  15. package/dist-cjs/commands/GetOperationCommand.js +1 -28
  16. package/dist-cjs/commands/GetServiceCommand.js +1 -28
  17. package/dist-cjs/commands/ListInstancesCommand.js +1 -28
  18. package/dist-cjs/commands/ListNamespacesCommand.js +1 -28
  19. package/dist-cjs/commands/ListOperationsCommand.js +1 -28
  20. package/dist-cjs/commands/ListServicesCommand.js +1 -28
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  22. package/dist-cjs/commands/RegisterInstanceCommand.js +1 -28
  23. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  24. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateHttpNamespaceCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateInstanceCustomHealthStatusCommand.js +1 -28
  27. package/dist-cjs/commands/UpdatePrivateDnsNamespaceCommand.js +1 -28
  28. package/dist-cjs/commands/UpdatePublicDnsNamespaceCommand.js +1 -28
  29. package/dist-cjs/commands/UpdateServiceCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2730 -11
  34. package/dist-cjs/models/ServiceDiscoveryServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -289
  37. package/dist-cjs/pagination/GetInstancesHealthStatusPaginator.js +1 -7
  38. package/dist-cjs/pagination/Interfaces.js +1 -2
  39. package/dist-cjs/pagination/ListInstancesPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListNamespacesPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListOperationsPaginator.js +1 -7
  42. package/dist-cjs/pagination/ListServicesPaginator.js +1 -7
  43. package/dist-cjs/pagination/index.js +1 -9
  44. package/dist-cjs/protocols/Aws_json1_1.js +1 -1665
  45. package/dist-cjs/runtimeExtensions.js +1 -22
  46. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceDiscoveryServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ServiceDiscoveryServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, ServiceDiscoveryServiceException.prototype);
10
- }
11
- }
12
- exports.ServiceDiscoveryServiceException = ServiceDiscoveryServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,289 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceNotFoundException = exports.ServiceFilterName = exports.OperationFilterName = exports.NamespaceFilterName = exports.OperationNotFound = exports.OperationType = exports.OperationTargetType = exports.OperationStatus = exports.NamespaceType = exports.FilterCondition = exports.RequestLimitExceeded = exports.HealthStatus = exports.HealthStatusFilter = exports.InstanceNotFound = exports.ServiceNotFound = exports.ResourceInUse = exports.CustomHealthStatus = exports.CustomHealthNotFound = exports.ServiceAlreadyExists = exports.NamespaceNotFound = exports.ServiceType = exports.ServiceTypeOption = exports.HealthCheckType = exports.RoutingPolicy = exports.RecordType = exports.TooManyTagsException = exports.ResourceLimitExceeded = exports.NamespaceAlreadyExists = exports.InvalidInput = exports.DuplicateRequest = void 0;
4
- const ServiceDiscoveryServiceException_1 = require("./ServiceDiscoveryServiceException");
5
- class DuplicateRequest extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "DuplicateRequest",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "DuplicateRequest";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, DuplicateRequest.prototype);
15
- this.Message = opts.Message;
16
- this.DuplicateOperationId = opts.DuplicateOperationId;
17
- }
18
- }
19
- exports.DuplicateRequest = DuplicateRequest;
20
- class InvalidInput extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "InvalidInput",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- this.name = "InvalidInput";
28
- this.$fault = "client";
29
- Object.setPrototypeOf(this, InvalidInput.prototype);
30
- this.Message = opts.Message;
31
- }
32
- }
33
- exports.InvalidInput = InvalidInput;
34
- class NamespaceAlreadyExists extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
35
- constructor(opts) {
36
- super({
37
- name: "NamespaceAlreadyExists",
38
- $fault: "client",
39
- ...opts,
40
- });
41
- this.name = "NamespaceAlreadyExists";
42
- this.$fault = "client";
43
- Object.setPrototypeOf(this, NamespaceAlreadyExists.prototype);
44
- this.Message = opts.Message;
45
- this.CreatorRequestId = opts.CreatorRequestId;
46
- this.NamespaceId = opts.NamespaceId;
47
- }
48
- }
49
- exports.NamespaceAlreadyExists = NamespaceAlreadyExists;
50
- class ResourceLimitExceeded extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
51
- constructor(opts) {
52
- super({
53
- name: "ResourceLimitExceeded",
54
- $fault: "client",
55
- ...opts,
56
- });
57
- this.name = "ResourceLimitExceeded";
58
- this.$fault = "client";
59
- Object.setPrototypeOf(this, ResourceLimitExceeded.prototype);
60
- this.Message = opts.Message;
61
- }
62
- }
63
- exports.ResourceLimitExceeded = ResourceLimitExceeded;
64
- class TooManyTagsException extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
65
- constructor(opts) {
66
- super({
67
- name: "TooManyTagsException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- this.name = "TooManyTagsException";
72
- this.$fault = "client";
73
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
74
- this.Message = opts.Message;
75
- this.ResourceName = opts.ResourceName;
76
- }
77
- }
78
- exports.TooManyTagsException = TooManyTagsException;
79
- exports.RecordType = {
80
- A: "A",
81
- AAAA: "AAAA",
82
- CNAME: "CNAME",
83
- SRV: "SRV",
84
- };
85
- exports.RoutingPolicy = {
86
- MULTIVALUE: "MULTIVALUE",
87
- WEIGHTED: "WEIGHTED",
88
- };
89
- exports.HealthCheckType = {
90
- HTTP: "HTTP",
91
- HTTPS: "HTTPS",
92
- TCP: "TCP",
93
- };
94
- exports.ServiceTypeOption = {
95
- HTTP: "HTTP",
96
- };
97
- exports.ServiceType = {
98
- DNS: "DNS",
99
- DNS_HTTP: "DNS_HTTP",
100
- HTTP: "HTTP",
101
- };
102
- class NamespaceNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
103
- constructor(opts) {
104
- super({
105
- name: "NamespaceNotFound",
106
- $fault: "client",
107
- ...opts,
108
- });
109
- this.name = "NamespaceNotFound";
110
- this.$fault = "client";
111
- Object.setPrototypeOf(this, NamespaceNotFound.prototype);
112
- this.Message = opts.Message;
113
- }
114
- }
115
- exports.NamespaceNotFound = NamespaceNotFound;
116
- class ServiceAlreadyExists extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
117
- constructor(opts) {
118
- super({
119
- name: "ServiceAlreadyExists",
120
- $fault: "client",
121
- ...opts,
122
- });
123
- this.name = "ServiceAlreadyExists";
124
- this.$fault = "client";
125
- Object.setPrototypeOf(this, ServiceAlreadyExists.prototype);
126
- this.Message = opts.Message;
127
- this.CreatorRequestId = opts.CreatorRequestId;
128
- this.ServiceId = opts.ServiceId;
129
- }
130
- }
131
- exports.ServiceAlreadyExists = ServiceAlreadyExists;
132
- class CustomHealthNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
133
- constructor(opts) {
134
- super({
135
- name: "CustomHealthNotFound",
136
- $fault: "client",
137
- ...opts,
138
- });
139
- this.name = "CustomHealthNotFound";
140
- this.$fault = "client";
141
- Object.setPrototypeOf(this, CustomHealthNotFound.prototype);
142
- this.Message = opts.Message;
143
- }
144
- }
145
- exports.CustomHealthNotFound = CustomHealthNotFound;
146
- exports.CustomHealthStatus = {
147
- HEALTHY: "HEALTHY",
148
- UNHEALTHY: "UNHEALTHY",
149
- };
150
- class ResourceInUse extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
151
- constructor(opts) {
152
- super({
153
- name: "ResourceInUse",
154
- $fault: "client",
155
- ...opts,
156
- });
157
- this.name = "ResourceInUse";
158
- this.$fault = "client";
159
- Object.setPrototypeOf(this, ResourceInUse.prototype);
160
- this.Message = opts.Message;
161
- }
162
- }
163
- exports.ResourceInUse = ResourceInUse;
164
- class ServiceNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
165
- constructor(opts) {
166
- super({
167
- name: "ServiceNotFound",
168
- $fault: "client",
169
- ...opts,
170
- });
171
- this.name = "ServiceNotFound";
172
- this.$fault = "client";
173
- Object.setPrototypeOf(this, ServiceNotFound.prototype);
174
- this.Message = opts.Message;
175
- }
176
- }
177
- exports.ServiceNotFound = ServiceNotFound;
178
- class InstanceNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
179
- constructor(opts) {
180
- super({
181
- name: "InstanceNotFound",
182
- $fault: "client",
183
- ...opts,
184
- });
185
- this.name = "InstanceNotFound";
186
- this.$fault = "client";
187
- Object.setPrototypeOf(this, InstanceNotFound.prototype);
188
- this.Message = opts.Message;
189
- }
190
- }
191
- exports.InstanceNotFound = InstanceNotFound;
192
- exports.HealthStatusFilter = {
193
- ALL: "ALL",
194
- HEALTHY: "HEALTHY",
195
- HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL",
196
- UNHEALTHY: "UNHEALTHY",
197
- };
198
- exports.HealthStatus = {
199
- HEALTHY: "HEALTHY",
200
- UNHEALTHY: "UNHEALTHY",
201
- UNKNOWN: "UNKNOWN",
202
- };
203
- class RequestLimitExceeded extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
204
- constructor(opts) {
205
- super({
206
- name: "RequestLimitExceeded",
207
- $fault: "client",
208
- ...opts,
209
- });
210
- this.name = "RequestLimitExceeded";
211
- this.$fault = "client";
212
- Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
213
- this.Message = opts.Message;
214
- }
215
- }
216
- exports.RequestLimitExceeded = RequestLimitExceeded;
217
- exports.FilterCondition = {
218
- BEGINS_WITH: "BEGINS_WITH",
219
- BETWEEN: "BETWEEN",
220
- EQ: "EQ",
221
- IN: "IN",
222
- };
223
- exports.NamespaceType = {
224
- DNS_PRIVATE: "DNS_PRIVATE",
225
- DNS_PUBLIC: "DNS_PUBLIC",
226
- HTTP: "HTTP",
227
- };
228
- exports.OperationStatus = {
229
- FAIL: "FAIL",
230
- PENDING: "PENDING",
231
- SUBMITTED: "SUBMITTED",
232
- SUCCESS: "SUCCESS",
233
- };
234
- exports.OperationTargetType = {
235
- INSTANCE: "INSTANCE",
236
- NAMESPACE: "NAMESPACE",
237
- SERVICE: "SERVICE",
238
- };
239
- exports.OperationType = {
240
- CREATE_NAMESPACE: "CREATE_NAMESPACE",
241
- DELETE_NAMESPACE: "DELETE_NAMESPACE",
242
- DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE",
243
- REGISTER_INSTANCE: "REGISTER_INSTANCE",
244
- UPDATE_NAMESPACE: "UPDATE_NAMESPACE",
245
- UPDATE_SERVICE: "UPDATE_SERVICE",
246
- };
247
- class OperationNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
248
- constructor(opts) {
249
- super({
250
- name: "OperationNotFound",
251
- $fault: "client",
252
- ...opts,
253
- });
254
- this.name = "OperationNotFound";
255
- this.$fault = "client";
256
- Object.setPrototypeOf(this, OperationNotFound.prototype);
257
- this.Message = opts.Message;
258
- }
259
- }
260
- exports.OperationNotFound = OperationNotFound;
261
- exports.NamespaceFilterName = {
262
- HTTP_NAME: "HTTP_NAME",
263
- NAME: "NAME",
264
- TYPE: "TYPE",
265
- };
266
- exports.OperationFilterName = {
267
- NAMESPACE_ID: "NAMESPACE_ID",
268
- SERVICE_ID: "SERVICE_ID",
269
- STATUS: "STATUS",
270
- TYPE: "TYPE",
271
- UPDATE_DATE: "UPDATE_DATE",
272
- };
273
- exports.ServiceFilterName = {
274
- NAMESPACE_ID: "NAMESPACE_ID",
275
- };
276
- class ResourceNotFoundException extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
277
- constructor(opts) {
278
- super({
279
- name: "ResourceNotFoundException",
280
- $fault: "client",
281
- ...opts,
282
- });
283
- this.name = "ResourceNotFoundException";
284
- this.$fault = "client";
285
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
286
- this.Message = opts.Message;
287
- }
288
- }
289
- exports.ResourceNotFoundException = ResourceNotFoundException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetInstancesHealthStatus = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetInstancesHealthStatusCommand_1 = require("../commands/GetInstancesHealthStatusCommand");
6
- const ServiceDiscoveryClient_1 = require("../ServiceDiscoveryClient");
7
- exports.paginateGetInstancesHealthStatus = (0, core_1.createPaginator)(ServiceDiscoveryClient_1.ServiceDiscoveryClient, GetInstancesHealthStatusCommand_1.GetInstancesHealthStatusCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListInstances = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListInstancesCommand_1 = require("../commands/ListInstancesCommand");
6
- const ServiceDiscoveryClient_1 = require("../ServiceDiscoveryClient");
7
- exports.paginateListInstances = (0, core_1.createPaginator)(ServiceDiscoveryClient_1.ServiceDiscoveryClient, ListInstancesCommand_1.ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListNamespaces = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListNamespacesCommand_1 = require("../commands/ListNamespacesCommand");
6
- const ServiceDiscoveryClient_1 = require("../ServiceDiscoveryClient");
7
- exports.paginateListNamespaces = (0, core_1.createPaginator)(ServiceDiscoveryClient_1.ServiceDiscoveryClient, ListNamespacesCommand_1.ListNamespacesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListOperations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListOperationsCommand_1 = require("../commands/ListOperationsCommand");
6
- const ServiceDiscoveryClient_1 = require("../ServiceDiscoveryClient");
7
- exports.paginateListOperations = (0, core_1.createPaginator)(ServiceDiscoveryClient_1.ServiceDiscoveryClient, ListOperationsCommand_1.ListOperationsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListServices = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListServicesCommand_1 = require("../commands/ListServicesCommand");
6
- const ServiceDiscoveryClient_1 = require("../ServiceDiscoveryClient");
7
- exports.paginateListServices = (0, core_1.createPaginator)(ServiceDiscoveryClient_1.ServiceDiscoveryClient, ListServicesCommand_1.ListServicesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GetInstancesHealthStatusPaginator"), exports);
5
- tslib_1.__exportStar(require("./Interfaces"), exports);
6
- tslib_1.__exportStar(require("./ListInstancesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListNamespacesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListOperationsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListServicesPaginator"), exports);
1
+ module.exports = require("../index.js");