@aws-sdk/client-servicediscovery 3.933.0 → 3.935.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.
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
1
+ import { CustomHealthStatus, FilterCondition, HealthCheckType, HealthStatus, HealthStatusFilter, NamespaceFilterName, NamespaceType, OperationFilterName, OperationStatus, OperationTargetType, OperationType, RecordType, RoutingPolicy, ServiceFilterName, ServiceType, ServiceTypeOption } from "./enums";
3
2
  /**
4
3
  * <p>A custom key-value pair that's associated with a resource.</p>
5
4
  * @public
@@ -58,95 +57,6 @@ export interface CreateHttpNamespaceResponse {
58
57
  */
59
58
  OperationId?: string | undefined;
60
59
  }
61
- /**
62
- * <p>The operation is already in progress.</p>
63
- * @public
64
- */
65
- export declare class DuplicateRequest extends __BaseException {
66
- readonly name: "DuplicateRequest";
67
- readonly $fault: "client";
68
- Message?: string | undefined;
69
- /**
70
- * <p>The ID of the operation that's already in progress.</p>
71
- * @public
72
- */
73
- DuplicateOperationId?: string | undefined;
74
- /**
75
- * @internal
76
- */
77
- constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
78
- }
79
- /**
80
- * <p>One or more specified values aren't valid. For example, a required value might be missing, a
81
- * numeric value might be outside the allowed range, or a string value might exceed length
82
- * constraints.</p>
83
- * @public
84
- */
85
- export declare class InvalidInput extends __BaseException {
86
- readonly name: "InvalidInput";
87
- readonly $fault: "client";
88
- Message?: string | undefined;
89
- /**
90
- * @internal
91
- */
92
- constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
93
- }
94
- /**
95
- * <p>The namespace that you're trying to create already exists.</p>
96
- * @public
97
- */
98
- export declare class NamespaceAlreadyExists extends __BaseException {
99
- readonly name: "NamespaceAlreadyExists";
100
- readonly $fault: "client";
101
- Message?: string | undefined;
102
- /**
103
- * <p>The <code>CreatorRequestId</code> that was used to create the namespace.</p>
104
- * @public
105
- */
106
- CreatorRequestId?: string | undefined;
107
- /**
108
- * <p>The ID of the existing namespace.</p>
109
- * @public
110
- */
111
- NamespaceId?: string | undefined;
112
- /**
113
- * @internal
114
- */
115
- constructor(opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>);
116
- }
117
- /**
118
- * <p>The resource can't be created because you've reached the quota on the number of
119
- * resources.</p>
120
- * @public
121
- */
122
- export declare class ResourceLimitExceeded extends __BaseException {
123
- readonly name: "ResourceLimitExceeded";
124
- readonly $fault: "client";
125
- Message?: string | undefined;
126
- /**
127
- * @internal
128
- */
129
- constructor(opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>);
130
- }
131
- /**
132
- * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
133
- * applied to a resource is 50.</p>
134
- * @public
135
- */
136
- export declare class TooManyTagsException extends __BaseException {
137
- readonly name: "TooManyTagsException";
138
- readonly $fault: "client";
139
- Message?: string | undefined;
140
- /**
141
- * <p>The name of the resource.</p>
142
- * @public
143
- */
144
- ResourceName?: string | undefined;
145
- /**
146
- * @internal
147
- */
148
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
149
- }
150
60
  /**
151
61
  * <p>Start of Authority
152
62
  * (SOA) properties for a public or private DNS namespace.</p>
@@ -318,20 +228,6 @@ export interface CreatePublicDnsNamespaceResponse {
318
228
  */
319
229
  OperationId?: string | undefined;
320
230
  }
321
- /**
322
- * @public
323
- * @enum
324
- */
325
- export declare const RecordType: {
326
- readonly A: "A";
327
- readonly AAAA: "AAAA";
328
- readonly CNAME: "CNAME";
329
- readonly SRV: "SRV";
330
- };
331
- /**
332
- * @public
333
- */
334
- export type RecordType = (typeof RecordType)[keyof typeof RecordType];
335
231
  /**
336
232
  * <p>A complex type that contains information about the Route 53 DNS records that you want
337
233
  * Cloud Map to create when you register an instance.</p>
@@ -492,18 +388,6 @@ export interface DnsRecord {
492
388
  */
493
389
  TTL: number | undefined;
494
390
  }
495
- /**
496
- * @public
497
- * @enum
498
- */
499
- export declare const RoutingPolicy: {
500
- readonly MULTIVALUE: "MULTIVALUE";
501
- readonly WEIGHTED: "WEIGHTED";
502
- };
503
- /**
504
- * @public
505
- */
506
- export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
507
391
  /**
508
392
  * <p>A complex type that contains information about the Amazon Route 53 DNS records that you want
509
393
  * Cloud Map to create when you register an instance.</p>
@@ -575,19 +459,6 @@ export interface DnsConfig {
575
459
  */
576
460
  DnsRecords: DnsRecord[] | undefined;
577
461
  }
578
- /**
579
- * @public
580
- * @enum
581
- */
582
- export declare const HealthCheckType: {
583
- readonly HTTP: "HTTP";
584
- readonly HTTPS: "HTTPS";
585
- readonly TCP: "TCP";
586
- };
587
- /**
588
- * @public
589
- */
590
- export type HealthCheckType = (typeof HealthCheckType)[keyof typeof HealthCheckType];
591
462
  /**
592
463
  * <p>
593
464
  * <i>Public DNS and HTTP namespaces only.</i> A complex type that contains
@@ -788,17 +659,6 @@ export interface HealthCheckCustomConfig {
788
659
  */
789
660
  FailureThreshold?: number | undefined;
790
661
  }
791
- /**
792
- * @public
793
- * @enum
794
- */
795
- export declare const ServiceTypeOption: {
796
- readonly HTTP: "HTTP";
797
- };
798
- /**
799
- * @public
800
- */
801
- export type ServiceTypeOption = (typeof ServiceTypeOption)[keyof typeof ServiceTypeOption];
802
662
  /**
803
663
  * @public
804
664
  */
@@ -900,19 +760,6 @@ export interface CreateServiceRequest {
900
760
  */
901
761
  Type?: ServiceTypeOption | undefined;
902
762
  }
903
- /**
904
- * @public
905
- * @enum
906
- */
907
- export declare const ServiceType: {
908
- readonly DNS: "DNS";
909
- readonly DNS_HTTP: "DNS_HTTP";
910
- readonly HTTP: "HTTP";
911
- };
912
- /**
913
- * @public
914
- */
915
- export type ServiceType = (typeof ServiceType)[keyof typeof ServiceType];
916
763
  /**
917
764
  * <p>A complex type that contains information about the specified service.</p>
918
765
  * @public
@@ -1040,73 +887,6 @@ export interface CreateServiceResponse {
1040
887
  */
1041
888
  Service?: Service | undefined;
1042
889
  }
1043
- /**
1044
- * <p>No namespace exists with the specified ID.</p>
1045
- * @public
1046
- */
1047
- export declare class NamespaceNotFound extends __BaseException {
1048
- readonly name: "NamespaceNotFound";
1049
- readonly $fault: "client";
1050
- Message?: string | undefined;
1051
- /**
1052
- * @internal
1053
- */
1054
- constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
1055
- }
1056
- /**
1057
- * <p>The service can't be created because a service with the same name already exists.</p>
1058
- * @public
1059
- */
1060
- export declare class ServiceAlreadyExists extends __BaseException {
1061
- readonly name: "ServiceAlreadyExists";
1062
- readonly $fault: "client";
1063
- Message?: string | undefined;
1064
- /**
1065
- * <p>The <code>CreatorRequestId</code> that was used to create the service.</p>
1066
- * @public
1067
- */
1068
- CreatorRequestId?: string | undefined;
1069
- /**
1070
- * <p>The ID of the existing service.</p>
1071
- * @public
1072
- */
1073
- ServiceId?: string | undefined;
1074
- /**
1075
- * <p>The ARN of the existing service.</p>
1076
- * @public
1077
- */
1078
- ServiceArn?: string | undefined;
1079
- /**
1080
- * @internal
1081
- */
1082
- constructor(opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>);
1083
- }
1084
- /**
1085
- * <p>The health check for the instance that's specified by <code>ServiceId</code> and
1086
- * <code>InstanceId</code> isn't a custom health check. </p>
1087
- * @public
1088
- */
1089
- export declare class CustomHealthNotFound extends __BaseException {
1090
- readonly name: "CustomHealthNotFound";
1091
- readonly $fault: "client";
1092
- Message?: string | undefined;
1093
- /**
1094
- * @internal
1095
- */
1096
- constructor(opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>);
1097
- }
1098
- /**
1099
- * @public
1100
- * @enum
1101
- */
1102
- export declare const CustomHealthStatus: {
1103
- readonly HEALTHY: "HEALTHY";
1104
- readonly UNHEALTHY: "UNHEALTHY";
1105
- };
1106
- /**
1107
- * @public
1108
- */
1109
- export type CustomHealthStatus = (typeof CustomHealthStatus)[keyof typeof CustomHealthStatus];
1110
890
  /**
1111
891
  * @public
1112
892
  */
@@ -1128,20 +908,6 @@ export interface DeleteNamespaceResponse {
1128
908
  */
1129
909
  OperationId?: string | undefined;
1130
910
  }
1131
- /**
1132
- * <p>The specified resource can't be deleted because it contains other resources. For example,
1133
- * you can't delete a service that contains any instances.</p>
1134
- * @public
1135
- */
1136
- export declare class ResourceInUse extends __BaseException {
1137
- readonly name: "ResourceInUse";
1138
- readonly $fault: "client";
1139
- Message?: string | undefined;
1140
- /**
1141
- * @internal
1142
- */
1143
- constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
1144
- }
1145
911
  /**
1146
912
  * @public
1147
913
  */
@@ -1160,19 +926,6 @@ export interface DeleteServiceRequest {
1160
926
  */
1161
927
  export interface DeleteServiceResponse {
1162
928
  }
1163
- /**
1164
- * <p>No service exists with the specified ID.</p>
1165
- * @public
1166
- */
1167
- export declare class ServiceNotFound extends __BaseException {
1168
- readonly name: "ServiceNotFound";
1169
- readonly $fault: "client";
1170
- Message?: string | undefined;
1171
- /**
1172
- * @internal
1173
- */
1174
- constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
1175
- }
1176
929
  /**
1177
930
  * @public
1178
931
  */
@@ -1225,34 +978,6 @@ export interface DeregisterInstanceResponse {
1225
978
  */
1226
979
  OperationId?: string | undefined;
1227
980
  }
1228
- /**
1229
- * <p>No instance exists with the specified ID, or the instance was recently registered, and
1230
- * information about the instance hasn't propagated yet.</p>
1231
- * @public
1232
- */
1233
- export declare class InstanceNotFound extends __BaseException {
1234
- readonly name: "InstanceNotFound";
1235
- readonly $fault: "client";
1236
- Message?: string | undefined;
1237
- /**
1238
- * @internal
1239
- */
1240
- constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
1241
- }
1242
- /**
1243
- * @public
1244
- * @enum
1245
- */
1246
- export declare const HealthStatusFilter: {
1247
- readonly ALL: "ALL";
1248
- readonly HEALTHY: "HEALTHY";
1249
- readonly HEALTHY_OR_ELSE_ALL: "HEALTHY_OR_ELSE_ALL";
1250
- readonly UNHEALTHY: "UNHEALTHY";
1251
- };
1252
- /**
1253
- * @public
1254
- */
1255
- export type HealthStatusFilter = (typeof HealthStatusFilter)[keyof typeof HealthStatusFilter];
1256
981
  /**
1257
982
  * @public
1258
983
  */
@@ -1328,19 +1053,6 @@ export interface DiscoverInstancesRequest {
1328
1053
  */
1329
1054
  OwnerAccount?: string | undefined;
1330
1055
  }
1331
- /**
1332
- * @public
1333
- * @enum
1334
- */
1335
- export declare const HealthStatus: {
1336
- readonly HEALTHY: "HEALTHY";
1337
- readonly UNHEALTHY: "UNHEALTHY";
1338
- readonly UNKNOWN: "UNKNOWN";
1339
- };
1340
- /**
1341
- * @public
1342
- */
1343
- export type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];
1344
1056
  /**
1345
1057
  * <p>In a response to a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html">DiscoverInstances</a> request,
1346
1058
  * <code>HttpInstanceSummary</code> contains information about one instance that matches the values
@@ -1396,21 +1108,6 @@ export interface DiscoverInstancesResponse {
1396
1108
  */
1397
1109
  InstancesRevision?: number | undefined;
1398
1110
  }
1399
- /**
1400
- * <p>The operation can't be completed because you've reached the quota for the number of
1401
- * requests. For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request throttling quota</a> in the
1402
- * <i>Cloud Map Developer Guide</i>.</p>
1403
- * @public
1404
- */
1405
- export declare class RequestLimitExceeded extends __BaseException {
1406
- readonly name: "RequestLimitExceeded";
1407
- readonly $fault: "client";
1408
- Message?: string | undefined;
1409
- /**
1410
- * @internal
1411
- */
1412
- constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
1413
- }
1414
1111
  /**
1415
1112
  * @public
1416
1113
  */
@@ -1478,20 +1175,6 @@ export interface DnsProperties {
1478
1175
  */
1479
1176
  SOA?: SOA | undefined;
1480
1177
  }
1481
- /**
1482
- * @public
1483
- * @enum
1484
- */
1485
- export declare const FilterCondition: {
1486
- readonly BEGINS_WITH: "BEGINS_WITH";
1487
- readonly BETWEEN: "BETWEEN";
1488
- readonly EQ: "EQ";
1489
- readonly IN: "IN";
1490
- };
1491
- /**
1492
- * @public
1493
- */
1494
- export type FilterCondition = (typeof FilterCondition)[keyof typeof FilterCondition];
1495
1178
  /**
1496
1179
  * @public
1497
1180
  */
@@ -1782,19 +1465,6 @@ export interface NamespaceProperties {
1782
1465
  */
1783
1466
  HttpProperties?: HttpProperties | undefined;
1784
1467
  }
1785
- /**
1786
- * @public
1787
- * @enum
1788
- */
1789
- export declare const NamespaceType: {
1790
- readonly DNS_PRIVATE: "DNS_PRIVATE";
1791
- readonly DNS_PUBLIC: "DNS_PUBLIC";
1792
- readonly HTTP: "HTTP";
1793
- };
1794
- /**
1795
- * @public
1796
- */
1797
- export type NamespaceType = (typeof NamespaceType)[keyof typeof NamespaceType];
1798
1468
  /**
1799
1469
  * <p>A complex type that contains information about a specified namespace.</p>
1800
1470
  * @public
@@ -1902,49 +1572,6 @@ export interface GetOperationRequest {
1902
1572
  */
1903
1573
  OwnerAccount?: string | undefined;
1904
1574
  }
1905
- /**
1906
- * @public
1907
- * @enum
1908
- */
1909
- export declare const OperationStatus: {
1910
- readonly FAIL: "FAIL";
1911
- readonly PENDING: "PENDING";
1912
- readonly SUBMITTED: "SUBMITTED";
1913
- readonly SUCCESS: "SUCCESS";
1914
- };
1915
- /**
1916
- * @public
1917
- */
1918
- export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
1919
- /**
1920
- * @public
1921
- * @enum
1922
- */
1923
- export declare const OperationTargetType: {
1924
- readonly INSTANCE: "INSTANCE";
1925
- readonly NAMESPACE: "NAMESPACE";
1926
- readonly SERVICE: "SERVICE";
1927
- };
1928
- /**
1929
- * @public
1930
- */
1931
- export type OperationTargetType = (typeof OperationTargetType)[keyof typeof OperationTargetType];
1932
- /**
1933
- * @public
1934
- * @enum
1935
- */
1936
- export declare const OperationType: {
1937
- readonly CREATE_NAMESPACE: "CREATE_NAMESPACE";
1938
- readonly DELETE_NAMESPACE: "DELETE_NAMESPACE";
1939
- readonly DEREGISTER_INSTANCE: "DEREGISTER_INSTANCE";
1940
- readonly REGISTER_INSTANCE: "REGISTER_INSTANCE";
1941
- readonly UPDATE_NAMESPACE: "UPDATE_NAMESPACE";
1942
- readonly UPDATE_SERVICE: "UPDATE_SERVICE";
1943
- };
1944
- /**
1945
- * @public
1946
- */
1947
- export type OperationType = (typeof OperationType)[keyof typeof OperationType];
1948
1575
  /**
1949
1576
  * <p>A complex type that contains information about a specified operation.</p>
1950
1577
  * @public
@@ -2083,19 +1710,6 @@ export interface GetOperationResponse {
2083
1710
  */
2084
1711
  Operation?: Operation | undefined;
2085
1712
  }
2086
- /**
2087
- * <p>No operation exists with the specified ID.</p>
2088
- * @public
2089
- */
2090
- export declare class OperationNotFound extends __BaseException {
2091
- readonly name: "OperationNotFound";
2092
- readonly $fault: "client";
2093
- Message?: string | undefined;
2094
- /**
2095
- * @internal
2096
- */
2097
- constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
2098
- }
2099
1713
  /**
2100
1714
  * @public
2101
1715
  */
@@ -2320,20 +1934,6 @@ export interface ListInstancesResponse {
2320
1934
  */
2321
1935
  NextToken?: string | undefined;
2322
1936
  }
2323
- /**
2324
- * @public
2325
- * @enum
2326
- */
2327
- export declare const NamespaceFilterName: {
2328
- readonly HTTP_NAME: "HTTP_NAME";
2329
- readonly NAME: "NAME";
2330
- readonly RESOURCE_OWNER: "RESOURCE_OWNER";
2331
- readonly TYPE: "TYPE";
2332
- };
2333
- /**
2334
- * @public
2335
- */
2336
- export type NamespaceFilterName = (typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
2337
1937
  /**
2338
1938
  * <p>A complex type that identifies the namespaces that you want to list. You can choose to list
2339
1939
  * public or private namespaces.</p>
@@ -2530,21 +2130,6 @@ export interface ListNamespacesResponse {
2530
2130
  */
2531
2131
  NextToken?: string | undefined;
2532
2132
  }
2533
- /**
2534
- * @public
2535
- * @enum
2536
- */
2537
- export declare const OperationFilterName: {
2538
- readonly NAMESPACE_ID: "NAMESPACE_ID";
2539
- readonly SERVICE_ID: "SERVICE_ID";
2540
- readonly STATUS: "STATUS";
2541
- readonly TYPE: "TYPE";
2542
- readonly UPDATE_DATE: "UPDATE_DATE";
2543
- };
2544
- /**
2545
- * @public
2546
- */
2547
- export type OperationFilterName = (typeof OperationFilterName)[keyof typeof OperationFilterName];
2548
2133
  /**
2549
2134
  * <p>A complex type that lets you select the operations that you want to list.</p>
2550
2135
  * @public
@@ -2738,18 +2323,6 @@ export interface ListOperationsResponse {
2738
2323
  */
2739
2324
  NextToken?: string | undefined;
2740
2325
  }
2741
- /**
2742
- * @public
2743
- * @enum
2744
- */
2745
- export declare const ServiceFilterName: {
2746
- readonly NAMESPACE_ID: "NAMESPACE_ID";
2747
- readonly RESOURCE_OWNER: "RESOURCE_OWNER";
2748
- };
2749
- /**
2750
- * @public
2751
- */
2752
- export type ServiceFilterName = (typeof ServiceFilterName)[keyof typeof ServiceFilterName];
2753
2326
  /**
2754
2327
  * <p>A complex type that lets you specify the namespaces that you want to list services
2755
2328
  * for.</p>
@@ -2999,19 +2572,6 @@ export interface ListTagsForResourceResponse {
2999
2572
  */
3000
2573
  Tags?: Tag[] | undefined;
3001
2574
  }
3002
- /**
3003
- * <p>The operation can't be completed because the resource was not found.</p>
3004
- * @public
3005
- */
3006
- export declare class ResourceNotFoundException extends __BaseException {
3007
- readonly name: "ResourceNotFoundException";
3008
- readonly $fault: "client";
3009
- Message?: string | undefined;
3010
- /**
3011
- * @internal
3012
- */
3013
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
3014
- }
3015
2575
  /**
3016
2576
  * <p>Updated Start of
3017
2577
  * Authority (SOA) properties for a public or private DNS namespace.</p>
@@ -3523,20 +3083,6 @@ export interface UpdateServiceResponse {
3523
3083
  */
3524
3084
  OperationId?: string | undefined;
3525
3085
  }
3526
- /**
3527
- * <p>The attribute can't be added to the service because you've exceeded the quota for the number
3528
- * of attributes you can add to a service.</p>
3529
- * @public
3530
- */
3531
- export declare class ServiceAttributesLimitExceededException extends __BaseException {
3532
- readonly name: "ServiceAttributesLimitExceededException";
3533
- readonly $fault: "client";
3534
- Message?: string | undefined;
3535
- /**
3536
- * @internal
3537
- */
3538
- constructor(opts: __ExceptionOptionType<ServiceAttributesLimitExceededException, __BaseException>);
3539
- }
3540
3086
  /**
3541
3087
  * @public
3542
3088
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ServiceDiscoveryExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ServiceDiscoveryServiceException } from "./models/ServiceDiscoveryServiceException";