@aws-sdk/client-global-accelerator 3.301.0 → 3.306.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.
@@ -2,21 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InvalidNextTokenException = exports.EndpointNotFoundException = exports.CustomRoutingDestinationTrafficState = exports.HealthCheckProtocol = exports.ListenerNotFoundException = exports.InvalidPortRangeException = exports.EndpointGroupAlreadyExistsException = exports.Protocol = exports.CustomRoutingProtocol = exports.CustomRoutingAcceleratorStatus = exports.ClientAffinity = exports.AssociatedListenerFoundException = exports.AssociatedEndpointGroupFoundException = exports.IncorrectCidrStateException = exports.ByoipCidrNotFoundException = exports.ByoipCidrState = exports.TransactionInProgressException = exports.HealthState = exports.LimitExceededException = exports.InvalidArgumentException = exports.InternalServiceErrorException = exports.EndpointGroupNotFoundException = exports.EndpointAlreadyExistsException = exports.ConflictException = exports.AccessDeniedException = exports.AcceleratorNotFoundException = exports.AcceleratorNotDisabledException = exports.AcceleratorStatus = exports.IpAddressFamily = exports.IpAddressType = void 0;
4
4
  const GlobalAcceleratorServiceException_1 = require("./GlobalAcceleratorServiceException");
5
- var IpAddressType;
6
- (function (IpAddressType) {
7
- IpAddressType["DUAL_STACK"] = "DUAL_STACK";
8
- IpAddressType["IPV4"] = "IPV4";
9
- })(IpAddressType = exports.IpAddressType || (exports.IpAddressType = {}));
10
- var IpAddressFamily;
11
- (function (IpAddressFamily) {
12
- IpAddressFamily["IPv4"] = "IPv4";
13
- IpAddressFamily["IPv6"] = "IPv6";
14
- })(IpAddressFamily = exports.IpAddressFamily || (exports.IpAddressFamily = {}));
15
- var AcceleratorStatus;
16
- (function (AcceleratorStatus) {
17
- AcceleratorStatus["DEPLOYED"] = "DEPLOYED";
18
- AcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
19
- })(AcceleratorStatus = exports.AcceleratorStatus || (exports.AcceleratorStatus = {}));
5
+ exports.IpAddressType = {
6
+ DUAL_STACK: "DUAL_STACK",
7
+ IPV4: "IPV4",
8
+ };
9
+ exports.IpAddressFamily = {
10
+ IPv4: "IPv4",
11
+ IPv6: "IPv6",
12
+ };
13
+ exports.AcceleratorStatus = {
14
+ DEPLOYED: "DEPLOYED",
15
+ IN_PROGRESS: "IN_PROGRESS",
16
+ };
20
17
  class AcceleratorNotDisabledException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
21
18
  constructor(opts) {
22
19
  super({
@@ -143,12 +140,11 @@ class LimitExceededException extends GlobalAcceleratorServiceException_1.GlobalA
143
140
  }
144
141
  }
145
142
  exports.LimitExceededException = LimitExceededException;
146
- var HealthState;
147
- (function (HealthState) {
148
- HealthState["HEALTHY"] = "HEALTHY";
149
- HealthState["INITIAL"] = "INITIAL";
150
- HealthState["UNHEALTHY"] = "UNHEALTHY";
151
- })(HealthState = exports.HealthState || (exports.HealthState = {}));
143
+ exports.HealthState = {
144
+ HEALTHY: "HEALTHY",
145
+ INITIAL: "INITIAL",
146
+ UNHEALTHY: "UNHEALTHY",
147
+ };
152
148
  class TransactionInProgressException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
153
149
  constructor(opts) {
154
150
  super({
@@ -163,20 +159,19 @@ class TransactionInProgressException extends GlobalAcceleratorServiceException_1
163
159
  }
164
160
  }
165
161
  exports.TransactionInProgressException = TransactionInProgressException;
166
- var ByoipCidrState;
167
- (function (ByoipCidrState) {
168
- ByoipCidrState["ADVERTISING"] = "ADVERTISING";
169
- ByoipCidrState["DEPROVISIONED"] = "DEPROVISIONED";
170
- ByoipCidrState["FAILED_ADVERTISING"] = "FAILED_ADVERTISING";
171
- ByoipCidrState["FAILED_DEPROVISION"] = "FAILED_DEPROVISION";
172
- ByoipCidrState["FAILED_PROVISION"] = "FAILED_PROVISION";
173
- ByoipCidrState["FAILED_WITHDRAW"] = "FAILED_WITHDRAW";
174
- ByoipCidrState["PENDING_ADVERTISING"] = "PENDING_ADVERTISING";
175
- ByoipCidrState["PENDING_DEPROVISIONING"] = "PENDING_DEPROVISIONING";
176
- ByoipCidrState["PENDING_PROVISIONING"] = "PENDING_PROVISIONING";
177
- ByoipCidrState["PENDING_WITHDRAWING"] = "PENDING_WITHDRAWING";
178
- ByoipCidrState["READY"] = "READY";
179
- })(ByoipCidrState = exports.ByoipCidrState || (exports.ByoipCidrState = {}));
162
+ exports.ByoipCidrState = {
163
+ ADVERTISING: "ADVERTISING",
164
+ DEPROVISIONED: "DEPROVISIONED",
165
+ FAILED_ADVERTISING: "FAILED_ADVERTISING",
166
+ FAILED_DEPROVISION: "FAILED_DEPROVISION",
167
+ FAILED_PROVISION: "FAILED_PROVISION",
168
+ FAILED_WITHDRAW: "FAILED_WITHDRAW",
169
+ PENDING_ADVERTISING: "PENDING_ADVERTISING",
170
+ PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
171
+ PENDING_PROVISIONING: "PENDING_PROVISIONING",
172
+ PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
173
+ READY: "READY",
174
+ };
180
175
  class ByoipCidrNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
181
176
  constructor(opts) {
182
177
  super({
@@ -233,26 +228,22 @@ class AssociatedListenerFoundException extends GlobalAcceleratorServiceException
233
228
  }
234
229
  }
235
230
  exports.AssociatedListenerFoundException = AssociatedListenerFoundException;
236
- var ClientAffinity;
237
- (function (ClientAffinity) {
238
- ClientAffinity["NONE"] = "NONE";
239
- ClientAffinity["SOURCE_IP"] = "SOURCE_IP";
240
- })(ClientAffinity = exports.ClientAffinity || (exports.ClientAffinity = {}));
241
- var CustomRoutingAcceleratorStatus;
242
- (function (CustomRoutingAcceleratorStatus) {
243
- CustomRoutingAcceleratorStatus["DEPLOYED"] = "DEPLOYED";
244
- CustomRoutingAcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
245
- })(CustomRoutingAcceleratorStatus = exports.CustomRoutingAcceleratorStatus || (exports.CustomRoutingAcceleratorStatus = {}));
246
- var CustomRoutingProtocol;
247
- (function (CustomRoutingProtocol) {
248
- CustomRoutingProtocol["TCP"] = "TCP";
249
- CustomRoutingProtocol["UDP"] = "UDP";
250
- })(CustomRoutingProtocol = exports.CustomRoutingProtocol || (exports.CustomRoutingProtocol = {}));
251
- var Protocol;
252
- (function (Protocol) {
253
- Protocol["TCP"] = "TCP";
254
- Protocol["UDP"] = "UDP";
255
- })(Protocol = exports.Protocol || (exports.Protocol = {}));
231
+ exports.ClientAffinity = {
232
+ NONE: "NONE",
233
+ SOURCE_IP: "SOURCE_IP",
234
+ };
235
+ exports.CustomRoutingAcceleratorStatus = {
236
+ DEPLOYED: "DEPLOYED",
237
+ IN_PROGRESS: "IN_PROGRESS",
238
+ };
239
+ exports.CustomRoutingProtocol = {
240
+ TCP: "TCP",
241
+ UDP: "UDP",
242
+ };
243
+ exports.Protocol = {
244
+ TCP: "TCP",
245
+ UDP: "UDP",
246
+ };
256
247
  class EndpointGroupAlreadyExistsException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
257
248
  constructor(opts) {
258
249
  super({
@@ -295,17 +286,15 @@ class ListenerNotFoundException extends GlobalAcceleratorServiceException_1.Glob
295
286
  }
296
287
  }
297
288
  exports.ListenerNotFoundException = ListenerNotFoundException;
298
- var HealthCheckProtocol;
299
- (function (HealthCheckProtocol) {
300
- HealthCheckProtocol["HTTP"] = "HTTP";
301
- HealthCheckProtocol["HTTPS"] = "HTTPS";
302
- HealthCheckProtocol["TCP"] = "TCP";
303
- })(HealthCheckProtocol = exports.HealthCheckProtocol || (exports.HealthCheckProtocol = {}));
304
- var CustomRoutingDestinationTrafficState;
305
- (function (CustomRoutingDestinationTrafficState) {
306
- CustomRoutingDestinationTrafficState["ALLOW"] = "ALLOW";
307
- CustomRoutingDestinationTrafficState["DENY"] = "DENY";
308
- })(CustomRoutingDestinationTrafficState = exports.CustomRoutingDestinationTrafficState || (exports.CustomRoutingDestinationTrafficState = {}));
289
+ exports.HealthCheckProtocol = {
290
+ HTTP: "HTTP",
291
+ HTTPS: "HTTPS",
292
+ TCP: "TCP",
293
+ };
294
+ exports.CustomRoutingDestinationTrafficState = {
295
+ ALLOW: "ALLOW",
296
+ DENY: "DENY",
297
+ };
309
298
  class EndpointNotFoundException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
310
299
  constructor(opts) {
311
300
  super({
@@ -1,19 +1,16 @@
1
1
  import { GlobalAcceleratorServiceException as __BaseException } from "./GlobalAcceleratorServiceException";
2
- export var IpAddressType;
3
- (function (IpAddressType) {
4
- IpAddressType["DUAL_STACK"] = "DUAL_STACK";
5
- IpAddressType["IPV4"] = "IPV4";
6
- })(IpAddressType || (IpAddressType = {}));
7
- export var IpAddressFamily;
8
- (function (IpAddressFamily) {
9
- IpAddressFamily["IPv4"] = "IPv4";
10
- IpAddressFamily["IPv6"] = "IPv6";
11
- })(IpAddressFamily || (IpAddressFamily = {}));
12
- export var AcceleratorStatus;
13
- (function (AcceleratorStatus) {
14
- AcceleratorStatus["DEPLOYED"] = "DEPLOYED";
15
- AcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
16
- })(AcceleratorStatus || (AcceleratorStatus = {}));
2
+ export const IpAddressType = {
3
+ DUAL_STACK: "DUAL_STACK",
4
+ IPV4: "IPV4",
5
+ };
6
+ export const IpAddressFamily = {
7
+ IPv4: "IPv4",
8
+ IPv6: "IPv6",
9
+ };
10
+ export const AcceleratorStatus = {
11
+ DEPLOYED: "DEPLOYED",
12
+ IN_PROGRESS: "IN_PROGRESS",
13
+ };
17
14
  export class AcceleratorNotDisabledException extends __BaseException {
18
15
  constructor(opts) {
19
16
  super({
@@ -131,12 +128,11 @@ export class LimitExceededException extends __BaseException {
131
128
  this.Message = opts.Message;
132
129
  }
133
130
  }
134
- export var HealthState;
135
- (function (HealthState) {
136
- HealthState["HEALTHY"] = "HEALTHY";
137
- HealthState["INITIAL"] = "INITIAL";
138
- HealthState["UNHEALTHY"] = "UNHEALTHY";
139
- })(HealthState || (HealthState = {}));
131
+ export const HealthState = {
132
+ HEALTHY: "HEALTHY",
133
+ INITIAL: "INITIAL",
134
+ UNHEALTHY: "UNHEALTHY",
135
+ };
140
136
  export class TransactionInProgressException extends __BaseException {
141
137
  constructor(opts) {
142
138
  super({
@@ -150,20 +146,19 @@ export class TransactionInProgressException extends __BaseException {
150
146
  this.Message = opts.Message;
151
147
  }
152
148
  }
153
- export var ByoipCidrState;
154
- (function (ByoipCidrState) {
155
- ByoipCidrState["ADVERTISING"] = "ADVERTISING";
156
- ByoipCidrState["DEPROVISIONED"] = "DEPROVISIONED";
157
- ByoipCidrState["FAILED_ADVERTISING"] = "FAILED_ADVERTISING";
158
- ByoipCidrState["FAILED_DEPROVISION"] = "FAILED_DEPROVISION";
159
- ByoipCidrState["FAILED_PROVISION"] = "FAILED_PROVISION";
160
- ByoipCidrState["FAILED_WITHDRAW"] = "FAILED_WITHDRAW";
161
- ByoipCidrState["PENDING_ADVERTISING"] = "PENDING_ADVERTISING";
162
- ByoipCidrState["PENDING_DEPROVISIONING"] = "PENDING_DEPROVISIONING";
163
- ByoipCidrState["PENDING_PROVISIONING"] = "PENDING_PROVISIONING";
164
- ByoipCidrState["PENDING_WITHDRAWING"] = "PENDING_WITHDRAWING";
165
- ByoipCidrState["READY"] = "READY";
166
- })(ByoipCidrState || (ByoipCidrState = {}));
149
+ export const ByoipCidrState = {
150
+ ADVERTISING: "ADVERTISING",
151
+ DEPROVISIONED: "DEPROVISIONED",
152
+ FAILED_ADVERTISING: "FAILED_ADVERTISING",
153
+ FAILED_DEPROVISION: "FAILED_DEPROVISION",
154
+ FAILED_PROVISION: "FAILED_PROVISION",
155
+ FAILED_WITHDRAW: "FAILED_WITHDRAW",
156
+ PENDING_ADVERTISING: "PENDING_ADVERTISING",
157
+ PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
158
+ PENDING_PROVISIONING: "PENDING_PROVISIONING",
159
+ PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
160
+ READY: "READY",
161
+ };
167
162
  export class ByoipCidrNotFoundException extends __BaseException {
168
163
  constructor(opts) {
169
164
  super({
@@ -216,26 +211,22 @@ export class AssociatedListenerFoundException extends __BaseException {
216
211
  this.Message = opts.Message;
217
212
  }
218
213
  }
219
- export var ClientAffinity;
220
- (function (ClientAffinity) {
221
- ClientAffinity["NONE"] = "NONE";
222
- ClientAffinity["SOURCE_IP"] = "SOURCE_IP";
223
- })(ClientAffinity || (ClientAffinity = {}));
224
- export var CustomRoutingAcceleratorStatus;
225
- (function (CustomRoutingAcceleratorStatus) {
226
- CustomRoutingAcceleratorStatus["DEPLOYED"] = "DEPLOYED";
227
- CustomRoutingAcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
228
- })(CustomRoutingAcceleratorStatus || (CustomRoutingAcceleratorStatus = {}));
229
- export var CustomRoutingProtocol;
230
- (function (CustomRoutingProtocol) {
231
- CustomRoutingProtocol["TCP"] = "TCP";
232
- CustomRoutingProtocol["UDP"] = "UDP";
233
- })(CustomRoutingProtocol || (CustomRoutingProtocol = {}));
234
- export var Protocol;
235
- (function (Protocol) {
236
- Protocol["TCP"] = "TCP";
237
- Protocol["UDP"] = "UDP";
238
- })(Protocol || (Protocol = {}));
214
+ export const ClientAffinity = {
215
+ NONE: "NONE",
216
+ SOURCE_IP: "SOURCE_IP",
217
+ };
218
+ export const CustomRoutingAcceleratorStatus = {
219
+ DEPLOYED: "DEPLOYED",
220
+ IN_PROGRESS: "IN_PROGRESS",
221
+ };
222
+ export const CustomRoutingProtocol = {
223
+ TCP: "TCP",
224
+ UDP: "UDP",
225
+ };
226
+ export const Protocol = {
227
+ TCP: "TCP",
228
+ UDP: "UDP",
229
+ };
239
230
  export class EndpointGroupAlreadyExistsException extends __BaseException {
240
231
  constructor(opts) {
241
232
  super({
@@ -275,17 +266,15 @@ export class ListenerNotFoundException extends __BaseException {
275
266
  this.Message = opts.Message;
276
267
  }
277
268
  }
278
- export var HealthCheckProtocol;
279
- (function (HealthCheckProtocol) {
280
- HealthCheckProtocol["HTTP"] = "HTTP";
281
- HealthCheckProtocol["HTTPS"] = "HTTPS";
282
- HealthCheckProtocol["TCP"] = "TCP";
283
- })(HealthCheckProtocol || (HealthCheckProtocol = {}));
284
- export var CustomRoutingDestinationTrafficState;
285
- (function (CustomRoutingDestinationTrafficState) {
286
- CustomRoutingDestinationTrafficState["ALLOW"] = "ALLOW";
287
- CustomRoutingDestinationTrafficState["DENY"] = "DENY";
288
- })(CustomRoutingDestinationTrafficState || (CustomRoutingDestinationTrafficState = {}));
269
+ export const HealthCheckProtocol = {
270
+ HTTP: "HTTP",
271
+ HTTPS: "HTTPS",
272
+ TCP: "TCP",
273
+ };
274
+ export const CustomRoutingDestinationTrafficState = {
275
+ ALLOW: "ALLOW",
276
+ DENY: "DENY",
277
+ };
289
278
  export class EndpointNotFoundException extends __BaseException {
290
279
  constructor(opts) {
291
280
  super({
@@ -20,18 +20,28 @@ export interface AcceleratorEvent {
20
20
  }
21
21
  /**
22
22
  * @public
23
+ * @enum
23
24
  */
24
- export declare enum IpAddressType {
25
- DUAL_STACK = "DUAL_STACK",
26
- IPV4 = "IPV4"
27
- }
25
+ export declare const IpAddressType: {
26
+ readonly DUAL_STACK: "DUAL_STACK";
27
+ readonly IPV4: "IPV4";
28
+ };
28
29
  /**
29
30
  * @public
30
31
  */
31
- export declare enum IpAddressFamily {
32
- IPv4 = "IPv4",
33
- IPv6 = "IPv6"
34
- }
32
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
33
+ /**
34
+ * @public
35
+ * @enum
36
+ */
37
+ export declare const IpAddressFamily: {
38
+ readonly IPv4: "IPv4";
39
+ readonly IPv6: "IPv6";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type IpAddressFamily = (typeof IpAddressFamily)[keyof typeof IpAddressFamily];
35
45
  /**
36
46
  * @public
37
47
  * <p>A complex type for the set of IP addresses for an accelerator.</p>
@@ -54,11 +64,16 @@ export interface IpSet {
54
64
  }
55
65
  /**
56
66
  * @public
67
+ * @enum
57
68
  */
58
- export declare enum AcceleratorStatus {
59
- DEPLOYED = "DEPLOYED",
60
- IN_PROGRESS = "IN_PROGRESS"
61
- }
69
+ export declare const AcceleratorStatus: {
70
+ readonly DEPLOYED: "DEPLOYED";
71
+ readonly IN_PROGRESS: "IN_PROGRESS";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type AcceleratorStatus = (typeof AcceleratorStatus)[keyof typeof AcceleratorStatus];
62
77
  /**
63
78
  * @public
64
79
  * <p>An accelerator is a complex type that includes one or more listeners that process inbound connections and then direct
@@ -369,12 +384,17 @@ export interface AddEndpointsRequest {
369
384
  }
370
385
  /**
371
386
  * @public
387
+ * @enum
372
388
  */
373
- export declare enum HealthState {
374
- HEALTHY = "HEALTHY",
375
- INITIAL = "INITIAL",
376
- UNHEALTHY = "UNHEALTHY"
377
- }
389
+ export declare const HealthState: {
390
+ readonly HEALTHY: "HEALTHY";
391
+ readonly INITIAL: "INITIAL";
392
+ readonly UNHEALTHY: "UNHEALTHY";
393
+ };
394
+ /**
395
+ * @public
396
+ */
397
+ export type HealthState = (typeof HealthState)[keyof typeof HealthState];
378
398
  /**
379
399
  * @public
380
400
  * <p>A complex type for an endpoint. Each endpoint group can include one or more endpoints, such as load
@@ -474,20 +494,25 @@ export interface ByoipCidrEvent {
474
494
  }
475
495
  /**
476
496
  * @public
497
+ * @enum
477
498
  */
478
- export declare enum ByoipCidrState {
479
- ADVERTISING = "ADVERTISING",
480
- DEPROVISIONED = "DEPROVISIONED",
481
- FAILED_ADVERTISING = "FAILED_ADVERTISING",
482
- FAILED_DEPROVISION = "FAILED_DEPROVISION",
483
- FAILED_PROVISION = "FAILED_PROVISION",
484
- FAILED_WITHDRAW = "FAILED_WITHDRAW",
485
- PENDING_ADVERTISING = "PENDING_ADVERTISING",
486
- PENDING_DEPROVISIONING = "PENDING_DEPROVISIONING",
487
- PENDING_PROVISIONING = "PENDING_PROVISIONING",
488
- PENDING_WITHDRAWING = "PENDING_WITHDRAWING",
489
- READY = "READY"
490
- }
499
+ export declare const ByoipCidrState: {
500
+ readonly ADVERTISING: "ADVERTISING";
501
+ readonly DEPROVISIONED: "DEPROVISIONED";
502
+ readonly FAILED_ADVERTISING: "FAILED_ADVERTISING";
503
+ readonly FAILED_DEPROVISION: "FAILED_DEPROVISION";
504
+ readonly FAILED_PROVISION: "FAILED_PROVISION";
505
+ readonly FAILED_WITHDRAW: "FAILED_WITHDRAW";
506
+ readonly PENDING_ADVERTISING: "PENDING_ADVERTISING";
507
+ readonly PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING";
508
+ readonly PENDING_PROVISIONING: "PENDING_PROVISIONING";
509
+ readonly PENDING_WITHDRAWING: "PENDING_WITHDRAWING";
510
+ readonly READY: "READY";
511
+ };
512
+ /**
513
+ * @public
514
+ */
515
+ export type ByoipCidrState = (typeof ByoipCidrState)[keyof typeof ByoipCidrState];
491
516
  /**
492
517
  * @public
493
518
  * <p>Information about an IP address range that is provisioned for use with your Amazon Web Services resources through
@@ -695,11 +720,16 @@ export interface CidrAuthorizationContext {
695
720
  }
696
721
  /**
697
722
  * @public
723
+ * @enum
698
724
  */
699
- export declare enum ClientAffinity {
700
- NONE = "NONE",
701
- SOURCE_IP = "SOURCE_IP"
702
- }
725
+ export declare const ClientAffinity: {
726
+ readonly NONE: "NONE";
727
+ readonly SOURCE_IP: "SOURCE_IP";
728
+ };
729
+ /**
730
+ * @public
731
+ */
732
+ export type ClientAffinity = (typeof ClientAffinity)[keyof typeof ClientAffinity];
703
733
  /**
704
734
  * @public
705
735
  * <p>A complex type that contains a <code>Tag</code> key and <code>Tag</code> value.</p>
@@ -815,11 +845,16 @@ export interface CreateCustomRoutingAcceleratorRequest {
815
845
  }
816
846
  /**
817
847
  * @public
848
+ * @enum
818
849
  */
819
- export declare enum CustomRoutingAcceleratorStatus {
820
- DEPLOYED = "DEPLOYED",
821
- IN_PROGRESS = "IN_PROGRESS"
822
- }
850
+ export declare const CustomRoutingAcceleratorStatus: {
851
+ readonly DEPLOYED: "DEPLOYED";
852
+ readonly IN_PROGRESS: "IN_PROGRESS";
853
+ };
854
+ /**
855
+ * @public
856
+ */
857
+ export type CustomRoutingAcceleratorStatus = (typeof CustomRoutingAcceleratorStatus)[keyof typeof CustomRoutingAcceleratorStatus];
823
858
  /**
824
859
  * @public
825
860
  * <p>Attributes of a custom routing accelerator.</p>
@@ -883,11 +918,16 @@ export interface CreateCustomRoutingAcceleratorResponse {
883
918
  }
884
919
  /**
885
920
  * @public
921
+ * @enum
886
922
  */
887
- export declare enum CustomRoutingProtocol {
888
- TCP = "TCP",
889
- UDP = "UDP"
890
- }
923
+ export declare const CustomRoutingProtocol: {
924
+ readonly TCP: "TCP";
925
+ readonly UDP: "UDP";
926
+ };
927
+ /**
928
+ * @public
929
+ */
930
+ export type CustomRoutingProtocol = (typeof CustomRoutingProtocol)[keyof typeof CustomRoutingProtocol];
891
931
  /**
892
932
  * @public
893
933
  * <p>For a custom routing accelerator, sets the port range and protocol for all endpoints (virtual
@@ -933,11 +973,16 @@ export interface CreateCustomRoutingEndpointGroupRequest {
933
973
  }
934
974
  /**
935
975
  * @public
976
+ * @enum
936
977
  */
937
- export declare enum Protocol {
938
- TCP = "TCP",
939
- UDP = "UDP"
940
- }
978
+ export declare const Protocol: {
979
+ readonly TCP: "TCP";
980
+ readonly UDP: "UDP";
981
+ };
982
+ /**
983
+ * @public
984
+ */
985
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
941
986
  /**
942
987
  * @public
943
988
  * <p>For a custom routing accelerator, describes the port range and protocol for all endpoints
@@ -1091,12 +1136,17 @@ export interface CreateCustomRoutingListenerResponse {
1091
1136
  }
1092
1137
  /**
1093
1138
  * @public
1139
+ * @enum
1094
1140
  */
1095
- export declare enum HealthCheckProtocol {
1096
- HTTP = "HTTP",
1097
- HTTPS = "HTTPS",
1098
- TCP = "TCP"
1099
- }
1141
+ export declare const HealthCheckProtocol: {
1142
+ readonly HTTP: "HTTP";
1143
+ readonly HTTPS: "HTTPS";
1144
+ readonly TCP: "TCP";
1145
+ };
1146
+ /**
1147
+ * @public
1148
+ */
1149
+ export type HealthCheckProtocol = (typeof HealthCheckProtocol)[keyof typeof HealthCheckProtocol];
1100
1150
  /**
1101
1151
  * @public
1102
1152
  * <p>Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.
@@ -1360,11 +1410,16 @@ export interface CustomRoutingAcceleratorAttributes {
1360
1410
  }
1361
1411
  /**
1362
1412
  * @public
1413
+ * @enum
1363
1414
  */
1364
- export declare enum CustomRoutingDestinationTrafficState {
1365
- ALLOW = "ALLOW",
1366
- DENY = "DENY"
1367
- }
1415
+ export declare const CustomRoutingDestinationTrafficState: {
1416
+ readonly ALLOW: "ALLOW";
1417
+ readonly DENY: "DENY";
1418
+ };
1419
+ /**
1420
+ * @public
1421
+ */
1422
+ export type CustomRoutingDestinationTrafficState = (typeof CustomRoutingDestinationTrafficState)[keyof typeof CustomRoutingDestinationTrafficState];
1368
1423
  /**
1369
1424
  * @public
1370
1425
  */
@@ -4,23 +4,28 @@ export interface AcceleratorEvent {
4
4
  Message?: string;
5
5
  Timestamp?: Date;
6
6
  }
7
- export declare enum IpAddressType {
8
- DUAL_STACK = "DUAL_STACK",
9
- IPV4 = "IPV4",
10
- }
11
- export declare enum IpAddressFamily {
12
- IPv4 = "IPv4",
13
- IPv6 = "IPv6",
14
- }
7
+ export declare const IpAddressType: {
8
+ readonly DUAL_STACK: "DUAL_STACK";
9
+ readonly IPV4: "IPV4";
10
+ };
11
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
12
+ export declare const IpAddressFamily: {
13
+ readonly IPv4: "IPv4";
14
+ readonly IPv6: "IPv6";
15
+ };
16
+ export type IpAddressFamily =
17
+ (typeof IpAddressFamily)[keyof typeof IpAddressFamily];
15
18
  export interface IpSet {
16
19
  IpFamily?: string;
17
20
  IpAddresses?: string[];
18
21
  IpAddressFamily?: IpAddressFamily | string;
19
22
  }
20
- export declare enum AcceleratorStatus {
21
- DEPLOYED = "DEPLOYED",
22
- IN_PROGRESS = "IN_PROGRESS",
23
- }
23
+ export declare const AcceleratorStatus: {
24
+ readonly DEPLOYED: "DEPLOYED";
25
+ readonly IN_PROGRESS: "IN_PROGRESS";
26
+ };
27
+ export type AcceleratorStatus =
28
+ (typeof AcceleratorStatus)[keyof typeof AcceleratorStatus];
24
29
  export interface Accelerator {
25
30
  AcceleratorArn?: string;
26
31
  Name?: string;
@@ -135,11 +140,12 @@ export interface AddEndpointsRequest {
135
140
  EndpointConfigurations: EndpointConfiguration[] | undefined;
136
141
  EndpointGroupArn: string | undefined;
137
142
  }
138
- export declare enum HealthState {
139
- HEALTHY = "HEALTHY",
140
- INITIAL = "INITIAL",
141
- UNHEALTHY = "UNHEALTHY",
142
- }
143
+ export declare const HealthState: {
144
+ readonly HEALTHY: "HEALTHY";
145
+ readonly INITIAL: "INITIAL";
146
+ readonly UNHEALTHY: "UNHEALTHY";
147
+ };
148
+ export type HealthState = (typeof HealthState)[keyof typeof HealthState];
143
149
  export interface EndpointDescription {
144
150
  EndpointId?: string;
145
151
  Weight?: number;
@@ -166,19 +172,21 @@ export interface ByoipCidrEvent {
166
172
  Message?: string;
167
173
  Timestamp?: Date;
168
174
  }
169
- export declare enum ByoipCidrState {
170
- ADVERTISING = "ADVERTISING",
171
- DEPROVISIONED = "DEPROVISIONED",
172
- FAILED_ADVERTISING = "FAILED_ADVERTISING",
173
- FAILED_DEPROVISION = "FAILED_DEPROVISION",
174
- FAILED_PROVISION = "FAILED_PROVISION",
175
- FAILED_WITHDRAW = "FAILED_WITHDRAW",
176
- PENDING_ADVERTISING = "PENDING_ADVERTISING",
177
- PENDING_DEPROVISIONING = "PENDING_DEPROVISIONING",
178
- PENDING_PROVISIONING = "PENDING_PROVISIONING",
179
- PENDING_WITHDRAWING = "PENDING_WITHDRAWING",
180
- READY = "READY",
181
- }
175
+ export declare const ByoipCidrState: {
176
+ readonly ADVERTISING: "ADVERTISING";
177
+ readonly DEPROVISIONED: "DEPROVISIONED";
178
+ readonly FAILED_ADVERTISING: "FAILED_ADVERTISING";
179
+ readonly FAILED_DEPROVISION: "FAILED_DEPROVISION";
180
+ readonly FAILED_PROVISION: "FAILED_PROVISION";
181
+ readonly FAILED_WITHDRAW: "FAILED_WITHDRAW";
182
+ readonly PENDING_ADVERTISING: "PENDING_ADVERTISING";
183
+ readonly PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING";
184
+ readonly PENDING_PROVISIONING: "PENDING_PROVISIONING";
185
+ readonly PENDING_WITHDRAWING: "PENDING_WITHDRAWING";
186
+ readonly READY: "READY";
187
+ };
188
+ export type ByoipCidrState =
189
+ (typeof ByoipCidrState)[keyof typeof ByoipCidrState];
182
190
  export interface ByoipCidr {
183
191
  Cidr?: string;
184
192
  State?: ByoipCidrState | string;
@@ -236,10 +244,12 @@ export interface CidrAuthorizationContext {
236
244
  Message: string | undefined;
237
245
  Signature: string | undefined;
238
246
  }
239
- export declare enum ClientAffinity {
240
- NONE = "NONE",
241
- SOURCE_IP = "SOURCE_IP",
242
- }
247
+ export declare const ClientAffinity: {
248
+ readonly NONE: "NONE";
249
+ readonly SOURCE_IP: "SOURCE_IP";
250
+ };
251
+ export type ClientAffinity =
252
+ (typeof ClientAffinity)[keyof typeof ClientAffinity];
243
253
  export interface Tag {
244
254
  Key: string | undefined;
245
255
  Value: string | undefined;
@@ -263,10 +273,12 @@ export interface CreateCustomRoutingAcceleratorRequest {
263
273
  IdempotencyToken?: string;
264
274
  Tags?: Tag[];
265
275
  }
266
- export declare enum CustomRoutingAcceleratorStatus {
267
- DEPLOYED = "DEPLOYED",
268
- IN_PROGRESS = "IN_PROGRESS",
269
- }
276
+ export declare const CustomRoutingAcceleratorStatus: {
277
+ readonly DEPLOYED: "DEPLOYED";
278
+ readonly IN_PROGRESS: "IN_PROGRESS";
279
+ };
280
+ export type CustomRoutingAcceleratorStatus =
281
+ (typeof CustomRoutingAcceleratorStatus)[keyof typeof CustomRoutingAcceleratorStatus];
270
282
  export interface CustomRoutingAccelerator {
271
283
  AcceleratorArn?: string;
272
284
  Name?: string;
@@ -281,10 +293,12 @@ export interface CustomRoutingAccelerator {
281
293
  export interface CreateCustomRoutingAcceleratorResponse {
282
294
  Accelerator?: CustomRoutingAccelerator;
283
295
  }
284
- export declare enum CustomRoutingProtocol {
285
- TCP = "TCP",
286
- UDP = "UDP",
287
- }
296
+ export declare const CustomRoutingProtocol: {
297
+ readonly TCP: "TCP";
298
+ readonly UDP: "UDP";
299
+ };
300
+ export type CustomRoutingProtocol =
301
+ (typeof CustomRoutingProtocol)[keyof typeof CustomRoutingProtocol];
288
302
  export interface CustomRoutingDestinationConfiguration {
289
303
  FromPort: number | undefined;
290
304
  ToPort: number | undefined;
@@ -298,10 +312,11 @@ export interface CreateCustomRoutingEndpointGroupRequest {
298
312
  | undefined;
299
313
  IdempotencyToken?: string;
300
314
  }
301
- export declare enum Protocol {
302
- TCP = "TCP",
303
- UDP = "UDP",
304
- }
315
+ export declare const Protocol: {
316
+ readonly TCP: "TCP";
317
+ readonly UDP: "UDP";
318
+ };
319
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
305
320
  export interface CustomRoutingDestinationDescription {
306
321
  FromPort?: number;
307
322
  ToPort?: number;
@@ -359,11 +374,13 @@ export interface CustomRoutingListener {
359
374
  export interface CreateCustomRoutingListenerResponse {
360
375
  Listener?: CustomRoutingListener;
361
376
  }
362
- export declare enum HealthCheckProtocol {
363
- HTTP = "HTTP",
364
- HTTPS = "HTTPS",
365
- TCP = "TCP",
366
- }
377
+ export declare const HealthCheckProtocol: {
378
+ readonly HTTP: "HTTP";
379
+ readonly HTTPS: "HTTPS";
380
+ readonly TCP: "TCP";
381
+ };
382
+ export type HealthCheckProtocol =
383
+ (typeof HealthCheckProtocol)[keyof typeof HealthCheckProtocol];
367
384
  export interface PortOverride {
368
385
  ListenerPort?: number;
369
386
  EndpointPort?: number;
@@ -417,10 +434,12 @@ export interface CustomRoutingAcceleratorAttributes {
417
434
  FlowLogsS3Bucket?: string;
418
435
  FlowLogsS3Prefix?: string;
419
436
  }
420
- export declare enum CustomRoutingDestinationTrafficState {
421
- ALLOW = "ALLOW",
422
- DENY = "DENY",
423
- }
437
+ export declare const CustomRoutingDestinationTrafficState: {
438
+ readonly ALLOW: "ALLOW";
439
+ readonly DENY: "DENY";
440
+ };
441
+ export type CustomRoutingDestinationTrafficState =
442
+ (typeof CustomRoutingDestinationTrafficState)[keyof typeof CustomRoutingDestinationTrafficState];
424
443
  export interface DeleteAcceleratorRequest {
425
444
  AcceleratorArn: string | undefined;
426
445
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-global-accelerator",
3
3
  "description": "AWS SDK for JavaScript Global Accelerator Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",