@aws-sdk/client-servicediscovery 3.301.0 → 3.306.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/models/models_0.js +83 -99
- package/dist-es/models/models_0.js +83 -99
- package/dist-types/models/models_0.d.ts +163 -83
- package/dist-types/ts3.4/models/models_0.d.ts +109 -83
- package/package.json +34 -34
|
@@ -76,34 +76,29 @@ class TooManyTagsException extends ServiceDiscoveryServiceException_1.ServiceDis
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
exports.TooManyTagsException = TooManyTagsException;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
(function (ServiceType) {
|
|
103
|
-
ServiceType["DNS"] = "DNS";
|
|
104
|
-
ServiceType["DNS_HTTP"] = "DNS_HTTP";
|
|
105
|
-
ServiceType["HTTP"] = "HTTP";
|
|
106
|
-
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
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
|
+
};
|
|
107
102
|
class NamespaceNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
|
|
108
103
|
constructor(opts) {
|
|
109
104
|
super({
|
|
@@ -148,11 +143,10 @@ class CustomHealthNotFound extends ServiceDiscoveryServiceException_1.ServiceDis
|
|
|
148
143
|
}
|
|
149
144
|
}
|
|
150
145
|
exports.CustomHealthNotFound = CustomHealthNotFound;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
})(CustomHealthStatus = exports.CustomHealthStatus || (exports.CustomHealthStatus = {}));
|
|
146
|
+
exports.CustomHealthStatus = {
|
|
147
|
+
HEALTHY: "HEALTHY",
|
|
148
|
+
UNHEALTHY: "UNHEALTHY",
|
|
149
|
+
};
|
|
156
150
|
class ResourceInUse extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
|
|
157
151
|
constructor(opts) {
|
|
158
152
|
super({
|
|
@@ -195,19 +189,17 @@ class InstanceNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscove
|
|
|
195
189
|
}
|
|
196
190
|
}
|
|
197
191
|
exports.InstanceNotFound = InstanceNotFound;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
HealthStatus["UNKNOWN"] = "UNKNOWN";
|
|
210
|
-
})(HealthStatus = exports.HealthStatus || (exports.HealthStatus = {}));
|
|
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
|
+
};
|
|
211
203
|
class RequestLimitExceeded extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
|
|
212
204
|
constructor(opts) {
|
|
213
205
|
super({
|
|
@@ -222,41 +214,36 @@ class RequestLimitExceeded extends ServiceDiscoveryServiceException_1.ServiceDis
|
|
|
222
214
|
}
|
|
223
215
|
}
|
|
224
216
|
exports.RequestLimitExceeded = RequestLimitExceeded;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
OperationType["DEREGISTER_INSTANCE"] = "DEREGISTER_INSTANCE";
|
|
256
|
-
OperationType["REGISTER_INSTANCE"] = "REGISTER_INSTANCE";
|
|
257
|
-
OperationType["UPDATE_NAMESPACE"] = "UPDATE_NAMESPACE";
|
|
258
|
-
OperationType["UPDATE_SERVICE"] = "UPDATE_SERVICE";
|
|
259
|
-
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
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
|
+
};
|
|
260
247
|
class OperationNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
|
|
261
248
|
constructor(opts) {
|
|
262
249
|
super({
|
|
@@ -271,24 +258,21 @@ class OperationNotFound extends ServiceDiscoveryServiceException_1.ServiceDiscov
|
|
|
271
258
|
}
|
|
272
259
|
}
|
|
273
260
|
exports.OperationNotFound = OperationNotFound;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
(function (ServiceFilterName) {
|
|
290
|
-
ServiceFilterName["NAMESPACE_ID"] = "NAMESPACE_ID";
|
|
291
|
-
})(ServiceFilterName = exports.ServiceFilterName || (exports.ServiceFilterName = {}));
|
|
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
|
+
};
|
|
292
276
|
class ResourceNotFoundException extends ServiceDiscoveryServiceException_1.ServiceDiscoveryServiceException {
|
|
293
277
|
constructor(opts) {
|
|
294
278
|
super({
|
|
@@ -68,34 +68,29 @@ export class TooManyTagsException extends __BaseException {
|
|
|
68
68
|
this.ResourceName = opts.ResourceName;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
export
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
(function (ServiceType) {
|
|
95
|
-
ServiceType["DNS"] = "DNS";
|
|
96
|
-
ServiceType["DNS_HTTP"] = "DNS_HTTP";
|
|
97
|
-
ServiceType["HTTP"] = "HTTP";
|
|
98
|
-
})(ServiceType || (ServiceType = {}));
|
|
71
|
+
export const RecordType = {
|
|
72
|
+
A: "A",
|
|
73
|
+
AAAA: "AAAA",
|
|
74
|
+
CNAME: "CNAME",
|
|
75
|
+
SRV: "SRV",
|
|
76
|
+
};
|
|
77
|
+
export const RoutingPolicy = {
|
|
78
|
+
MULTIVALUE: "MULTIVALUE",
|
|
79
|
+
WEIGHTED: "WEIGHTED",
|
|
80
|
+
};
|
|
81
|
+
export const HealthCheckType = {
|
|
82
|
+
HTTP: "HTTP",
|
|
83
|
+
HTTPS: "HTTPS",
|
|
84
|
+
TCP: "TCP",
|
|
85
|
+
};
|
|
86
|
+
export const ServiceTypeOption = {
|
|
87
|
+
HTTP: "HTTP",
|
|
88
|
+
};
|
|
89
|
+
export const ServiceType = {
|
|
90
|
+
DNS: "DNS",
|
|
91
|
+
DNS_HTTP: "DNS_HTTP",
|
|
92
|
+
HTTP: "HTTP",
|
|
93
|
+
};
|
|
99
94
|
export class NamespaceNotFound extends __BaseException {
|
|
100
95
|
constructor(opts) {
|
|
101
96
|
super({
|
|
@@ -137,11 +132,10 @@ export class CustomHealthNotFound extends __BaseException {
|
|
|
137
132
|
this.Message = opts.Message;
|
|
138
133
|
}
|
|
139
134
|
}
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
})(CustomHealthStatus || (CustomHealthStatus = {}));
|
|
135
|
+
export const CustomHealthStatus = {
|
|
136
|
+
HEALTHY: "HEALTHY",
|
|
137
|
+
UNHEALTHY: "UNHEALTHY",
|
|
138
|
+
};
|
|
145
139
|
export class ResourceInUse extends __BaseException {
|
|
146
140
|
constructor(opts) {
|
|
147
141
|
super({
|
|
@@ -181,19 +175,17 @@ export class InstanceNotFound extends __BaseException {
|
|
|
181
175
|
this.Message = opts.Message;
|
|
182
176
|
}
|
|
183
177
|
}
|
|
184
|
-
export
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
HealthStatus["UNKNOWN"] = "UNKNOWN";
|
|
196
|
-
})(HealthStatus || (HealthStatus = {}));
|
|
178
|
+
export const HealthStatusFilter = {
|
|
179
|
+
ALL: "ALL",
|
|
180
|
+
HEALTHY: "HEALTHY",
|
|
181
|
+
HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL",
|
|
182
|
+
UNHEALTHY: "UNHEALTHY",
|
|
183
|
+
};
|
|
184
|
+
export const HealthStatus = {
|
|
185
|
+
HEALTHY: "HEALTHY",
|
|
186
|
+
UNHEALTHY: "UNHEALTHY",
|
|
187
|
+
UNKNOWN: "UNKNOWN",
|
|
188
|
+
};
|
|
197
189
|
export class RequestLimitExceeded extends __BaseException {
|
|
198
190
|
constructor(opts) {
|
|
199
191
|
super({
|
|
@@ -207,41 +199,36 @@ export class RequestLimitExceeded extends __BaseException {
|
|
|
207
199
|
this.Message = opts.Message;
|
|
208
200
|
}
|
|
209
201
|
}
|
|
210
|
-
export
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
OperationType["DEREGISTER_INSTANCE"] = "DEREGISTER_INSTANCE";
|
|
241
|
-
OperationType["REGISTER_INSTANCE"] = "REGISTER_INSTANCE";
|
|
242
|
-
OperationType["UPDATE_NAMESPACE"] = "UPDATE_NAMESPACE";
|
|
243
|
-
OperationType["UPDATE_SERVICE"] = "UPDATE_SERVICE";
|
|
244
|
-
})(OperationType || (OperationType = {}));
|
|
202
|
+
export const FilterCondition = {
|
|
203
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
204
|
+
BETWEEN: "BETWEEN",
|
|
205
|
+
EQ: "EQ",
|
|
206
|
+
IN: "IN",
|
|
207
|
+
};
|
|
208
|
+
export const NamespaceType = {
|
|
209
|
+
DNS_PRIVATE: "DNS_PRIVATE",
|
|
210
|
+
DNS_PUBLIC: "DNS_PUBLIC",
|
|
211
|
+
HTTP: "HTTP",
|
|
212
|
+
};
|
|
213
|
+
export const OperationStatus = {
|
|
214
|
+
FAIL: "FAIL",
|
|
215
|
+
PENDING: "PENDING",
|
|
216
|
+
SUBMITTED: "SUBMITTED",
|
|
217
|
+
SUCCESS: "SUCCESS",
|
|
218
|
+
};
|
|
219
|
+
export const OperationTargetType = {
|
|
220
|
+
INSTANCE: "INSTANCE",
|
|
221
|
+
NAMESPACE: "NAMESPACE",
|
|
222
|
+
SERVICE: "SERVICE",
|
|
223
|
+
};
|
|
224
|
+
export const OperationType = {
|
|
225
|
+
CREATE_NAMESPACE: "CREATE_NAMESPACE",
|
|
226
|
+
DELETE_NAMESPACE: "DELETE_NAMESPACE",
|
|
227
|
+
DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE",
|
|
228
|
+
REGISTER_INSTANCE: "REGISTER_INSTANCE",
|
|
229
|
+
UPDATE_NAMESPACE: "UPDATE_NAMESPACE",
|
|
230
|
+
UPDATE_SERVICE: "UPDATE_SERVICE",
|
|
231
|
+
};
|
|
245
232
|
export class OperationNotFound extends __BaseException {
|
|
246
233
|
constructor(opts) {
|
|
247
234
|
super({
|
|
@@ -255,24 +242,21 @@ export class OperationNotFound extends __BaseException {
|
|
|
255
242
|
this.Message = opts.Message;
|
|
256
243
|
}
|
|
257
244
|
}
|
|
258
|
-
export
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
(function (ServiceFilterName) {
|
|
274
|
-
ServiceFilterName["NAMESPACE_ID"] = "NAMESPACE_ID";
|
|
275
|
-
})(ServiceFilterName || (ServiceFilterName = {}));
|
|
245
|
+
export const NamespaceFilterName = {
|
|
246
|
+
HTTP_NAME: "HTTP_NAME",
|
|
247
|
+
NAME: "NAME",
|
|
248
|
+
TYPE: "TYPE",
|
|
249
|
+
};
|
|
250
|
+
export const OperationFilterName = {
|
|
251
|
+
NAMESPACE_ID: "NAMESPACE_ID",
|
|
252
|
+
SERVICE_ID: "SERVICE_ID",
|
|
253
|
+
STATUS: "STATUS",
|
|
254
|
+
TYPE: "TYPE",
|
|
255
|
+
UPDATE_DATE: "UPDATE_DATE",
|
|
256
|
+
};
|
|
257
|
+
export const ServiceFilterName = {
|
|
258
|
+
NAMESPACE_ID: "NAMESPACE_ID",
|
|
259
|
+
};
|
|
276
260
|
export class ResourceNotFoundException extends __BaseException {
|
|
277
261
|
constructor(opts) {
|
|
278
262
|
super({
|
|
@@ -290,13 +290,18 @@ export interface CreatePublicDnsNamespaceResponse {
|
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
292
|
* @public
|
|
293
|
+
* @enum
|
|
293
294
|
*/
|
|
294
|
-
export declare
|
|
295
|
-
A
|
|
296
|
-
AAAA
|
|
297
|
-
CNAME
|
|
298
|
-
SRV
|
|
299
|
-
}
|
|
295
|
+
export declare const RecordType: {
|
|
296
|
+
readonly A: "A";
|
|
297
|
+
readonly AAAA: "AAAA";
|
|
298
|
+
readonly CNAME: "CNAME";
|
|
299
|
+
readonly SRV: "SRV";
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
300
305
|
/**
|
|
301
306
|
* @public
|
|
302
307
|
* <p>A complex type that contains information about the Route 53 DNS records that you want
|
|
@@ -457,11 +462,16 @@ export interface DnsRecord {
|
|
|
457
462
|
}
|
|
458
463
|
/**
|
|
459
464
|
* @public
|
|
465
|
+
* @enum
|
|
460
466
|
*/
|
|
461
|
-
export declare
|
|
462
|
-
MULTIVALUE
|
|
463
|
-
WEIGHTED
|
|
464
|
-
}
|
|
467
|
+
export declare const RoutingPolicy: {
|
|
468
|
+
readonly MULTIVALUE: "MULTIVALUE";
|
|
469
|
+
readonly WEIGHTED: "WEIGHTED";
|
|
470
|
+
};
|
|
471
|
+
/**
|
|
472
|
+
* @public
|
|
473
|
+
*/
|
|
474
|
+
export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
|
|
465
475
|
/**
|
|
466
476
|
* @public
|
|
467
477
|
* <p>A complex type that contains information about the Amazon Route 53 DNS records that you want
|
|
@@ -531,12 +541,17 @@ export interface DnsConfig {
|
|
|
531
541
|
}
|
|
532
542
|
/**
|
|
533
543
|
* @public
|
|
544
|
+
* @enum
|
|
534
545
|
*/
|
|
535
|
-
export declare
|
|
536
|
-
HTTP
|
|
537
|
-
HTTPS
|
|
538
|
-
TCP
|
|
539
|
-
}
|
|
546
|
+
export declare const HealthCheckType: {
|
|
547
|
+
readonly HTTP: "HTTP";
|
|
548
|
+
readonly HTTPS: "HTTPS";
|
|
549
|
+
readonly TCP: "TCP";
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
export type HealthCheckType = (typeof HealthCheckType)[keyof typeof HealthCheckType];
|
|
540
555
|
/**
|
|
541
556
|
* @public
|
|
542
557
|
* <p>
|
|
@@ -735,10 +750,15 @@ export interface HealthCheckCustomConfig {
|
|
|
735
750
|
}
|
|
736
751
|
/**
|
|
737
752
|
* @public
|
|
753
|
+
* @enum
|
|
738
754
|
*/
|
|
739
|
-
export declare
|
|
740
|
-
HTTP
|
|
741
|
-
}
|
|
755
|
+
export declare const ServiceTypeOption: {
|
|
756
|
+
readonly HTTP: "HTTP";
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
export type ServiceTypeOption = (typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
|
|
742
762
|
/**
|
|
743
763
|
* @public
|
|
744
764
|
*/
|
|
@@ -829,12 +849,17 @@ export interface CreateServiceRequest {
|
|
|
829
849
|
}
|
|
830
850
|
/**
|
|
831
851
|
* @public
|
|
852
|
+
* @enum
|
|
832
853
|
*/
|
|
833
|
-
export declare
|
|
834
|
-
DNS
|
|
835
|
-
DNS_HTTP
|
|
836
|
-
HTTP
|
|
837
|
-
}
|
|
854
|
+
export declare const ServiceType: {
|
|
855
|
+
readonly DNS: "DNS";
|
|
856
|
+
readonly DNS_HTTP: "DNS_HTTP";
|
|
857
|
+
readonly HTTP: "HTTP";
|
|
858
|
+
};
|
|
859
|
+
/**
|
|
860
|
+
* @public
|
|
861
|
+
*/
|
|
862
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
838
863
|
/**
|
|
839
864
|
* @public
|
|
840
865
|
* <p>A complex type that contains information about the specified service.</p>
|
|
@@ -983,11 +1008,16 @@ export declare class CustomHealthNotFound extends __BaseException {
|
|
|
983
1008
|
}
|
|
984
1009
|
/**
|
|
985
1010
|
* @public
|
|
1011
|
+
* @enum
|
|
986
1012
|
*/
|
|
987
|
-
export declare
|
|
988
|
-
HEALTHY
|
|
989
|
-
UNHEALTHY
|
|
990
|
-
}
|
|
1013
|
+
export declare const CustomHealthStatus: {
|
|
1014
|
+
readonly HEALTHY: "HEALTHY";
|
|
1015
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
1016
|
+
};
|
|
1017
|
+
/**
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
export type CustomHealthStatus = (typeof CustomHealthStatus)[keyof typeof CustomHealthStatus];
|
|
991
1021
|
/**
|
|
992
1022
|
* @public
|
|
993
1023
|
*/
|
|
@@ -1087,13 +1117,18 @@ export declare class InstanceNotFound extends __BaseException {
|
|
|
1087
1117
|
}
|
|
1088
1118
|
/**
|
|
1089
1119
|
* @public
|
|
1120
|
+
* @enum
|
|
1090
1121
|
*/
|
|
1091
|
-
export declare
|
|
1092
|
-
ALL
|
|
1093
|
-
HEALTHY
|
|
1094
|
-
HEALTHY_OR_ELSE_ALL
|
|
1095
|
-
UNHEALTHY
|
|
1096
|
-
}
|
|
1122
|
+
export declare const HealthStatusFilter: {
|
|
1123
|
+
readonly ALL: "ALL";
|
|
1124
|
+
readonly HEALTHY: "HEALTHY";
|
|
1125
|
+
readonly HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL";
|
|
1126
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
1127
|
+
};
|
|
1128
|
+
/**
|
|
1129
|
+
* @public
|
|
1130
|
+
*/
|
|
1131
|
+
export type HealthStatusFilter = (typeof HealthStatusFilter)[keyof typeof HealthStatusFilter];
|
|
1097
1132
|
/**
|
|
1098
1133
|
* @public
|
|
1099
1134
|
*/
|
|
@@ -1157,12 +1192,17 @@ export interface DiscoverInstancesRequest {
|
|
|
1157
1192
|
}
|
|
1158
1193
|
/**
|
|
1159
1194
|
* @public
|
|
1195
|
+
* @enum
|
|
1160
1196
|
*/
|
|
1161
|
-
export declare
|
|
1162
|
-
HEALTHY
|
|
1163
|
-
UNHEALTHY
|
|
1164
|
-
UNKNOWN
|
|
1165
|
-
}
|
|
1197
|
+
export declare const HealthStatus: {
|
|
1198
|
+
readonly HEALTHY: "HEALTHY";
|
|
1199
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
1200
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1201
|
+
};
|
|
1202
|
+
/**
|
|
1203
|
+
* @public
|
|
1204
|
+
*/
|
|
1205
|
+
export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
|
|
1166
1206
|
/**
|
|
1167
1207
|
* @public
|
|
1168
1208
|
* <p>In a response to a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html">DiscoverInstances</a> request,
|
|
@@ -1254,13 +1294,18 @@ export interface DnsProperties {
|
|
|
1254
1294
|
}
|
|
1255
1295
|
/**
|
|
1256
1296
|
* @public
|
|
1297
|
+
* @enum
|
|
1257
1298
|
*/
|
|
1258
|
-
export declare
|
|
1259
|
-
BEGINS_WITH
|
|
1260
|
-
BETWEEN
|
|
1261
|
-
EQ
|
|
1262
|
-
IN
|
|
1263
|
-
}
|
|
1299
|
+
export declare const FilterCondition: {
|
|
1300
|
+
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
1301
|
+
readonly BETWEEN: "BETWEEN";
|
|
1302
|
+
readonly EQ: "EQ";
|
|
1303
|
+
readonly IN: "IN";
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
export type FilterCondition = (typeof FilterCondition)[keyof typeof FilterCondition];
|
|
1264
1309
|
/**
|
|
1265
1310
|
* @public
|
|
1266
1311
|
*/
|
|
@@ -1511,12 +1556,17 @@ export interface NamespaceProperties {
|
|
|
1511
1556
|
}
|
|
1512
1557
|
/**
|
|
1513
1558
|
* @public
|
|
1559
|
+
* @enum
|
|
1514
1560
|
*/
|
|
1515
|
-
export declare
|
|
1516
|
-
DNS_PRIVATE
|
|
1517
|
-
DNS_PUBLIC
|
|
1518
|
-
HTTP
|
|
1519
|
-
}
|
|
1561
|
+
export declare const NamespaceType: {
|
|
1562
|
+
readonly DNS_PRIVATE: "DNS_PRIVATE";
|
|
1563
|
+
readonly DNS_PUBLIC: "DNS_PUBLIC";
|
|
1564
|
+
readonly HTTP: "HTTP";
|
|
1565
|
+
};
|
|
1566
|
+
/**
|
|
1567
|
+
* @public
|
|
1568
|
+
*/
|
|
1569
|
+
export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
1520
1570
|
/**
|
|
1521
1571
|
* @public
|
|
1522
1572
|
* <p>A complex type that contains information about a specified namespace.</p>
|
|
@@ -1601,32 +1651,47 @@ export interface GetOperationRequest {
|
|
|
1601
1651
|
}
|
|
1602
1652
|
/**
|
|
1603
1653
|
* @public
|
|
1654
|
+
* @enum
|
|
1604
1655
|
*/
|
|
1605
|
-
export declare
|
|
1606
|
-
FAIL
|
|
1607
|
-
PENDING
|
|
1608
|
-
SUBMITTED
|
|
1609
|
-
SUCCESS
|
|
1610
|
-
}
|
|
1656
|
+
export declare const OperationStatus: {
|
|
1657
|
+
readonly FAIL: "FAIL";
|
|
1658
|
+
readonly PENDING: "PENDING";
|
|
1659
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
1660
|
+
readonly SUCCESS: "SUCCESS";
|
|
1661
|
+
};
|
|
1611
1662
|
/**
|
|
1612
1663
|
* @public
|
|
1613
1664
|
*/
|
|
1614
|
-
export
|
|
1615
|
-
INSTANCE = "INSTANCE",
|
|
1616
|
-
NAMESPACE = "NAMESPACE",
|
|
1617
|
-
SERVICE = "SERVICE"
|
|
1618
|
-
}
|
|
1665
|
+
export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
|
|
1619
1666
|
/**
|
|
1620
1667
|
* @public
|
|
1668
|
+
* @enum
|
|
1621
1669
|
*/
|
|
1622
|
-
export declare
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1670
|
+
export declare const OperationTargetType: {
|
|
1671
|
+
readonly INSTANCE: "INSTANCE";
|
|
1672
|
+
readonly NAMESPACE: "NAMESPACE";
|
|
1673
|
+
readonly SERVICE: "SERVICE";
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* @public
|
|
1677
|
+
*/
|
|
1678
|
+
export type OperationTargetType = (typeof OperationTargetType)[keyof typeof OperationTargetType];
|
|
1679
|
+
/**
|
|
1680
|
+
* @public
|
|
1681
|
+
* @enum
|
|
1682
|
+
*/
|
|
1683
|
+
export declare const OperationType: {
|
|
1684
|
+
readonly CREATE_NAMESPACE: "CREATE_NAMESPACE";
|
|
1685
|
+
readonly DELETE_NAMESPACE: "DELETE_NAMESPACE";
|
|
1686
|
+
readonly DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE";
|
|
1687
|
+
readonly REGISTER_INSTANCE: "REGISTER_INSTANCE";
|
|
1688
|
+
readonly UPDATE_NAMESPACE: "UPDATE_NAMESPACE";
|
|
1689
|
+
readonly UPDATE_SERVICE: "UPDATE_SERVICE";
|
|
1690
|
+
};
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
1630
1695
|
/**
|
|
1631
1696
|
* @public
|
|
1632
1697
|
* <p>A complex type that contains information about a specified operation.</p>
|
|
@@ -1899,12 +1964,17 @@ export interface ListInstancesResponse {
|
|
|
1899
1964
|
}
|
|
1900
1965
|
/**
|
|
1901
1966
|
* @public
|
|
1967
|
+
* @enum
|
|
1902
1968
|
*/
|
|
1903
|
-
export declare
|
|
1904
|
-
HTTP_NAME
|
|
1905
|
-
NAME
|
|
1906
|
-
TYPE
|
|
1907
|
-
}
|
|
1969
|
+
export declare const NamespaceFilterName: {
|
|
1970
|
+
readonly HTTP_NAME: "HTTP_NAME";
|
|
1971
|
+
readonly NAME: "NAME";
|
|
1972
|
+
readonly TYPE: "TYPE";
|
|
1973
|
+
};
|
|
1974
|
+
/**
|
|
1975
|
+
* @public
|
|
1976
|
+
*/
|
|
1977
|
+
export type NamespaceFilterName = (typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
|
|
1908
1978
|
/**
|
|
1909
1979
|
* @public
|
|
1910
1980
|
* <p>A complex type that identifies the namespaces that you want to list. You can choose to list
|
|
@@ -2065,14 +2135,19 @@ export interface ListNamespacesResponse {
|
|
|
2065
2135
|
}
|
|
2066
2136
|
/**
|
|
2067
2137
|
* @public
|
|
2138
|
+
* @enum
|
|
2068
2139
|
*/
|
|
2069
|
-
export declare
|
|
2070
|
-
NAMESPACE_ID
|
|
2071
|
-
SERVICE_ID
|
|
2072
|
-
STATUS
|
|
2073
|
-
TYPE
|
|
2074
|
-
UPDATE_DATE
|
|
2075
|
-
}
|
|
2140
|
+
export declare const OperationFilterName: {
|
|
2141
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
2142
|
+
readonly SERVICE_ID: "SERVICE_ID";
|
|
2143
|
+
readonly STATUS: "STATUS";
|
|
2144
|
+
readonly TYPE: "TYPE";
|
|
2145
|
+
readonly UPDATE_DATE: "UPDATE_DATE";
|
|
2146
|
+
};
|
|
2147
|
+
/**
|
|
2148
|
+
* @public
|
|
2149
|
+
*/
|
|
2150
|
+
export type OperationFilterName = (typeof OperationFilterName)[keyof typeof OperationFilterName];
|
|
2076
2151
|
/**
|
|
2077
2152
|
* @public
|
|
2078
2153
|
* <p>A complex type that lets you select the operations that you want to list.</p>
|
|
@@ -2258,10 +2333,15 @@ export interface ListOperationsResponse {
|
|
|
2258
2333
|
}
|
|
2259
2334
|
/**
|
|
2260
2335
|
* @public
|
|
2336
|
+
* @enum
|
|
2261
2337
|
*/
|
|
2262
|
-
export declare
|
|
2263
|
-
NAMESPACE_ID
|
|
2264
|
-
}
|
|
2338
|
+
export declare const ServiceFilterName: {
|
|
2339
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
2340
|
+
};
|
|
2341
|
+
/**
|
|
2342
|
+
* @public
|
|
2343
|
+
*/
|
|
2344
|
+
export type ServiceFilterName = (typeof ServiceFilterName)[keyof typeof ServiceFilterName];
|
|
2265
2345
|
/**
|
|
2266
2346
|
* @public
|
|
2267
2347
|
* <p>A complex type that lets you specify the namespaces that you want to list services
|
|
@@ -89,30 +89,34 @@ export interface CreatePublicDnsNamespaceRequest {
|
|
|
89
89
|
export interface CreatePublicDnsNamespaceResponse {
|
|
90
90
|
OperationId?: string;
|
|
91
91
|
}
|
|
92
|
-
export declare
|
|
93
|
-
A
|
|
94
|
-
AAAA
|
|
95
|
-
CNAME
|
|
96
|
-
SRV
|
|
97
|
-
}
|
|
92
|
+
export declare const RecordType: {
|
|
93
|
+
readonly A: "A";
|
|
94
|
+
readonly AAAA: "AAAA";
|
|
95
|
+
readonly CNAME: "CNAME";
|
|
96
|
+
readonly SRV: "SRV";
|
|
97
|
+
};
|
|
98
|
+
export type RecordType = (typeof RecordType)[keyof typeof RecordType];
|
|
98
99
|
export interface DnsRecord {
|
|
99
100
|
Type: RecordType | string | undefined;
|
|
100
101
|
TTL: number | undefined;
|
|
101
102
|
}
|
|
102
|
-
export declare
|
|
103
|
-
MULTIVALUE
|
|
104
|
-
WEIGHTED
|
|
105
|
-
}
|
|
103
|
+
export declare const RoutingPolicy: {
|
|
104
|
+
readonly MULTIVALUE: "MULTIVALUE";
|
|
105
|
+
readonly WEIGHTED: "WEIGHTED";
|
|
106
|
+
};
|
|
107
|
+
export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
|
|
106
108
|
export interface DnsConfig {
|
|
107
109
|
NamespaceId?: string;
|
|
108
110
|
RoutingPolicy?: RoutingPolicy | string;
|
|
109
111
|
DnsRecords: DnsRecord[] | undefined;
|
|
110
112
|
}
|
|
111
|
-
export declare
|
|
112
|
-
HTTP
|
|
113
|
-
HTTPS
|
|
114
|
-
TCP
|
|
115
|
-
}
|
|
113
|
+
export declare const HealthCheckType: {
|
|
114
|
+
readonly HTTP: "HTTP";
|
|
115
|
+
readonly HTTPS: "HTTPS";
|
|
116
|
+
readonly TCP: "TCP";
|
|
117
|
+
};
|
|
118
|
+
export type HealthCheckType =
|
|
119
|
+
(typeof HealthCheckType)[keyof typeof HealthCheckType];
|
|
116
120
|
export interface HealthCheckConfig {
|
|
117
121
|
Type: HealthCheckType | string | undefined;
|
|
118
122
|
ResourcePath?: string;
|
|
@@ -121,9 +125,11 @@ export interface HealthCheckConfig {
|
|
|
121
125
|
export interface HealthCheckCustomConfig {
|
|
122
126
|
FailureThreshold?: number;
|
|
123
127
|
}
|
|
124
|
-
export declare
|
|
125
|
-
HTTP
|
|
126
|
-
}
|
|
128
|
+
export declare const ServiceTypeOption: {
|
|
129
|
+
readonly HTTP: "HTTP";
|
|
130
|
+
};
|
|
131
|
+
export type ServiceTypeOption =
|
|
132
|
+
(typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
|
|
127
133
|
export interface CreateServiceRequest {
|
|
128
134
|
Name: string | undefined;
|
|
129
135
|
NamespaceId?: string;
|
|
@@ -135,11 +141,12 @@ export interface CreateServiceRequest {
|
|
|
135
141
|
Tags?: Tag[];
|
|
136
142
|
Type?: ServiceTypeOption | string;
|
|
137
143
|
}
|
|
138
|
-
export declare
|
|
139
|
-
DNS
|
|
140
|
-
DNS_HTTP
|
|
141
|
-
HTTP
|
|
142
|
-
}
|
|
144
|
+
export declare const ServiceType: {
|
|
145
|
+
readonly DNS: "DNS";
|
|
146
|
+
readonly DNS_HTTP: "DNS_HTTP";
|
|
147
|
+
readonly HTTP: "HTTP";
|
|
148
|
+
};
|
|
149
|
+
export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
|
|
143
150
|
export interface Service {
|
|
144
151
|
Id?: string;
|
|
145
152
|
Arn?: string;
|
|
@@ -181,10 +188,12 @@ export declare class CustomHealthNotFound extends __BaseException {
|
|
|
181
188
|
opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>
|
|
182
189
|
);
|
|
183
190
|
}
|
|
184
|
-
export declare
|
|
185
|
-
HEALTHY
|
|
186
|
-
UNHEALTHY
|
|
187
|
-
}
|
|
191
|
+
export declare const CustomHealthStatus: {
|
|
192
|
+
readonly HEALTHY: "HEALTHY";
|
|
193
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
194
|
+
};
|
|
195
|
+
export type CustomHealthStatus =
|
|
196
|
+
(typeof CustomHealthStatus)[keyof typeof CustomHealthStatus];
|
|
188
197
|
export interface DeleteNamespaceRequest {
|
|
189
198
|
Id: string | undefined;
|
|
190
199
|
}
|
|
@@ -220,12 +229,14 @@ export declare class InstanceNotFound extends __BaseException {
|
|
|
220
229
|
Message?: string;
|
|
221
230
|
constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
|
|
222
231
|
}
|
|
223
|
-
export declare
|
|
224
|
-
ALL
|
|
225
|
-
HEALTHY
|
|
226
|
-
HEALTHY_OR_ELSE_ALL
|
|
227
|
-
UNHEALTHY
|
|
228
|
-
}
|
|
232
|
+
export declare const HealthStatusFilter: {
|
|
233
|
+
readonly ALL: "ALL";
|
|
234
|
+
readonly HEALTHY: "HEALTHY";
|
|
235
|
+
readonly HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL";
|
|
236
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
237
|
+
};
|
|
238
|
+
export type HealthStatusFilter =
|
|
239
|
+
(typeof HealthStatusFilter)[keyof typeof HealthStatusFilter];
|
|
229
240
|
export interface DiscoverInstancesRequest {
|
|
230
241
|
NamespaceName: string | undefined;
|
|
231
242
|
ServiceName: string | undefined;
|
|
@@ -234,11 +245,12 @@ export interface DiscoverInstancesRequest {
|
|
|
234
245
|
OptionalParameters?: Record<string, string>;
|
|
235
246
|
HealthStatus?: HealthStatusFilter | string;
|
|
236
247
|
}
|
|
237
|
-
export declare
|
|
238
|
-
HEALTHY
|
|
239
|
-
UNHEALTHY
|
|
240
|
-
UNKNOWN
|
|
241
|
-
}
|
|
248
|
+
export declare const HealthStatus: {
|
|
249
|
+
readonly HEALTHY: "HEALTHY";
|
|
250
|
+
readonly UNHEALTHY: "UNHEALTHY";
|
|
251
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
252
|
+
};
|
|
253
|
+
export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
|
|
242
254
|
export interface HttpInstanceSummary {
|
|
243
255
|
InstanceId?: string;
|
|
244
256
|
NamespaceName?: string;
|
|
@@ -264,12 +276,14 @@ export interface DnsProperties {
|
|
|
264
276
|
HostedZoneId?: string;
|
|
265
277
|
SOA?: SOA;
|
|
266
278
|
}
|
|
267
|
-
export declare
|
|
268
|
-
BEGINS_WITH
|
|
269
|
-
BETWEEN
|
|
270
|
-
EQ
|
|
271
|
-
IN
|
|
272
|
-
}
|
|
279
|
+
export declare const FilterCondition: {
|
|
280
|
+
readonly BEGINS_WITH: "BEGINS_WITH";
|
|
281
|
+
readonly BETWEEN: "BETWEEN";
|
|
282
|
+
readonly EQ: "EQ";
|
|
283
|
+
readonly IN: "IN";
|
|
284
|
+
};
|
|
285
|
+
export type FilterCondition =
|
|
286
|
+
(typeof FilterCondition)[keyof typeof FilterCondition];
|
|
273
287
|
export interface GetInstanceRequest {
|
|
274
288
|
ServiceId: string | undefined;
|
|
275
289
|
InstanceId: string | undefined;
|
|
@@ -302,11 +316,12 @@ export interface NamespaceProperties {
|
|
|
302
316
|
DnsProperties?: DnsProperties;
|
|
303
317
|
HttpProperties?: HttpProperties;
|
|
304
318
|
}
|
|
305
|
-
export declare
|
|
306
|
-
DNS_PRIVATE
|
|
307
|
-
DNS_PUBLIC
|
|
308
|
-
HTTP
|
|
309
|
-
}
|
|
319
|
+
export declare const NamespaceType: {
|
|
320
|
+
readonly DNS_PRIVATE: "DNS_PRIVATE";
|
|
321
|
+
readonly DNS_PUBLIC: "DNS_PUBLIC";
|
|
322
|
+
readonly HTTP: "HTTP";
|
|
323
|
+
};
|
|
324
|
+
export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
|
|
310
325
|
export interface Namespace {
|
|
311
326
|
Id?: string;
|
|
312
327
|
Arn?: string;
|
|
@@ -324,25 +339,30 @@ export interface GetNamespaceResponse {
|
|
|
324
339
|
export interface GetOperationRequest {
|
|
325
340
|
OperationId: string | undefined;
|
|
326
341
|
}
|
|
327
|
-
export declare
|
|
328
|
-
FAIL
|
|
329
|
-
PENDING
|
|
330
|
-
SUBMITTED
|
|
331
|
-
SUCCESS
|
|
332
|
-
}
|
|
333
|
-
export
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
342
|
+
export declare const OperationStatus: {
|
|
343
|
+
readonly FAIL: "FAIL";
|
|
344
|
+
readonly PENDING: "PENDING";
|
|
345
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
346
|
+
readonly SUCCESS: "SUCCESS";
|
|
347
|
+
};
|
|
348
|
+
export type OperationStatus =
|
|
349
|
+
(typeof OperationStatus)[keyof typeof OperationStatus];
|
|
350
|
+
export declare const OperationTargetType: {
|
|
351
|
+
readonly INSTANCE: "INSTANCE";
|
|
352
|
+
readonly NAMESPACE: "NAMESPACE";
|
|
353
|
+
readonly SERVICE: "SERVICE";
|
|
354
|
+
};
|
|
355
|
+
export type OperationTargetType =
|
|
356
|
+
(typeof OperationTargetType)[keyof typeof OperationTargetType];
|
|
357
|
+
export declare const OperationType: {
|
|
358
|
+
readonly CREATE_NAMESPACE: "CREATE_NAMESPACE";
|
|
359
|
+
readonly DELETE_NAMESPACE: "DELETE_NAMESPACE";
|
|
360
|
+
readonly DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE";
|
|
361
|
+
readonly REGISTER_INSTANCE: "REGISTER_INSTANCE";
|
|
362
|
+
readonly UPDATE_NAMESPACE: "UPDATE_NAMESPACE";
|
|
363
|
+
readonly UPDATE_SERVICE: "UPDATE_SERVICE";
|
|
364
|
+
};
|
|
365
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
346
366
|
export interface Operation {
|
|
347
367
|
Id?: string;
|
|
348
368
|
Type?: OperationType | string;
|
|
@@ -384,11 +404,13 @@ export interface ListInstancesResponse {
|
|
|
384
404
|
Instances?: InstanceSummary[];
|
|
385
405
|
NextToken?: string;
|
|
386
406
|
}
|
|
387
|
-
export declare
|
|
388
|
-
HTTP_NAME
|
|
389
|
-
NAME
|
|
390
|
-
TYPE
|
|
391
|
-
}
|
|
407
|
+
export declare const NamespaceFilterName: {
|
|
408
|
+
readonly HTTP_NAME: "HTTP_NAME";
|
|
409
|
+
readonly NAME: "NAME";
|
|
410
|
+
readonly TYPE: "TYPE";
|
|
411
|
+
};
|
|
412
|
+
export type NamespaceFilterName =
|
|
413
|
+
(typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
|
|
392
414
|
export interface NamespaceFilter {
|
|
393
415
|
Name: NamespaceFilterName | string | undefined;
|
|
394
416
|
Values: string[] | undefined;
|
|
@@ -413,13 +435,15 @@ export interface ListNamespacesResponse {
|
|
|
413
435
|
Namespaces?: NamespaceSummary[];
|
|
414
436
|
NextToken?: string;
|
|
415
437
|
}
|
|
416
|
-
export declare
|
|
417
|
-
NAMESPACE_ID
|
|
418
|
-
SERVICE_ID
|
|
419
|
-
STATUS
|
|
420
|
-
TYPE
|
|
421
|
-
UPDATE_DATE
|
|
422
|
-
}
|
|
438
|
+
export declare const OperationFilterName: {
|
|
439
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
440
|
+
readonly SERVICE_ID: "SERVICE_ID";
|
|
441
|
+
readonly STATUS: "STATUS";
|
|
442
|
+
readonly TYPE: "TYPE";
|
|
443
|
+
readonly UPDATE_DATE: "UPDATE_DATE";
|
|
444
|
+
};
|
|
445
|
+
export type OperationFilterName =
|
|
446
|
+
(typeof OperationFilterName)[keyof typeof OperationFilterName];
|
|
423
447
|
export interface OperationFilter {
|
|
424
448
|
Name: OperationFilterName | string | undefined;
|
|
425
449
|
Values: string[] | undefined;
|
|
@@ -438,9 +462,11 @@ export interface ListOperationsResponse {
|
|
|
438
462
|
Operations?: OperationSummary[];
|
|
439
463
|
NextToken?: string;
|
|
440
464
|
}
|
|
441
|
-
export declare
|
|
442
|
-
NAMESPACE_ID
|
|
443
|
-
}
|
|
465
|
+
export declare const ServiceFilterName: {
|
|
466
|
+
readonly NAMESPACE_ID: "NAMESPACE_ID";
|
|
467
|
+
};
|
|
468
|
+
export type ServiceFilterName =
|
|
469
|
+
(typeof ServiceFilterName)[keyof typeof ServiceFilterName];
|
|
444
470
|
export interface ServiceFilter {
|
|
445
471
|
Name: ServiceFilterName | string | undefined;
|
|
446
472
|
Values: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-servicediscovery",
|
|
3
3
|
"description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|