@aws-sdk/client-cloudfront 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 (208) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/CloudFrontClient.js +13 -13
  3. package/dist/cjs/CloudFrontClient.js.map +1 -1
  4. package/dist/cjs/commands/AssociateAliasCommand.js +3 -3
  5. package/dist/cjs/commands/AssociateAliasCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateCachePolicyCommand.js +3 -3
  7. package/dist/cjs/commands/CreateCachePolicyCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +3 -3
  9. package/dist/cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateDistributionCommand.js +3 -3
  11. package/dist/cjs/commands/CreateDistributionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateDistributionWithTagsCommand.js +3 -3
  13. package/dist/cjs/commands/CreateDistributionWithTagsCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +3 -3
  15. package/dist/cjs/commands/CreateFieldLevelEncryptionConfigCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +3 -3
  17. package/dist/cjs/commands/CreateFieldLevelEncryptionProfileCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateFunctionCommand.js +3 -3
  19. package/dist/cjs/commands/CreateFunctionCommand.js.map +1 -1
  20. package/dist/cjs/commands/CreateInvalidationCommand.js +3 -3
  21. package/dist/cjs/commands/CreateInvalidationCommand.js.map +1 -1
  22. package/dist/cjs/commands/CreateKeyGroupCommand.js +3 -3
  23. package/dist/cjs/commands/CreateKeyGroupCommand.js.map +1 -1
  24. package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js +3 -3
  25. package/dist/cjs/commands/CreateMonitoringSubscriptionCommand.js.map +1 -1
  26. package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js +3 -3
  27. package/dist/cjs/commands/CreateOriginRequestPolicyCommand.js.map +1 -1
  28. package/dist/cjs/commands/CreatePublicKeyCommand.js +3 -3
  29. package/dist/cjs/commands/CreatePublicKeyCommand.js.map +1 -1
  30. package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js +3 -3
  31. package/dist/cjs/commands/CreateRealtimeLogConfigCommand.js.map +1 -1
  32. package/dist/cjs/commands/CreateStreamingDistributionCommand.js +3 -3
  33. package/dist/cjs/commands/CreateStreamingDistributionCommand.js.map +1 -1
  34. package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
  35. package/dist/cjs/commands/CreateStreamingDistributionWithTagsCommand.js.map +1 -1
  36. package/dist/cjs/commands/DeleteCachePolicyCommand.js +3 -3
  37. package/dist/cjs/commands/DeleteCachePolicyCommand.js.map +1 -1
  38. package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +3 -3
  39. package/dist/cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +1 -1
  40. package/dist/cjs/commands/DeleteDistributionCommand.js +3 -3
  41. package/dist/cjs/commands/DeleteDistributionCommand.js.map +1 -1
  42. package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +3 -3
  43. package/dist/cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +1 -1
  44. package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +3 -3
  45. package/dist/cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +1 -1
  46. package/dist/cjs/commands/DeleteFunctionCommand.js +3 -3
  47. package/dist/cjs/commands/DeleteFunctionCommand.js.map +1 -1
  48. package/dist/cjs/commands/DeleteKeyGroupCommand.js +3 -3
  49. package/dist/cjs/commands/DeleteKeyGroupCommand.js.map +1 -1
  50. package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js +3 -3
  51. package/dist/cjs/commands/DeleteMonitoringSubscriptionCommand.js.map +1 -1
  52. package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js +3 -3
  53. package/dist/cjs/commands/DeleteOriginRequestPolicyCommand.js.map +1 -1
  54. package/dist/cjs/commands/DeletePublicKeyCommand.js +3 -3
  55. package/dist/cjs/commands/DeletePublicKeyCommand.js.map +1 -1
  56. package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js +3 -3
  57. package/dist/cjs/commands/DeleteRealtimeLogConfigCommand.js.map +1 -1
  58. package/dist/cjs/commands/DeleteStreamingDistributionCommand.js +3 -3
  59. package/dist/cjs/commands/DeleteStreamingDistributionCommand.js.map +1 -1
  60. package/dist/cjs/commands/DescribeFunctionCommand.js +3 -3
  61. package/dist/cjs/commands/DescribeFunctionCommand.js.map +1 -1
  62. package/dist/cjs/commands/GetCachePolicyCommand.js +3 -3
  63. package/dist/cjs/commands/GetCachePolicyCommand.js.map +1 -1
  64. package/dist/cjs/commands/GetCachePolicyConfigCommand.js +3 -3
  65. package/dist/cjs/commands/GetCachePolicyConfigCommand.js.map +1 -1
  66. package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
  67. package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +1 -1
  68. package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
  69. package/dist/cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +1 -1
  70. package/dist/cjs/commands/GetDistributionCommand.js +3 -3
  71. package/dist/cjs/commands/GetDistributionCommand.js.map +1 -1
  72. package/dist/cjs/commands/GetDistributionConfigCommand.js +3 -3
  73. package/dist/cjs/commands/GetDistributionConfigCommand.js.map +1 -1
  74. package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
  75. package/dist/cjs/commands/GetFieldLevelEncryptionCommand.js.map +1 -1
  76. package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js +3 -3
  77. package/dist/cjs/commands/GetFieldLevelEncryptionConfigCommand.js.map +1 -1
  78. package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js +3 -3
  79. package/dist/cjs/commands/GetFieldLevelEncryptionProfileCommand.js.map +1 -1
  80. package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +3 -3
  81. package/dist/cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +1 -1
  82. package/dist/cjs/commands/GetFunctionCommand.js +3 -3
  83. package/dist/cjs/commands/GetFunctionCommand.js.map +1 -1
  84. package/dist/cjs/commands/GetInvalidationCommand.js +3 -3
  85. package/dist/cjs/commands/GetInvalidationCommand.js.map +1 -1
  86. package/dist/cjs/commands/GetKeyGroupCommand.js +3 -3
  87. package/dist/cjs/commands/GetKeyGroupCommand.js.map +1 -1
  88. package/dist/cjs/commands/GetKeyGroupConfigCommand.js +3 -3
  89. package/dist/cjs/commands/GetKeyGroupConfigCommand.js.map +1 -1
  90. package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js +3 -3
  91. package/dist/cjs/commands/GetMonitoringSubscriptionCommand.js.map +1 -1
  92. package/dist/cjs/commands/GetOriginRequestPolicyCommand.js +3 -3
  93. package/dist/cjs/commands/GetOriginRequestPolicyCommand.js.map +1 -1
  94. package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js +3 -3
  95. package/dist/cjs/commands/GetOriginRequestPolicyConfigCommand.js.map +1 -1
  96. package/dist/cjs/commands/GetPublicKeyCommand.js +3 -3
  97. package/dist/cjs/commands/GetPublicKeyCommand.js.map +1 -1
  98. package/dist/cjs/commands/GetPublicKeyConfigCommand.js +3 -3
  99. package/dist/cjs/commands/GetPublicKeyConfigCommand.js.map +1 -1
  100. package/dist/cjs/commands/GetRealtimeLogConfigCommand.js +3 -3
  101. package/dist/cjs/commands/GetRealtimeLogConfigCommand.js.map +1 -1
  102. package/dist/cjs/commands/GetStreamingDistributionCommand.js +3 -3
  103. package/dist/cjs/commands/GetStreamingDistributionCommand.js.map +1 -1
  104. package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js +3 -3
  105. package/dist/cjs/commands/GetStreamingDistributionConfigCommand.js.map +1 -1
  106. package/dist/cjs/commands/ListCachePoliciesCommand.js +3 -3
  107. package/dist/cjs/commands/ListCachePoliciesCommand.js.map +1 -1
  108. package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +3 -3
  109. package/dist/cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +1 -1
  110. package/dist/cjs/commands/ListConflictingAliasesCommand.js +3 -3
  111. package/dist/cjs/commands/ListConflictingAliasesCommand.js.map +1 -1
  112. package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js +3 -3
  113. package/dist/cjs/commands/ListDistributionsByCachePolicyIdCommand.js.map +1 -1
  114. package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js +3 -3
  115. package/dist/cjs/commands/ListDistributionsByKeyGroupCommand.js.map +1 -1
  116. package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +3 -3
  117. package/dist/cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +1 -1
  118. package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +3 -3
  119. package/dist/cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +1 -1
  120. package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js +3 -3
  121. package/dist/cjs/commands/ListDistributionsByWebACLIdCommand.js.map +1 -1
  122. package/dist/cjs/commands/ListDistributionsCommand.js +3 -3
  123. package/dist/cjs/commands/ListDistributionsCommand.js.map +1 -1
  124. package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +3 -3
  125. package/dist/cjs/commands/ListFieldLevelEncryptionConfigsCommand.js.map +1 -1
  126. package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +3 -3
  127. package/dist/cjs/commands/ListFieldLevelEncryptionProfilesCommand.js.map +1 -1
  128. package/dist/cjs/commands/ListFunctionsCommand.js +3 -3
  129. package/dist/cjs/commands/ListFunctionsCommand.js.map +1 -1
  130. package/dist/cjs/commands/ListInvalidationsCommand.js +3 -3
  131. package/dist/cjs/commands/ListInvalidationsCommand.js.map +1 -1
  132. package/dist/cjs/commands/ListKeyGroupsCommand.js +3 -3
  133. package/dist/cjs/commands/ListKeyGroupsCommand.js.map +1 -1
  134. package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js +3 -3
  135. package/dist/cjs/commands/ListOriginRequestPoliciesCommand.js.map +1 -1
  136. package/dist/cjs/commands/ListPublicKeysCommand.js +3 -3
  137. package/dist/cjs/commands/ListPublicKeysCommand.js.map +1 -1
  138. package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js +3 -3
  139. package/dist/cjs/commands/ListRealtimeLogConfigsCommand.js.map +1 -1
  140. package/dist/cjs/commands/ListStreamingDistributionsCommand.js +3 -3
  141. package/dist/cjs/commands/ListStreamingDistributionsCommand.js.map +1 -1
  142. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  143. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  144. package/dist/cjs/commands/PublishFunctionCommand.js +3 -3
  145. package/dist/cjs/commands/PublishFunctionCommand.js.map +1 -1
  146. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  147. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  148. package/dist/cjs/commands/TestFunctionCommand.js +3 -3
  149. package/dist/cjs/commands/TestFunctionCommand.js.map +1 -1
  150. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  151. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  152. package/dist/cjs/commands/UpdateCachePolicyCommand.js +3 -3
  153. package/dist/cjs/commands/UpdateCachePolicyCommand.js.map +1 -1
  154. package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +3 -3
  155. package/dist/cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +1 -1
  156. package/dist/cjs/commands/UpdateDistributionCommand.js +3 -3
  157. package/dist/cjs/commands/UpdateDistributionCommand.js.map +1 -1
  158. package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +3 -3
  159. package/dist/cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +1 -1
  160. package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +3 -3
  161. package/dist/cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +1 -1
  162. package/dist/cjs/commands/UpdateFunctionCommand.js +3 -3
  163. package/dist/cjs/commands/UpdateFunctionCommand.js.map +1 -1
  164. package/dist/cjs/commands/UpdateKeyGroupCommand.js +3 -3
  165. package/dist/cjs/commands/UpdateKeyGroupCommand.js.map +1 -1
  166. package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js +3 -3
  167. package/dist/cjs/commands/UpdateOriginRequestPolicyCommand.js.map +1 -1
  168. package/dist/cjs/commands/UpdatePublicKeyCommand.js +3 -3
  169. package/dist/cjs/commands/UpdatePublicKeyCommand.js.map +1 -1
  170. package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js +3 -3
  171. package/dist/cjs/commands/UpdateRealtimeLogConfigCommand.js.map +1 -1
  172. package/dist/cjs/commands/UpdateStreamingDistributionCommand.js +3 -3
  173. package/dist/cjs/commands/UpdateStreamingDistributionCommand.js.map +1 -1
  174. package/dist/cjs/endpoints.js +1 -1
  175. package/dist/cjs/endpoints.js.map +1 -1
  176. package/dist/cjs/index.js +96 -96
  177. package/dist/cjs/index.js.map +1 -1
  178. package/dist/cjs/models/index.js +2 -2
  179. package/dist/cjs/models/index.js.map +1 -1
  180. package/dist/cjs/package.json +33 -33
  181. package/dist/cjs/protocols/Aws_restXml.js +611 -611
  182. package/dist/cjs/protocols/Aws_restXml.js.map +1 -1
  183. package/dist/cjs/runtimeConfig.browser.js +4 -4
  184. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  185. package/dist/cjs/runtimeConfig.js +8 -8
  186. package/dist/cjs/runtimeConfig.js.map +1 -1
  187. package/dist/cjs/runtimeConfig.native.js +1 -1
  188. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  189. package/dist/cjs/waiters/waitForDistributionDeployed.js +3 -3
  190. package/dist/cjs/waiters/waitForDistributionDeployed.js.map +1 -1
  191. package/dist/cjs/waiters/waitForInvalidationCompleted.js +3 -3
  192. package/dist/cjs/waiters/waitForInvalidationCompleted.js.map +1 -1
  193. package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js +3 -3
  194. package/dist/cjs/waiters/waitForStreamingDistributionDeployed.js.map +1 -1
  195. package/dist/es/package.json +33 -33
  196. package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +4 -4
  197. package/dist/es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +1 -1
  198. package/dist/es/pagination/ListDistributionsPaginator.js +4 -4
  199. package/dist/es/pagination/ListDistributionsPaginator.js.map +1 -1
  200. package/dist/es/pagination/ListInvalidationsPaginator.js +4 -4
  201. package/dist/es/pagination/ListInvalidationsPaginator.js.map +1 -1
  202. package/dist/es/pagination/ListStreamingDistributionsPaginator.js +4 -4
  203. package/dist/es/pagination/ListStreamingDistributionsPaginator.js.map +1 -1
  204. package/dist/es/protocols/Aws_restXml.js +18 -18
  205. package/dist/es/protocols/Aws_restXml.js.map +1 -1
  206. package/package.json +33 -33
  207. package/protocols/Aws_restXml.ts +84 -83
  208. package/tsconfig.json +1 -2
@@ -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 { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
3
+ import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
4
4
  import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder";
5
5
  import { decodeHTML } from "entities";
6
6
  import { parse as xmlParse } from "fast-xml-parser";
@@ -15454,7 +15454,7 @@ var deserializeAws_restXmlCachePolicy = function (output, context) {
15454
15454
  contents.Id = __expectString(output["Id"]);
15455
15455
  }
15456
15456
  if (output["LastModifiedTime"] !== undefined) {
15457
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
15457
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
15458
15458
  }
15459
15459
  if (output["CachePolicyConfig"] !== undefined) {
15460
15460
  contents.CachePolicyConfig = deserializeAws_restXmlCachePolicyConfig(output["CachePolicyConfig"], context);
@@ -15999,7 +15999,7 @@ var deserializeAws_restXmlDistribution = function (output, context) {
15999
15999
  contents.Status = __expectString(output["Status"]);
16000
16000
  }
16001
16001
  if (output["LastModifiedTime"] !== undefined) {
16002
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16002
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16003
16003
  }
16004
16004
  if (output["InProgressInvalidationBatches"] !== undefined) {
16005
16005
  contents.InProgressInvalidationBatches = __strictParseInt32(output["InProgressInvalidationBatches"]);
@@ -16204,7 +16204,7 @@ var deserializeAws_restXmlDistributionSummary = function (output, context) {
16204
16204
  contents.Status = __expectString(output["Status"]);
16205
16205
  }
16206
16206
  if (output["LastModifiedTime"] !== undefined) {
16207
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16207
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16208
16208
  }
16209
16209
  if (output["DomainName"] !== undefined) {
16210
16210
  contents.DomainName = __expectString(output["DomainName"]);
@@ -16345,7 +16345,7 @@ var deserializeAws_restXmlFieldLevelEncryption = function (output, context) {
16345
16345
  contents.Id = __expectString(output["Id"]);
16346
16346
  }
16347
16347
  if (output["LastModifiedTime"] !== undefined) {
16348
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16348
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16349
16349
  }
16350
16350
  if (output["FieldLevelEncryptionConfig"] !== undefined) {
16351
16351
  contents.FieldLevelEncryptionConfig = deserializeAws_restXmlFieldLevelEncryptionConfig(output["FieldLevelEncryptionConfig"], context);
@@ -16407,7 +16407,7 @@ var deserializeAws_restXmlFieldLevelEncryptionProfile = function (output, contex
16407
16407
  contents.Id = __expectString(output["Id"]);
16408
16408
  }
16409
16409
  if (output["LastModifiedTime"] !== undefined) {
16410
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16410
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16411
16411
  }
16412
16412
  if (output["FieldLevelEncryptionProfileConfig"] !== undefined) {
16413
16413
  contents.FieldLevelEncryptionProfileConfig = deserializeAws_restXmlFieldLevelEncryptionProfileConfig(output["FieldLevelEncryptionProfileConfig"], context);
@@ -16471,7 +16471,7 @@ var deserializeAws_restXmlFieldLevelEncryptionProfileSummary = function (output,
16471
16471
  contents.Id = __expectString(output["Id"]);
16472
16472
  }
16473
16473
  if (output["LastModifiedTime"] !== undefined) {
16474
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16474
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16475
16475
  }
16476
16476
  if (output["Name"] !== undefined) {
16477
16477
  contents.Name = __expectString(output["Name"]);
@@ -16506,7 +16506,7 @@ var deserializeAws_restXmlFieldLevelEncryptionSummary = function (output, contex
16506
16506
  contents.Id = __expectString(output["Id"]);
16507
16507
  }
16508
16508
  if (output["LastModifiedTime"] !== undefined) {
16509
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16509
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16510
16510
  }
16511
16511
  if (output["Comment"] !== undefined) {
16512
16512
  contents.Comment = __expectString(output["Comment"]);
@@ -16686,10 +16686,10 @@ var deserializeAws_restXmlFunctionMetadata = function (output, context) {
16686
16686
  contents.Stage = __expectString(output["Stage"]);
16687
16687
  }
16688
16688
  if (output["CreatedTime"] !== undefined) {
16689
- contents.CreatedTime = new Date(output["CreatedTime"]);
16689
+ contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
16690
16690
  }
16691
16691
  if (output["LastModifiedTime"] !== undefined) {
16692
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16692
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16693
16693
  }
16694
16694
  return contents;
16695
16695
  };
@@ -16784,7 +16784,7 @@ var deserializeAws_restXmlInvalidation = function (output, context) {
16784
16784
  contents.Status = __expectString(output["Status"]);
16785
16785
  }
16786
16786
  if (output["CreateTime"] !== undefined) {
16787
- contents.CreateTime = new Date(output["CreateTime"]);
16787
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(output["CreateTime"]));
16788
16788
  }
16789
16789
  if (output["InvalidationBatch"] !== undefined) {
16790
16790
  contents.InvalidationBatch = deserializeAws_restXmlInvalidationBatch(output["InvalidationBatch"], context);
@@ -16846,7 +16846,7 @@ var deserializeAws_restXmlInvalidationSummary = function (output, context) {
16846
16846
  contents.Id = __expectString(output["Id"]);
16847
16847
  }
16848
16848
  if (output["CreateTime"] !== undefined) {
16849
- contents.CreateTime = new Date(output["CreateTime"]);
16849
+ contents.CreateTime = __expectNonNull(__parseRfc3339DateTime(output["CreateTime"]));
16850
16850
  }
16851
16851
  if (output["Status"] !== undefined) {
16852
16852
  contents.Status = __expectString(output["Status"]);
@@ -16873,7 +16873,7 @@ var deserializeAws_restXmlKeyGroup = function (output, context) {
16873
16873
  contents.Id = __expectString(output["Id"]);
16874
16874
  }
16875
16875
  if (output["LastModifiedTime"] !== undefined) {
16876
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
16876
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
16877
16877
  }
16878
16878
  if (output["KeyGroupConfig"] !== undefined) {
16879
16879
  contents.KeyGroupConfig = deserializeAws_restXmlKeyGroupConfig(output["KeyGroupConfig"], context);
@@ -17269,7 +17269,7 @@ var deserializeAws_restXmlOriginRequestPolicy = function (output, context) {
17269
17269
  contents.Id = __expectString(output["Id"]);
17270
17270
  }
17271
17271
  if (output["LastModifiedTime"] !== undefined) {
17272
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
17272
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
17273
17273
  }
17274
17274
  if (output["OriginRequestPolicyConfig"] !== undefined) {
17275
17275
  contents.OriginRequestPolicyConfig = deserializeAws_restXmlOriginRequestPolicyConfig(output["OriginRequestPolicyConfig"], context);
@@ -17493,7 +17493,7 @@ var deserializeAws_restXmlPublicKey = function (output, context) {
17493
17493
  contents.Id = __expectString(output["Id"]);
17494
17494
  }
17495
17495
  if (output["CreatedTime"] !== undefined) {
17496
- contents.CreatedTime = new Date(output["CreatedTime"]);
17496
+ contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
17497
17497
  }
17498
17498
  if (output["PublicKeyConfig"] !== undefined) {
17499
17499
  contents.PublicKeyConfig = deserializeAws_restXmlPublicKeyConfig(output["PublicKeyConfig"], context);
@@ -17570,7 +17570,7 @@ var deserializeAws_restXmlPublicKeySummary = function (output, context) {
17570
17570
  contents.Name = __expectString(output["Name"]);
17571
17571
  }
17572
17572
  if (output["CreatedTime"] !== undefined) {
17573
- contents.CreatedTime = new Date(output["CreatedTime"]);
17573
+ contents.CreatedTime = __expectNonNull(__parseRfc3339DateTime(output["CreatedTime"]));
17574
17574
  }
17575
17575
  if (output["EncodedKey"] !== undefined) {
17576
17576
  contents.EncodedKey = __expectString(output["EncodedKey"]);
@@ -17882,7 +17882,7 @@ var deserializeAws_restXmlStreamingDistribution = function (output, context) {
17882
17882
  contents.Status = __expectString(output["Status"]);
17883
17883
  }
17884
17884
  if (output["LastModifiedTime"] !== undefined) {
17885
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
17885
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
17886
17886
  }
17887
17887
  if (output["DomainName"] !== undefined) {
17888
17888
  contents.DomainName = __expectString(output["DomainName"]);
@@ -17988,7 +17988,7 @@ var deserializeAws_restXmlStreamingDistributionSummary = function (output, conte
17988
17988
  contents.Status = __expectString(output["Status"]);
17989
17989
  }
17990
17990
  if (output["LastModifiedTime"] !== undefined) {
17991
- contents.LastModifiedTime = new Date(output["LastModifiedTime"]);
17991
+ contents.LastModifiedTime = __expectNonNull(__parseRfc3339DateTime(output["LastModifiedTime"]));
17992
17992
  }
17993
17993
  if (output["DomainName"] !== undefined) {
17994
17994
  contents.DomainName = __expectString(output["DomainName"]);