@aws-sdk/client-global-accelerator 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.
package/dist-cjs/index.js CHANGED
@@ -117,18 +117,6 @@ let GlobalAcceleratorServiceException$1 = class GlobalAcceleratorServiceExceptio
117
117
  }
118
118
  };
119
119
 
120
- const IpAddressType = {
121
- DUAL_STACK: "DUAL_STACK",
122
- IPV4: "IPV4",
123
- };
124
- const IpAddressFamily = {
125
- IPv4: "IPv4",
126
- IPv6: "IPv6",
127
- };
128
- const AcceleratorStatus = {
129
- DEPLOYED: "DEPLOYED",
130
- IN_PROGRESS: "IN_PROGRESS",
131
- };
132
120
  let AcceleratorNotDisabledException$1 = class AcceleratorNotDisabledException extends GlobalAcceleratorServiceException$1 {
133
121
  name = "AcceleratorNotDisabledException";
134
122
  $fault = "client";
@@ -255,11 +243,6 @@ let LimitExceededException$1 = class LimitExceededException extends GlobalAccele
255
243
  this.Message = opts.Message;
256
244
  }
257
245
  };
258
- const HealthState = {
259
- HEALTHY: "HEALTHY",
260
- INITIAL: "INITIAL",
261
- UNHEALTHY: "UNHEALTHY",
262
- };
263
246
  let TransactionInProgressException$1 = class TransactionInProgressException extends GlobalAcceleratorServiceException$1 {
264
247
  name = "TransactionInProgressException";
265
248
  $fault = "client";
@@ -274,19 +257,6 @@ let TransactionInProgressException$1 = class TransactionInProgressException exte
274
257
  this.Message = opts.Message;
275
258
  }
276
259
  };
277
- const ByoipCidrState = {
278
- ADVERTISING: "ADVERTISING",
279
- DEPROVISIONED: "DEPROVISIONED",
280
- FAILED_ADVERTISING: "FAILED_ADVERTISING",
281
- FAILED_DEPROVISION: "FAILED_DEPROVISION",
282
- FAILED_PROVISION: "FAILED_PROVISION",
283
- FAILED_WITHDRAW: "FAILED_WITHDRAW",
284
- PENDING_ADVERTISING: "PENDING_ADVERTISING",
285
- PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
286
- PENDING_PROVISIONING: "PENDING_PROVISIONING",
287
- PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
288
- READY: "READY",
289
- };
290
260
  let ByoipCidrNotFoundException$1 = class ByoipCidrNotFoundException extends GlobalAcceleratorServiceException$1 {
291
261
  name = "ByoipCidrNotFoundException";
292
262
  $fault = "client";
@@ -357,22 +327,6 @@ let AttachmentNotFoundException$1 = class AttachmentNotFoundException extends Gl
357
327
  this.Message = opts.Message;
358
328
  }
359
329
  };
360
- const ClientAffinity = {
361
- NONE: "NONE",
362
- SOURCE_IP: "SOURCE_IP",
363
- };
364
- const CustomRoutingAcceleratorStatus = {
365
- DEPLOYED: "DEPLOYED",
366
- IN_PROGRESS: "IN_PROGRESS",
367
- };
368
- const CustomRoutingProtocol = {
369
- TCP: "TCP",
370
- UDP: "UDP",
371
- };
372
- const Protocol = {
373
- TCP: "TCP",
374
- UDP: "UDP",
375
- };
376
330
  let EndpointGroupAlreadyExistsException$1 = class EndpointGroupAlreadyExistsException extends GlobalAcceleratorServiceException$1 {
377
331
  name = "EndpointGroupAlreadyExistsException";
378
332
  $fault = "client";
@@ -415,15 +369,6 @@ let ListenerNotFoundException$1 = class ListenerNotFoundException extends Global
415
369
  this.Message = opts.Message;
416
370
  }
417
371
  };
418
- const HealthCheckProtocol = {
419
- HTTP: "HTTP",
420
- HTTPS: "HTTPS",
421
- TCP: "TCP",
422
- };
423
- const CustomRoutingDestinationTrafficState = {
424
- ALLOW: "ALLOW",
425
- DENY: "DENY",
426
- };
427
372
  let EndpointNotFoundException$1 = class EndpointNotFoundException extends GlobalAcceleratorServiceException$1 {
428
373
  name = "EndpointNotFoundException";
429
374
  $fault = "client";
@@ -2792,6 +2737,62 @@ const paginateListEndpointGroups = core.createPaginator(GlobalAcceleratorClient,
2792
2737
 
2793
2738
  const paginateListListeners = core.createPaginator(GlobalAcceleratorClient, ListListenersCommand, "NextToken", "NextToken", "MaxResults");
2794
2739
 
2740
+ const IpAddressType = {
2741
+ DUAL_STACK: "DUAL_STACK",
2742
+ IPV4: "IPV4",
2743
+ };
2744
+ const IpAddressFamily = {
2745
+ IPv4: "IPv4",
2746
+ IPv6: "IPv6",
2747
+ };
2748
+ const AcceleratorStatus = {
2749
+ DEPLOYED: "DEPLOYED",
2750
+ IN_PROGRESS: "IN_PROGRESS",
2751
+ };
2752
+ const HealthState = {
2753
+ HEALTHY: "HEALTHY",
2754
+ INITIAL: "INITIAL",
2755
+ UNHEALTHY: "UNHEALTHY",
2756
+ };
2757
+ const ByoipCidrState = {
2758
+ ADVERTISING: "ADVERTISING",
2759
+ DEPROVISIONED: "DEPROVISIONED",
2760
+ FAILED_ADVERTISING: "FAILED_ADVERTISING",
2761
+ FAILED_DEPROVISION: "FAILED_DEPROVISION",
2762
+ FAILED_PROVISION: "FAILED_PROVISION",
2763
+ FAILED_WITHDRAW: "FAILED_WITHDRAW",
2764
+ PENDING_ADVERTISING: "PENDING_ADVERTISING",
2765
+ PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
2766
+ PENDING_PROVISIONING: "PENDING_PROVISIONING",
2767
+ PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
2768
+ READY: "READY",
2769
+ };
2770
+ const ClientAffinity = {
2771
+ NONE: "NONE",
2772
+ SOURCE_IP: "SOURCE_IP",
2773
+ };
2774
+ const CustomRoutingAcceleratorStatus = {
2775
+ DEPLOYED: "DEPLOYED",
2776
+ IN_PROGRESS: "IN_PROGRESS",
2777
+ };
2778
+ const CustomRoutingProtocol = {
2779
+ TCP: "TCP",
2780
+ UDP: "UDP",
2781
+ };
2782
+ const Protocol = {
2783
+ TCP: "TCP",
2784
+ UDP: "UDP",
2785
+ };
2786
+ const HealthCheckProtocol = {
2787
+ HTTP: "HTTP",
2788
+ HTTPS: "HTTPS",
2789
+ TCP: "TCP",
2790
+ };
2791
+ const CustomRoutingDestinationTrafficState = {
2792
+ ALLOW: "ALLOW",
2793
+ DENY: "DENY",
2794
+ };
2795
+
2795
2796
  Object.defineProperty(exports, "$Command", {
2796
2797
  enumerable: true,
2797
2798
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./GlobalAcceleratorClient";
2
2
  export * from "./GlobalAccelerator";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { GlobalAcceleratorServiceException } from "./models/GlobalAcceleratorServiceException";
@@ -0,0 +1,55 @@
1
+ export const IpAddressType = {
2
+ DUAL_STACK: "DUAL_STACK",
3
+ IPV4: "IPV4",
4
+ };
5
+ export const IpAddressFamily = {
6
+ IPv4: "IPv4",
7
+ IPv6: "IPv6",
8
+ };
9
+ export const AcceleratorStatus = {
10
+ DEPLOYED: "DEPLOYED",
11
+ IN_PROGRESS: "IN_PROGRESS",
12
+ };
13
+ export const HealthState = {
14
+ HEALTHY: "HEALTHY",
15
+ INITIAL: "INITIAL",
16
+ UNHEALTHY: "UNHEALTHY",
17
+ };
18
+ export const ByoipCidrState = {
19
+ ADVERTISING: "ADVERTISING",
20
+ DEPROVISIONED: "DEPROVISIONED",
21
+ FAILED_ADVERTISING: "FAILED_ADVERTISING",
22
+ FAILED_DEPROVISION: "FAILED_DEPROVISION",
23
+ FAILED_PROVISION: "FAILED_PROVISION",
24
+ FAILED_WITHDRAW: "FAILED_WITHDRAW",
25
+ PENDING_ADVERTISING: "PENDING_ADVERTISING",
26
+ PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
27
+ PENDING_PROVISIONING: "PENDING_PROVISIONING",
28
+ PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
29
+ READY: "READY",
30
+ };
31
+ export const ClientAffinity = {
32
+ NONE: "NONE",
33
+ SOURCE_IP: "SOURCE_IP",
34
+ };
35
+ export const CustomRoutingAcceleratorStatus = {
36
+ DEPLOYED: "DEPLOYED",
37
+ IN_PROGRESS: "IN_PROGRESS",
38
+ };
39
+ export const CustomRoutingProtocol = {
40
+ TCP: "TCP",
41
+ UDP: "UDP",
42
+ };
43
+ export const Protocol = {
44
+ TCP: "TCP",
45
+ UDP: "UDP",
46
+ };
47
+ export const HealthCheckProtocol = {
48
+ HTTP: "HTTP",
49
+ HTTPS: "HTTPS",
50
+ TCP: "TCP",
51
+ };
52
+ export const CustomRoutingDestinationTrafficState = {
53
+ ALLOW: "ALLOW",
54
+ DENY: "DENY",
55
+ };
@@ -0,0 +1,281 @@
1
+ import { GlobalAcceleratorServiceException as __BaseException } from "./GlobalAcceleratorServiceException";
2
+ export class AcceleratorNotDisabledException extends __BaseException {
3
+ name = "AcceleratorNotDisabledException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AcceleratorNotDisabledException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AcceleratorNotDisabledException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class AcceleratorNotFoundException extends __BaseException {
17
+ name = "AcceleratorNotFoundException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "AcceleratorNotFoundException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, AcceleratorNotFoundException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class AccessDeniedException extends __BaseException {
31
+ name = "AccessDeniedException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "AccessDeniedException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class ConflictException extends __BaseException {
45
+ name = "ConflictException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ConflictException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ConflictException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class EndpointAlreadyExistsException extends __BaseException {
59
+ name = "EndpointAlreadyExistsException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "EndpointAlreadyExistsException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, EndpointAlreadyExistsException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class EndpointGroupNotFoundException extends __BaseException {
73
+ name = "EndpointGroupNotFoundException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "EndpointGroupNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, EndpointGroupNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class InternalServiceErrorException extends __BaseException {
87
+ name = "InternalServiceErrorException";
88
+ $fault = "server";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "InternalServiceErrorException",
93
+ $fault: "server",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class InvalidArgumentException extends __BaseException {
101
+ name = "InvalidArgumentException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "InvalidArgumentException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class LimitExceededException extends __BaseException {
115
+ name = "LimitExceededException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "LimitExceededException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ export class TransactionInProgressException extends __BaseException {
129
+ name = "TransactionInProgressException";
130
+ $fault = "client";
131
+ Message;
132
+ constructor(opts) {
133
+ super({
134
+ name: "TransactionInProgressException",
135
+ $fault: "client",
136
+ ...opts,
137
+ });
138
+ Object.setPrototypeOf(this, TransactionInProgressException.prototype);
139
+ this.Message = opts.Message;
140
+ }
141
+ }
142
+ export class ByoipCidrNotFoundException extends __BaseException {
143
+ name = "ByoipCidrNotFoundException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "ByoipCidrNotFoundException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, ByoipCidrNotFoundException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ export class IncorrectCidrStateException extends __BaseException {
157
+ name = "IncorrectCidrStateException";
158
+ $fault = "client";
159
+ Message;
160
+ constructor(opts) {
161
+ super({
162
+ name: "IncorrectCidrStateException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ Object.setPrototypeOf(this, IncorrectCidrStateException.prototype);
167
+ this.Message = opts.Message;
168
+ }
169
+ }
170
+ export class AssociatedEndpointGroupFoundException extends __BaseException {
171
+ name = "AssociatedEndpointGroupFoundException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "AssociatedEndpointGroupFoundException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, AssociatedEndpointGroupFoundException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ export class AssociatedListenerFoundException extends __BaseException {
185
+ name = "AssociatedListenerFoundException";
186
+ $fault = "client";
187
+ Message;
188
+ constructor(opts) {
189
+ super({
190
+ name: "AssociatedListenerFoundException",
191
+ $fault: "client",
192
+ ...opts,
193
+ });
194
+ Object.setPrototypeOf(this, AssociatedListenerFoundException.prototype);
195
+ this.Message = opts.Message;
196
+ }
197
+ }
198
+ export class AttachmentNotFoundException extends __BaseException {
199
+ name = "AttachmentNotFoundException";
200
+ $fault = "client";
201
+ Message;
202
+ constructor(opts) {
203
+ super({
204
+ name: "AttachmentNotFoundException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, AttachmentNotFoundException.prototype);
209
+ this.Message = opts.Message;
210
+ }
211
+ }
212
+ export class EndpointGroupAlreadyExistsException extends __BaseException {
213
+ name = "EndpointGroupAlreadyExistsException";
214
+ $fault = "client";
215
+ Message;
216
+ constructor(opts) {
217
+ super({
218
+ name: "EndpointGroupAlreadyExistsException",
219
+ $fault: "client",
220
+ ...opts,
221
+ });
222
+ Object.setPrototypeOf(this, EndpointGroupAlreadyExistsException.prototype);
223
+ this.Message = opts.Message;
224
+ }
225
+ }
226
+ export class InvalidPortRangeException extends __BaseException {
227
+ name = "InvalidPortRangeException";
228
+ $fault = "client";
229
+ Message;
230
+ constructor(opts) {
231
+ super({
232
+ name: "InvalidPortRangeException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, InvalidPortRangeException.prototype);
237
+ this.Message = opts.Message;
238
+ }
239
+ }
240
+ export class ListenerNotFoundException extends __BaseException {
241
+ name = "ListenerNotFoundException";
242
+ $fault = "client";
243
+ Message;
244
+ constructor(opts) {
245
+ super({
246
+ name: "ListenerNotFoundException",
247
+ $fault: "client",
248
+ ...opts,
249
+ });
250
+ Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
251
+ this.Message = opts.Message;
252
+ }
253
+ }
254
+ export class EndpointNotFoundException extends __BaseException {
255
+ name = "EndpointNotFoundException";
256
+ $fault = "client";
257
+ Message;
258
+ constructor(opts) {
259
+ super({
260
+ name: "EndpointNotFoundException",
261
+ $fault: "client",
262
+ ...opts,
263
+ });
264
+ Object.setPrototypeOf(this, EndpointNotFoundException.prototype);
265
+ this.Message = opts.Message;
266
+ }
267
+ }
268
+ export class InvalidNextTokenException extends __BaseException {
269
+ name = "InvalidNextTokenException";
270
+ $fault = "client";
271
+ Message;
272
+ constructor(opts) {
273
+ super({
274
+ name: "InvalidNextTokenException",
275
+ $fault: "client",
276
+ ...opts,
277
+ });
278
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
279
+ this.Message = opts.Message;
280
+ }
281
+ }