@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.
Files changed (31) hide show
  1. package/dist-cjs/models/models_0.js +83 -99
  2. package/dist-es/models/models_0.js +83 -99
  3. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +3 -3
  4. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +6 -6
  5. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +6 -6
  6. package/dist-types/commands/CreateServiceCommand.d.ts +8 -8
  7. package/dist-types/commands/DeleteNamespaceCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteServiceCommand.d.ts +1 -1
  9. package/dist-types/commands/DeregisterInstanceCommand.d.ts +1 -1
  10. package/dist-types/commands/DiscoverInstancesCommand.d.ts +2 -2
  11. package/dist-types/commands/GetInstanceCommand.d.ts +1 -1
  12. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +2 -2
  13. package/dist-types/commands/GetNamespaceCommand.d.ts +1 -1
  14. package/dist-types/commands/GetOperationCommand.d.ts +1 -1
  15. package/dist-types/commands/GetServiceCommand.d.ts +1 -1
  16. package/dist-types/commands/ListInstancesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListNamespacesCommand.d.ts +4 -4
  18. package/dist-types/commands/ListOperationsCommand.d.ts +4 -4
  19. package/dist-types/commands/ListServicesCommand.d.ts +4 -4
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  21. package/dist-types/commands/RegisterInstanceCommand.d.ts +2 -2
  22. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  23. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  24. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -5
  27. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +5 -5
  28. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -6
  29. package/dist-types/models/models_0.d.ts +163 -83
  30. package/dist-types/ts3.4/models/models_0.d.ts +109 -83
  31. 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
- var RecordType;
80
- (function (RecordType) {
81
- RecordType["A"] = "A";
82
- RecordType["AAAA"] = "AAAA";
83
- RecordType["CNAME"] = "CNAME";
84
- RecordType["SRV"] = "SRV";
85
- })(RecordType = exports.RecordType || (exports.RecordType = {}));
86
- var RoutingPolicy;
87
- (function (RoutingPolicy) {
88
- RoutingPolicy["MULTIVALUE"] = "MULTIVALUE";
89
- RoutingPolicy["WEIGHTED"] = "WEIGHTED";
90
- })(RoutingPolicy = exports.RoutingPolicy || (exports.RoutingPolicy = {}));
91
- var HealthCheckType;
92
- (function (HealthCheckType) {
93
- HealthCheckType["HTTP"] = "HTTP";
94
- HealthCheckType["HTTPS"] = "HTTPS";
95
- HealthCheckType["TCP"] = "TCP";
96
- })(HealthCheckType = exports.HealthCheckType || (exports.HealthCheckType = {}));
97
- var ServiceTypeOption;
98
- (function (ServiceTypeOption) {
99
- ServiceTypeOption["HTTP"] = "HTTP";
100
- })(ServiceTypeOption = exports.ServiceTypeOption || (exports.ServiceTypeOption = {}));
101
- var ServiceType;
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
- var CustomHealthStatus;
152
- (function (CustomHealthStatus) {
153
- CustomHealthStatus["HEALTHY"] = "HEALTHY";
154
- CustomHealthStatus["UNHEALTHY"] = "UNHEALTHY";
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
- var HealthStatusFilter;
199
- (function (HealthStatusFilter) {
200
- HealthStatusFilter["ALL"] = "ALL";
201
- HealthStatusFilter["HEALTHY"] = "HEALTHY";
202
- HealthStatusFilter["HEALTHY_OR_ELSE_ALL"] = "HEALTHY_OR_ELSE_ALL";
203
- HealthStatusFilter["UNHEALTHY"] = "UNHEALTHY";
204
- })(HealthStatusFilter = exports.HealthStatusFilter || (exports.HealthStatusFilter = {}));
205
- var HealthStatus;
206
- (function (HealthStatus) {
207
- HealthStatus["HEALTHY"] = "HEALTHY";
208
- HealthStatus["UNHEALTHY"] = "UNHEALTHY";
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
- var FilterCondition;
226
- (function (FilterCondition) {
227
- FilterCondition["BEGINS_WITH"] = "BEGINS_WITH";
228
- FilterCondition["BETWEEN"] = "BETWEEN";
229
- FilterCondition["EQ"] = "EQ";
230
- FilterCondition["IN"] = "IN";
231
- })(FilterCondition = exports.FilterCondition || (exports.FilterCondition = {}));
232
- var NamespaceType;
233
- (function (NamespaceType) {
234
- NamespaceType["DNS_PRIVATE"] = "DNS_PRIVATE";
235
- NamespaceType["DNS_PUBLIC"] = "DNS_PUBLIC";
236
- NamespaceType["HTTP"] = "HTTP";
237
- })(NamespaceType = exports.NamespaceType || (exports.NamespaceType = {}));
238
- var OperationStatus;
239
- (function (OperationStatus) {
240
- OperationStatus["FAIL"] = "FAIL";
241
- OperationStatus["PENDING"] = "PENDING";
242
- OperationStatus["SUBMITTED"] = "SUBMITTED";
243
- OperationStatus["SUCCESS"] = "SUCCESS";
244
- })(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
245
- var OperationTargetType;
246
- (function (OperationTargetType) {
247
- OperationTargetType["INSTANCE"] = "INSTANCE";
248
- OperationTargetType["NAMESPACE"] = "NAMESPACE";
249
- OperationTargetType["SERVICE"] = "SERVICE";
250
- })(OperationTargetType = exports.OperationTargetType || (exports.OperationTargetType = {}));
251
- var OperationType;
252
- (function (OperationType) {
253
- OperationType["CREATE_NAMESPACE"] = "CREATE_NAMESPACE";
254
- OperationType["DELETE_NAMESPACE"] = "DELETE_NAMESPACE";
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
- var NamespaceFilterName;
275
- (function (NamespaceFilterName) {
276
- NamespaceFilterName["HTTP_NAME"] = "HTTP_NAME";
277
- NamespaceFilterName["NAME"] = "NAME";
278
- NamespaceFilterName["TYPE"] = "TYPE";
279
- })(NamespaceFilterName = exports.NamespaceFilterName || (exports.NamespaceFilterName = {}));
280
- var OperationFilterName;
281
- (function (OperationFilterName) {
282
- OperationFilterName["NAMESPACE_ID"] = "NAMESPACE_ID";
283
- OperationFilterName["SERVICE_ID"] = "SERVICE_ID";
284
- OperationFilterName["STATUS"] = "STATUS";
285
- OperationFilterName["TYPE"] = "TYPE";
286
- OperationFilterName["UPDATE_DATE"] = "UPDATE_DATE";
287
- })(OperationFilterName = exports.OperationFilterName || (exports.OperationFilterName = {}));
288
- var ServiceFilterName;
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 var RecordType;
72
- (function (RecordType) {
73
- RecordType["A"] = "A";
74
- RecordType["AAAA"] = "AAAA";
75
- RecordType["CNAME"] = "CNAME";
76
- RecordType["SRV"] = "SRV";
77
- })(RecordType || (RecordType = {}));
78
- export var RoutingPolicy;
79
- (function (RoutingPolicy) {
80
- RoutingPolicy["MULTIVALUE"] = "MULTIVALUE";
81
- RoutingPolicy["WEIGHTED"] = "WEIGHTED";
82
- })(RoutingPolicy || (RoutingPolicy = {}));
83
- export var HealthCheckType;
84
- (function (HealthCheckType) {
85
- HealthCheckType["HTTP"] = "HTTP";
86
- HealthCheckType["HTTPS"] = "HTTPS";
87
- HealthCheckType["TCP"] = "TCP";
88
- })(HealthCheckType || (HealthCheckType = {}));
89
- export var ServiceTypeOption;
90
- (function (ServiceTypeOption) {
91
- ServiceTypeOption["HTTP"] = "HTTP";
92
- })(ServiceTypeOption || (ServiceTypeOption = {}));
93
- export var ServiceType;
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 var CustomHealthStatus;
141
- (function (CustomHealthStatus) {
142
- CustomHealthStatus["HEALTHY"] = "HEALTHY";
143
- CustomHealthStatus["UNHEALTHY"] = "UNHEALTHY";
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 var HealthStatusFilter;
185
- (function (HealthStatusFilter) {
186
- HealthStatusFilter["ALL"] = "ALL";
187
- HealthStatusFilter["HEALTHY"] = "HEALTHY";
188
- HealthStatusFilter["HEALTHY_OR_ELSE_ALL"] = "HEALTHY_OR_ELSE_ALL";
189
- HealthStatusFilter["UNHEALTHY"] = "UNHEALTHY";
190
- })(HealthStatusFilter || (HealthStatusFilter = {}));
191
- export var HealthStatus;
192
- (function (HealthStatus) {
193
- HealthStatus["HEALTHY"] = "HEALTHY";
194
- HealthStatus["UNHEALTHY"] = "UNHEALTHY";
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 var FilterCondition;
211
- (function (FilterCondition) {
212
- FilterCondition["BEGINS_WITH"] = "BEGINS_WITH";
213
- FilterCondition["BETWEEN"] = "BETWEEN";
214
- FilterCondition["EQ"] = "EQ";
215
- FilterCondition["IN"] = "IN";
216
- })(FilterCondition || (FilterCondition = {}));
217
- export var NamespaceType;
218
- (function (NamespaceType) {
219
- NamespaceType["DNS_PRIVATE"] = "DNS_PRIVATE";
220
- NamespaceType["DNS_PUBLIC"] = "DNS_PUBLIC";
221
- NamespaceType["HTTP"] = "HTTP";
222
- })(NamespaceType || (NamespaceType = {}));
223
- export var OperationStatus;
224
- (function (OperationStatus) {
225
- OperationStatus["FAIL"] = "FAIL";
226
- OperationStatus["PENDING"] = "PENDING";
227
- OperationStatus["SUBMITTED"] = "SUBMITTED";
228
- OperationStatus["SUCCESS"] = "SUCCESS";
229
- })(OperationStatus || (OperationStatus = {}));
230
- export var OperationTargetType;
231
- (function (OperationTargetType) {
232
- OperationTargetType["INSTANCE"] = "INSTANCE";
233
- OperationTargetType["NAMESPACE"] = "NAMESPACE";
234
- OperationTargetType["SERVICE"] = "SERVICE";
235
- })(OperationTargetType || (OperationTargetType = {}));
236
- export var OperationType;
237
- (function (OperationType) {
238
- OperationType["CREATE_NAMESPACE"] = "CREATE_NAMESPACE";
239
- OperationType["DELETE_NAMESPACE"] = "DELETE_NAMESPACE";
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 var NamespaceFilterName;
259
- (function (NamespaceFilterName) {
260
- NamespaceFilterName["HTTP_NAME"] = "HTTP_NAME";
261
- NamespaceFilterName["NAME"] = "NAME";
262
- NamespaceFilterName["TYPE"] = "TYPE";
263
- })(NamespaceFilterName || (NamespaceFilterName = {}));
264
- export var OperationFilterName;
265
- (function (OperationFilterName) {
266
- OperationFilterName["NAMESPACE_ID"] = "NAMESPACE_ID";
267
- OperationFilterName["SERVICE_ID"] = "SERVICE_ID";
268
- OperationFilterName["STATUS"] = "STATUS";
269
- OperationFilterName["TYPE"] = "TYPE";
270
- OperationFilterName["UPDATE_DATE"] = "UPDATE_DATE";
271
- })(OperationFilterName || (OperationFilterName = {}));
272
- export var ServiceFilterName;
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);