@aws-sdk/client-global-accelerator 3.28.0 → 3.32.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/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.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -272,9 +272,12 @@ import {
272
272
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
273
273
  import {
274
274
  expectBoolean as __expectBoolean,
275
- expectInt as __expectInt,
275
+ expectInt32 as __expectInt32,
276
+ expectNonNull as __expectNonNull,
277
+ expectNumber as __expectNumber,
276
278
  expectString as __expectString,
277
- limitedParseFloat as __limitedParseFloat,
279
+ limitedParseFloat32 as __limitedParseFloat32,
280
+ parseEpochTimestamp as __parseEpochTimestamp,
278
281
  serializeFloat as __serializeFloat,
279
282
  } from "@aws-sdk/smithy-client";
280
283
  import {
@@ -5606,7 +5609,7 @@ const deserializeAws_json1_1Accelerator = (output: any, context: __SerdeContext)
5606
5609
  AcceleratorArn: __expectString(output.AcceleratorArn),
5607
5610
  CreatedTime:
5608
5611
  output.CreatedTime !== undefined && output.CreatedTime !== null
5609
- ? new Date(Math.round(output.CreatedTime * 1000))
5612
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5610
5613
  : undefined,
5611
5614
  DnsName: __expectString(output.DnsName),
5612
5615
  Enabled: __expectBoolean(output.Enabled),
@@ -5617,7 +5620,7 @@ const deserializeAws_json1_1Accelerator = (output: any, context: __SerdeContext)
5617
5620
  : undefined,
5618
5621
  LastModifiedTime:
5619
5622
  output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5620
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5623
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5621
5624
  : undefined,
5622
5625
  Name: __expectString(output.Name),
5623
5626
  Status: __expectString(output.Status),
@@ -5726,7 +5729,7 @@ const deserializeAws_json1_1ByoipCidrEvent = (output: any, context: __SerdeConte
5726
5729
  Message: __expectString(output.Message),
5727
5730
  Timestamp:
5728
5731
  output.Timestamp !== undefined && output.Timestamp !== null
5729
- ? new Date(Math.round(output.Timestamp * 1000))
5732
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp)))
5730
5733
  : undefined,
5731
5734
  } as any;
5732
5735
  };
@@ -5845,7 +5848,7 @@ const deserializeAws_json1_1CustomRoutingAccelerator = (
5845
5848
  AcceleratorArn: __expectString(output.AcceleratorArn),
5846
5849
  CreatedTime:
5847
5850
  output.CreatedTime !== undefined && output.CreatedTime !== null
5848
- ? new Date(Math.round(output.CreatedTime * 1000))
5851
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5849
5852
  : undefined,
5850
5853
  DnsName: __expectString(output.DnsName),
5851
5854
  Enabled: __expectBoolean(output.Enabled),
@@ -5856,7 +5859,7 @@ const deserializeAws_json1_1CustomRoutingAccelerator = (
5856
5859
  : undefined,
5857
5860
  LastModifiedTime:
5858
5861
  output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5859
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5862
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5860
5863
  : undefined,
5861
5864
  Name: __expectString(output.Name),
5862
5865
  Status: __expectString(output.Status),
@@ -5893,12 +5896,12 @@ const deserializeAws_json1_1CustomRoutingDestinationDescription = (
5893
5896
  context: __SerdeContext
5894
5897
  ): CustomRoutingDestinationDescription => {
5895
5898
  return {
5896
- FromPort: __expectInt(output.FromPort),
5899
+ FromPort: __expectInt32(output.FromPort),
5897
5900
  Protocols:
5898
5901
  output.Protocols !== undefined && output.Protocols !== null
5899
5902
  ? deserializeAws_json1_1Protocols(output.Protocols, context)
5900
5903
  : undefined,
5901
- ToPort: __expectInt(output.ToPort),
5904
+ ToPort: __expectInt32(output.ToPort),
5902
5905
  } as any;
5903
5906
  };
5904
5907
 
@@ -6165,7 +6168,7 @@ const deserializeAws_json1_1EndpointDescription = (output: any, context: __Serde
6165
6168
  EndpointId: __expectString(output.EndpointId),
6166
6169
  HealthReason: __expectString(output.HealthReason),
6167
6170
  HealthState: __expectString(output.HealthState),
6168
- Weight: __expectInt(output.Weight),
6171
+ Weight: __expectInt32(output.Weight),
6169
6172
  } as any;
6170
6173
  };
6171
6174
 
@@ -6188,16 +6191,16 @@ const deserializeAws_json1_1EndpointGroup = (output: any, context: __SerdeContex
6188
6191
  : undefined,
6189
6192
  EndpointGroupArn: __expectString(output.EndpointGroupArn),
6190
6193
  EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
6191
- HealthCheckIntervalSeconds: __expectInt(output.HealthCheckIntervalSeconds),
6194
+ HealthCheckIntervalSeconds: __expectInt32(output.HealthCheckIntervalSeconds),
6192
6195
  HealthCheckPath: __expectString(output.HealthCheckPath),
6193
- HealthCheckPort: __expectInt(output.HealthCheckPort),
6196
+ HealthCheckPort: __expectInt32(output.HealthCheckPort),
6194
6197
  HealthCheckProtocol: __expectString(output.HealthCheckProtocol),
6195
6198
  PortOverrides:
6196
6199
  output.PortOverrides !== undefined && output.PortOverrides !== null
6197
6200
  ? deserializeAws_json1_1PortOverrides(output.PortOverrides, context)
6198
6201
  : undefined,
6199
- ThresholdCount: __expectInt(output.ThresholdCount),
6200
- TrafficDialPercentage: __limitedParseFloat(output.TrafficDialPercentage),
6202
+ ThresholdCount: __expectInt32(output.ThresholdCount),
6203
+ TrafficDialPercentage: __limitedParseFloat32(output.TrafficDialPercentage),
6201
6204
  } as any;
6202
6205
  };
6203
6206
 
@@ -6477,7 +6480,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (
6477
6480
 
6478
6481
  const deserializeAws_json1_1PortMapping = (output: any, context: __SerdeContext): PortMapping => {
6479
6482
  return {
6480
- AcceleratorPort: __expectInt(output.AcceleratorPort),
6483
+ AcceleratorPort: __expectInt32(output.AcceleratorPort),
6481
6484
  DestinationSocketAddress:
6482
6485
  output.DestinationSocketAddress !== undefined && output.DestinationSocketAddress !== null
6483
6486
  ? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
@@ -6505,8 +6508,8 @@ const deserializeAws_json1_1PortMappings = (output: any, context: __SerdeContext
6505
6508
 
6506
6509
  const deserializeAws_json1_1PortOverride = (output: any, context: __SerdeContext): PortOverride => {
6507
6510
  return {
6508
- EndpointPort: __expectInt(output.EndpointPort),
6509
- ListenerPort: __expectInt(output.ListenerPort),
6511
+ EndpointPort: __expectInt32(output.EndpointPort),
6512
+ ListenerPort: __expectInt32(output.ListenerPort),
6510
6513
  } as any;
6511
6514
  };
6512
6515
 
@@ -6523,8 +6526,8 @@ const deserializeAws_json1_1PortOverrides = (output: any, context: __SerdeContex
6523
6526
 
6524
6527
  const deserializeAws_json1_1PortRange = (output: any, context: __SerdeContext): PortRange => {
6525
6528
  return {
6526
- FromPort: __expectInt(output.FromPort),
6527
- ToPort: __expectInt(output.ToPort),
6529
+ FromPort: __expectInt32(output.FromPort),
6530
+ ToPort: __expectInt32(output.ToPort),
6528
6531
  } as any;
6529
6532
  };
6530
6533
 
@@ -6565,7 +6568,7 @@ const deserializeAws_json1_1ProvisionByoipCidrResponse = (
6565
6568
  const deserializeAws_json1_1SocketAddress = (output: any, context: __SerdeContext): SocketAddress => {
6566
6569
  return {
6567
6570
  IpAddress: __expectString(output.IpAddress),
6568
- Port: __expectInt(output.Port),
6571
+ Port: __expectInt32(output.Port),
6569
6572
  } as any;
6570
6573
  };
6571
6574