@aws-sdk/client-servicediscovery 3.300.0 → 3.303.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/commands/CreateHttpNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +6 -6
- package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +6 -6
- package/dist-types/commands/CreateServiceCommand.d.ts +8 -8
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DiscoverInstancesCommand.d.ts +2 -2
- package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
- package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +2 -2
- package/dist-types/commands/GetNamespaceCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceCommand.d.ts +1 -1
- package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListNamespacesCommand.d.ts +4 -4
- package/dist-types/commands/ListOperationsCommand.d.ts +4 -4
- package/dist-types/commands/ListServicesCommand.d.ts +4 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterInstanceCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -5
- package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +5 -5
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -6
- 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({
|
|
@@ -30,12 +30,12 @@ export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceRes
|
|
|
30
30
|
* import { ServiceDiscoveryClient, CreateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
31
31
|
* // const { ServiceDiscoveryClient, CreateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
32
32
|
* const client = new ServiceDiscoveryClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateHttpNamespaceRequest
|
|
34
34
|
* Name: "STRING_VALUE", // required
|
|
35
35
|
* CreatorRequestId: "STRING_VALUE",
|
|
36
36
|
* Description: "STRING_VALUE",
|
|
37
|
-
* Tags: [
|
|
38
|
-
* {
|
|
37
|
+
* Tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
39
|
* Key: "STRING_VALUE", // required
|
|
40
40
|
* Value: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
@@ -33,20 +33,20 @@ export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDns
|
|
|
33
33
|
* import { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
34
34
|
* // const { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
35
35
|
* const client = new ServiceDiscoveryClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // CreatePrivateDnsNamespaceRequest
|
|
37
37
|
* Name: "STRING_VALUE", // required
|
|
38
38
|
* CreatorRequestId: "STRING_VALUE",
|
|
39
39
|
* Description: "STRING_VALUE",
|
|
40
40
|
* Vpc: "STRING_VALUE", // required
|
|
41
|
-
* Tags: [
|
|
42
|
-
* {
|
|
41
|
+
* Tags: [ // TagList
|
|
42
|
+
* { // Tag
|
|
43
43
|
* Key: "STRING_VALUE", // required
|
|
44
44
|
* Value: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* Properties: {
|
|
48
|
-
* DnsProperties: {
|
|
49
|
-
* SOA: {
|
|
47
|
+
* Properties: { // PrivateDnsNamespaceProperties
|
|
48
|
+
* DnsProperties: { // PrivateDnsPropertiesMutable
|
|
49
|
+
* SOA: { // SOA
|
|
50
50
|
* TTL: Number("long"), // required
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
@@ -35,19 +35,19 @@ export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNa
|
|
|
35
35
|
* import { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
36
36
|
* // const { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
37
37
|
* const client = new ServiceDiscoveryClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // CreatePublicDnsNamespaceRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* CreatorRequestId: "STRING_VALUE",
|
|
41
41
|
* Description: "STRING_VALUE",
|
|
42
|
-
* Tags: [
|
|
43
|
-
* {
|
|
42
|
+
* Tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
44
|
* Key: "STRING_VALUE", // required
|
|
45
45
|
* Value: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
|
-
* Properties: {
|
|
49
|
-
* DnsProperties: {
|
|
50
|
-
* SOA: {
|
|
48
|
+
* Properties: { // PublicDnsNamespaceProperties
|
|
49
|
+
* DnsProperties: { // PublicDnsPropertiesMutable
|
|
50
|
+
* SOA: { // SOA
|
|
51
51
|
* TTL: Number("long"), // required
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
@@ -67,31 +67,31 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
|
|
|
67
67
|
* import { ServiceDiscoveryClient, CreateServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
68
68
|
* // const { ServiceDiscoveryClient, CreateServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
69
69
|
* const client = new ServiceDiscoveryClient(config);
|
|
70
|
-
* const input = {
|
|
70
|
+
* const input = { // CreateServiceRequest
|
|
71
71
|
* Name: "STRING_VALUE", // required
|
|
72
72
|
* NamespaceId: "STRING_VALUE",
|
|
73
73
|
* CreatorRequestId: "STRING_VALUE",
|
|
74
74
|
* Description: "STRING_VALUE",
|
|
75
|
-
* DnsConfig: {
|
|
75
|
+
* DnsConfig: { // DnsConfig
|
|
76
76
|
* NamespaceId: "STRING_VALUE",
|
|
77
77
|
* RoutingPolicy: "MULTIVALUE" || "WEIGHTED",
|
|
78
|
-
* DnsRecords: [ // required
|
|
79
|
-
* {
|
|
78
|
+
* DnsRecords: [ // DnsRecordList // required
|
|
79
|
+
* { // DnsRecord
|
|
80
80
|
* Type: "SRV" || "A" || "AAAA" || "CNAME", // required
|
|
81
81
|
* TTL: Number("long"), // required
|
|
82
82
|
* },
|
|
83
83
|
* ],
|
|
84
84
|
* },
|
|
85
|
-
* HealthCheckConfig: {
|
|
85
|
+
* HealthCheckConfig: { // HealthCheckConfig
|
|
86
86
|
* Type: "HTTP" || "HTTPS" || "TCP", // required
|
|
87
87
|
* ResourcePath: "STRING_VALUE",
|
|
88
88
|
* FailureThreshold: Number("int"),
|
|
89
89
|
* },
|
|
90
|
-
* HealthCheckCustomConfig: {
|
|
90
|
+
* HealthCheckCustomConfig: { // HealthCheckCustomConfig
|
|
91
91
|
* FailureThreshold: Number("int"),
|
|
92
92
|
* },
|
|
93
|
-
* Tags: [
|
|
94
|
-
* {
|
|
93
|
+
* Tags: [ // TagList
|
|
94
|
+
* { // Tag
|
|
95
95
|
* Key: "STRING_VALUE", // required
|
|
96
96
|
* Value: "STRING_VALUE", // required
|
|
97
97
|
* },
|
|
@@ -27,7 +27,7 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
|
|
|
27
27
|
* import { ServiceDiscoveryClient, DeleteNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
28
28
|
* // const { ServiceDiscoveryClient, DeleteNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
29
29
|
* const client = new ServiceDiscoveryClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteNamespaceRequest
|
|
31
31
|
* Id: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteNamespaceCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
|
|
|
27
27
|
* import { ServiceDiscoveryClient, DeleteServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
28
28
|
* // const { ServiceDiscoveryClient, DeleteServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
29
29
|
* const client = new ServiceDiscoveryClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteServiceRequest
|
|
31
31
|
* Id: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteServiceCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeregisterInstanceCommandOutput extends DeregisterInstanceRespo
|
|
|
27
27
|
* import { ServiceDiscoveryClient, DeregisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
28
28
|
* // const { ServiceDiscoveryClient, DeregisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
29
29
|
* const client = new ServiceDiscoveryClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeregisterInstanceRequest
|
|
31
31
|
* ServiceId: "STRING_VALUE", // required
|
|
32
32
|
* InstanceId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -28,11 +28,11 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
|
|
|
28
28
|
* import { ServiceDiscoveryClient, DiscoverInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
29
29
|
* // const { ServiceDiscoveryClient, DiscoverInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
30
30
|
* const client = new ServiceDiscoveryClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DiscoverInstancesRequest
|
|
32
32
|
* NamespaceName: "STRING_VALUE", // required
|
|
33
33
|
* ServiceName: "STRING_VALUE", // required
|
|
34
34
|
* MaxResults: Number("int"),
|
|
35
|
-
* QueryParameters: {
|
|
35
|
+
* QueryParameters: { // Attributes
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* OptionalParameters: {
|
|
@@ -26,7 +26,7 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
|
|
|
26
26
|
* import { ServiceDiscoveryClient, GetInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
27
27
|
* // const { ServiceDiscoveryClient, GetInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
28
28
|
* const client = new ServiceDiscoveryClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetInstanceRequest
|
|
30
30
|
* ServiceId: "STRING_VALUE", // required
|
|
31
31
|
* InstanceId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -32,9 +32,9 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
|
|
|
32
32
|
* import { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
33
33
|
* // const { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
34
34
|
* const client = new ServiceDiscoveryClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // GetInstancesHealthStatusRequest
|
|
36
36
|
* ServiceId: "STRING_VALUE", // required
|
|
37
|
-
* Instances: [
|
|
37
|
+
* Instances: [ // InstanceIdList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* MaxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
|
|
|
26
26
|
* import { ServiceDiscoveryClient, GetNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
27
27
|
* // const { ServiceDiscoveryClient, GetNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
28
28
|
* const client = new ServiceDiscoveryClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetNamespaceRequest
|
|
30
30
|
* Id: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetNamespaceCommand(input);
|
|
@@ -30,7 +30,7 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
|
|
|
30
30
|
* import { ServiceDiscoveryClient, GetOperationCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
|
|
31
31
|
* // const { ServiceDiscoveryClient, GetOperationCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
|
|
32
32
|
* const client = new ServiceDiscoveryClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // GetOperationRequest
|
|
34
34
|
* OperationId: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
36
36
|
* const command = new GetOperationCommand(input);
|