@aws-sdk/client-global-accelerator 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 { AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput } from "./commands/AddCustomRoutingEndpointsCommand";
10
10
  import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "./commands/AdvertiseByoipCidrCommand";
11
11
  import { AllowCustomRoutingTrafficCommandInput, AllowCustomRoutingTrafficCommandOutput } from "./commands/AllowCustomRoutingTrafficCommand";
@@ -75,7 +75,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
75
75
  * A function that can calculate the length of a request body.
76
76
  * @internal
77
77
  */
78
- bodyLengthChecker?: (body: any) => number | undefined;
78
+ bodyLengthChecker?: __BodyLengthCalculator;
79
79
  /**
80
80
  * A function that converts a stream into an array of bytes.
81
81
  * @internal
@@ -3,3 +3,4 @@ export * from "./GlobalAcceleratorClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { GlobalAcceleratorServiceException } from "./models/GlobalAcceleratorServiceException";
@@ -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 GlobalAccelerator service.
4
+ */
5
+ export declare class GlobalAcceleratorServiceException 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 { GlobalAcceleratorServiceException as __BaseException } from "./GlobalAcceleratorServiceException";
2
3
  export declare enum IpAddressType {
3
4
  IPV4 = "IPV4"
4
5
  }
@@ -113,26 +114,38 @@ export declare namespace AcceleratorAttributes {
113
114
  /**
114
115
  * <p>The accelerator that you specified could not be disabled.</p>
115
116
  */
116
- export interface AcceleratorNotDisabledException extends __SmithyException, $MetadataBearer {
117
- name: "AcceleratorNotDisabledException";
118
- $fault: "client";
117
+ export declare class AcceleratorNotDisabledException extends __BaseException {
118
+ readonly name: "AcceleratorNotDisabledException";
119
+ readonly $fault: "client";
119
120
  Message?: string;
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<AcceleratorNotDisabledException, __BaseException>);
120
125
  }
121
126
  /**
122
127
  * <p>The accelerator that you specified doesn't exist.</p>
123
128
  */
124
- export interface AcceleratorNotFoundException extends __SmithyException, $MetadataBearer {
125
- name: "AcceleratorNotFoundException";
126
- $fault: "client";
129
+ export declare class AcceleratorNotFoundException extends __BaseException {
130
+ readonly name: "AcceleratorNotFoundException";
131
+ readonly $fault: "client";
127
132
  Message?: string;
133
+ /**
134
+ * @internal
135
+ */
136
+ constructor(opts: __ExceptionOptionType<AcceleratorNotFoundException, __BaseException>);
128
137
  }
129
138
  /**
130
139
  * <p>You don't have access permission.</p>
131
140
  */
132
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
133
- name: "AccessDeniedException";
134
- $fault: "client";
141
+ export declare class AccessDeniedException extends __BaseException {
142
+ readonly name: "AccessDeniedException";
143
+ readonly $fault: "client";
135
144
  Message?: string;
145
+ /**
146
+ * @internal
147
+ */
148
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
136
149
  }
137
150
  /**
138
151
  * <p>The list of endpoint objects. For custom routing, this is a list of virtual private cloud (VPC) subnet IDs.</p>
@@ -202,50 +215,74 @@ export declare namespace AddCustomRoutingEndpointsResponse {
202
215
  /**
203
216
  * <p>You can't use both of those options.</p>
204
217
  */
205
- export interface ConflictException extends __SmithyException, $MetadataBearer {
206
- name: "ConflictException";
207
- $fault: "client";
218
+ export declare class ConflictException extends __BaseException {
219
+ readonly name: "ConflictException";
220
+ readonly $fault: "client";
208
221
  Message?: string;
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
209
226
  }
210
227
  /**
211
228
  * <p>The endpoint that you specified doesn't exist.</p>
212
229
  */
213
- export interface EndpointAlreadyExistsException extends __SmithyException, $MetadataBearer {
214
- name: "EndpointAlreadyExistsException";
215
- $fault: "client";
230
+ export declare class EndpointAlreadyExistsException extends __BaseException {
231
+ readonly name: "EndpointAlreadyExistsException";
232
+ readonly $fault: "client";
216
233
  Message?: string;
234
+ /**
235
+ * @internal
236
+ */
237
+ constructor(opts: __ExceptionOptionType<EndpointAlreadyExistsException, __BaseException>);
217
238
  }
218
239
  /**
219
240
  * <p>The endpoint group that you specified doesn't exist.</p>
220
241
  */
221
- export interface EndpointGroupNotFoundException extends __SmithyException, $MetadataBearer {
222
- name: "EndpointGroupNotFoundException";
223
- $fault: "client";
242
+ export declare class EndpointGroupNotFoundException extends __BaseException {
243
+ readonly name: "EndpointGroupNotFoundException";
244
+ readonly $fault: "client";
224
245
  Message?: string;
246
+ /**
247
+ * @internal
248
+ */
249
+ constructor(opts: __ExceptionOptionType<EndpointGroupNotFoundException, __BaseException>);
225
250
  }
226
251
  /**
227
252
  * <p>There was an internal error for AWS Global Accelerator.</p>
228
253
  */
229
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
230
- name: "InternalServiceErrorException";
231
- $fault: "server";
254
+ export declare class InternalServiceErrorException extends __BaseException {
255
+ readonly name: "InternalServiceErrorException";
256
+ readonly $fault: "server";
232
257
  Message?: string;
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
233
262
  }
234
263
  /**
235
264
  * <p>An argument that you specified is invalid.</p>
236
265
  */
237
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
238
- name: "InvalidArgumentException";
239
- $fault: "client";
266
+ export declare class InvalidArgumentException extends __BaseException {
267
+ readonly name: "InvalidArgumentException";
268
+ readonly $fault: "client";
240
269
  Message?: string;
270
+ /**
271
+ * @internal
272
+ */
273
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
241
274
  }
242
275
  /**
243
276
  * <p>Processing your request would cause you to exceed an AWS Global Accelerator limit.</p>
244
277
  */
245
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
246
- name: "LimitExceededException";
247
- $fault: "client";
278
+ export declare class LimitExceededException extends __BaseException {
279
+ readonly name: "LimitExceededException";
280
+ readonly $fault: "client";
248
281
  Message?: string;
282
+ /**
283
+ * @internal
284
+ */
285
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
249
286
  }
250
287
  export interface AdvertiseByoipCidrRequest {
251
288
  /**
@@ -404,19 +441,27 @@ export declare namespace AdvertiseByoipCidrResponse {
404
441
  /**
405
442
  * <p>The CIDR that you specified was not found or is incorrect.</p>
406
443
  */
407
- export interface ByoipCidrNotFoundException extends __SmithyException, $MetadataBearer {
408
- name: "ByoipCidrNotFoundException";
409
- $fault: "client";
444
+ export declare class ByoipCidrNotFoundException extends __BaseException {
445
+ readonly name: "ByoipCidrNotFoundException";
446
+ readonly $fault: "client";
410
447
  Message?: string;
448
+ /**
449
+ * @internal
450
+ */
451
+ constructor(opts: __ExceptionOptionType<ByoipCidrNotFoundException, __BaseException>);
411
452
  }
412
453
  /**
413
454
  * <p>The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be
414
455
  * incorrect for this action.</p>
415
456
  */
416
- export interface IncorrectCidrStateException extends __SmithyException, $MetadataBearer {
417
- name: "IncorrectCidrStateException";
418
- $fault: "client";
457
+ export declare class IncorrectCidrStateException extends __BaseException {
458
+ readonly name: "IncorrectCidrStateException";
459
+ readonly $fault: "client";
419
460
  Message?: string;
461
+ /**
462
+ * @internal
463
+ */
464
+ constructor(opts: __ExceptionOptionType<IncorrectCidrStateException, __BaseException>);
420
465
  }
421
466
  export interface AllowCustomRoutingTrafficRequest {
422
467
  /**
@@ -461,19 +506,27 @@ export declare namespace AllowCustomRoutingTrafficRequest {
461
506
  * <p>The listener that you specified has an endpoint group associated with it. You must remove all dependent resources
462
507
  * from a listener before you can delete it.</p>
463
508
  */
464
- export interface AssociatedEndpointGroupFoundException extends __SmithyException, $MetadataBearer {
465
- name: "AssociatedEndpointGroupFoundException";
466
- $fault: "client";
509
+ export declare class AssociatedEndpointGroupFoundException extends __BaseException {
510
+ readonly name: "AssociatedEndpointGroupFoundException";
511
+ readonly $fault: "client";
467
512
  Message?: string;
513
+ /**
514
+ * @internal
515
+ */
516
+ constructor(opts: __ExceptionOptionType<AssociatedEndpointGroupFoundException, __BaseException>);
468
517
  }
469
518
  /**
470
519
  * <p>The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an
471
520
  * accelerator before you can delete it.</p>
472
521
  */
473
- export interface AssociatedListenerFoundException extends __SmithyException, $MetadataBearer {
474
- name: "AssociatedListenerFoundException";
475
- $fault: "client";
522
+ export declare class AssociatedListenerFoundException extends __BaseException {
523
+ readonly name: "AssociatedListenerFoundException";
524
+ readonly $fault: "client";
476
525
  Message?: string;
526
+ /**
527
+ * @internal
528
+ */
529
+ constructor(opts: __ExceptionOptionType<AssociatedListenerFoundException, __BaseException>);
477
530
  }
478
531
  /**
479
532
  * <p>Provides authorization for Amazon to bring a specific IP address range to a specific AWS
@@ -816,26 +869,38 @@ export declare namespace CreateCustomRoutingEndpointGroupResponse {
816
869
  /**
817
870
  * <p>The endpoint group that you specified already exists.</p>
818
871
  */
819
- export interface EndpointGroupAlreadyExistsException extends __SmithyException, $MetadataBearer {
820
- name: "EndpointGroupAlreadyExistsException";
821
- $fault: "client";
872
+ export declare class EndpointGroupAlreadyExistsException extends __BaseException {
873
+ readonly name: "EndpointGroupAlreadyExistsException";
874
+ readonly $fault: "client";
822
875
  Message?: string;
876
+ /**
877
+ * @internal
878
+ */
879
+ constructor(opts: __ExceptionOptionType<EndpointGroupAlreadyExistsException, __BaseException>);
823
880
  }
824
881
  /**
825
882
  * <p>The port numbers that you specified are not valid numbers or are not unique for this accelerator.</p>
826
883
  */
827
- export interface InvalidPortRangeException extends __SmithyException, $MetadataBearer {
828
- name: "InvalidPortRangeException";
829
- $fault: "client";
884
+ export declare class InvalidPortRangeException extends __BaseException {
885
+ readonly name: "InvalidPortRangeException";
886
+ readonly $fault: "client";
830
887
  Message?: string;
888
+ /**
889
+ * @internal
890
+ */
891
+ constructor(opts: __ExceptionOptionType<InvalidPortRangeException, __BaseException>);
831
892
  }
832
893
  /**
833
894
  * <p>The listener that you specified doesn't exist.</p>
834
895
  */
835
- export interface ListenerNotFoundException extends __SmithyException, $MetadataBearer {
836
- name: "ListenerNotFoundException";
837
- $fault: "client";
896
+ export declare class ListenerNotFoundException extends __BaseException {
897
+ readonly name: "ListenerNotFoundException";
898
+ readonly $fault: "client";
838
899
  Message?: string;
900
+ /**
901
+ * @internal
902
+ */
903
+ constructor(opts: __ExceptionOptionType<ListenerNotFoundException, __BaseException>);
839
904
  }
840
905
  /**
841
906
  * <p>A complex type for a range of ports for a listener.</p>
@@ -1690,18 +1755,26 @@ export declare namespace DestinationPortMapping {
1690
1755
  /**
1691
1756
  * <p>The endpoint that you specified doesn't exist.</p>
1692
1757
  */
1693
- export interface EndpointNotFoundException extends __SmithyException, $MetadataBearer {
1694
- name: "EndpointNotFoundException";
1695
- $fault: "client";
1758
+ export declare class EndpointNotFoundException extends __BaseException {
1759
+ readonly name: "EndpointNotFoundException";
1760
+ readonly $fault: "client";
1696
1761
  Message?: string;
1762
+ /**
1763
+ * @internal
1764
+ */
1765
+ constructor(opts: __ExceptionOptionType<EndpointNotFoundException, __BaseException>);
1697
1766
  }
1698
1767
  /**
1699
1768
  * <p>There isn't another item to return.</p>
1700
1769
  */
1701
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
1702
- name: "InvalidNextTokenException";
1703
- $fault: "client";
1770
+ export declare class InvalidNextTokenException extends __BaseException {
1771
+ readonly name: "InvalidNextTokenException";
1772
+ readonly $fault: "client";
1704
1773
  Message?: string;
1774
+ /**
1775
+ * @internal
1776
+ */
1777
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
1705
1778
  }
1706
1779
  export interface ListAcceleratorsRequest {
1707
1780
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
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: GlobalAcceleratorClientConfig) =
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: GlobalAcceleratorClientConfig) =
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 { AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput } from "./commands/AddCustomRoutingEndpointsCommand";
10
10
  import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "./commands/AdvertiseByoipCidrCommand";
11
11
  import { AllowCustomRoutingTrafficCommandInput, AllowCustomRoutingTrafficCommandOutput } from "./commands/AllowCustomRoutingTrafficCommand";
@@ -63,7 +63,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
63
63
 
64
64
  urlParser?: __UrlParser;
65
65
 
66
- bodyLengthChecker?: (body: any) => number | undefined;
66
+ bodyLengthChecker?: __BodyLengthCalculator;
67
67
 
68
68
  streamCollector?: __StreamCollector;
69
69
 
@@ -3,3 +3,4 @@ export * from "./GlobalAcceleratorClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { GlobalAcceleratorServiceException } from "./models/GlobalAcceleratorServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class GlobalAcceleratorServiceException 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 { GlobalAcceleratorServiceException as __BaseException } from "./GlobalAcceleratorServiceException";
2
3
  export declare enum IpAddressType {
3
4
  IPV4 = "IPV4"
4
5
  }
@@ -53,22 +54,28 @@ export declare namespace AcceleratorAttributes {
53
54
  const filterSensitiveLog: (obj: AcceleratorAttributes) => any;
54
55
  }
55
56
 
56
- export interface AcceleratorNotDisabledException extends __SmithyException, $MetadataBearer {
57
- name: "AcceleratorNotDisabledException";
58
- $fault: "client";
57
+ export declare class AcceleratorNotDisabledException extends __BaseException {
58
+ readonly name: "AcceleratorNotDisabledException";
59
+ readonly $fault: "client";
59
60
  Message?: string;
61
+
62
+ constructor(opts: __ExceptionOptionType<AcceleratorNotDisabledException, __BaseException>);
60
63
  }
61
64
 
62
- export interface AcceleratorNotFoundException extends __SmithyException, $MetadataBearer {
63
- name: "AcceleratorNotFoundException";
64
- $fault: "client";
65
+ export declare class AcceleratorNotFoundException extends __BaseException {
66
+ readonly name: "AcceleratorNotFoundException";
67
+ readonly $fault: "client";
65
68
  Message?: string;
69
+
70
+ constructor(opts: __ExceptionOptionType<AcceleratorNotFoundException, __BaseException>);
66
71
  }
67
72
 
68
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
69
- name: "AccessDeniedException";
70
- $fault: "client";
73
+ export declare class AccessDeniedException extends __BaseException {
74
+ readonly name: "AccessDeniedException";
75
+ readonly $fault: "client";
71
76
  Message?: string;
77
+
78
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
72
79
  }
73
80
 
74
81
  export interface CustomRoutingEndpointConfiguration {
@@ -109,40 +116,52 @@ export declare namespace AddCustomRoutingEndpointsResponse {
109
116
  const filterSensitiveLog: (obj: AddCustomRoutingEndpointsResponse) => any;
110
117
  }
111
118
 
112
- export interface ConflictException extends __SmithyException, $MetadataBearer {
113
- name: "ConflictException";
114
- $fault: "client";
119
+ export declare class ConflictException extends __BaseException {
120
+ readonly name: "ConflictException";
121
+ readonly $fault: "client";
115
122
  Message?: string;
123
+
124
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
116
125
  }
117
126
 
118
- export interface EndpointAlreadyExistsException extends __SmithyException, $MetadataBearer {
119
- name: "EndpointAlreadyExistsException";
120
- $fault: "client";
127
+ export declare class EndpointAlreadyExistsException extends __BaseException {
128
+ readonly name: "EndpointAlreadyExistsException";
129
+ readonly $fault: "client";
121
130
  Message?: string;
131
+
132
+ constructor(opts: __ExceptionOptionType<EndpointAlreadyExistsException, __BaseException>);
122
133
  }
123
134
 
124
- export interface EndpointGroupNotFoundException extends __SmithyException, $MetadataBearer {
125
- name: "EndpointGroupNotFoundException";
126
- $fault: "client";
135
+ export declare class EndpointGroupNotFoundException extends __BaseException {
136
+ readonly name: "EndpointGroupNotFoundException";
137
+ readonly $fault: "client";
127
138
  Message?: string;
139
+
140
+ constructor(opts: __ExceptionOptionType<EndpointGroupNotFoundException, __BaseException>);
128
141
  }
129
142
 
130
- export interface InternalServiceErrorException extends __SmithyException, $MetadataBearer {
131
- name: "InternalServiceErrorException";
132
- $fault: "server";
143
+ export declare class InternalServiceErrorException extends __BaseException {
144
+ readonly name: "InternalServiceErrorException";
145
+ readonly $fault: "server";
133
146
  Message?: string;
147
+
148
+ constructor(opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>);
134
149
  }
135
150
 
136
- export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
137
- name: "InvalidArgumentException";
138
- $fault: "client";
151
+ export declare class InvalidArgumentException extends __BaseException {
152
+ readonly name: "InvalidArgumentException";
153
+ readonly $fault: "client";
139
154
  Message?: string;
155
+
156
+ constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
140
157
  }
141
158
 
142
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
143
- name: "LimitExceededException";
144
- $fault: "client";
159
+ export declare class LimitExceededException extends __BaseException {
160
+ readonly name: "LimitExceededException";
161
+ readonly $fault: "client";
145
162
  Message?: string;
163
+
164
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
146
165
  }
147
166
  export interface AdvertiseByoipCidrRequest {
148
167
 
@@ -198,16 +217,20 @@ export declare namespace AdvertiseByoipCidrResponse {
198
217
  const filterSensitiveLog: (obj: AdvertiseByoipCidrResponse) => any;
199
218
  }
200
219
 
201
- export interface ByoipCidrNotFoundException extends __SmithyException, $MetadataBearer {
202
- name: "ByoipCidrNotFoundException";
203
- $fault: "client";
220
+ export declare class ByoipCidrNotFoundException extends __BaseException {
221
+ readonly name: "ByoipCidrNotFoundException";
222
+ readonly $fault: "client";
204
223
  Message?: string;
224
+
225
+ constructor(opts: __ExceptionOptionType<ByoipCidrNotFoundException, __BaseException>);
205
226
  }
206
227
 
207
- export interface IncorrectCidrStateException extends __SmithyException, $MetadataBearer {
208
- name: "IncorrectCidrStateException";
209
- $fault: "client";
228
+ export declare class IncorrectCidrStateException extends __BaseException {
229
+ readonly name: "IncorrectCidrStateException";
230
+ readonly $fault: "client";
210
231
  Message?: string;
232
+
233
+ constructor(opts: __ExceptionOptionType<IncorrectCidrStateException, __BaseException>);
211
234
  }
212
235
  export interface AllowCustomRoutingTrafficRequest {
213
236
 
@@ -226,16 +249,20 @@ export declare namespace AllowCustomRoutingTrafficRequest {
226
249
  const filterSensitiveLog: (obj: AllowCustomRoutingTrafficRequest) => any;
227
250
  }
228
251
 
229
- export interface AssociatedEndpointGroupFoundException extends __SmithyException, $MetadataBearer {
230
- name: "AssociatedEndpointGroupFoundException";
231
- $fault: "client";
252
+ export declare class AssociatedEndpointGroupFoundException extends __BaseException {
253
+ readonly name: "AssociatedEndpointGroupFoundException";
254
+ readonly $fault: "client";
232
255
  Message?: string;
256
+
257
+ constructor(opts: __ExceptionOptionType<AssociatedEndpointGroupFoundException, __BaseException>);
233
258
  }
234
259
 
235
- export interface AssociatedListenerFoundException extends __SmithyException, $MetadataBearer {
236
- name: "AssociatedListenerFoundException";
237
- $fault: "client";
260
+ export declare class AssociatedListenerFoundException extends __BaseException {
261
+ readonly name: "AssociatedListenerFoundException";
262
+ readonly $fault: "client";
238
263
  Message?: string;
264
+
265
+ constructor(opts: __ExceptionOptionType<AssociatedListenerFoundException, __BaseException>);
239
266
  }
240
267
 
241
268
  export interface CidrAuthorizationContext {
@@ -410,22 +437,28 @@ export declare namespace CreateCustomRoutingEndpointGroupResponse {
410
437
  const filterSensitiveLog: (obj: CreateCustomRoutingEndpointGroupResponse) => any;
411
438
  }
412
439
 
413
- export interface EndpointGroupAlreadyExistsException extends __SmithyException, $MetadataBearer {
414
- name: "EndpointGroupAlreadyExistsException";
415
- $fault: "client";
440
+ export declare class EndpointGroupAlreadyExistsException extends __BaseException {
441
+ readonly name: "EndpointGroupAlreadyExistsException";
442
+ readonly $fault: "client";
416
443
  Message?: string;
444
+
445
+ constructor(opts: __ExceptionOptionType<EndpointGroupAlreadyExistsException, __BaseException>);
417
446
  }
418
447
 
419
- export interface InvalidPortRangeException extends __SmithyException, $MetadataBearer {
420
- name: "InvalidPortRangeException";
421
- $fault: "client";
448
+ export declare class InvalidPortRangeException extends __BaseException {
449
+ readonly name: "InvalidPortRangeException";
450
+ readonly $fault: "client";
422
451
  Message?: string;
452
+
453
+ constructor(opts: __ExceptionOptionType<InvalidPortRangeException, __BaseException>);
423
454
  }
424
455
 
425
- export interface ListenerNotFoundException extends __SmithyException, $MetadataBearer {
426
- name: "ListenerNotFoundException";
427
- $fault: "client";
456
+ export declare class ListenerNotFoundException extends __BaseException {
457
+ readonly name: "ListenerNotFoundException";
458
+ readonly $fault: "client";
428
459
  Message?: string;
460
+
461
+ constructor(opts: __ExceptionOptionType<ListenerNotFoundException, __BaseException>);
429
462
  }
430
463
 
431
464
  export interface PortRange {
@@ -878,16 +911,20 @@ export declare namespace DestinationPortMapping {
878
911
  const filterSensitiveLog: (obj: DestinationPortMapping) => any;
879
912
  }
880
913
 
881
- export interface EndpointNotFoundException extends __SmithyException, $MetadataBearer {
882
- name: "EndpointNotFoundException";
883
- $fault: "client";
914
+ export declare class EndpointNotFoundException extends __BaseException {
915
+ readonly name: "EndpointNotFoundException";
916
+ readonly $fault: "client";
884
917
  Message?: string;
918
+
919
+ constructor(opts: __ExceptionOptionType<EndpointNotFoundException, __BaseException>);
885
920
  }
886
921
 
887
- export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
888
- name: "InvalidNextTokenException";
889
- $fault: "client";
922
+ export declare class InvalidNextTokenException extends __BaseException {
923
+ readonly name: "InvalidNextTokenException";
924
+ readonly $fault: "client";
890
925
  Message?: string;
926
+
927
+ constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
891
928
  }
892
929
  export interface ListAcceleratorsRequest {
893
930
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GlobalAcceleratorClientConfig) =
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: GlobalAcceleratorClientConfig) =
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>;