@aws-sdk/client-global-accelerator 3.300.0 → 3.303.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.
Files changed (54) hide show
  1. package/dist-cjs/models/models_0.js +55 -66
  2. package/dist-es/models/models_0.js +55 -66
  3. package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +3 -3
  4. package/dist-types/commands/AddEndpointsCommand.d.ts +3 -3
  5. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +1 -1
  6. package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +3 -3
  7. package/dist-types/commands/CreateAcceleratorCommand.d.ts +4 -4
  8. package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +4 -4
  9. package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +3 -3
  11. package/dist-types/commands/CreateEndpointGroupCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateListenerCommand.d.ts +3 -3
  13. package/dist-types/commands/DeleteAcceleratorCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteListenerCommand.d.ts +1 -1
  19. package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +3 -3
  20. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeAcceleratorCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeListenerCommand.d.ts +1 -1
  29. package/dist-types/commands/ListAcceleratorsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListByoipCidrsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +1 -1
  34. package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +1 -1
  35. package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListEndpointGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListListenersCommand.d.ts +1 -1
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -2
  40. package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -2
  41. package/dist-types/commands/RemoveEndpointsCommand.d.ts +3 -3
  42. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  43. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  44. package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateAcceleratorCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +3 -3
  49. package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +5 -5
  50. package/dist-types/commands/UpdateListenerCommand.d.ts +3 -3
  51. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +1 -1
  52. package/dist-types/models/models_0.d.ts +110 -55
  53. package/dist-types/ts3.4/models/models_0.d.ts +74 -55
  54. package/package.json +34 -34
@@ -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.300.0",
4
+ "version": "3.303.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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",