@aws-sdk/client-servicediscovery 3.50.0 → 3.53.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 (59) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ServiceDiscoveryServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +206 -3
  5. package/dist-cjs/protocols/Aws_json1_1.js +246 -841
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ServiceDiscoveryServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +190 -1
  9. package/dist-es/protocols/Aws_json1_1.js +539 -918
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ServiceDiscoveryServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +100 -43
  13. package/dist-types/ts3.4/ServiceDiscovery.d.ts +135 -0
  14. package/dist-types/ts3.4/ServiceDiscoveryClient.d.ts +99 -0
  15. package/dist-types/ts3.4/commands/CreateHttpNamespaceCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreatePrivateDnsNamespaceCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreatePublicDnsNamespaceCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateServiceCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteServiceCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeregisterInstanceCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DiscoverInstancesCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetInstanceCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetInstancesHealthStatusCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetOperationCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListOperationsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/RegisterInstanceCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/UpdateHttpNamespaceCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/UpdatePrivateDnsNamespaceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UpdatePublicDnsNamespaceCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/UpdateServiceCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  42. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  43. package/dist-types/ts3.4/index.d.ts +6 -0
  44. package/dist-types/ts3.4/models/ServiceDiscoveryServiceException.d.ts +6 -0
  45. package/dist-types/ts3.4/models/index.d.ts +1 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +1189 -0
  47. package/dist-types/ts3.4/pagination/GetInstancesHealthStatusPaginator.d.ts +4 -0
  48. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  49. package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/ListOperationsPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  54. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +80 -0
  55. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  56. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  57. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  58. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  59. package/package.json +33 -33
@@ -0,0 +1,1189 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
3
+
4
+ export interface Tag {
5
+
6
+ Key: string | undefined;
7
+
8
+ Value: string | undefined;
9
+ }
10
+ export declare namespace Tag {
11
+
12
+ const filterSensitiveLog: (obj: Tag) => any;
13
+ }
14
+ export interface CreateHttpNamespaceRequest {
15
+
16
+ Name: string | undefined;
17
+
18
+ CreatorRequestId?: string;
19
+
20
+ Description?: string;
21
+
22
+ Tags?: Tag[];
23
+ }
24
+ export declare namespace CreateHttpNamespaceRequest {
25
+
26
+ const filterSensitiveLog: (obj: CreateHttpNamespaceRequest) => any;
27
+ }
28
+ export interface CreateHttpNamespaceResponse {
29
+
30
+ OperationId?: string;
31
+ }
32
+ export declare namespace CreateHttpNamespaceResponse {
33
+
34
+ const filterSensitiveLog: (obj: CreateHttpNamespaceResponse) => any;
35
+ }
36
+
37
+ export declare class DuplicateRequest extends __BaseException {
38
+ readonly name: "DuplicateRequest";
39
+ readonly $fault: "client";
40
+ Message?: string;
41
+
42
+ DuplicateOperationId?: string;
43
+
44
+ constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
45
+ }
46
+
47
+ export declare class InvalidInput extends __BaseException {
48
+ readonly name: "InvalidInput";
49
+ readonly $fault: "client";
50
+ Message?: string;
51
+
52
+ constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
53
+ }
54
+
55
+ export declare class NamespaceAlreadyExists extends __BaseException {
56
+ readonly name: "NamespaceAlreadyExists";
57
+ readonly $fault: "client";
58
+ Message?: string;
59
+
60
+ CreatorRequestId?: string;
61
+
62
+ NamespaceId?: string;
63
+
64
+ constructor(opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>);
65
+ }
66
+
67
+ export declare class ResourceLimitExceeded extends __BaseException {
68
+ readonly name: "ResourceLimitExceeded";
69
+ readonly $fault: "client";
70
+ Message?: string;
71
+
72
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>);
73
+ }
74
+
75
+ export declare class TooManyTagsException extends __BaseException {
76
+ readonly name: "TooManyTagsException";
77
+ readonly $fault: "client";
78
+ Message?: string;
79
+
80
+ ResourceName?: string;
81
+
82
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
83
+ }
84
+
85
+ export interface SOA {
86
+
87
+ TTL: number | undefined;
88
+ }
89
+ export declare namespace SOA {
90
+
91
+ const filterSensitiveLog: (obj: SOA) => any;
92
+ }
93
+
94
+ export interface PrivateDnsPropertiesMutable {
95
+
96
+ SOA: SOA | undefined;
97
+ }
98
+ export declare namespace PrivateDnsPropertiesMutable {
99
+
100
+ const filterSensitiveLog: (obj: PrivateDnsPropertiesMutable) => any;
101
+ }
102
+
103
+ export interface PrivateDnsNamespaceProperties {
104
+
105
+ DnsProperties: PrivateDnsPropertiesMutable | undefined;
106
+ }
107
+ export declare namespace PrivateDnsNamespaceProperties {
108
+
109
+ const filterSensitiveLog: (obj: PrivateDnsNamespaceProperties) => any;
110
+ }
111
+ export interface CreatePrivateDnsNamespaceRequest {
112
+
113
+ Name: string | undefined;
114
+
115
+ CreatorRequestId?: string;
116
+
117
+ Description?: string;
118
+
119
+ Vpc: string | undefined;
120
+
121
+ Tags?: Tag[];
122
+
123
+ Properties?: PrivateDnsNamespaceProperties;
124
+ }
125
+ export declare namespace CreatePrivateDnsNamespaceRequest {
126
+
127
+ const filterSensitiveLog: (obj: CreatePrivateDnsNamespaceRequest) => any;
128
+ }
129
+ export interface CreatePrivateDnsNamespaceResponse {
130
+
131
+ OperationId?: string;
132
+ }
133
+ export declare namespace CreatePrivateDnsNamespaceResponse {
134
+
135
+ const filterSensitiveLog: (obj: CreatePrivateDnsNamespaceResponse) => any;
136
+ }
137
+
138
+ export interface PublicDnsPropertiesMutable {
139
+
140
+ SOA: SOA | undefined;
141
+ }
142
+ export declare namespace PublicDnsPropertiesMutable {
143
+
144
+ const filterSensitiveLog: (obj: PublicDnsPropertiesMutable) => any;
145
+ }
146
+
147
+ export interface PublicDnsNamespaceProperties {
148
+
149
+ DnsProperties: PublicDnsPropertiesMutable | undefined;
150
+ }
151
+ export declare namespace PublicDnsNamespaceProperties {
152
+
153
+ const filterSensitiveLog: (obj: PublicDnsNamespaceProperties) => any;
154
+ }
155
+ export interface CreatePublicDnsNamespaceRequest {
156
+
157
+ Name: string | undefined;
158
+
159
+ CreatorRequestId?: string;
160
+
161
+ Description?: string;
162
+
163
+ Tags?: Tag[];
164
+
165
+ Properties?: PublicDnsNamespaceProperties;
166
+ }
167
+ export declare namespace CreatePublicDnsNamespaceRequest {
168
+
169
+ const filterSensitiveLog: (obj: CreatePublicDnsNamespaceRequest) => any;
170
+ }
171
+ export interface CreatePublicDnsNamespaceResponse {
172
+
173
+ OperationId?: string;
174
+ }
175
+ export declare namespace CreatePublicDnsNamespaceResponse {
176
+
177
+ const filterSensitiveLog: (obj: CreatePublicDnsNamespaceResponse) => any;
178
+ }
179
+ export declare enum RecordType {
180
+ A = "A",
181
+ AAAA = "AAAA",
182
+ CNAME = "CNAME",
183
+ SRV = "SRV"
184
+ }
185
+
186
+ export interface DnsRecord {
187
+
188
+ Type: RecordType | string | undefined;
189
+
190
+ TTL: number | undefined;
191
+ }
192
+ export declare namespace DnsRecord {
193
+
194
+ const filterSensitiveLog: (obj: DnsRecord) => any;
195
+ }
196
+ export declare enum RoutingPolicy {
197
+ MULTIVALUE = "MULTIVALUE",
198
+ WEIGHTED = "WEIGHTED"
199
+ }
200
+
201
+ export interface DnsConfig {
202
+
203
+ NamespaceId?: string;
204
+
205
+ RoutingPolicy?: RoutingPolicy | string;
206
+
207
+ DnsRecords: DnsRecord[] | undefined;
208
+ }
209
+ export declare namespace DnsConfig {
210
+
211
+ const filterSensitiveLog: (obj: DnsConfig) => any;
212
+ }
213
+ export declare enum HealthCheckType {
214
+ HTTP = "HTTP",
215
+ HTTPS = "HTTPS",
216
+ TCP = "TCP"
217
+ }
218
+
219
+ export interface HealthCheckConfig {
220
+
221
+ Type: HealthCheckType | string | undefined;
222
+
223
+ ResourcePath?: string;
224
+
225
+ FailureThreshold?: number;
226
+ }
227
+ export declare namespace HealthCheckConfig {
228
+
229
+ const filterSensitiveLog: (obj: HealthCheckConfig) => any;
230
+ }
231
+
232
+ export interface HealthCheckCustomConfig {
233
+
234
+ FailureThreshold?: number;
235
+ }
236
+ export declare namespace HealthCheckCustomConfig {
237
+
238
+ const filterSensitiveLog: (obj: HealthCheckCustomConfig) => any;
239
+ }
240
+ export declare enum ServiceTypeOption {
241
+ HTTP = "HTTP"
242
+ }
243
+ export interface CreateServiceRequest {
244
+
245
+ Name: string | undefined;
246
+
247
+ NamespaceId?: string;
248
+
249
+ CreatorRequestId?: string;
250
+
251
+ Description?: string;
252
+
253
+ DnsConfig?: DnsConfig;
254
+
255
+ HealthCheckConfig?: HealthCheckConfig;
256
+
257
+ HealthCheckCustomConfig?: HealthCheckCustomConfig;
258
+
259
+ Tags?: Tag[];
260
+
261
+ Type?: ServiceTypeOption | string;
262
+ }
263
+ export declare namespace CreateServiceRequest {
264
+
265
+ const filterSensitiveLog: (obj: CreateServiceRequest) => any;
266
+ }
267
+ export declare enum ServiceType {
268
+ DNS = "DNS",
269
+ DNS_HTTP = "DNS_HTTP",
270
+ HTTP = "HTTP"
271
+ }
272
+
273
+ export interface Service {
274
+
275
+ Id?: string;
276
+
277
+ Arn?: string;
278
+
279
+ Name?: string;
280
+
281
+ NamespaceId?: string;
282
+
283
+ Description?: string;
284
+
285
+ InstanceCount?: number;
286
+
287
+ DnsConfig?: DnsConfig;
288
+
289
+ Type?: ServiceType | string;
290
+
291
+ HealthCheckConfig?: HealthCheckConfig;
292
+
293
+ HealthCheckCustomConfig?: HealthCheckCustomConfig;
294
+
295
+ CreateDate?: Date;
296
+
297
+ CreatorRequestId?: string;
298
+ }
299
+ export declare namespace Service {
300
+
301
+ const filterSensitiveLog: (obj: Service) => any;
302
+ }
303
+ export interface CreateServiceResponse {
304
+
305
+ Service?: Service;
306
+ }
307
+ export declare namespace CreateServiceResponse {
308
+
309
+ const filterSensitiveLog: (obj: CreateServiceResponse) => any;
310
+ }
311
+
312
+ export declare class NamespaceNotFound extends __BaseException {
313
+ readonly name: "NamespaceNotFound";
314
+ readonly $fault: "client";
315
+ Message?: string;
316
+
317
+ constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
318
+ }
319
+
320
+ export declare class ServiceAlreadyExists extends __BaseException {
321
+ readonly name: "ServiceAlreadyExists";
322
+ readonly $fault: "client";
323
+ Message?: string;
324
+
325
+ CreatorRequestId?: string;
326
+
327
+ ServiceId?: string;
328
+
329
+ constructor(opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>);
330
+ }
331
+
332
+ export declare class CustomHealthNotFound extends __BaseException {
333
+ readonly name: "CustomHealthNotFound";
334
+ readonly $fault: "client";
335
+ Message?: string;
336
+
337
+ constructor(opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>);
338
+ }
339
+ export declare enum CustomHealthStatus {
340
+ HEALTHY = "HEALTHY",
341
+ UNHEALTHY = "UNHEALTHY"
342
+ }
343
+ export interface DeleteNamespaceRequest {
344
+
345
+ Id: string | undefined;
346
+ }
347
+ export declare namespace DeleteNamespaceRequest {
348
+
349
+ const filterSensitiveLog: (obj: DeleteNamespaceRequest) => any;
350
+ }
351
+ export interface DeleteNamespaceResponse {
352
+
353
+ OperationId?: string;
354
+ }
355
+ export declare namespace DeleteNamespaceResponse {
356
+
357
+ const filterSensitiveLog: (obj: DeleteNamespaceResponse) => any;
358
+ }
359
+
360
+ export declare class ResourceInUse extends __BaseException {
361
+ readonly name: "ResourceInUse";
362
+ readonly $fault: "client";
363
+ Message?: string;
364
+
365
+ constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
366
+ }
367
+ export interface DeleteServiceRequest {
368
+
369
+ Id: string | undefined;
370
+ }
371
+ export declare namespace DeleteServiceRequest {
372
+
373
+ const filterSensitiveLog: (obj: DeleteServiceRequest) => any;
374
+ }
375
+ export interface DeleteServiceResponse {
376
+ }
377
+ export declare namespace DeleteServiceResponse {
378
+
379
+ const filterSensitiveLog: (obj: DeleteServiceResponse) => any;
380
+ }
381
+
382
+ export declare class ServiceNotFound extends __BaseException {
383
+ readonly name: "ServiceNotFound";
384
+ readonly $fault: "client";
385
+ Message?: string;
386
+
387
+ constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
388
+ }
389
+ export interface DeregisterInstanceRequest {
390
+
391
+ ServiceId: string | undefined;
392
+
393
+ InstanceId: string | undefined;
394
+ }
395
+ export declare namespace DeregisterInstanceRequest {
396
+
397
+ const filterSensitiveLog: (obj: DeregisterInstanceRequest) => any;
398
+ }
399
+ export interface DeregisterInstanceResponse {
400
+
401
+ OperationId?: string;
402
+ }
403
+ export declare namespace DeregisterInstanceResponse {
404
+
405
+ const filterSensitiveLog: (obj: DeregisterInstanceResponse) => any;
406
+ }
407
+
408
+ export declare class InstanceNotFound extends __BaseException {
409
+ readonly name: "InstanceNotFound";
410
+ readonly $fault: "client";
411
+ Message?: string;
412
+
413
+ constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
414
+ }
415
+ export declare enum HealthStatusFilter {
416
+ ALL = "ALL",
417
+ HEALTHY = "HEALTHY",
418
+ HEALTHY_OR_ELSE_ALL = "HEALTHY_OR_ELSE_ALL",
419
+ UNHEALTHY = "UNHEALTHY"
420
+ }
421
+ export interface DiscoverInstancesRequest {
422
+
423
+ NamespaceName: string | undefined;
424
+
425
+ ServiceName: string | undefined;
426
+
427
+ MaxResults?: number;
428
+
429
+ QueryParameters?: {
430
+ [key: string]: string;
431
+ };
432
+
433
+ OptionalParameters?: {
434
+ [key: string]: string;
435
+ };
436
+
437
+ HealthStatus?: HealthStatusFilter | string;
438
+ }
439
+ export declare namespace DiscoverInstancesRequest {
440
+
441
+ const filterSensitiveLog: (obj: DiscoverInstancesRequest) => any;
442
+ }
443
+ export declare enum HealthStatus {
444
+ HEALTHY = "HEALTHY",
445
+ UNHEALTHY = "UNHEALTHY",
446
+ UNKNOWN = "UNKNOWN"
447
+ }
448
+
449
+ export interface HttpInstanceSummary {
450
+
451
+ InstanceId?: string;
452
+
453
+ NamespaceName?: string;
454
+
455
+ ServiceName?: string;
456
+
457
+ HealthStatus?: HealthStatus | string;
458
+
459
+ Attributes?: {
460
+ [key: string]: string;
461
+ };
462
+ }
463
+ export declare namespace HttpInstanceSummary {
464
+
465
+ const filterSensitiveLog: (obj: HttpInstanceSummary) => any;
466
+ }
467
+ export interface DiscoverInstancesResponse {
468
+
469
+ Instances?: HttpInstanceSummary[];
470
+ }
471
+ export declare namespace DiscoverInstancesResponse {
472
+
473
+ const filterSensitiveLog: (obj: DiscoverInstancesResponse) => any;
474
+ }
475
+
476
+ export declare class RequestLimitExceeded extends __BaseException {
477
+ readonly name: "RequestLimitExceeded";
478
+ readonly $fault: "client";
479
+ Message?: string;
480
+
481
+ constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
482
+ }
483
+
484
+ export interface DnsConfigChange {
485
+
486
+ DnsRecords: DnsRecord[] | undefined;
487
+ }
488
+ export declare namespace DnsConfigChange {
489
+
490
+ const filterSensitiveLog: (obj: DnsConfigChange) => any;
491
+ }
492
+
493
+ export interface DnsProperties {
494
+
495
+ HostedZoneId?: string;
496
+
497
+ SOA?: SOA;
498
+ }
499
+ export declare namespace DnsProperties {
500
+
501
+ const filterSensitiveLog: (obj: DnsProperties) => any;
502
+ }
503
+ export declare enum FilterCondition {
504
+ BETWEEN = "BETWEEN",
505
+ EQ = "EQ",
506
+ IN = "IN"
507
+ }
508
+ export interface GetInstanceRequest {
509
+
510
+ ServiceId: string | undefined;
511
+
512
+ InstanceId: string | undefined;
513
+ }
514
+ export declare namespace GetInstanceRequest {
515
+
516
+ const filterSensitiveLog: (obj: GetInstanceRequest) => any;
517
+ }
518
+
519
+ export interface Instance {
520
+
521
+ Id: string | undefined;
522
+
523
+ CreatorRequestId?: string;
524
+
525
+ Attributes?: {
526
+ [key: string]: string;
527
+ };
528
+ }
529
+ export declare namespace Instance {
530
+
531
+ const filterSensitiveLog: (obj: Instance) => any;
532
+ }
533
+ export interface GetInstanceResponse {
534
+
535
+ Instance?: Instance;
536
+ }
537
+ export declare namespace GetInstanceResponse {
538
+
539
+ const filterSensitiveLog: (obj: GetInstanceResponse) => any;
540
+ }
541
+ export interface GetInstancesHealthStatusRequest {
542
+
543
+ ServiceId: string | undefined;
544
+
545
+ Instances?: string[];
546
+
547
+ MaxResults?: number;
548
+
549
+ NextToken?: string;
550
+ }
551
+ export declare namespace GetInstancesHealthStatusRequest {
552
+
553
+ const filterSensitiveLog: (obj: GetInstancesHealthStatusRequest) => any;
554
+ }
555
+ export interface GetInstancesHealthStatusResponse {
556
+
557
+ Status?: {
558
+ [key: string]: HealthStatus | string;
559
+ };
560
+
561
+ NextToken?: string;
562
+ }
563
+ export declare namespace GetInstancesHealthStatusResponse {
564
+
565
+ const filterSensitiveLog: (obj: GetInstancesHealthStatusResponse) => any;
566
+ }
567
+ export interface GetNamespaceRequest {
568
+
569
+ Id: string | undefined;
570
+ }
571
+ export declare namespace GetNamespaceRequest {
572
+
573
+ const filterSensitiveLog: (obj: GetNamespaceRequest) => any;
574
+ }
575
+
576
+ export interface HttpProperties {
577
+
578
+ HttpName?: string;
579
+ }
580
+ export declare namespace HttpProperties {
581
+
582
+ const filterSensitiveLog: (obj: HttpProperties) => any;
583
+ }
584
+
585
+ export interface NamespaceProperties {
586
+
587
+ DnsProperties?: DnsProperties;
588
+
589
+ HttpProperties?: HttpProperties;
590
+ }
591
+ export declare namespace NamespaceProperties {
592
+
593
+ const filterSensitiveLog: (obj: NamespaceProperties) => any;
594
+ }
595
+ export declare enum NamespaceType {
596
+ DNS_PRIVATE = "DNS_PRIVATE",
597
+ DNS_PUBLIC = "DNS_PUBLIC",
598
+ HTTP = "HTTP"
599
+ }
600
+
601
+ export interface Namespace {
602
+
603
+ Id?: string;
604
+
605
+ Arn?: string;
606
+
607
+ Name?: string;
608
+
609
+ Type?: NamespaceType | string;
610
+
611
+ Description?: string;
612
+
613
+ ServiceCount?: number;
614
+
615
+ Properties?: NamespaceProperties;
616
+
617
+ CreateDate?: Date;
618
+
619
+ CreatorRequestId?: string;
620
+ }
621
+ export declare namespace Namespace {
622
+
623
+ const filterSensitiveLog: (obj: Namespace) => any;
624
+ }
625
+ export interface GetNamespaceResponse {
626
+
627
+ Namespace?: Namespace;
628
+ }
629
+ export declare namespace GetNamespaceResponse {
630
+
631
+ const filterSensitiveLog: (obj: GetNamespaceResponse) => any;
632
+ }
633
+ export interface GetOperationRequest {
634
+
635
+ OperationId: string | undefined;
636
+ }
637
+ export declare namespace GetOperationRequest {
638
+
639
+ const filterSensitiveLog: (obj: GetOperationRequest) => any;
640
+ }
641
+ export declare enum OperationStatus {
642
+ FAIL = "FAIL",
643
+ PENDING = "PENDING",
644
+ SUBMITTED = "SUBMITTED",
645
+ SUCCESS = "SUCCESS"
646
+ }
647
+ export declare enum OperationTargetType {
648
+ INSTANCE = "INSTANCE",
649
+ NAMESPACE = "NAMESPACE",
650
+ SERVICE = "SERVICE"
651
+ }
652
+ export declare enum OperationType {
653
+ CREATE_NAMESPACE = "CREATE_NAMESPACE",
654
+ DELETE_NAMESPACE = "DELETE_NAMESPACE",
655
+ DEREGISTER_INSTANCE = "DEREGISTER_INSTANCE",
656
+ REGISTER_INSTANCE = "REGISTER_INSTANCE",
657
+ UPDATE_NAMESPACE = "UPDATE_NAMESPACE",
658
+ UPDATE_SERVICE = "UPDATE_SERVICE"
659
+ }
660
+
661
+ export interface Operation {
662
+
663
+ Id?: string;
664
+
665
+ Type?: OperationType | string;
666
+
667
+ Status?: OperationStatus | string;
668
+
669
+ ErrorMessage?: string;
670
+
671
+ ErrorCode?: string;
672
+
673
+ CreateDate?: Date;
674
+
675
+ UpdateDate?: Date;
676
+
677
+ Targets?: {
678
+ [key: string]: string;
679
+ };
680
+ }
681
+ export declare namespace Operation {
682
+
683
+ const filterSensitiveLog: (obj: Operation) => any;
684
+ }
685
+ export interface GetOperationResponse {
686
+
687
+ Operation?: Operation;
688
+ }
689
+ export declare namespace GetOperationResponse {
690
+
691
+ const filterSensitiveLog: (obj: GetOperationResponse) => any;
692
+ }
693
+
694
+ export declare class OperationNotFound extends __BaseException {
695
+ readonly name: "OperationNotFound";
696
+ readonly $fault: "client";
697
+ Message?: string;
698
+
699
+ constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
700
+ }
701
+ export interface GetServiceRequest {
702
+
703
+ Id: string | undefined;
704
+ }
705
+ export declare namespace GetServiceRequest {
706
+
707
+ const filterSensitiveLog: (obj: GetServiceRequest) => any;
708
+ }
709
+ export interface GetServiceResponse {
710
+
711
+ Service?: Service;
712
+ }
713
+ export declare namespace GetServiceResponse {
714
+
715
+ const filterSensitiveLog: (obj: GetServiceResponse) => any;
716
+ }
717
+
718
+ export interface HttpNamespaceChange {
719
+
720
+ Description: string | undefined;
721
+ }
722
+ export declare namespace HttpNamespaceChange {
723
+
724
+ const filterSensitiveLog: (obj: HttpNamespaceChange) => any;
725
+ }
726
+
727
+ export interface InstanceSummary {
728
+
729
+ Id?: string;
730
+
731
+ Attributes?: {
732
+ [key: string]: string;
733
+ };
734
+ }
735
+ export declare namespace InstanceSummary {
736
+
737
+ const filterSensitiveLog: (obj: InstanceSummary) => any;
738
+ }
739
+ export interface ListInstancesRequest {
740
+
741
+ ServiceId: string | undefined;
742
+
743
+ NextToken?: string;
744
+
745
+ MaxResults?: number;
746
+ }
747
+ export declare namespace ListInstancesRequest {
748
+
749
+ const filterSensitiveLog: (obj: ListInstancesRequest) => any;
750
+ }
751
+ export interface ListInstancesResponse {
752
+
753
+ Instances?: InstanceSummary[];
754
+
755
+ NextToken?: string;
756
+ }
757
+ export declare namespace ListInstancesResponse {
758
+
759
+ const filterSensitiveLog: (obj: ListInstancesResponse) => any;
760
+ }
761
+ export declare enum NamespaceFilterName {
762
+ TYPE = "TYPE"
763
+ }
764
+
765
+ export interface NamespaceFilter {
766
+
767
+ Name: NamespaceFilterName | string | undefined;
768
+
769
+ Values: string[] | undefined;
770
+
771
+ Condition?: FilterCondition | string;
772
+ }
773
+ export declare namespace NamespaceFilter {
774
+
775
+ const filterSensitiveLog: (obj: NamespaceFilter) => any;
776
+ }
777
+ export interface ListNamespacesRequest {
778
+
779
+ NextToken?: string;
780
+
781
+ MaxResults?: number;
782
+
783
+ Filters?: NamespaceFilter[];
784
+ }
785
+ export declare namespace ListNamespacesRequest {
786
+
787
+ const filterSensitiveLog: (obj: ListNamespacesRequest) => any;
788
+ }
789
+
790
+ export interface NamespaceSummary {
791
+
792
+ Id?: string;
793
+
794
+ Arn?: string;
795
+
796
+ Name?: string;
797
+
798
+ Type?: NamespaceType | string;
799
+
800
+ Description?: string;
801
+
802
+ ServiceCount?: number;
803
+
804
+ Properties?: NamespaceProperties;
805
+
806
+ CreateDate?: Date;
807
+ }
808
+ export declare namespace NamespaceSummary {
809
+
810
+ const filterSensitiveLog: (obj: NamespaceSummary) => any;
811
+ }
812
+ export interface ListNamespacesResponse {
813
+
814
+ Namespaces?: NamespaceSummary[];
815
+
816
+ NextToken?: string;
817
+ }
818
+ export declare namespace ListNamespacesResponse {
819
+
820
+ const filterSensitiveLog: (obj: ListNamespacesResponse) => any;
821
+ }
822
+ export declare enum OperationFilterName {
823
+ NAMESPACE_ID = "NAMESPACE_ID",
824
+ SERVICE_ID = "SERVICE_ID",
825
+ STATUS = "STATUS",
826
+ TYPE = "TYPE",
827
+ UPDATE_DATE = "UPDATE_DATE"
828
+ }
829
+
830
+ export interface OperationFilter {
831
+
832
+ Name: OperationFilterName | string | undefined;
833
+
834
+ Values: string[] | undefined;
835
+
836
+ Condition?: FilterCondition | string;
837
+ }
838
+ export declare namespace OperationFilter {
839
+
840
+ const filterSensitiveLog: (obj: OperationFilter) => any;
841
+ }
842
+ export interface ListOperationsRequest {
843
+
844
+ NextToken?: string;
845
+
846
+ MaxResults?: number;
847
+
848
+ Filters?: OperationFilter[];
849
+ }
850
+ export declare namespace ListOperationsRequest {
851
+
852
+ const filterSensitiveLog: (obj: ListOperationsRequest) => any;
853
+ }
854
+
855
+ export interface OperationSummary {
856
+
857
+ Id?: string;
858
+
859
+ Status?: OperationStatus | string;
860
+ }
861
+ export declare namespace OperationSummary {
862
+
863
+ const filterSensitiveLog: (obj: OperationSummary) => any;
864
+ }
865
+ export interface ListOperationsResponse {
866
+
867
+ Operations?: OperationSummary[];
868
+
869
+ NextToken?: string;
870
+ }
871
+ export declare namespace ListOperationsResponse {
872
+
873
+ const filterSensitiveLog: (obj: ListOperationsResponse) => any;
874
+ }
875
+ export declare enum ServiceFilterName {
876
+ NAMESPACE_ID = "NAMESPACE_ID"
877
+ }
878
+
879
+ export interface ServiceFilter {
880
+
881
+ Name: ServiceFilterName | string | undefined;
882
+
883
+ Values: string[] | undefined;
884
+
885
+ Condition?: FilterCondition | string;
886
+ }
887
+ export declare namespace ServiceFilter {
888
+
889
+ const filterSensitiveLog: (obj: ServiceFilter) => any;
890
+ }
891
+ export interface ListServicesRequest {
892
+
893
+ NextToken?: string;
894
+
895
+ MaxResults?: number;
896
+
897
+ Filters?: ServiceFilter[];
898
+ }
899
+ export declare namespace ListServicesRequest {
900
+
901
+ const filterSensitiveLog: (obj: ListServicesRequest) => any;
902
+ }
903
+
904
+ export interface ServiceSummary {
905
+
906
+ Id?: string;
907
+
908
+ Arn?: string;
909
+
910
+ Name?: string;
911
+
912
+ Type?: ServiceType | string;
913
+
914
+ Description?: string;
915
+
916
+ InstanceCount?: number;
917
+
918
+ DnsConfig?: DnsConfig;
919
+
920
+ HealthCheckConfig?: HealthCheckConfig;
921
+
922
+ HealthCheckCustomConfig?: HealthCheckCustomConfig;
923
+
924
+ CreateDate?: Date;
925
+ }
926
+ export declare namespace ServiceSummary {
927
+
928
+ const filterSensitiveLog: (obj: ServiceSummary) => any;
929
+ }
930
+ export interface ListServicesResponse {
931
+
932
+ Services?: ServiceSummary[];
933
+
934
+ NextToken?: string;
935
+ }
936
+ export declare namespace ListServicesResponse {
937
+
938
+ const filterSensitiveLog: (obj: ListServicesResponse) => any;
939
+ }
940
+ export interface ListTagsForResourceRequest {
941
+
942
+ ResourceARN: string | undefined;
943
+ }
944
+ export declare namespace ListTagsForResourceRequest {
945
+
946
+ const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
947
+ }
948
+ export interface ListTagsForResourceResponse {
949
+
950
+ Tags?: Tag[];
951
+ }
952
+ export declare namespace ListTagsForResourceResponse {
953
+
954
+ const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
955
+ }
956
+
957
+ export declare class ResourceNotFoundException extends __BaseException {
958
+ readonly name: "ResourceNotFoundException";
959
+ readonly $fault: "client";
960
+ Message?: string;
961
+
962
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
963
+ }
964
+
965
+ export interface SOAChange {
966
+
967
+ TTL: number | undefined;
968
+ }
969
+ export declare namespace SOAChange {
970
+
971
+ const filterSensitiveLog: (obj: SOAChange) => any;
972
+ }
973
+
974
+ export interface PrivateDnsPropertiesMutableChange {
975
+
976
+ SOA: SOAChange | undefined;
977
+ }
978
+ export declare namespace PrivateDnsPropertiesMutableChange {
979
+
980
+ const filterSensitiveLog: (obj: PrivateDnsPropertiesMutableChange) => any;
981
+ }
982
+
983
+ export interface PrivateDnsNamespacePropertiesChange {
984
+
985
+ DnsProperties: PrivateDnsPropertiesMutableChange | undefined;
986
+ }
987
+ export declare namespace PrivateDnsNamespacePropertiesChange {
988
+
989
+ const filterSensitiveLog: (obj: PrivateDnsNamespacePropertiesChange) => any;
990
+ }
991
+
992
+ export interface PrivateDnsNamespaceChange {
993
+
994
+ Description?: string;
995
+
996
+ Properties?: PrivateDnsNamespacePropertiesChange;
997
+ }
998
+ export declare namespace PrivateDnsNamespaceChange {
999
+
1000
+ const filterSensitiveLog: (obj: PrivateDnsNamespaceChange) => any;
1001
+ }
1002
+
1003
+ export interface PublicDnsPropertiesMutableChange {
1004
+
1005
+ SOA: SOAChange | undefined;
1006
+ }
1007
+ export declare namespace PublicDnsPropertiesMutableChange {
1008
+
1009
+ const filterSensitiveLog: (obj: PublicDnsPropertiesMutableChange) => any;
1010
+ }
1011
+
1012
+ export interface PublicDnsNamespacePropertiesChange {
1013
+
1014
+ DnsProperties: PublicDnsPropertiesMutableChange | undefined;
1015
+ }
1016
+ export declare namespace PublicDnsNamespacePropertiesChange {
1017
+
1018
+ const filterSensitiveLog: (obj: PublicDnsNamespacePropertiesChange) => any;
1019
+ }
1020
+
1021
+ export interface PublicDnsNamespaceChange {
1022
+
1023
+ Description?: string;
1024
+
1025
+ Properties?: PublicDnsNamespacePropertiesChange;
1026
+ }
1027
+ export declare namespace PublicDnsNamespaceChange {
1028
+
1029
+ const filterSensitiveLog: (obj: PublicDnsNamespaceChange) => any;
1030
+ }
1031
+ export interface RegisterInstanceRequest {
1032
+
1033
+ ServiceId: string | undefined;
1034
+
1035
+ InstanceId: string | undefined;
1036
+
1037
+ CreatorRequestId?: string;
1038
+
1039
+ Attributes: {
1040
+ [key: string]: string;
1041
+ } | undefined;
1042
+ }
1043
+ export declare namespace RegisterInstanceRequest {
1044
+
1045
+ const filterSensitiveLog: (obj: RegisterInstanceRequest) => any;
1046
+ }
1047
+ export interface RegisterInstanceResponse {
1048
+
1049
+ OperationId?: string;
1050
+ }
1051
+ export declare namespace RegisterInstanceResponse {
1052
+
1053
+ const filterSensitiveLog: (obj: RegisterInstanceResponse) => any;
1054
+ }
1055
+ export interface TagResourceRequest {
1056
+
1057
+ ResourceARN: string | undefined;
1058
+
1059
+ Tags: Tag[] | undefined;
1060
+ }
1061
+ export declare namespace TagResourceRequest {
1062
+
1063
+ const filterSensitiveLog: (obj: TagResourceRequest) => any;
1064
+ }
1065
+ export interface TagResourceResponse {
1066
+ }
1067
+ export declare namespace TagResourceResponse {
1068
+
1069
+ const filterSensitiveLog: (obj: TagResourceResponse) => any;
1070
+ }
1071
+ export interface UntagResourceRequest {
1072
+
1073
+ ResourceARN: string | undefined;
1074
+
1075
+ TagKeys: string[] | undefined;
1076
+ }
1077
+ export declare namespace UntagResourceRequest {
1078
+
1079
+ const filterSensitiveLog: (obj: UntagResourceRequest) => any;
1080
+ }
1081
+ export interface UntagResourceResponse {
1082
+ }
1083
+ export declare namespace UntagResourceResponse {
1084
+
1085
+ const filterSensitiveLog: (obj: UntagResourceResponse) => any;
1086
+ }
1087
+ export interface UpdateHttpNamespaceRequest {
1088
+
1089
+ Id: string | undefined;
1090
+
1091
+ UpdaterRequestId?: string;
1092
+
1093
+ Namespace: HttpNamespaceChange | undefined;
1094
+ }
1095
+ export declare namespace UpdateHttpNamespaceRequest {
1096
+
1097
+ const filterSensitiveLog: (obj: UpdateHttpNamespaceRequest) => any;
1098
+ }
1099
+ export interface UpdateHttpNamespaceResponse {
1100
+
1101
+ OperationId?: string;
1102
+ }
1103
+ export declare namespace UpdateHttpNamespaceResponse {
1104
+
1105
+ const filterSensitiveLog: (obj: UpdateHttpNamespaceResponse) => any;
1106
+ }
1107
+ export interface UpdateInstanceCustomHealthStatusRequest {
1108
+
1109
+ ServiceId: string | undefined;
1110
+
1111
+ InstanceId: string | undefined;
1112
+
1113
+ Status: CustomHealthStatus | string | undefined;
1114
+ }
1115
+ export declare namespace UpdateInstanceCustomHealthStatusRequest {
1116
+
1117
+ const filterSensitiveLog: (obj: UpdateInstanceCustomHealthStatusRequest) => any;
1118
+ }
1119
+ export interface UpdatePrivateDnsNamespaceRequest {
1120
+
1121
+ Id: string | undefined;
1122
+
1123
+ UpdaterRequestId?: string;
1124
+
1125
+ Namespace: PrivateDnsNamespaceChange | undefined;
1126
+ }
1127
+ export declare namespace UpdatePrivateDnsNamespaceRequest {
1128
+
1129
+ const filterSensitiveLog: (obj: UpdatePrivateDnsNamespaceRequest) => any;
1130
+ }
1131
+ export interface UpdatePrivateDnsNamespaceResponse {
1132
+
1133
+ OperationId?: string;
1134
+ }
1135
+ export declare namespace UpdatePrivateDnsNamespaceResponse {
1136
+
1137
+ const filterSensitiveLog: (obj: UpdatePrivateDnsNamespaceResponse) => any;
1138
+ }
1139
+ export interface UpdatePublicDnsNamespaceRequest {
1140
+
1141
+ Id: string | undefined;
1142
+
1143
+ UpdaterRequestId?: string;
1144
+
1145
+ Namespace: PublicDnsNamespaceChange | undefined;
1146
+ }
1147
+ export declare namespace UpdatePublicDnsNamespaceRequest {
1148
+
1149
+ const filterSensitiveLog: (obj: UpdatePublicDnsNamespaceRequest) => any;
1150
+ }
1151
+ export interface UpdatePublicDnsNamespaceResponse {
1152
+
1153
+ OperationId?: string;
1154
+ }
1155
+ export declare namespace UpdatePublicDnsNamespaceResponse {
1156
+
1157
+ const filterSensitiveLog: (obj: UpdatePublicDnsNamespaceResponse) => any;
1158
+ }
1159
+
1160
+ export interface ServiceChange {
1161
+
1162
+ Description?: string;
1163
+
1164
+ DnsConfig?: DnsConfigChange;
1165
+
1166
+ HealthCheckConfig?: HealthCheckConfig;
1167
+ }
1168
+ export declare namespace ServiceChange {
1169
+
1170
+ const filterSensitiveLog: (obj: ServiceChange) => any;
1171
+ }
1172
+ export interface UpdateServiceRequest {
1173
+
1174
+ Id: string | undefined;
1175
+
1176
+ Service: ServiceChange | undefined;
1177
+ }
1178
+ export declare namespace UpdateServiceRequest {
1179
+
1180
+ const filterSensitiveLog: (obj: UpdateServiceRequest) => any;
1181
+ }
1182
+ export interface UpdateServiceResponse {
1183
+
1184
+ OperationId?: string;
1185
+ }
1186
+ export declare namespace UpdateServiceResponse {
1187
+
1188
+ const filterSensitiveLog: (obj: UpdateServiceResponse) => any;
1189
+ }