@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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-global-accelerator
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-global-accelerator
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-global-accelerator
package/dist-cjs/index.js CHANGED
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalAcceleratorServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./GlobalAccelerator"), exports);
5
6
  tslib_1.__exportStar(require("./GlobalAcceleratorClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ var GlobalAcceleratorServiceException_1 = require("./models/GlobalAcceleratorServiceException");
11
+ Object.defineProperty(exports, "GlobalAcceleratorServiceException", { enumerable: true, get: function () { return GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlobalAcceleratorServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class GlobalAcceleratorServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, GlobalAcceleratorServiceException.prototype);
9
+ }
10
+ }
11
+ exports.GlobalAcceleratorServiceException = GlobalAcceleratorServiceException;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteListenerRequest = exports.DeleteEndpointGroupRequest = exports.DeleteCustomRoutingListenerRequest = exports.DeleteCustomRoutingEndpointGroupRequest = exports.DeleteCustomRoutingAcceleratorRequest = exports.DeleteAcceleratorRequest = exports.CustomRoutingDestinationTrafficState = exports.CustomRoutingAcceleratorAttributes = exports.CreateListenerResponse = exports.Listener = exports.CreateListenerRequest = exports.CreateEndpointGroupResponse = exports.EndpointGroup = exports.EndpointDescription = exports.CreateEndpointGroupRequest = exports.PortOverride = exports.HealthCheckProtocol = exports.EndpointConfiguration = exports.CreateCustomRoutingListenerResponse = exports.CustomRoutingListener = exports.CreateCustomRoutingListenerRequest = exports.PortRange = exports.CreateCustomRoutingEndpointGroupResponse = exports.CustomRoutingEndpointGroup = exports.CustomRoutingDestinationDescription = exports.Protocol = exports.CreateCustomRoutingEndpointGroupRequest = exports.CustomRoutingDestinationConfiguration = exports.CustomRoutingProtocol = exports.CreateCustomRoutingAcceleratorResponse = exports.CustomRoutingAccelerator = exports.CreateCustomRoutingAcceleratorRequest = exports.CreateAcceleratorResponse = exports.CreateAcceleratorRequest = exports.Tag = exports.CidrAuthorizationContext = exports.AllowCustomRoutingTrafficRequest = exports.AdvertiseByoipCidrResponse = exports.ByoipCidr = exports.ByoipCidrState = exports.ByoipCidrEvent = exports.AdvertiseByoipCidrRequest = exports.AddCustomRoutingEndpointsResponse = exports.CustomRoutingEndpointDescription = exports.AddCustomRoutingEndpointsRequest = exports.CustomRoutingEndpointConfiguration = exports.AcceleratorAttributes = exports.Accelerator = exports.IpSet = exports.IpAddressType = void 0;
4
- exports.UpdateAcceleratorRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RemoveCustomRoutingEndpointsRequest = exports.ProvisionByoipCidrResponse = exports.ProvisionByoipCidrRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListListenersResponse = exports.ListListenersRequest = exports.ListEndpointGroupsResponse = exports.ListEndpointGroupsRequest = exports.ListCustomRoutingPortMappingsByDestinationResponse = exports.ListCustomRoutingPortMappingsByDestinationRequest = exports.ListCustomRoutingPortMappingsResponse = exports.PortMapping = exports.ListCustomRoutingPortMappingsRequest = exports.ListCustomRoutingListenersResponse = exports.ListCustomRoutingListenersRequest = exports.ListCustomRoutingEndpointGroupsResponse = exports.ListCustomRoutingEndpointGroupsRequest = exports.ListCustomRoutingAcceleratorsResponse = exports.ListCustomRoutingAcceleratorsRequest = exports.ListByoipCidrsResponse = exports.ListByoipCidrsRequest = exports.ListAcceleratorsResponse = exports.ListAcceleratorsRequest = exports.DestinationPortMapping = exports.SocketAddress = exports.DescribeListenerResponse = exports.DescribeListenerRequest = exports.DescribeEndpointGroupResponse = exports.DescribeEndpointGroupRequest = exports.DescribeCustomRoutingListenerResponse = exports.DescribeCustomRoutingListenerRequest = exports.DescribeCustomRoutingEndpointGroupResponse = exports.DescribeCustomRoutingEndpointGroupRequest = exports.DescribeCustomRoutingAcceleratorAttributesResponse = exports.DescribeCustomRoutingAcceleratorAttributesRequest = exports.DescribeCustomRoutingAcceleratorResponse = exports.DescribeCustomRoutingAcceleratorRequest = exports.DescribeAcceleratorAttributesResponse = exports.DescribeAcceleratorAttributesRequest = exports.DescribeAcceleratorResponse = exports.DescribeAcceleratorRequest = exports.DeprovisionByoipCidrResponse = exports.DeprovisionByoipCidrRequest = exports.DenyCustomRoutingTrafficRequest = void 0;
5
- exports.WithdrawByoipCidrResponse = exports.WithdrawByoipCidrRequest = exports.UpdateListenerResponse = exports.UpdateListenerRequest = exports.UpdateEndpointGroupResponse = exports.UpdateEndpointGroupRequest = exports.UpdateCustomRoutingListenerResponse = exports.UpdateCustomRoutingListenerRequest = exports.UpdateCustomRoutingAcceleratorAttributesResponse = exports.UpdateCustomRoutingAcceleratorAttributesRequest = exports.UpdateCustomRoutingAcceleratorResponse = exports.UpdateCustomRoutingAcceleratorRequest = exports.UpdateAcceleratorAttributesResponse = exports.UpdateAcceleratorAttributesRequest = exports.UpdateAcceleratorResponse = void 0;
3
+ exports.HealthCheckProtocol = exports.EndpointConfiguration = exports.CreateCustomRoutingListenerResponse = exports.CustomRoutingListener = exports.CreateCustomRoutingListenerRequest = exports.PortRange = exports.ListenerNotFoundException = exports.InvalidPortRangeException = exports.EndpointGroupAlreadyExistsException = exports.CreateCustomRoutingEndpointGroupResponse = exports.CustomRoutingEndpointGroup = exports.CustomRoutingDestinationDescription = exports.Protocol = exports.CreateCustomRoutingEndpointGroupRequest = exports.CustomRoutingDestinationConfiguration = exports.CustomRoutingProtocol = exports.CreateCustomRoutingAcceleratorResponse = exports.CustomRoutingAccelerator = exports.CreateCustomRoutingAcceleratorRequest = exports.CreateAcceleratorResponse = exports.CreateAcceleratorRequest = exports.Tag = exports.CidrAuthorizationContext = exports.AssociatedListenerFoundException = exports.AssociatedEndpointGroupFoundException = exports.AllowCustomRoutingTrafficRequest = exports.IncorrectCidrStateException = exports.ByoipCidrNotFoundException = exports.AdvertiseByoipCidrResponse = exports.ByoipCidr = exports.ByoipCidrState = exports.ByoipCidrEvent = exports.AdvertiseByoipCidrRequest = exports.LimitExceededException = exports.InvalidArgumentException = exports.InternalServiceErrorException = exports.EndpointGroupNotFoundException = exports.EndpointAlreadyExistsException = exports.ConflictException = exports.AddCustomRoutingEndpointsResponse = exports.CustomRoutingEndpointDescription = exports.AddCustomRoutingEndpointsRequest = exports.CustomRoutingEndpointConfiguration = exports.AccessDeniedException = exports.AcceleratorNotFoundException = exports.AcceleratorNotDisabledException = exports.AcceleratorAttributes = exports.Accelerator = exports.IpSet = exports.IpAddressType = void 0;
4
+ exports.ListCustomRoutingPortMappingsRequest = exports.ListCustomRoutingListenersResponse = exports.ListCustomRoutingListenersRequest = exports.ListCustomRoutingEndpointGroupsResponse = exports.ListCustomRoutingEndpointGroupsRequest = exports.ListCustomRoutingAcceleratorsResponse = exports.ListCustomRoutingAcceleratorsRequest = exports.ListByoipCidrsResponse = exports.ListByoipCidrsRequest = exports.ListAcceleratorsResponse = exports.ListAcceleratorsRequest = exports.InvalidNextTokenException = exports.EndpointNotFoundException = exports.DestinationPortMapping = exports.SocketAddress = exports.DescribeListenerResponse = exports.DescribeListenerRequest = exports.DescribeEndpointGroupResponse = exports.DescribeEndpointGroupRequest = exports.DescribeCustomRoutingListenerResponse = exports.DescribeCustomRoutingListenerRequest = exports.DescribeCustomRoutingEndpointGroupResponse = exports.DescribeCustomRoutingEndpointGroupRequest = exports.DescribeCustomRoutingAcceleratorAttributesResponse = exports.DescribeCustomRoutingAcceleratorAttributesRequest = exports.DescribeCustomRoutingAcceleratorResponse = exports.DescribeCustomRoutingAcceleratorRequest = exports.DescribeAcceleratorAttributesResponse = exports.DescribeAcceleratorAttributesRequest = exports.DescribeAcceleratorResponse = exports.DescribeAcceleratorRequest = exports.DeprovisionByoipCidrResponse = exports.DeprovisionByoipCidrRequest = exports.DenyCustomRoutingTrafficRequest = exports.DeleteListenerRequest = exports.DeleteEndpointGroupRequest = exports.DeleteCustomRoutingListenerRequest = exports.DeleteCustomRoutingEndpointGroupRequest = exports.DeleteCustomRoutingAcceleratorRequest = exports.DeleteAcceleratorRequest = exports.CustomRoutingDestinationTrafficState = exports.CustomRoutingAcceleratorAttributes = exports.CreateListenerResponse = exports.Listener = exports.CreateListenerRequest = exports.CreateEndpointGroupResponse = exports.EndpointGroup = exports.EndpointDescription = exports.CreateEndpointGroupRequest = exports.PortOverride = void 0;
5
+ exports.WithdrawByoipCidrResponse = exports.WithdrawByoipCidrRequest = exports.UpdateListenerResponse = exports.UpdateListenerRequest = exports.UpdateEndpointGroupResponse = exports.UpdateEndpointGroupRequest = exports.UpdateCustomRoutingListenerResponse = exports.UpdateCustomRoutingListenerRequest = exports.UpdateCustomRoutingAcceleratorAttributesResponse = exports.UpdateCustomRoutingAcceleratorAttributesRequest = exports.UpdateCustomRoutingAcceleratorResponse = exports.UpdateCustomRoutingAcceleratorRequest = exports.UpdateAcceleratorAttributesResponse = exports.UpdateAcceleratorAttributesRequest = exports.UpdateAcceleratorResponse = exports.UpdateAcceleratorRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RemoveCustomRoutingEndpointsRequest = exports.ProvisionByoipCidrResponse = exports.ProvisionByoipCidrRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListListenersResponse = exports.ListListenersRequest = exports.ListEndpointGroupsResponse = exports.ListEndpointGroupsRequest = exports.ListCustomRoutingPortMappingsByDestinationResponse = exports.ListCustomRoutingPortMappingsByDestinationRequest = exports.ListCustomRoutingPortMappingsResponse = exports.PortMapping = void 0;
6
+ const GlobalAcceleratorServiceException_1 = require("./GlobalAcceleratorServiceException");
6
7
  var IpAddressType;
7
8
  (function (IpAddressType) {
8
9
  IpAddressType["IPV4"] = "IPV4";
@@ -25,6 +26,48 @@ var AcceleratorAttributes;
25
26
  ...obj,
26
27
  });
27
28
  })(AcceleratorAttributes = exports.AcceleratorAttributes || (exports.AcceleratorAttributes = {}));
29
+ class AcceleratorNotDisabledException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
30
+ constructor(opts) {
31
+ super({
32
+ name: "AcceleratorNotDisabledException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ this.name = "AcceleratorNotDisabledException";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, AcceleratorNotDisabledException.prototype);
39
+ this.Message = opts.Message;
40
+ }
41
+ }
42
+ exports.AcceleratorNotDisabledException = AcceleratorNotDisabledException;
43
+ class AcceleratorNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
44
+ constructor(opts) {
45
+ super({
46
+ name: "AcceleratorNotFoundException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ this.name = "AcceleratorNotFoundException";
51
+ this.$fault = "client";
52
+ Object.setPrototypeOf(this, AcceleratorNotFoundException.prototype);
53
+ this.Message = opts.Message;
54
+ }
55
+ }
56
+ exports.AcceleratorNotFoundException = AcceleratorNotFoundException;
57
+ class AccessDeniedException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
58
+ constructor(opts) {
59
+ super({
60
+ name: "AccessDeniedException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ this.name = "AccessDeniedException";
65
+ this.$fault = "client";
66
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
67
+ this.Message = opts.Message;
68
+ }
69
+ }
70
+ exports.AccessDeniedException = AccessDeniedException;
28
71
  var CustomRoutingEndpointConfiguration;
29
72
  (function (CustomRoutingEndpointConfiguration) {
30
73
  CustomRoutingEndpointConfiguration.filterSensitiveLog = (obj) => ({
@@ -49,6 +92,90 @@ var AddCustomRoutingEndpointsResponse;
49
92
  ...obj,
50
93
  });
51
94
  })(AddCustomRoutingEndpointsResponse = exports.AddCustomRoutingEndpointsResponse || (exports.AddCustomRoutingEndpointsResponse = {}));
95
+ class ConflictException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
96
+ constructor(opts) {
97
+ super({
98
+ name: "ConflictException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ this.name = "ConflictException";
103
+ this.$fault = "client";
104
+ Object.setPrototypeOf(this, ConflictException.prototype);
105
+ this.Message = opts.Message;
106
+ }
107
+ }
108
+ exports.ConflictException = ConflictException;
109
+ class EndpointAlreadyExistsException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
110
+ constructor(opts) {
111
+ super({
112
+ name: "EndpointAlreadyExistsException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ this.name = "EndpointAlreadyExistsException";
117
+ this.$fault = "client";
118
+ Object.setPrototypeOf(this, EndpointAlreadyExistsException.prototype);
119
+ this.Message = opts.Message;
120
+ }
121
+ }
122
+ exports.EndpointAlreadyExistsException = EndpointAlreadyExistsException;
123
+ class EndpointGroupNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
124
+ constructor(opts) {
125
+ super({
126
+ name: "EndpointGroupNotFoundException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ this.name = "EndpointGroupNotFoundException";
131
+ this.$fault = "client";
132
+ Object.setPrototypeOf(this, EndpointGroupNotFoundException.prototype);
133
+ this.Message = opts.Message;
134
+ }
135
+ }
136
+ exports.EndpointGroupNotFoundException = EndpointGroupNotFoundException;
137
+ class InternalServiceErrorException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
138
+ constructor(opts) {
139
+ super({
140
+ name: "InternalServiceErrorException",
141
+ $fault: "server",
142
+ ...opts,
143
+ });
144
+ this.name = "InternalServiceErrorException";
145
+ this.$fault = "server";
146
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
147
+ this.Message = opts.Message;
148
+ }
149
+ }
150
+ exports.InternalServiceErrorException = InternalServiceErrorException;
151
+ class InvalidArgumentException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
152
+ constructor(opts) {
153
+ super({
154
+ name: "InvalidArgumentException",
155
+ $fault: "client",
156
+ ...opts,
157
+ });
158
+ this.name = "InvalidArgumentException";
159
+ this.$fault = "client";
160
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
161
+ this.Message = opts.Message;
162
+ }
163
+ }
164
+ exports.InvalidArgumentException = InvalidArgumentException;
165
+ class LimitExceededException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
166
+ constructor(opts) {
167
+ super({
168
+ name: "LimitExceededException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ this.name = "LimitExceededException";
173
+ this.$fault = "client";
174
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
175
+ this.Message = opts.Message;
176
+ }
177
+ }
178
+ exports.LimitExceededException = LimitExceededException;
52
179
  var AdvertiseByoipCidrRequest;
53
180
  (function (AdvertiseByoipCidrRequest) {
54
181
  AdvertiseByoipCidrRequest.filterSensitiveLog = (obj) => ({
@@ -87,12 +214,68 @@ var AdvertiseByoipCidrResponse;
87
214
  ...obj,
88
215
  });
89
216
  })(AdvertiseByoipCidrResponse = exports.AdvertiseByoipCidrResponse || (exports.AdvertiseByoipCidrResponse = {}));
217
+ class ByoipCidrNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
218
+ constructor(opts) {
219
+ super({
220
+ name: "ByoipCidrNotFoundException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ this.name = "ByoipCidrNotFoundException";
225
+ this.$fault = "client";
226
+ Object.setPrototypeOf(this, ByoipCidrNotFoundException.prototype);
227
+ this.Message = opts.Message;
228
+ }
229
+ }
230
+ exports.ByoipCidrNotFoundException = ByoipCidrNotFoundException;
231
+ class IncorrectCidrStateException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
232
+ constructor(opts) {
233
+ super({
234
+ name: "IncorrectCidrStateException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ this.name = "IncorrectCidrStateException";
239
+ this.$fault = "client";
240
+ Object.setPrototypeOf(this, IncorrectCidrStateException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ exports.IncorrectCidrStateException = IncorrectCidrStateException;
90
245
  var AllowCustomRoutingTrafficRequest;
91
246
  (function (AllowCustomRoutingTrafficRequest) {
92
247
  AllowCustomRoutingTrafficRequest.filterSensitiveLog = (obj) => ({
93
248
  ...obj,
94
249
  });
95
250
  })(AllowCustomRoutingTrafficRequest = exports.AllowCustomRoutingTrafficRequest || (exports.AllowCustomRoutingTrafficRequest = {}));
251
+ class AssociatedEndpointGroupFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
252
+ constructor(opts) {
253
+ super({
254
+ name: "AssociatedEndpointGroupFoundException",
255
+ $fault: "client",
256
+ ...opts,
257
+ });
258
+ this.name = "AssociatedEndpointGroupFoundException";
259
+ this.$fault = "client";
260
+ Object.setPrototypeOf(this, AssociatedEndpointGroupFoundException.prototype);
261
+ this.Message = opts.Message;
262
+ }
263
+ }
264
+ exports.AssociatedEndpointGroupFoundException = AssociatedEndpointGroupFoundException;
265
+ class AssociatedListenerFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
266
+ constructor(opts) {
267
+ super({
268
+ name: "AssociatedListenerFoundException",
269
+ $fault: "client",
270
+ ...opts,
271
+ });
272
+ this.name = "AssociatedListenerFoundException";
273
+ this.$fault = "client";
274
+ Object.setPrototypeOf(this, AssociatedListenerFoundException.prototype);
275
+ this.Message = opts.Message;
276
+ }
277
+ }
278
+ exports.AssociatedListenerFoundException = AssociatedListenerFoundException;
96
279
  var CidrAuthorizationContext;
97
280
  (function (CidrAuthorizationContext) {
98
281
  CidrAuthorizationContext.filterSensitiveLog = (obj) => ({
@@ -175,6 +358,48 @@ var CreateCustomRoutingEndpointGroupResponse;
175
358
  ...obj,
176
359
  });
177
360
  })(CreateCustomRoutingEndpointGroupResponse = exports.CreateCustomRoutingEndpointGroupResponse || (exports.CreateCustomRoutingEndpointGroupResponse = {}));
361
+ class EndpointGroupAlreadyExistsException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
362
+ constructor(opts) {
363
+ super({
364
+ name: "EndpointGroupAlreadyExistsException",
365
+ $fault: "client",
366
+ ...opts,
367
+ });
368
+ this.name = "EndpointGroupAlreadyExistsException";
369
+ this.$fault = "client";
370
+ Object.setPrototypeOf(this, EndpointGroupAlreadyExistsException.prototype);
371
+ this.Message = opts.Message;
372
+ }
373
+ }
374
+ exports.EndpointGroupAlreadyExistsException = EndpointGroupAlreadyExistsException;
375
+ class InvalidPortRangeException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
376
+ constructor(opts) {
377
+ super({
378
+ name: "InvalidPortRangeException",
379
+ $fault: "client",
380
+ ...opts,
381
+ });
382
+ this.name = "InvalidPortRangeException";
383
+ this.$fault = "client";
384
+ Object.setPrototypeOf(this, InvalidPortRangeException.prototype);
385
+ this.Message = opts.Message;
386
+ }
387
+ }
388
+ exports.InvalidPortRangeException = InvalidPortRangeException;
389
+ class ListenerNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
390
+ constructor(opts) {
391
+ super({
392
+ name: "ListenerNotFoundException",
393
+ $fault: "client",
394
+ ...opts,
395
+ });
396
+ this.name = "ListenerNotFoundException";
397
+ this.$fault = "client";
398
+ Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
399
+ this.Message = opts.Message;
400
+ }
401
+ }
402
+ exports.ListenerNotFoundException = ListenerNotFoundException;
178
403
  var PortRange;
179
404
  (function (PortRange) {
180
405
  PortRange.filterSensitiveLog = (obj) => ({
@@ -432,6 +657,34 @@ var DestinationPortMapping;
432
657
  ...obj,
433
658
  });
434
659
  })(DestinationPortMapping = exports.DestinationPortMapping || (exports.DestinationPortMapping = {}));
660
+ class EndpointNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
661
+ constructor(opts) {
662
+ super({
663
+ name: "EndpointNotFoundException",
664
+ $fault: "client",
665
+ ...opts,
666
+ });
667
+ this.name = "EndpointNotFoundException";
668
+ this.$fault = "client";
669
+ Object.setPrototypeOf(this, EndpointNotFoundException.prototype);
670
+ this.Message = opts.Message;
671
+ }
672
+ }
673
+ exports.EndpointNotFoundException = EndpointNotFoundException;
674
+ class InvalidNextTokenException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
675
+ constructor(opts) {
676
+ super({
677
+ name: "InvalidNextTokenException",
678
+ $fault: "client",
679
+ ...opts,
680
+ });
681
+ this.name = "InvalidNextTokenException";
682
+ this.$fault = "client";
683
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
684
+ this.Message = opts.Message;
685
+ }
686
+ }
687
+ exports.InvalidNextTokenException = InvalidNextTokenException;
435
688
  var ListAcceleratorsRequest;
436
689
  (function (ListAcceleratorsRequest) {
437
690
  ListAcceleratorsRequest.filterSensitiveLog = (obj) => ({