@aws-sdk/client-servicediscovery 3.51.0 → 3.54.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.
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateHttpNamespaceCommandInput, CreateHttpNamespaceCommandOutput } from "./commands/CreateHttpNamespaceCommand";
10
10
  import { CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommandOutput } from "./commands/CreatePrivateDnsNamespaceCommand";
11
11
  import { CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput } from "./commands/CreatePublicDnsNamespaceCommand";
@@ -54,7 +54,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
54
54
  * A function that can calculate the length of a request body.
55
55
  * @internal
56
56
  */
57
- bodyLengthChecker?: (body: any) => number | undefined;
57
+ bodyLengthChecker?: __BodyLengthCalculator;
58
58
  /**
59
59
  * A function that converts a stream into an array of bytes.
60
60
  * @internal
@@ -3,3 +3,4 @@ export * from "./ServiceDiscoveryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceDiscoveryServiceException } from "./models/ServiceDiscoveryServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from ServiceDiscovery service.
4
+ */
5
+ export declare class ServiceDiscoveryServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
2
3
  /**
3
4
  * <p>A custom key-value pair that's associated with a resource.</p>
4
5
  */
@@ -63,30 +64,38 @@ export declare namespace CreateHttpNamespaceResponse {
63
64
  /**
64
65
  * <p>The operation is already in progress.</p>
65
66
  */
66
- export interface DuplicateRequest extends __SmithyException, $MetadataBearer {
67
- name: "DuplicateRequest";
68
- $fault: "client";
67
+ export declare class DuplicateRequest extends __BaseException {
68
+ readonly name: "DuplicateRequest";
69
+ readonly $fault: "client";
69
70
  Message?: string;
70
71
  /**
71
72
  * <p>The ID of the operation that's already in progress.</p>
72
73
  */
73
74
  DuplicateOperationId?: string;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
74
79
  }
75
80
  /**
76
81
  * <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value might
77
82
  * be outside the allowed range, or a string value might exceed length constraints.</p>
78
83
  */
79
- export interface InvalidInput extends __SmithyException, $MetadataBearer {
80
- name: "InvalidInput";
81
- $fault: "client";
84
+ export declare class InvalidInput extends __BaseException {
85
+ readonly name: "InvalidInput";
86
+ readonly $fault: "client";
82
87
  Message?: string;
88
+ /**
89
+ * @internal
90
+ */
91
+ constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
83
92
  }
84
93
  /**
85
94
  * <p>The namespace that you're trying to create already exists.</p>
86
95
  */
87
- export interface NamespaceAlreadyExists extends __SmithyException, $MetadataBearer {
88
- name: "NamespaceAlreadyExists";
89
- $fault: "client";
96
+ export declare class NamespaceAlreadyExists extends __BaseException {
97
+ readonly name: "NamespaceAlreadyExists";
98
+ readonly $fault: "client";
90
99
  Message?: string;
91
100
  /**
92
101
  * <p>The <code>CreatorRequestId</code> that was used to create the namespace.</p>
@@ -96,27 +105,39 @@ export interface NamespaceAlreadyExists extends __SmithyException, $MetadataBear
96
105
  * <p>The ID of the existing namespace.</p>
97
106
  */
98
107
  NamespaceId?: string;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>);
99
112
  }
100
113
  /**
101
114
  * <p>The resource can't be created because you've reached the quota on the number of resources.</p>
102
115
  */
103
- export interface ResourceLimitExceeded extends __SmithyException, $MetadataBearer {
104
- name: "ResourceLimitExceeded";
105
- $fault: "client";
116
+ export declare class ResourceLimitExceeded extends __BaseException {
117
+ readonly name: "ResourceLimitExceeded";
118
+ readonly $fault: "client";
106
119
  Message?: string;
120
+ /**
121
+ * @internal
122
+ */
123
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>);
107
124
  }
108
125
  /**
109
126
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a resource
110
127
  * is 50.</p>
111
128
  */
112
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
113
- name: "TooManyTagsException";
114
- $fault: "client";
129
+ export declare class TooManyTagsException extends __BaseException {
130
+ readonly name: "TooManyTagsException";
131
+ readonly $fault: "client";
115
132
  Message?: string;
116
133
  /**
117
134
  * <p>The name of the resource.</p>
118
135
  */
119
136
  ResourceName?: string;
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
120
141
  }
121
142
  /**
122
143
  * <p>Start of Authority (SOA) properties for a
@@ -917,17 +938,21 @@ export declare namespace CreateServiceResponse {
917
938
  /**
918
939
  * <p>No namespace exists with the specified ID.</p>
919
940
  */
920
- export interface NamespaceNotFound extends __SmithyException, $MetadataBearer {
921
- name: "NamespaceNotFound";
922
- $fault: "client";
941
+ export declare class NamespaceNotFound extends __BaseException {
942
+ readonly name: "NamespaceNotFound";
943
+ readonly $fault: "client";
923
944
  Message?: string;
945
+ /**
946
+ * @internal
947
+ */
948
+ constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
924
949
  }
925
950
  /**
926
951
  * <p>The service can't be created because a service with the same name already exists.</p>
927
952
  */
928
- export interface ServiceAlreadyExists extends __SmithyException, $MetadataBearer {
929
- name: "ServiceAlreadyExists";
930
- $fault: "client";
953
+ export declare class ServiceAlreadyExists extends __BaseException {
954
+ readonly name: "ServiceAlreadyExists";
955
+ readonly $fault: "client";
931
956
  Message?: string;
932
957
  /**
933
958
  * <p>The <code>CreatorRequestId</code> that was used to create the service.</p>
@@ -937,15 +962,23 @@ export interface ServiceAlreadyExists extends __SmithyException, $MetadataBearer
937
962
  * <p>The ID of the existing service.</p>
938
963
  */
939
964
  ServiceId?: string;
965
+ /**
966
+ * @internal
967
+ */
968
+ constructor(opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>);
940
969
  }
941
970
  /**
942
971
  * <p>The health check for the instance that's specified by <code>ServiceId</code> and <code>InstanceId</code> isn't a
943
972
  * custom health check. </p>
944
973
  */
945
- export interface CustomHealthNotFound extends __SmithyException, $MetadataBearer {
946
- name: "CustomHealthNotFound";
947
- $fault: "client";
974
+ export declare class CustomHealthNotFound extends __BaseException {
975
+ readonly name: "CustomHealthNotFound";
976
+ readonly $fault: "client";
948
977
  Message?: string;
978
+ /**
979
+ * @internal
980
+ */
981
+ constructor(opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>);
949
982
  }
950
983
  export declare enum CustomHealthStatus {
951
984
  HEALTHY = "HEALTHY",
@@ -980,10 +1013,14 @@ export declare namespace DeleteNamespaceResponse {
980
1013
  * <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete a
981
1014
  * service that contains any instances.</p>
982
1015
  */
983
- export interface ResourceInUse extends __SmithyException, $MetadataBearer {
984
- name: "ResourceInUse";
985
- $fault: "client";
1016
+ export declare class ResourceInUse extends __BaseException {
1017
+ readonly name: "ResourceInUse";
1018
+ readonly $fault: "client";
986
1019
  Message?: string;
1020
+ /**
1021
+ * @internal
1022
+ */
1023
+ constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
987
1024
  }
988
1025
  export interface DeleteServiceRequest {
989
1026
  /**
@@ -1008,10 +1045,14 @@ export declare namespace DeleteServiceResponse {
1008
1045
  /**
1009
1046
  * <p>No service exists with the specified ID.</p>
1010
1047
  */
1011
- export interface ServiceNotFound extends __SmithyException, $MetadataBearer {
1012
- name: "ServiceNotFound";
1013
- $fault: "client";
1048
+ export declare class ServiceNotFound extends __BaseException {
1049
+ readonly name: "ServiceNotFound";
1050
+ readonly $fault: "client";
1014
1051
  Message?: string;
1052
+ /**
1053
+ * @internal
1054
+ */
1055
+ constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
1015
1056
  }
1016
1057
  export interface DeregisterInstanceRequest {
1017
1058
  /**
@@ -1046,10 +1087,14 @@ export declare namespace DeregisterInstanceResponse {
1046
1087
  * <p>No instance exists with the specified ID, or the instance was recently registered, and information about the
1047
1088
  * instance hasn't propagated yet.</p>
1048
1089
  */
1049
- export interface InstanceNotFound extends __SmithyException, $MetadataBearer {
1050
- name: "InstanceNotFound";
1051
- $fault: "client";
1090
+ export declare class InstanceNotFound extends __BaseException {
1091
+ readonly name: "InstanceNotFound";
1092
+ readonly $fault: "client";
1052
1093
  Message?: string;
1094
+ /**
1095
+ * @internal
1096
+ */
1097
+ constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
1053
1098
  }
1054
1099
  export declare enum HealthStatusFilter {
1055
1100
  ALL = "ALL",
@@ -1184,10 +1229,14 @@ export declare namespace DiscoverInstancesResponse {
1184
1229
  * information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request throttling
1185
1230
  * quota</a> in the <i>Cloud Map Developer Guide</i>.</p>
1186
1231
  */
1187
- export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
1188
- name: "RequestLimitExceeded";
1189
- $fault: "client";
1232
+ export declare class RequestLimitExceeded extends __BaseException {
1233
+ readonly name: "RequestLimitExceeded";
1234
+ readonly $fault: "client";
1190
1235
  Message?: string;
1236
+ /**
1237
+ * @internal
1238
+ */
1239
+ constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
1191
1240
  }
1192
1241
  /**
1193
1242
  * <p>A complex type that contains information about changes to the Route 53 DNS records that Cloud Map creates when you
@@ -1747,10 +1796,14 @@ export declare namespace GetOperationResponse {
1747
1796
  /**
1748
1797
  * <p>No operation exists with the specified ID.</p>
1749
1798
  */
1750
- export interface OperationNotFound extends __SmithyException, $MetadataBearer {
1751
- name: "OperationNotFound";
1752
- $fault: "client";
1799
+ export declare class OperationNotFound extends __BaseException {
1800
+ readonly name: "OperationNotFound";
1801
+ readonly $fault: "client";
1753
1802
  Message?: string;
1803
+ /**
1804
+ * @internal
1805
+ */
1806
+ constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
1754
1807
  }
1755
1808
  export interface GetServiceRequest {
1756
1809
  /**
@@ -2462,10 +2515,14 @@ export declare namespace ListTagsForResourceResponse {
2462
2515
  /**
2463
2516
  * <p>The operation can't be completed because the resource was not found.</p>
2464
2517
  */
2465
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
2466
- name: "ResourceNotFoundException";
2467
- $fault: "client";
2518
+ export declare class ResourceNotFoundException extends __BaseException {
2519
+ readonly name: "ResourceNotFoundException";
2520
+ readonly $fault: "client";
2468
2521
  Message?: string;
2522
+ /**
2523
+ * @internal
2524
+ */
2525
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
2469
2526
  }
2470
2527
  /**
2471
2528
  * <p>Updated Start of Authority (SOA)
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateHttpNamespaceCommandInput, CreateHttpNamespaceCommandOutput } from "./commands/CreateHttpNamespaceCommand";
10
10
  import { CreatePrivateDnsNamespaceCommandInput, CreatePrivateDnsNamespaceCommandOutput } from "./commands/CreatePrivateDnsNamespaceCommand";
11
11
  import { CreatePublicDnsNamespaceCommandInput, CreatePublicDnsNamespaceCommandOutput } from "./commands/CreatePublicDnsNamespaceCommand";
@@ -42,7 +42,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
42
42
 
43
43
  urlParser?: __UrlParser;
44
44
 
45
- bodyLengthChecker?: (body: any) => number | undefined;
45
+ bodyLengthChecker?: __BodyLengthCalculator;
46
46
 
47
47
  streamCollector?: __StreamCollector;
48
48
 
@@ -3,3 +3,4 @@ export * from "./ServiceDiscoveryClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceDiscoveryServiceException } from "./models/ServiceDiscoveryServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ServiceDiscoveryServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServiceDiscoveryServiceException as __BaseException } from "./ServiceDiscoveryServiceException";
2
3
 
3
4
  export interface Tag {
4
5
 
@@ -33,42 +34,52 @@ export declare namespace CreateHttpNamespaceResponse {
33
34
  const filterSensitiveLog: (obj: CreateHttpNamespaceResponse) => any;
34
35
  }
35
36
 
36
- export interface DuplicateRequest extends __SmithyException, $MetadataBearer {
37
- name: "DuplicateRequest";
38
- $fault: "client";
37
+ export declare class DuplicateRequest extends __BaseException {
38
+ readonly name: "DuplicateRequest";
39
+ readonly $fault: "client";
39
40
  Message?: string;
40
41
 
41
42
  DuplicateOperationId?: string;
43
+
44
+ constructor(opts: __ExceptionOptionType<DuplicateRequest, __BaseException>);
42
45
  }
43
46
 
44
- export interface InvalidInput extends __SmithyException, $MetadataBearer {
45
- name: "InvalidInput";
46
- $fault: "client";
47
+ export declare class InvalidInput extends __BaseException {
48
+ readonly name: "InvalidInput";
49
+ readonly $fault: "client";
47
50
  Message?: string;
51
+
52
+ constructor(opts: __ExceptionOptionType<InvalidInput, __BaseException>);
48
53
  }
49
54
 
50
- export interface NamespaceAlreadyExists extends __SmithyException, $MetadataBearer {
51
- name: "NamespaceAlreadyExists";
52
- $fault: "client";
55
+ export declare class NamespaceAlreadyExists extends __BaseException {
56
+ readonly name: "NamespaceAlreadyExists";
57
+ readonly $fault: "client";
53
58
  Message?: string;
54
59
 
55
60
  CreatorRequestId?: string;
56
61
 
57
62
  NamespaceId?: string;
63
+
64
+ constructor(opts: __ExceptionOptionType<NamespaceAlreadyExists, __BaseException>);
58
65
  }
59
66
 
60
- export interface ResourceLimitExceeded extends __SmithyException, $MetadataBearer {
61
- name: "ResourceLimitExceeded";
62
- $fault: "client";
67
+ export declare class ResourceLimitExceeded extends __BaseException {
68
+ readonly name: "ResourceLimitExceeded";
69
+ readonly $fault: "client";
63
70
  Message?: string;
71
+
72
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceeded, __BaseException>);
64
73
  }
65
74
 
66
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
67
- name: "TooManyTagsException";
68
- $fault: "client";
75
+ export declare class TooManyTagsException extends __BaseException {
76
+ readonly name: "TooManyTagsException";
77
+ readonly $fault: "client";
69
78
  Message?: string;
70
79
 
71
80
  ResourceName?: string;
81
+
82
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
72
83
  }
73
84
 
74
85
  export interface SOA {
@@ -298,26 +309,32 @@ export declare namespace CreateServiceResponse {
298
309
  const filterSensitiveLog: (obj: CreateServiceResponse) => any;
299
310
  }
300
311
 
301
- export interface NamespaceNotFound extends __SmithyException, $MetadataBearer {
302
- name: "NamespaceNotFound";
303
- $fault: "client";
312
+ export declare class NamespaceNotFound extends __BaseException {
313
+ readonly name: "NamespaceNotFound";
314
+ readonly $fault: "client";
304
315
  Message?: string;
316
+
317
+ constructor(opts: __ExceptionOptionType<NamespaceNotFound, __BaseException>);
305
318
  }
306
319
 
307
- export interface ServiceAlreadyExists extends __SmithyException, $MetadataBearer {
308
- name: "ServiceAlreadyExists";
309
- $fault: "client";
320
+ export declare class ServiceAlreadyExists extends __BaseException {
321
+ readonly name: "ServiceAlreadyExists";
322
+ readonly $fault: "client";
310
323
  Message?: string;
311
324
 
312
325
  CreatorRequestId?: string;
313
326
 
314
327
  ServiceId?: string;
328
+
329
+ constructor(opts: __ExceptionOptionType<ServiceAlreadyExists, __BaseException>);
315
330
  }
316
331
 
317
- export interface CustomHealthNotFound extends __SmithyException, $MetadataBearer {
318
- name: "CustomHealthNotFound";
319
- $fault: "client";
332
+ export declare class CustomHealthNotFound extends __BaseException {
333
+ readonly name: "CustomHealthNotFound";
334
+ readonly $fault: "client";
320
335
  Message?: string;
336
+
337
+ constructor(opts: __ExceptionOptionType<CustomHealthNotFound, __BaseException>);
321
338
  }
322
339
  export declare enum CustomHealthStatus {
323
340
  HEALTHY = "HEALTHY",
@@ -340,10 +357,12 @@ export declare namespace DeleteNamespaceResponse {
340
357
  const filterSensitiveLog: (obj: DeleteNamespaceResponse) => any;
341
358
  }
342
359
 
343
- export interface ResourceInUse extends __SmithyException, $MetadataBearer {
344
- name: "ResourceInUse";
345
- $fault: "client";
360
+ export declare class ResourceInUse extends __BaseException {
361
+ readonly name: "ResourceInUse";
362
+ readonly $fault: "client";
346
363
  Message?: string;
364
+
365
+ constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
347
366
  }
348
367
  export interface DeleteServiceRequest {
349
368
 
@@ -360,10 +379,12 @@ export declare namespace DeleteServiceResponse {
360
379
  const filterSensitiveLog: (obj: DeleteServiceResponse) => any;
361
380
  }
362
381
 
363
- export interface ServiceNotFound extends __SmithyException, $MetadataBearer {
364
- name: "ServiceNotFound";
365
- $fault: "client";
382
+ export declare class ServiceNotFound extends __BaseException {
383
+ readonly name: "ServiceNotFound";
384
+ readonly $fault: "client";
366
385
  Message?: string;
386
+
387
+ constructor(opts: __ExceptionOptionType<ServiceNotFound, __BaseException>);
367
388
  }
368
389
  export interface DeregisterInstanceRequest {
369
390
 
@@ -384,10 +405,12 @@ export declare namespace DeregisterInstanceResponse {
384
405
  const filterSensitiveLog: (obj: DeregisterInstanceResponse) => any;
385
406
  }
386
407
 
387
- export interface InstanceNotFound extends __SmithyException, $MetadataBearer {
388
- name: "InstanceNotFound";
389
- $fault: "client";
408
+ export declare class InstanceNotFound extends __BaseException {
409
+ readonly name: "InstanceNotFound";
410
+ readonly $fault: "client";
390
411
  Message?: string;
412
+
413
+ constructor(opts: __ExceptionOptionType<InstanceNotFound, __BaseException>);
391
414
  }
392
415
  export declare enum HealthStatusFilter {
393
416
  ALL = "ALL",
@@ -450,10 +473,12 @@ export declare namespace DiscoverInstancesResponse {
450
473
  const filterSensitiveLog: (obj: DiscoverInstancesResponse) => any;
451
474
  }
452
475
 
453
- export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
454
- name: "RequestLimitExceeded";
455
- $fault: "client";
476
+ export declare class RequestLimitExceeded extends __BaseException {
477
+ readonly name: "RequestLimitExceeded";
478
+ readonly $fault: "client";
456
479
  Message?: string;
480
+
481
+ constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
457
482
  }
458
483
 
459
484
  export interface DnsConfigChange {
@@ -666,10 +691,12 @@ export declare namespace GetOperationResponse {
666
691
  const filterSensitiveLog: (obj: GetOperationResponse) => any;
667
692
  }
668
693
 
669
- export interface OperationNotFound extends __SmithyException, $MetadataBearer {
670
- name: "OperationNotFound";
671
- $fault: "client";
694
+ export declare class OperationNotFound extends __BaseException {
695
+ readonly name: "OperationNotFound";
696
+ readonly $fault: "client";
672
697
  Message?: string;
698
+
699
+ constructor(opts: __ExceptionOptionType<OperationNotFound, __BaseException>);
673
700
  }
674
701
  export interface GetServiceRequest {
675
702
 
@@ -927,10 +954,12 @@ export declare namespace ListTagsForResourceResponse {
927
954
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
928
955
  }
929
956
 
930
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
931
- name: "ResourceNotFoundException";
932
- $fault: "client";
957
+ export declare class ResourceNotFoundException extends __BaseException {
958
+ readonly name: "ResourceNotFoundException";
959
+ readonly $fault: "client";
933
960
  Message?: string;
961
+
962
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
934
963
  }
935
964
 
936
965
  export interface SOAChange {
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ServiceDiscoveryClientConfig) =>
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;