@aws-sdk/client-cloudwatch-events 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.
@@ -76,8 +76,7 @@ var partitionHash = {
76
76
  };
77
77
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "events", regionHash: regionHash,
80
- partitionHash: partitionHash }))];
79
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "events", regionHash: regionHash, partitionHash: partitionHash }))];
81
80
  });
82
81
  }); };
83
82
  //# 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;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,qCAAqC;QAC/C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,qCAAqC;QAC/C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,qCAAqC;QAC/C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,qCAAqC;QAC/C,aAAa,EAAE,WAAW;KAC3B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,oCAAoC;QAC9C,aAAa,EAAE,eAAe;KAC/B;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,oCAAoC;QAC9C,aAAa,EAAE,eAAe;KAC/B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YACh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ACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch-events",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Events 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,45 +27,45 @@
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
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_json1_1ActivateEventSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var headers, body;
6
6
  return __generator(this, function (_a) {
@@ -5085,13 +5085,13 @@ var deserializeAws_json1_1ApiDestination = function (output, context) {
5085
5085
  ApiDestinationState: __expectString(output.ApiDestinationState),
5086
5086
  ConnectionArn: __expectString(output.ConnectionArn),
5087
5087
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5088
- ? new Date(Math.round(output.CreationTime * 1000))
5088
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5089
5089
  : undefined,
5090
5090
  HttpMethod: __expectString(output.HttpMethod),
5091
5091
  InvocationEndpoint: __expectString(output.InvocationEndpoint),
5092
- InvocationRateLimitPerSecond: __expectInt(output.InvocationRateLimitPerSecond),
5092
+ InvocationRateLimitPerSecond: __expectInt32(output.InvocationRateLimitPerSecond),
5093
5093
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5094
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5094
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5095
5095
  : undefined,
5096
5096
  Name: __expectString(output.Name),
5097
5097
  };
@@ -5110,12 +5110,12 @@ var deserializeAws_json1_1Archive = function (output, context) {
5110
5110
  return {
5111
5111
  ArchiveName: __expectString(output.ArchiveName),
5112
5112
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5113
- ? new Date(Math.round(output.CreationTime * 1000))
5113
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5114
5114
  : undefined,
5115
- EventCount: __expectInt(output.EventCount),
5115
+ EventCount: __expectLong(output.EventCount),
5116
5116
  EventSourceArn: __expectString(output.EventSourceArn),
5117
- RetentionDays: __expectInt(output.RetentionDays),
5118
- SizeBytes: __expectInt(output.SizeBytes),
5117
+ RetentionDays: __expectInt32(output.RetentionDays),
5118
+ SizeBytes: __expectLong(output.SizeBytes),
5119
5119
  State: __expectString(output.State),
5120
5120
  StateReason: __expectString(output.StateReason),
5121
5121
  };
@@ -5143,7 +5143,7 @@ var deserializeAws_json1_1AwsVpcConfiguration = function (output, context) {
5143
5143
  };
5144
5144
  var deserializeAws_json1_1BatchArrayProperties = function (output, context) {
5145
5145
  return {
5146
- Size: __expectInt(output.Size),
5146
+ Size: __expectInt32(output.Size),
5147
5147
  };
5148
5148
  };
5149
5149
  var deserializeAws_json1_1BatchParameters = function (output, context) {
@@ -5160,7 +5160,7 @@ var deserializeAws_json1_1BatchParameters = function (output, context) {
5160
5160
  };
5161
5161
  var deserializeAws_json1_1BatchRetryStrategy = function (output, context) {
5162
5162
  return {
5163
- Attempts: __expectInt(output.Attempts),
5163
+ Attempts: __expectInt32(output.Attempts),
5164
5164
  };
5165
5165
  };
5166
5166
  var deserializeAws_json1_1CancelReplayResponse = function (output, context) {
@@ -5182,9 +5182,9 @@ var deserializeAws_json1_1CapacityProviderStrategy = function (output, context)
5182
5182
  };
5183
5183
  var deserializeAws_json1_1CapacityProviderStrategyItem = function (output, context) {
5184
5184
  return {
5185
- base: __expectInt(output.base),
5185
+ base: __expectInt32(output.base),
5186
5186
  capacityProvider: __expectString(output.capacityProvider),
5187
- weight: __expectInt(output.weight),
5187
+ weight: __expectInt32(output.weight),
5188
5188
  };
5189
5189
  };
5190
5190
  var deserializeAws_json1_1ConcurrentModificationException = function (output, context) {
@@ -5198,13 +5198,13 @@ var deserializeAws_json1_1Connection = function (output, context) {
5198
5198
  ConnectionArn: __expectString(output.ConnectionArn),
5199
5199
  ConnectionState: __expectString(output.ConnectionState),
5200
5200
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5201
- ? new Date(Math.round(output.CreationTime * 1000))
5201
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5202
5202
  : undefined,
5203
5203
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5204
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5204
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
5205
5205
  : undefined,
5206
5206
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5207
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5207
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5208
5208
  : undefined,
5209
5209
  Name: __expectString(output.Name),
5210
5210
  StateReason: __expectString(output.StateReason),
@@ -5332,10 +5332,10 @@ var deserializeAws_json1_1CreateApiDestinationResponse = function (output, conte
5332
5332
  ApiDestinationArn: __expectString(output.ApiDestinationArn),
5333
5333
  ApiDestinationState: __expectString(output.ApiDestinationState),
5334
5334
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5335
- ? new Date(Math.round(output.CreationTime * 1000))
5335
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5336
5336
  : undefined,
5337
5337
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5338
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5338
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5339
5339
  : undefined,
5340
5340
  };
5341
5341
  };
@@ -5343,7 +5343,7 @@ var deserializeAws_json1_1CreateArchiveResponse = function (output, context) {
5343
5343
  return {
5344
5344
  ArchiveArn: __expectString(output.ArchiveArn),
5345
5345
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5346
- ? new Date(Math.round(output.CreationTime * 1000))
5346
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5347
5347
  : undefined,
5348
5348
  State: __expectString(output.State),
5349
5349
  StateReason: __expectString(output.StateReason),
@@ -5354,10 +5354,10 @@ var deserializeAws_json1_1CreateConnectionResponse = function (output, context)
5354
5354
  ConnectionArn: __expectString(output.ConnectionArn),
5355
5355
  ConnectionState: __expectString(output.ConnectionState),
5356
5356
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5357
- ? new Date(Math.round(output.CreationTime * 1000))
5357
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5358
5358
  : undefined,
5359
5359
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5360
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5360
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5361
5361
  : undefined,
5362
5362
  };
5363
5363
  };
@@ -5381,13 +5381,13 @@ var deserializeAws_json1_1DeauthorizeConnectionResponse = function (output, cont
5381
5381
  ConnectionArn: __expectString(output.ConnectionArn),
5382
5382
  ConnectionState: __expectString(output.ConnectionState),
5383
5383
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5384
- ? new Date(Math.round(output.CreationTime * 1000))
5384
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5385
5385
  : undefined,
5386
5386
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5387
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5387
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
5388
5388
  : undefined,
5389
5389
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5390
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5390
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5391
5391
  : undefined,
5392
5392
  };
5393
5393
  };
@@ -5402,13 +5402,13 @@ var deserializeAws_json1_1DeleteConnectionResponse = function (output, context)
5402
5402
  ConnectionArn: __expectString(output.ConnectionArn),
5403
5403
  ConnectionState: __expectString(output.ConnectionState),
5404
5404
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5405
- ? new Date(Math.round(output.CreationTime * 1000))
5405
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5406
5406
  : undefined,
5407
5407
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5408
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5408
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
5409
5409
  : undefined,
5410
5410
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5411
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5411
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5412
5412
  : undefined,
5413
5413
  };
5414
5414
  };
@@ -5418,14 +5418,14 @@ var deserializeAws_json1_1DescribeApiDestinationResponse = function (output, con
5418
5418
  ApiDestinationState: __expectString(output.ApiDestinationState),
5419
5419
  ConnectionArn: __expectString(output.ConnectionArn),
5420
5420
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5421
- ? new Date(Math.round(output.CreationTime * 1000))
5421
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5422
5422
  : undefined,
5423
5423
  Description: __expectString(output.Description),
5424
5424
  HttpMethod: __expectString(output.HttpMethod),
5425
5425
  InvocationEndpoint: __expectString(output.InvocationEndpoint),
5426
- InvocationRateLimitPerSecond: __expectInt(output.InvocationRateLimitPerSecond),
5426
+ InvocationRateLimitPerSecond: __expectInt32(output.InvocationRateLimitPerSecond),
5427
5427
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5428
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5428
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5429
5429
  : undefined,
5430
5430
  Name: __expectString(output.Name),
5431
5431
  };
@@ -5435,14 +5435,14 @@ var deserializeAws_json1_1DescribeArchiveResponse = function (output, context) {
5435
5435
  ArchiveArn: __expectString(output.ArchiveArn),
5436
5436
  ArchiveName: __expectString(output.ArchiveName),
5437
5437
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5438
- ? new Date(Math.round(output.CreationTime * 1000))
5438
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5439
5439
  : undefined,
5440
5440
  Description: __expectString(output.Description),
5441
- EventCount: __expectInt(output.EventCount),
5441
+ EventCount: __expectLong(output.EventCount),
5442
5442
  EventPattern: __expectString(output.EventPattern),
5443
5443
  EventSourceArn: __expectString(output.EventSourceArn),
5444
- RetentionDays: __expectInt(output.RetentionDays),
5445
- SizeBytes: __expectInt(output.SizeBytes),
5444
+ RetentionDays: __expectInt32(output.RetentionDays),
5445
+ SizeBytes: __expectLong(output.SizeBytes),
5446
5446
  State: __expectString(output.State),
5447
5447
  StateReason: __expectString(output.StateReason),
5448
5448
  };
@@ -5456,14 +5456,14 @@ var deserializeAws_json1_1DescribeConnectionResponse = function (output, context
5456
5456
  ConnectionArn: __expectString(output.ConnectionArn),
5457
5457
  ConnectionState: __expectString(output.ConnectionState),
5458
5458
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5459
- ? new Date(Math.round(output.CreationTime * 1000))
5459
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5460
5460
  : undefined,
5461
5461
  Description: __expectString(output.Description),
5462
5462
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5463
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5463
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
5464
5464
  : undefined,
5465
5465
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5466
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5466
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
5467
5467
  : undefined,
5468
5468
  Name: __expectString(output.Name),
5469
5469
  SecretArn: __expectString(output.SecretArn),
@@ -5482,10 +5482,10 @@ var deserializeAws_json1_1DescribeEventSourceResponse = function (output, contex
5482
5482
  Arn: __expectString(output.Arn),
5483
5483
  CreatedBy: __expectString(output.CreatedBy),
5484
5484
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5485
- ? new Date(Math.round(output.CreationTime * 1000))
5485
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5486
5486
  : undefined,
5487
5487
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5488
- ? new Date(Math.round(output.ExpirationTime * 1000))
5488
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
5489
5489
  : undefined,
5490
5490
  Name: __expectString(output.Name),
5491
5491
  State: __expectString(output.State),
@@ -5504,22 +5504,22 @@ var deserializeAws_json1_1DescribeReplayResponse = function (output, context) {
5504
5504
  ? deserializeAws_json1_1ReplayDestination(output.Destination, context)
5505
5505
  : undefined,
5506
5506
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
5507
- ? new Date(Math.round(output.EventEndTime * 1000))
5507
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventEndTime)))
5508
5508
  : undefined,
5509
5509
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
5510
- ? new Date(Math.round(output.EventLastReplayedTime * 1000))
5510
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventLastReplayedTime)))
5511
5511
  : undefined,
5512
5512
  EventSourceArn: __expectString(output.EventSourceArn),
5513
5513
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
5514
- ? new Date(Math.round(output.EventStartTime * 1000))
5514
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventStartTime)))
5515
5515
  : undefined,
5516
5516
  ReplayArn: __expectString(output.ReplayArn),
5517
5517
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
5518
- ? new Date(Math.round(output.ReplayEndTime * 1000))
5518
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayEndTime)))
5519
5519
  : undefined,
5520
5520
  ReplayName: __expectString(output.ReplayName),
5521
5521
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
5522
- ? new Date(Math.round(output.ReplayStartTime * 1000))
5522
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
5523
5523
  : undefined,
5524
5524
  State: __expectString(output.State),
5525
5525
  StateReason: __expectString(output.StateReason),
@@ -5563,7 +5563,7 @@ var deserializeAws_json1_1EcsParameters = function (output, context) {
5563
5563
  Tags: output.Tags !== undefined && output.Tags !== null
5564
5564
  ? deserializeAws_json1_1TagList(output.Tags, context)
5565
5565
  : undefined,
5566
- TaskCount: __expectInt(output.TaskCount),
5566
+ TaskCount: __expectInt32(output.TaskCount),
5567
5567
  TaskDefinitionArn: __expectString(output.TaskDefinitionArn),
5568
5568
  };
5569
5569
  };
@@ -5589,10 +5589,10 @@ var deserializeAws_json1_1EventSource = function (output, context) {
5589
5589
  Arn: __expectString(output.Arn),
5590
5590
  CreatedBy: __expectString(output.CreatedBy),
5591
5591
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5592
- ? new Date(Math.round(output.CreationTime * 1000))
5592
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5593
5593
  : undefined,
5594
5594
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5595
- ? new Date(Math.round(output.ExpirationTime * 1000))
5595
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
5596
5596
  : undefined,
5597
5597
  Name: __expectString(output.Name),
5598
5598
  State: __expectString(output.State),
@@ -5791,10 +5791,10 @@ var deserializeAws_json1_1PartnerEventSourceAccount = function (output, context)
5791
5791
  return {
5792
5792
  Account: __expectString(output.Account),
5793
5793
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5794
- ? new Date(Math.round(output.CreationTime * 1000))
5794
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
5795
5795
  : undefined,
5796
5796
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5797
- ? new Date(Math.round(output.ExpirationTime * 1000))
5797
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTime)))
5798
5798
  : undefined,
5799
5799
  State: __expectString(output.State),
5800
5800
  };
@@ -5871,7 +5871,7 @@ var deserializeAws_json1_1PutEventsResponse = function (output, context) {
5871
5871
  Entries: output.Entries !== undefined && output.Entries !== null
5872
5872
  ? deserializeAws_json1_1PutEventsResultEntryList(output.Entries, context)
5873
5873
  : undefined,
5874
- FailedEntryCount: __expectInt(output.FailedEntryCount),
5874
+ FailedEntryCount: __expectInt32(output.FailedEntryCount),
5875
5875
  };
5876
5876
  };
5877
5877
  var deserializeAws_json1_1PutEventsResultEntry = function (output, context) {
@@ -5896,7 +5896,7 @@ var deserializeAws_json1_1PutPartnerEventsResponse = function (output, context)
5896
5896
  Entries: output.Entries !== undefined && output.Entries !== null
5897
5897
  ? deserializeAws_json1_1PutPartnerEventsResultEntryList(output.Entries, context)
5898
5898
  : undefined,
5899
- FailedEntryCount: __expectInt(output.FailedEntryCount),
5899
+ FailedEntryCount: __expectInt32(output.FailedEntryCount),
5900
5900
  };
5901
5901
  };
5902
5902
  var deserializeAws_json1_1PutPartnerEventsResultEntry = function (output, context) {
@@ -5926,7 +5926,7 @@ var deserializeAws_json1_1PutTargetsResponse = function (output, context) {
5926
5926
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
5927
5927
  ? deserializeAws_json1_1PutTargetsResultEntryList(output.FailedEntries, context)
5928
5928
  : undefined,
5929
- FailedEntryCount: __expectInt(output.FailedEntryCount),
5929
+ FailedEntryCount: __expectInt32(output.FailedEntryCount),
5930
5930
  };
5931
5931
  };
5932
5932
  var deserializeAws_json1_1PutTargetsResultEntry = function (output, context) {
@@ -5971,7 +5971,7 @@ var deserializeAws_json1_1RemoveTargetsResponse = function (output, context) {
5971
5971
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
5972
5972
  ? deserializeAws_json1_1RemoveTargetsResultEntryList(output.FailedEntries, context)
5973
5973
  : undefined,
5974
- FailedEntryCount: __expectInt(output.FailedEntryCount),
5974
+ FailedEntryCount: __expectInt32(output.FailedEntryCount),
5975
5975
  };
5976
5976
  };
5977
5977
  var deserializeAws_json1_1RemoveTargetsResultEntry = function (output, context) {
@@ -5994,21 +5994,21 @@ var deserializeAws_json1_1RemoveTargetsResultEntryList = function (output, conte
5994
5994
  var deserializeAws_json1_1Replay = function (output, context) {
5995
5995
  return {
5996
5996
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
5997
- ? new Date(Math.round(output.EventEndTime * 1000))
5997
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventEndTime)))
5998
5998
  : undefined,
5999
5999
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
6000
- ? new Date(Math.round(output.EventLastReplayedTime * 1000))
6000
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventLastReplayedTime)))
6001
6001
  : undefined,
6002
6002
  EventSourceArn: __expectString(output.EventSourceArn),
6003
6003
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
6004
- ? new Date(Math.round(output.EventStartTime * 1000))
6004
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventStartTime)))
6005
6005
  : undefined,
6006
6006
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
6007
- ? new Date(Math.round(output.ReplayEndTime * 1000))
6007
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayEndTime)))
6008
6008
  : undefined,
6009
6009
  ReplayName: __expectString(output.ReplayName),
6010
6010
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
6011
- ? new Date(Math.round(output.ReplayStartTime * 1000))
6011
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
6012
6012
  : undefined,
6013
6013
  State: __expectString(output.State),
6014
6014
  StateReason: __expectString(output.StateReason),
@@ -6054,8 +6054,8 @@ var deserializeAws_json1_1ResourceNotFoundException = function (output, context)
6054
6054
  };
6055
6055
  var deserializeAws_json1_1RetryPolicy = function (output, context) {
6056
6056
  return {
6057
- MaximumEventAgeInSeconds: __expectInt(output.MaximumEventAgeInSeconds),
6058
- MaximumRetryAttempts: __expectInt(output.MaximumRetryAttempts),
6057
+ MaximumEventAgeInSeconds: __expectInt32(output.MaximumEventAgeInSeconds),
6058
+ MaximumRetryAttempts: __expectInt32(output.MaximumRetryAttempts),
6059
6059
  };
6060
6060
  };
6061
6061
  var deserializeAws_json1_1Rule = function (output, context) {
@@ -6158,7 +6158,7 @@ var deserializeAws_json1_1StartReplayResponse = function (output, context) {
6158
6158
  return {
6159
6159
  ReplayArn: __expectString(output.ReplayArn),
6160
6160
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
6161
- ? new Date(Math.round(output.ReplayStartTime * 1000))
6161
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReplayStartTime)))
6162
6162
  : undefined,
6163
6163
  State: __expectString(output.State),
6164
6164
  StateReason: __expectString(output.StateReason),
@@ -6268,10 +6268,10 @@ var deserializeAws_json1_1UpdateApiDestinationResponse = function (output, conte
6268
6268
  ApiDestinationArn: __expectString(output.ApiDestinationArn),
6269
6269
  ApiDestinationState: __expectString(output.ApiDestinationState),
6270
6270
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6271
- ? new Date(Math.round(output.CreationTime * 1000))
6271
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
6272
6272
  : undefined,
6273
6273
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
6274
- ? new Date(Math.round(output.LastModifiedTime * 1000))
6274
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
6275
6275
  : undefined,
6276
6276
  };
6277
6277
  };
@@ -6279,7 +6279,7 @@ var deserializeAws_json1_1UpdateArchiveResponse = function (output, context) {
6279
6279
  return {
6280
6280
  ArchiveArn: __expectString(output.ArchiveArn),
6281
6281
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6282
- ? new Date(Math.round(output.CreationTime * 1000))
6282
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
6283
6283
  : undefined,
6284
6284
  State: __expectString(output.State),
6285
6285
  StateReason: __expectString(output.StateReason),
@@ -6290,13 +6290,13 @@ var deserializeAws_json1_1UpdateConnectionResponse = function (output, context)
6290
6290
  ConnectionArn: __expectString(output.ConnectionArn),
6291
6291
  ConnectionState: __expectString(output.ConnectionState),
6292
6292
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6293
- ? new Date(Math.round(output.CreationTime * 1000))
6293
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
6294
6294
  : undefined,
6295
6295
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
6296
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
6296
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAuthorizedTime)))
6297
6297
  : undefined,
6298
6298
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
6299
- ? new Date(Math.round(output.LastModifiedTime * 1000))
6299
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
6300
6300
  : undefined,
6301
6301
  };
6302
6302
  };