@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.
@@ -47,8 +47,7 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "globalaccelerator", regionHash: regionHash,
51
- partitionHash: partitionHash }))];
50
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "globalaccelerator", regionHash: regionHash, partitionHash: partitionHash }))];
52
51
  });
53
52
  }); };
54
53
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,0CAA0C;KACrD;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,6CAA6C;KACxD;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,uCAAuC;KAClD;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,C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ACF,CAAC;AAEF,MAAM,CAAC,IAAM,yBAAyB,GAAuB,UAAO,MAAc,EAAE,OAAa;;QAC/F,sBAAA,aAAa,CAAC,MAAM,wBACf,OAAO,KACV,cAAc,EAAE,mBAAmB,EACnC,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, limitedParseFloat as __limitedParseFloat, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_json1_1AddCustomRoutingEndpointsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -4842,7 +4842,7 @@ var deserializeAws_json1_1Accelerator = function (output, context) {
4842
4842
  return {
4843
4843
  AcceleratorArn: __expectString(output.AcceleratorArn),
4844
4844
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
4845
- ? new Date(Math.round(output.CreatedTime * 1000))
4845
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
4846
4846
  : undefined,
4847
4847
  DnsName: __expectString(output.DnsName),
4848
4848
  Enabled: __expectBoolean(output.Enabled),
@@ -4851,7 +4851,7 @@ var deserializeAws_json1_1Accelerator = function (output, context) {
4851
4851
  ? deserializeAws_json1_1IpSets(output.IpSets, context)
4852
4852
  : undefined,
4853
4853
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4854
- ? new Date(Math.round(output.LastModifiedTime * 1000))
4854
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
4855
4855
  : undefined,
4856
4856
  Name: __expectString(output.Name),
4857
4857
  Status: __expectString(output.Status),
@@ -4927,7 +4927,7 @@ var deserializeAws_json1_1ByoipCidrEvent = function (output, context) {
4927
4927
  return {
4928
4928
  Message: __expectString(output.Message),
4929
4929
  Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
4930
- ? new Date(Math.round(output.Timestamp * 1000))
4930
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp)))
4931
4931
  : undefined,
4932
4932
  };
4933
4933
  };
@@ -5007,7 +5007,7 @@ var deserializeAws_json1_1CustomRoutingAccelerator = function (output, context)
5007
5007
  return {
5008
5008
  AcceleratorArn: __expectString(output.AcceleratorArn),
5009
5009
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
5010
- ? new Date(Math.round(output.CreatedTime * 1000))
5010
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
5011
5011
  : undefined,
5012
5012
  DnsName: __expectString(output.DnsName),
5013
5013
  Enabled: __expectBoolean(output.Enabled),
@@ -5016,7 +5016,7 @@ var deserializeAws_json1_1CustomRoutingAccelerator = function (output, context)
5016
5016
  ? deserializeAws_json1_1IpSets(output.IpSets, context)
5017
5017
  : undefined,
5018
5018
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5019
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5019
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5020
5020
  : undefined,
5021
5021
  Name: __expectString(output.Name),
5022
5022
  Status: __expectString(output.Status),
@@ -5041,11 +5041,11 @@ var deserializeAws_json1_1CustomRoutingAccelerators = function (output, context)
5041
5041
  };
5042
5042
  var deserializeAws_json1_1CustomRoutingDestinationDescription = function (output, context) {
5043
5043
  return {
5044
- FromPort: __expectInt(output.FromPort),
5044
+ FromPort: __expectInt32(output.FromPort),
5045
5045
  Protocols: output.Protocols !== undefined && output.Protocols !== null
5046
5046
  ? deserializeAws_json1_1Protocols(output.Protocols, context)
5047
5047
  : undefined,
5048
- ToPort: __expectInt(output.ToPort),
5048
+ ToPort: __expectInt32(output.ToPort),
5049
5049
  };
5050
5050
  };
5051
5051
  var deserializeAws_json1_1CustomRoutingDestinationDescriptions = function (output, context) {
@@ -5223,7 +5223,7 @@ var deserializeAws_json1_1EndpointDescription = function (output, context) {
5223
5223
  EndpointId: __expectString(output.EndpointId),
5224
5224
  HealthReason: __expectString(output.HealthReason),
5225
5225
  HealthState: __expectString(output.HealthState),
5226
- Weight: __expectInt(output.Weight),
5226
+ Weight: __expectInt32(output.Weight),
5227
5227
  };
5228
5228
  };
5229
5229
  var deserializeAws_json1_1EndpointDescriptions = function (output, context) {
@@ -5243,15 +5243,15 @@ var deserializeAws_json1_1EndpointGroup = function (output, context) {
5243
5243
  : undefined,
5244
5244
  EndpointGroupArn: __expectString(output.EndpointGroupArn),
5245
5245
  EndpointGroupRegion: __expectString(output.EndpointGroupRegion),
5246
- HealthCheckIntervalSeconds: __expectInt(output.HealthCheckIntervalSeconds),
5246
+ HealthCheckIntervalSeconds: __expectInt32(output.HealthCheckIntervalSeconds),
5247
5247
  HealthCheckPath: __expectString(output.HealthCheckPath),
5248
- HealthCheckPort: __expectInt(output.HealthCheckPort),
5248
+ HealthCheckPort: __expectInt32(output.HealthCheckPort),
5249
5249
  HealthCheckProtocol: __expectString(output.HealthCheckProtocol),
5250
5250
  PortOverrides: output.PortOverrides !== undefined && output.PortOverrides !== null
5251
5251
  ? deserializeAws_json1_1PortOverrides(output.PortOverrides, context)
5252
5252
  : undefined,
5253
- ThresholdCount: __expectInt(output.ThresholdCount),
5254
- TrafficDialPercentage: __limitedParseFloat(output.TrafficDialPercentage),
5253
+ ThresholdCount: __expectInt32(output.ThresholdCount),
5254
+ TrafficDialPercentage: __limitedParseFloat32(output.TrafficDialPercentage),
5255
5255
  };
5256
5256
  };
5257
5257
  var deserializeAws_json1_1EndpointGroupAlreadyExistsException = function (output, context) {
@@ -5441,7 +5441,7 @@ var deserializeAws_json1_1ListTagsForResourceResponse = function (output, contex
5441
5441
  };
5442
5442
  var deserializeAws_json1_1PortMapping = function (output, context) {
5443
5443
  return {
5444
- AcceleratorPort: __expectInt(output.AcceleratorPort),
5444
+ AcceleratorPort: __expectInt32(output.AcceleratorPort),
5445
5445
  DestinationSocketAddress: output.DestinationSocketAddress !== undefined && output.DestinationSocketAddress !== null
5446
5446
  ? deserializeAws_json1_1SocketAddress(output.DestinationSocketAddress, context)
5447
5447
  : undefined,
@@ -5465,8 +5465,8 @@ var deserializeAws_json1_1PortMappings = function (output, context) {
5465
5465
  };
5466
5466
  var deserializeAws_json1_1PortOverride = function (output, context) {
5467
5467
  return {
5468
- EndpointPort: __expectInt(output.EndpointPort),
5469
- ListenerPort: __expectInt(output.ListenerPort),
5468
+ EndpointPort: __expectInt32(output.EndpointPort),
5469
+ ListenerPort: __expectInt32(output.ListenerPort),
5470
5470
  };
5471
5471
  };
5472
5472
  var deserializeAws_json1_1PortOverrides = function (output, context) {
@@ -5481,8 +5481,8 @@ var deserializeAws_json1_1PortOverrides = function (output, context) {
5481
5481
  };
5482
5482
  var deserializeAws_json1_1PortRange = function (output, context) {
5483
5483
  return {
5484
- FromPort: __expectInt(output.FromPort),
5485
- ToPort: __expectInt(output.ToPort),
5484
+ FromPort: __expectInt32(output.FromPort),
5485
+ ToPort: __expectInt32(output.ToPort),
5486
5486
  };
5487
5487
  };
5488
5488
  var deserializeAws_json1_1PortRanges = function (output, context) {
@@ -5515,7 +5515,7 @@ var deserializeAws_json1_1ProvisionByoipCidrResponse = function (output, context
5515
5515
  var deserializeAws_json1_1SocketAddress = function (output, context) {
5516
5516
  return {
5517
5517
  IpAddress: __expectString(output.IpAddress),
5518
- Port: __expectInt(output.Port),
5518
+ Port: __expectInt32(output.Port),
5519
5519
  };
5520
5520
  };
5521
5521
  var deserializeAws_json1_1SocketAddresses = function (output, context) {