@aws-sdk/client-customer-profiles 3.29.0 → 3.33.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 (84) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/CustomerProfilesClient.js +13 -13
  3. package/dist/cjs/CustomerProfilesClient.js.map +1 -1
  4. package/dist/cjs/commands/AddProfileKeyCommand.js +3 -3
  5. package/dist/cjs/commands/AddProfileKeyCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateDomainCommand.js +3 -3
  7. package/dist/cjs/commands/CreateDomainCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateProfileCommand.js +3 -3
  9. package/dist/cjs/commands/CreateProfileCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteDomainCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteDomainCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteIntegrationCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteIntegrationCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteProfileCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteProfileCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteProfileKeyCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteProfileKeyCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteProfileObjectCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteProfileObjectCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteProfileObjectTypeCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteProfileObjectTypeCommand.js.map +1 -1
  22. package/dist/cjs/commands/GetDomainCommand.js +3 -3
  23. package/dist/cjs/commands/GetDomainCommand.js.map +1 -1
  24. package/dist/cjs/commands/GetIntegrationCommand.js +3 -3
  25. package/dist/cjs/commands/GetIntegrationCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetMatchesCommand.js +3 -3
  27. package/dist/cjs/commands/GetMatchesCommand.js.map +1 -1
  28. package/dist/cjs/commands/GetProfileObjectTypeCommand.js +3 -3
  29. package/dist/cjs/commands/GetProfileObjectTypeCommand.js.map +1 -1
  30. package/dist/cjs/commands/GetProfileObjectTypeTemplateCommand.js +3 -3
  31. package/dist/cjs/commands/GetProfileObjectTypeTemplateCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListAccountIntegrationsCommand.js +3 -3
  33. package/dist/cjs/commands/ListAccountIntegrationsCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListDomainsCommand.js +3 -3
  35. package/dist/cjs/commands/ListDomainsCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListIntegrationsCommand.js +3 -3
  37. package/dist/cjs/commands/ListIntegrationsCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListProfileObjectTypeTemplatesCommand.js +3 -3
  39. package/dist/cjs/commands/ListProfileObjectTypeTemplatesCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListProfileObjectTypesCommand.js +3 -3
  41. package/dist/cjs/commands/ListProfileObjectTypesCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListProfileObjectsCommand.js +3 -3
  43. package/dist/cjs/commands/ListProfileObjectsCommand.js.map +1 -1
  44. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  45. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/MergeProfilesCommand.js +3 -3
  47. package/dist/cjs/commands/MergeProfilesCommand.js.map +1 -1
  48. package/dist/cjs/commands/PutIntegrationCommand.js +3 -3
  49. package/dist/cjs/commands/PutIntegrationCommand.js.map +1 -1
  50. package/dist/cjs/commands/PutProfileObjectCommand.js +3 -3
  51. package/dist/cjs/commands/PutProfileObjectCommand.js.map +1 -1
  52. package/dist/cjs/commands/PutProfileObjectTypeCommand.js +3 -3
  53. package/dist/cjs/commands/PutProfileObjectTypeCommand.js.map +1 -1
  54. package/dist/cjs/commands/SearchProfilesCommand.js +3 -3
  55. package/dist/cjs/commands/SearchProfilesCommand.js.map +1 -1
  56. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  57. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  58. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  59. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  60. package/dist/cjs/commands/UpdateDomainCommand.js +3 -3
  61. package/dist/cjs/commands/UpdateDomainCommand.js.map +1 -1
  62. package/dist/cjs/commands/UpdateProfileCommand.js +3 -3
  63. package/dist/cjs/commands/UpdateProfileCommand.js.map +1 -1
  64. package/dist/cjs/endpoints.js +1 -1
  65. package/dist/cjs/endpoints.js.map +1 -1
  66. package/dist/cjs/index.js +33 -33
  67. package/dist/cjs/index.js.map +1 -1
  68. package/dist/cjs/models/index.js +1 -1
  69. package/dist/cjs/models/index.js.map +1 -1
  70. package/dist/cjs/package.json +31 -31
  71. package/dist/cjs/protocols/Aws_restJson1.js +192 -192
  72. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  73. package/dist/cjs/runtimeConfig.browser.js +4 -4
  74. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  75. package/dist/cjs/runtimeConfig.js +8 -8
  76. package/dist/cjs/runtimeConfig.js.map +1 -1
  77. package/dist/cjs/runtimeConfig.native.js +1 -1
  78. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  79. package/dist/es/package.json +31 -31
  80. package/dist/es/protocols/Aws_restJson1.js +22 -22
  81. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  82. package/package.json +31 -31
  83. package/protocols/Aws_restJson1.ts +23 -21
  84. package/tsconfig.json +1 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
3
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
4
- "version": "3.29.0",
4
+ "version": "3.33.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.29.0",
31
- "@aws-sdk/config-resolver": "3.29.0",
32
- "@aws-sdk/credential-provider-node": "3.29.0",
33
- "@aws-sdk/fetch-http-handler": "3.29.0",
34
- "@aws-sdk/hash-node": "3.29.0",
35
- "@aws-sdk/invalid-dependency": "3.29.0",
36
- "@aws-sdk/middleware-content-length": "3.29.0",
37
- "@aws-sdk/middleware-host-header": "3.29.0",
38
- "@aws-sdk/middleware-logger": "3.29.0",
39
- "@aws-sdk/middleware-retry": "3.29.0",
40
- "@aws-sdk/middleware-serde": "3.29.0",
41
- "@aws-sdk/middleware-signing": "3.29.0",
42
- "@aws-sdk/middleware-stack": "3.29.0",
43
- "@aws-sdk/middleware-user-agent": "3.29.0",
44
- "@aws-sdk/node-config-provider": "3.29.0",
45
- "@aws-sdk/node-http-handler": "3.29.0",
46
- "@aws-sdk/protocol-http": "3.29.0",
47
- "@aws-sdk/smithy-client": "3.29.0",
48
- "@aws-sdk/types": "3.29.0",
49
- "@aws-sdk/url-parser": "3.29.0",
50
- "@aws-sdk/util-base64-browser": "3.29.0",
51
- "@aws-sdk/util-base64-node": "3.29.0",
52
- "@aws-sdk/util-body-length-browser": "3.29.0",
53
- "@aws-sdk/util-body-length-node": "3.29.0",
54
- "@aws-sdk/util-user-agent-browser": "3.29.0",
55
- "@aws-sdk/util-user-agent-node": "3.29.0",
56
- "@aws-sdk/util-utf8-browser": "3.29.0",
57
- "@aws-sdk/util-utf8-node": "3.29.0",
30
+ "@aws-sdk/client-sts": "3.33.0",
31
+ "@aws-sdk/config-resolver": "3.33.0",
32
+ "@aws-sdk/credential-provider-node": "3.33.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.33.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.33.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.29.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.4.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -100,9 +100,11 @@ import {
100
100
  expectInt32 as __expectInt32,
101
101
  expectLong as __expectLong,
102
102
  expectNonNull as __expectNonNull,
103
+ expectNumber as __expectNumber,
103
104
  expectObject as __expectObject,
104
105
  expectString as __expectString,
105
106
  extendedEncodeURIComponent as __extendedEncodeURIComponent,
107
+ parseEpochTimestamp as __parseEpochTimestamp,
106
108
  } from "@aws-sdk/smithy-client";
107
109
  import {
108
110
  Endpoint as __Endpoint,
@@ -1356,7 +1358,7 @@ export const deserializeAws_restJson1CreateDomainCommand = async (
1356
1358
  };
1357
1359
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1358
1360
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
1359
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
1361
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
1360
1362
  }
1361
1363
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
1362
1364
  contents.DeadLetterQueueUrl = __expectString(data.DeadLetterQueueUrl);
@@ -1371,7 +1373,7 @@ export const deserializeAws_restJson1CreateDomainCommand = async (
1371
1373
  contents.DomainName = __expectString(data.DomainName);
1372
1374
  }
1373
1375
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
1374
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
1376
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
1375
1377
  }
1376
1378
  if (data.Matching !== undefined && data.Matching !== null) {
1377
1379
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -2081,7 +2083,7 @@ export const deserializeAws_restJson1GetDomainCommand = async (
2081
2083
  };
2082
2084
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2083
2085
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2084
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
2086
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
2085
2087
  }
2086
2088
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
2087
2089
  contents.DeadLetterQueueUrl = __expectString(data.DeadLetterQueueUrl);
@@ -2096,7 +2098,7 @@ export const deserializeAws_restJson1GetDomainCommand = async (
2096
2098
  contents.DomainName = __expectString(data.DomainName);
2097
2099
  }
2098
2100
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2099
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
2101
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
2100
2102
  }
2101
2103
  if (data.Matching !== undefined && data.Matching !== null) {
2102
2104
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -2197,13 +2199,13 @@ export const deserializeAws_restJson1GetIntegrationCommand = async (
2197
2199
  };
2198
2200
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2199
2201
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2200
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
2202
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
2201
2203
  }
2202
2204
  if (data.DomainName !== undefined && data.DomainName !== null) {
2203
2205
  contents.DomainName = __expectString(data.DomainName);
2204
2206
  }
2205
2207
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2206
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
2208
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
2207
2209
  }
2208
2210
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2209
2211
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
@@ -2302,7 +2304,7 @@ export const deserializeAws_restJson1GetMatchesCommand = async (
2302
2304
  };
2303
2305
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2304
2306
  if (data.MatchGenerationDate !== undefined && data.MatchGenerationDate !== null) {
2305
- contents.MatchGenerationDate = new Date(Math.round(data.MatchGenerationDate * 1000));
2307
+ contents.MatchGenerationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.MatchGenerationDate)));
2306
2308
  }
2307
2309
  if (data.Matches !== undefined && data.Matches !== null) {
2308
2310
  contents.Matches = deserializeAws_restJson1MatchesList(data.Matches, context);
@@ -2411,7 +2413,7 @@ export const deserializeAws_restJson1GetProfileObjectTypeCommand = async (
2411
2413
  contents.AllowProfileCreation = __expectBoolean(data.AllowProfileCreation);
2412
2414
  }
2413
2415
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
2414
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
2416
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
2415
2417
  }
2416
2418
  if (data.Description !== undefined && data.Description !== null) {
2417
2419
  contents.Description = __expectString(data.Description);
@@ -2429,7 +2431,7 @@ export const deserializeAws_restJson1GetProfileObjectTypeCommand = async (
2429
2431
  contents.Keys = deserializeAws_restJson1KeyMap(data.Keys, context);
2430
2432
  }
2431
2433
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
2432
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
2434
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
2433
2435
  }
2434
2436
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2435
2437
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
@@ -3333,13 +3335,13 @@ export const deserializeAws_restJson1PutIntegrationCommand = async (
3333
3335
  };
3334
3336
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3335
3337
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3336
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
3338
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
3337
3339
  }
3338
3340
  if (data.DomainName !== undefined && data.DomainName !== null) {
3339
3341
  contents.DomainName = __expectString(data.DomainName);
3340
3342
  }
3341
3343
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3342
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
3344
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
3343
3345
  }
3344
3346
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3345
3347
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
@@ -3535,7 +3537,7 @@ export const deserializeAws_restJson1PutProfileObjectTypeCommand = async (
3535
3537
  contents.AllowProfileCreation = __expectBoolean(data.AllowProfileCreation);
3536
3538
  }
3537
3539
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3538
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
3540
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
3539
3541
  }
3540
3542
  if (data.Description !== undefined && data.Description !== null) {
3541
3543
  contents.Description = __expectString(data.Description);
@@ -3553,7 +3555,7 @@ export const deserializeAws_restJson1PutProfileObjectTypeCommand = async (
3553
3555
  contents.Keys = deserializeAws_restJson1KeyMap(data.Keys, context);
3554
3556
  }
3555
3557
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3556
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
3558
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
3557
3559
  }
3558
3560
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3559
3561
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
@@ -3881,7 +3883,7 @@ export const deserializeAws_restJson1UpdateDomainCommand = async (
3881
3883
  };
3882
3884
  const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3883
3885
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
3884
- contents.CreatedAt = new Date(Math.round(data.CreatedAt * 1000));
3886
+ contents.CreatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreatedAt)));
3885
3887
  }
3886
3888
  if (data.DeadLetterQueueUrl !== undefined && data.DeadLetterQueueUrl !== null) {
3887
3889
  contents.DeadLetterQueueUrl = __expectString(data.DeadLetterQueueUrl);
@@ -3896,7 +3898,7 @@ export const deserializeAws_restJson1UpdateDomainCommand = async (
3896
3898
  contents.DomainName = __expectString(data.DomainName);
3897
3899
  }
3898
3900
  if (data.LastUpdatedAt !== undefined && data.LastUpdatedAt !== null) {
3899
- contents.LastUpdatedAt = new Date(Math.round(data.LastUpdatedAt * 1000));
3901
+ contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
3900
3902
  }
3901
3903
  if (data.Matching !== undefined && data.Matching !== null) {
3902
3904
  contents.Matching = deserializeAws_restJson1MatchingResponse(data.Matching, context);
@@ -4695,12 +4697,12 @@ const deserializeAws_restJson1ListDomainItem = (output: any, context: __SerdeCon
4695
4697
  return {
4696
4698
  CreatedAt:
4697
4699
  output.CreatedAt !== undefined && output.CreatedAt !== null
4698
- ? new Date(Math.round(output.CreatedAt * 1000))
4700
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
4699
4701
  : undefined,
4700
4702
  DomainName: __expectString(output.DomainName),
4701
4703
  LastUpdatedAt:
4702
4704
  output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4703
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
4705
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
4704
4706
  : undefined,
4705
4707
  Tags:
4706
4708
  output.Tags !== undefined && output.Tags !== null
@@ -4713,12 +4715,12 @@ const deserializeAws_restJson1ListIntegrationItem = (output: any, context: __Ser
4713
4715
  return {
4714
4716
  CreatedAt:
4715
4717
  output.CreatedAt !== undefined && output.CreatedAt !== null
4716
- ? new Date(Math.round(output.CreatedAt * 1000))
4718
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
4717
4719
  : undefined,
4718
4720
  DomainName: __expectString(output.DomainName),
4719
4721
  LastUpdatedAt:
4720
4722
  output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4721
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
4723
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
4722
4724
  : undefined,
4723
4725
  ObjectTypeName: __expectString(output.ObjectTypeName),
4724
4726
  Tags:
@@ -4747,12 +4749,12 @@ const deserializeAws_restJson1ListProfileObjectTypeItem = (
4747
4749
  return {
4748
4750
  CreatedAt:
4749
4751
  output.CreatedAt !== undefined && output.CreatedAt !== null
4750
- ? new Date(Math.round(output.CreatedAt * 1000))
4752
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
4751
4753
  : undefined,
4752
4754
  Description: __expectString(output.Description),
4753
4755
  LastUpdatedAt:
4754
4756
  output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
4755
- ? new Date(Math.round(output.LastUpdatedAt * 1000))
4757
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
4756
4758
  : undefined,
4757
4759
  ObjectTypeName: __expectString(output.ObjectTypeName),
4758
4760
  Tags:
package/tsconfig.json CHANGED
@@ -13,8 +13,7 @@
13
13
  "resolveJsonModule": true,
14
14
  "esModuleInterop": true,
15
15
  "declarationDir": "./dist/types",
16
- "outDir": "dist/cjs",
17
- "useUnknownInCatchVariables": false
16
+ "outDir": "dist/cjs"
18
17
  },
19
18
  "typedocOptions": {
20
19
  "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],