@aws-sdk/client-s3 3.296.0 → 3.298.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 (281) hide show
  1. package/dist-cjs/commands/AbortMultipartUploadCommand.js +2 -3
  2. package/dist-cjs/commands/CreateBucketCommand.js +2 -3
  3. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -3
  4. package/dist-cjs/commands/DeleteBucketCommand.js +2 -3
  5. package/dist-cjs/commands/DeleteBucketCorsCommand.js +2 -3
  6. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +2 -3
  7. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +2 -3
  9. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +2 -3
  10. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +2 -3
  11. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +2 -3
  12. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +2 -3
  13. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +2 -3
  14. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +2 -3
  15. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +2 -3
  16. package/dist-cjs/commands/DeleteObjectCommand.js +2 -3
  17. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +2 -3
  18. package/dist-cjs/commands/DeleteObjectsCommand.js +2 -3
  19. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +2 -3
  20. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +2 -3
  21. package/dist-cjs/commands/GetBucketAclCommand.js +2 -3
  22. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +2 -3
  23. package/dist-cjs/commands/GetBucketCorsCommand.js +2 -3
  24. package/dist-cjs/commands/GetBucketEncryptionCommand.js +1 -1
  25. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -3
  26. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +1 -1
  27. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +2 -3
  28. package/dist-cjs/commands/GetBucketLocationCommand.js +2 -3
  29. package/dist-cjs/commands/GetBucketLoggingCommand.js +2 -3
  30. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +2 -3
  31. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +2 -3
  32. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +2 -3
  33. package/dist-cjs/commands/GetBucketPolicyCommand.js +2 -3
  34. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +2 -3
  35. package/dist-cjs/commands/GetBucketReplicationCommand.js +2 -3
  36. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +2 -3
  37. package/dist-cjs/commands/GetBucketTaggingCommand.js +2 -3
  38. package/dist-cjs/commands/GetBucketVersioningCommand.js +2 -3
  39. package/dist-cjs/commands/GetBucketWebsiteCommand.js +2 -3
  40. package/dist-cjs/commands/GetObjectAclCommand.js +2 -3
  41. package/dist-cjs/commands/GetObjectAttributesCommand.js +1 -1
  42. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +2 -3
  43. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +2 -3
  44. package/dist-cjs/commands/GetObjectRetentionCommand.js +2 -3
  45. package/dist-cjs/commands/GetObjectTaggingCommand.js +2 -3
  46. package/dist-cjs/commands/GetObjectTorrentCommand.js +1 -1
  47. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +2 -3
  48. package/dist-cjs/commands/HeadBucketCommand.js +2 -3
  49. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -3
  50. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -3
  51. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +1 -1
  52. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +2 -3
  53. package/dist-cjs/commands/ListBucketsCommand.js +2 -3
  54. package/dist-cjs/commands/ListMultipartUploadsCommand.js +2 -3
  55. package/dist-cjs/commands/ListObjectVersionsCommand.js +2 -3
  56. package/dist-cjs/commands/ListObjectsCommand.js +2 -3
  57. package/dist-cjs/commands/ListObjectsV2Command.js +2 -3
  58. package/dist-cjs/commands/ListPartsCommand.js +1 -1
  59. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +2 -3
  60. package/dist-cjs/commands/PutBucketAclCommand.js +2 -3
  61. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +2 -3
  62. package/dist-cjs/commands/PutBucketCorsCommand.js +2 -3
  63. package/dist-cjs/commands/PutBucketEncryptionCommand.js +1 -1
  64. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -3
  65. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +1 -1
  66. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +2 -3
  67. package/dist-cjs/commands/PutBucketLoggingCommand.js +2 -3
  68. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +2 -3
  69. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +2 -3
  70. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -3
  71. package/dist-cjs/commands/PutBucketPolicyCommand.js +2 -3
  72. package/dist-cjs/commands/PutBucketReplicationCommand.js +2 -3
  73. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +2 -3
  74. package/dist-cjs/commands/PutBucketTaggingCommand.js +2 -3
  75. package/dist-cjs/commands/PutBucketVersioningCommand.js +2 -3
  76. package/dist-cjs/commands/PutBucketWebsiteCommand.js +2 -3
  77. package/dist-cjs/commands/PutObjectAclCommand.js +2 -3
  78. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +2 -3
  79. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +2 -3
  80. package/dist-cjs/commands/PutObjectRetentionCommand.js +2 -3
  81. package/dist-cjs/commands/PutObjectTaggingCommand.js +2 -3
  82. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +2 -3
  83. package/dist-cjs/commands/RestoreObjectCommand.js +1 -1
  84. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +1 -1
  85. package/dist-cjs/models/models_0.js +1 -926
  86. package/dist-cjs/models/models_1.js +6 -110
  87. package/dist-cjs/protocols/Aws_restXml.js +88 -436
  88. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -3
  89. package/dist-es/commands/CreateBucketCommand.js +2 -3
  90. package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -3
  91. package/dist-es/commands/DeleteBucketCommand.js +2 -3
  92. package/dist-es/commands/DeleteBucketCorsCommand.js +2 -3
  93. package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -3
  94. package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -3
  95. package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -3
  96. package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -3
  97. package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -3
  98. package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -3
  99. package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -3
  100. package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -3
  101. package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -3
  102. package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -3
  103. package/dist-es/commands/DeleteObjectCommand.js +2 -3
  104. package/dist-es/commands/DeleteObjectTaggingCommand.js +2 -3
  105. package/dist-es/commands/DeleteObjectsCommand.js +2 -3
  106. package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -3
  107. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -3
  108. package/dist-es/commands/GetBucketAclCommand.js +2 -3
  109. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -3
  110. package/dist-es/commands/GetBucketCorsCommand.js +2 -3
  111. package/dist-es/commands/GetBucketEncryptionCommand.js +2 -2
  112. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -3
  113. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -2
  114. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -3
  115. package/dist-es/commands/GetBucketLocationCommand.js +2 -3
  116. package/dist-es/commands/GetBucketLoggingCommand.js +2 -3
  117. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -3
  118. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -3
  119. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -3
  120. package/dist-es/commands/GetBucketPolicyCommand.js +2 -3
  121. package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -3
  122. package/dist-es/commands/GetBucketReplicationCommand.js +2 -3
  123. package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -3
  124. package/dist-es/commands/GetBucketTaggingCommand.js +2 -3
  125. package/dist-es/commands/GetBucketVersioningCommand.js +2 -3
  126. package/dist-es/commands/GetBucketWebsiteCommand.js +2 -3
  127. package/dist-es/commands/GetObjectAclCommand.js +2 -3
  128. package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
  129. package/dist-es/commands/GetObjectLegalHoldCommand.js +2 -3
  130. package/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -3
  131. package/dist-es/commands/GetObjectRetentionCommand.js +2 -3
  132. package/dist-es/commands/GetObjectTaggingCommand.js +2 -3
  133. package/dist-es/commands/GetObjectTorrentCommand.js +2 -2
  134. package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -3
  135. package/dist-es/commands/HeadBucketCommand.js +2 -3
  136. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -3
  137. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -3
  138. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -2
  139. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -3
  140. package/dist-es/commands/ListBucketsCommand.js +2 -3
  141. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -3
  142. package/dist-es/commands/ListObjectVersionsCommand.js +2 -3
  143. package/dist-es/commands/ListObjectsCommand.js +2 -3
  144. package/dist-es/commands/ListObjectsV2Command.js +2 -3
  145. package/dist-es/commands/ListPartsCommand.js +2 -2
  146. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -3
  147. package/dist-es/commands/PutBucketAclCommand.js +2 -3
  148. package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -3
  149. package/dist-es/commands/PutBucketCorsCommand.js +2 -3
  150. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  151. package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -3
  152. package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
  153. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -3
  154. package/dist-es/commands/PutBucketLoggingCommand.js +2 -3
  155. package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -3
  156. package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -3
  157. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -3
  158. package/dist-es/commands/PutBucketPolicyCommand.js +2 -3
  159. package/dist-es/commands/PutBucketReplicationCommand.js +2 -3
  160. package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -3
  161. package/dist-es/commands/PutBucketTaggingCommand.js +2 -3
  162. package/dist-es/commands/PutBucketVersioningCommand.js +2 -3
  163. package/dist-es/commands/PutBucketWebsiteCommand.js +2 -3
  164. package/dist-es/commands/PutObjectAclCommand.js +2 -3
  165. package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -3
  166. package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -3
  167. package/dist-es/commands/PutObjectRetentionCommand.js +2 -3
  168. package/dist-es/commands/PutObjectTaggingCommand.js +2 -3
  169. package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -3
  170. package/dist-es/commands/RestoreObjectCommand.js +2 -2
  171. package/dist-es/commands/WriteGetObjectResponseCommand.js +1 -1
  172. package/dist-es/models/models_0.js +0 -707
  173. package/dist-es/models/models_1.js +5 -83
  174. package/dist-es/protocols/Aws_restXml.js +88 -436
  175. package/dist-types/S3.d.ts +94 -0
  176. package/dist-types/S3Client.d.ts +24 -4
  177. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -0
  178. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +16 -0
  179. package/dist-types/commands/CopyObjectCommand.d.ts +16 -0
  180. package/dist-types/commands/CreateBucketCommand.d.ts +16 -0
  181. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +16 -0
  182. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +16 -0
  183. package/dist-types/commands/DeleteBucketCommand.d.ts +16 -0
  184. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +16 -0
  185. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -0
  186. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +16 -0
  187. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +16 -0
  188. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +16 -0
  189. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +16 -0
  190. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +16 -0
  191. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +16 -0
  192. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +16 -0
  193. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +16 -0
  194. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +16 -0
  195. package/dist-types/commands/DeleteObjectCommand.d.ts +16 -0
  196. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +16 -0
  197. package/dist-types/commands/DeleteObjectsCommand.d.ts +16 -0
  198. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +16 -0
  199. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +16 -0
  200. package/dist-types/commands/GetBucketAclCommand.d.ts +16 -0
  201. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +16 -0
  202. package/dist-types/commands/GetBucketCorsCommand.d.ts +16 -0
  203. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -0
  204. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +16 -0
  205. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +16 -0
  206. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +16 -0
  207. package/dist-types/commands/GetBucketLocationCommand.d.ts +16 -0
  208. package/dist-types/commands/GetBucketLoggingCommand.d.ts +16 -0
  209. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +16 -0
  210. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +16 -0
  211. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +16 -0
  212. package/dist-types/commands/GetBucketPolicyCommand.d.ts +16 -0
  213. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +16 -0
  214. package/dist-types/commands/GetBucketReplicationCommand.d.ts +16 -0
  215. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +16 -0
  216. package/dist-types/commands/GetBucketTaggingCommand.d.ts +16 -0
  217. package/dist-types/commands/GetBucketVersioningCommand.d.ts +16 -0
  218. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +16 -0
  219. package/dist-types/commands/GetObjectAclCommand.d.ts +16 -0
  220. package/dist-types/commands/GetObjectAttributesCommand.d.ts +16 -0
  221. package/dist-types/commands/GetObjectCommand.d.ts +16 -0
  222. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +16 -0
  223. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +16 -0
  224. package/dist-types/commands/GetObjectRetentionCommand.d.ts +16 -0
  225. package/dist-types/commands/GetObjectTaggingCommand.d.ts +16 -0
  226. package/dist-types/commands/GetObjectTorrentCommand.d.ts +16 -0
  227. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +16 -0
  228. package/dist-types/commands/HeadBucketCommand.d.ts +16 -0
  229. package/dist-types/commands/HeadObjectCommand.d.ts +16 -0
  230. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +16 -0
  231. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +16 -0
  232. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +16 -0
  233. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +16 -0
  234. package/dist-types/commands/ListBucketsCommand.d.ts +16 -0
  235. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +16 -0
  236. package/dist-types/commands/ListObjectVersionsCommand.d.ts +16 -0
  237. package/dist-types/commands/ListObjectsCommand.d.ts +16 -0
  238. package/dist-types/commands/ListObjectsV2Command.d.ts +16 -0
  239. package/dist-types/commands/ListPartsCommand.d.ts +16 -0
  240. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +16 -0
  241. package/dist-types/commands/PutBucketAclCommand.d.ts +16 -0
  242. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +16 -0
  243. package/dist-types/commands/PutBucketCorsCommand.d.ts +16 -0
  244. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +16 -0
  245. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +16 -0
  246. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +16 -0
  247. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +16 -0
  248. package/dist-types/commands/PutBucketLoggingCommand.d.ts +16 -0
  249. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +16 -0
  250. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +16 -0
  251. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +16 -0
  252. package/dist-types/commands/PutBucketPolicyCommand.d.ts +16 -0
  253. package/dist-types/commands/PutBucketReplicationCommand.d.ts +16 -0
  254. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +16 -0
  255. package/dist-types/commands/PutBucketTaggingCommand.d.ts +16 -0
  256. package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -0
  257. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +16 -0
  258. package/dist-types/commands/PutObjectAclCommand.d.ts +16 -0
  259. package/dist-types/commands/PutObjectCommand.d.ts +17 -2
  260. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +16 -0
  261. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +16 -0
  262. package/dist-types/commands/PutObjectRetentionCommand.d.ts +16 -0
  263. package/dist-types/commands/PutObjectTaggingCommand.d.ts +16 -0
  264. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +16 -0
  265. package/dist-types/commands/RestoreObjectCommand.d.ts +16 -0
  266. package/dist-types/commands/SelectObjectContentCommand.d.ts +16 -0
  267. package/dist-types/commands/UploadPartCommand.d.ts +17 -2
  268. package/dist-types/commands/UploadPartCopyCommand.d.ts +16 -0
  269. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +17 -2
  270. package/dist-types/models/S3ServiceException.d.ts +2 -0
  271. package/dist-types/models/models_0.d.ts +705 -873
  272. package/dist-types/models/models_1.d.ts +90 -104
  273. package/dist-types/pagination/Interfaces.d.ts +3 -0
  274. package/dist-types/pagination/ListObjectsV2Paginator.d.ts +3 -0
  275. package/dist-types/pagination/ListPartsPaginator.d.ts +3 -0
  276. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -2
  277. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +1 -2
  278. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +1 -2
  279. package/dist-types/ts3.4/models/models_0.d.ts +0 -585
  280. package/dist-types/ts3.4/models/models_1.d.ts +0 -56
  281. package/package.json +4 -3
@@ -7929,18 +7929,14 @@ const serializeAws_restXmlWebsiteConfiguration = (input, context) => {
7929
7929
  return bodyNode;
7930
7930
  };
7931
7931
  const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) => {
7932
- const contents = {
7933
- DaysAfterInitiation: undefined,
7934
- };
7932
+ const contents = {};
7935
7933
  if (output["DaysAfterInitiation"] !== undefined) {
7936
7934
  contents.DaysAfterInitiation = __strictParseInt32(output["DaysAfterInitiation"]);
7937
7935
  }
7938
7936
  return contents;
7939
7937
  };
7940
7938
  const deserializeAws_restXmlAccessControlTranslation = (output, context) => {
7941
- const contents = {
7942
- Owner: undefined,
7943
- };
7939
+ const contents = {};
7944
7940
  if (output["Owner"] !== undefined) {
7945
7941
  contents.Owner = __expectString(output["Owner"]);
7946
7942
  }
@@ -7968,10 +7964,7 @@ const deserializeAws_restXmlAllowedOrigins = (output, context) => {
7968
7964
  });
7969
7965
  };
7970
7966
  const deserializeAws_restXmlAnalyticsAndOperator = (output, context) => {
7971
- const contents = {
7972
- Prefix: undefined,
7973
- Tags: undefined,
7974
- };
7967
+ const contents = {};
7975
7968
  if (output["Prefix"] !== undefined) {
7976
7969
  contents.Prefix = __expectString(output["Prefix"]);
7977
7970
  }
@@ -7984,11 +7977,7 @@ const deserializeAws_restXmlAnalyticsAndOperator = (output, context) => {
7984
7977
  return contents;
7985
7978
  };
7986
7979
  const deserializeAws_restXmlAnalyticsConfiguration = (output, context) => {
7987
- const contents = {
7988
- Id: undefined,
7989
- Filter: undefined,
7990
- StorageClassAnalysis: undefined,
7991
- };
7980
+ const contents = {};
7992
7981
  if (output["Id"] !== undefined) {
7993
7982
  contents.Id = __expectString(output["Id"]);
7994
7983
  }
@@ -8010,9 +7999,7 @@ const deserializeAws_restXmlAnalyticsConfigurationList = (output, context) => {
8010
7999
  });
8011
8000
  };
8012
8001
  const deserializeAws_restXmlAnalyticsExportDestination = (output, context) => {
8013
- const contents = {
8014
- S3BucketDestination: undefined,
8015
- };
8002
+ const contents = {};
8016
8003
  if (output["S3BucketDestination"] !== undefined) {
8017
8004
  contents.S3BucketDestination = deserializeAws_restXmlAnalyticsS3BucketDestination(output["S3BucketDestination"], context);
8018
8005
  }
@@ -8037,12 +8024,7 @@ const deserializeAws_restXmlAnalyticsFilter = (output, context) => {
8037
8024
  return { $unknown: Object.entries(output)[0] };
8038
8025
  };
8039
8026
  const deserializeAws_restXmlAnalyticsS3BucketDestination = (output, context) => {
8040
- const contents = {
8041
- Format: undefined,
8042
- BucketAccountId: undefined,
8043
- Bucket: undefined,
8044
- Prefix: undefined,
8045
- };
8027
+ const contents = {};
8046
8028
  if (output["Format"] !== undefined) {
8047
8029
  contents.Format = __expectString(output["Format"]);
8048
8030
  }
@@ -8058,10 +8040,7 @@ const deserializeAws_restXmlAnalyticsS3BucketDestination = (output, context) =>
8058
8040
  return contents;
8059
8041
  };
8060
8042
  const deserializeAws_restXmlBucket = (output, context) => {
8061
- const contents = {
8062
- Name: undefined,
8063
- CreationDate: undefined,
8064
- };
8043
+ const contents = {};
8065
8044
  if (output["Name"] !== undefined) {
8066
8045
  contents.Name = __expectString(output["Name"]);
8067
8046
  }
@@ -8078,12 +8057,7 @@ const deserializeAws_restXmlBuckets = (output, context) => {
8078
8057
  });
8079
8058
  };
8080
8059
  const deserializeAws_restXmlChecksum = (output, context) => {
8081
- const contents = {
8082
- ChecksumCRC32: undefined,
8083
- ChecksumCRC32C: undefined,
8084
- ChecksumSHA1: undefined,
8085
- ChecksumSHA256: undefined,
8086
- };
8060
+ const contents = {};
8087
8061
  if (output["ChecksumCRC32"] !== undefined) {
8088
8062
  contents.ChecksumCRC32 = __expectString(output["ChecksumCRC32"]);
8089
8063
  }
@@ -8106,9 +8080,7 @@ const deserializeAws_restXmlChecksumAlgorithmList = (output, context) => {
8106
8080
  });
8107
8081
  };
8108
8082
  const deserializeAws_restXmlCommonPrefix = (output, context) => {
8109
- const contents = {
8110
- Prefix: undefined,
8111
- };
8083
+ const contents = {};
8112
8084
  if (output["Prefix"] !== undefined) {
8113
8085
  contents.Prefix = __expectString(output["Prefix"]);
8114
8086
  }
@@ -8122,10 +8094,7 @@ const deserializeAws_restXmlCommonPrefixList = (output, context) => {
8122
8094
  });
8123
8095
  };
8124
8096
  const deserializeAws_restXmlCondition = (output, context) => {
8125
- const contents = {
8126
- HttpErrorCodeReturnedEquals: undefined,
8127
- KeyPrefixEquals: undefined,
8128
- };
8097
+ const contents = {};
8129
8098
  if (output["HttpErrorCodeReturnedEquals"] !== undefined) {
8130
8099
  contents.HttpErrorCodeReturnedEquals = __expectString(output["HttpErrorCodeReturnedEquals"]);
8131
8100
  }
@@ -8139,14 +8108,7 @@ const deserializeAws_restXmlContinuationEvent = (output, context) => {
8139
8108
  return contents;
8140
8109
  };
8141
8110
  const deserializeAws_restXmlCopyObjectResult = (output, context) => {
8142
- const contents = {
8143
- ETag: undefined,
8144
- LastModified: undefined,
8145
- ChecksumCRC32: undefined,
8146
- ChecksumCRC32C: undefined,
8147
- ChecksumSHA1: undefined,
8148
- ChecksumSHA256: undefined,
8149
- };
8111
+ const contents = {};
8150
8112
  if (output["ETag"] !== undefined) {
8151
8113
  contents.ETag = __expectString(output["ETag"]);
8152
8114
  }
@@ -8168,14 +8130,7 @@ const deserializeAws_restXmlCopyObjectResult = (output, context) => {
8168
8130
  return contents;
8169
8131
  };
8170
8132
  const deserializeAws_restXmlCopyPartResult = (output, context) => {
8171
- const contents = {
8172
- ETag: undefined,
8173
- LastModified: undefined,
8174
- ChecksumCRC32: undefined,
8175
- ChecksumCRC32C: undefined,
8176
- ChecksumSHA1: undefined,
8177
- ChecksumSHA256: undefined,
8178
- };
8133
+ const contents = {};
8179
8134
  if (output["ETag"] !== undefined) {
8180
8135
  contents.ETag = __expectString(output["ETag"]);
8181
8136
  }
@@ -8197,14 +8152,7 @@ const deserializeAws_restXmlCopyPartResult = (output, context) => {
8197
8152
  return contents;
8198
8153
  };
8199
8154
  const deserializeAws_restXmlCORSRule = (output, context) => {
8200
- const contents = {
8201
- ID: undefined,
8202
- AllowedHeaders: undefined,
8203
- AllowedMethods: undefined,
8204
- AllowedOrigins: undefined,
8205
- ExposeHeaders: undefined,
8206
- MaxAgeSeconds: undefined,
8207
- };
8155
+ const contents = {};
8208
8156
  if (output["ID"] !== undefined) {
8209
8157
  contents.ID = __expectString(output["ID"]);
8210
8158
  }
@@ -8245,11 +8193,7 @@ const deserializeAws_restXmlCORSRules = (output, context) => {
8245
8193
  });
8246
8194
  };
8247
8195
  const deserializeAws_restXmlDefaultRetention = (output, context) => {
8248
- const contents = {
8249
- Mode: undefined,
8250
- Days: undefined,
8251
- Years: undefined,
8252
- };
8196
+ const contents = {};
8253
8197
  if (output["Mode"] !== undefined) {
8254
8198
  contents.Mode = __expectString(output["Mode"]);
8255
8199
  }
@@ -8262,12 +8206,7 @@ const deserializeAws_restXmlDefaultRetention = (output, context) => {
8262
8206
  return contents;
8263
8207
  };
8264
8208
  const deserializeAws_restXmlDeletedObject = (output, context) => {
8265
- const contents = {
8266
- Key: undefined,
8267
- VersionId: undefined,
8268
- DeleteMarker: undefined,
8269
- DeleteMarkerVersionId: undefined,
8270
- };
8209
+ const contents = {};
8271
8210
  if (output["Key"] !== undefined) {
8272
8211
  contents.Key = __expectString(output["Key"]);
8273
8212
  }
@@ -8290,13 +8229,7 @@ const deserializeAws_restXmlDeletedObjects = (output, context) => {
8290
8229
  });
8291
8230
  };
8292
8231
  const deserializeAws_restXmlDeleteMarkerEntry = (output, context) => {
8293
- const contents = {
8294
- Owner: undefined,
8295
- Key: undefined,
8296
- VersionId: undefined,
8297
- IsLatest: undefined,
8298
- LastModified: undefined,
8299
- };
8232
+ const contents = {};
8300
8233
  if (output["Owner"] !== undefined) {
8301
8234
  contents.Owner = deserializeAws_restXmlOwner(output["Owner"], context);
8302
8235
  }
@@ -8315,9 +8248,7 @@ const deserializeAws_restXmlDeleteMarkerEntry = (output, context) => {
8315
8248
  return contents;
8316
8249
  };
8317
8250
  const deserializeAws_restXmlDeleteMarkerReplication = (output, context) => {
8318
- const contents = {
8319
- Status: undefined,
8320
- };
8251
+ const contents = {};
8321
8252
  if (output["Status"] !== undefined) {
8322
8253
  contents.Status = __expectString(output["Status"]);
8323
8254
  }
@@ -8331,15 +8262,7 @@ const deserializeAws_restXmlDeleteMarkers = (output, context) => {
8331
8262
  });
8332
8263
  };
8333
8264
  const deserializeAws_restXmlDestination = (output, context) => {
8334
- const contents = {
8335
- Bucket: undefined,
8336
- Account: undefined,
8337
- StorageClass: undefined,
8338
- AccessControlTranslation: undefined,
8339
- EncryptionConfiguration: undefined,
8340
- ReplicationTime: undefined,
8341
- Metrics: undefined,
8342
- };
8265
+ const contents = {};
8343
8266
  if (output["Bucket"] !== undefined) {
8344
8267
  contents.Bucket = __expectString(output["Bucket"]);
8345
8268
  }
@@ -8364,9 +8287,7 @@ const deserializeAws_restXmlDestination = (output, context) => {
8364
8287
  return contents;
8365
8288
  };
8366
8289
  const deserializeAws_restXmlEncryptionConfiguration = (output, context) => {
8367
- const contents = {
8368
- ReplicaKmsKeyID: undefined,
8369
- };
8290
+ const contents = {};
8370
8291
  if (output["ReplicaKmsKeyID"] !== undefined) {
8371
8292
  contents.ReplicaKmsKeyID = __expectString(output["ReplicaKmsKeyID"]);
8372
8293
  }
@@ -8377,12 +8298,7 @@ const deserializeAws_restXmlEndEvent = (output, context) => {
8377
8298
  return contents;
8378
8299
  };
8379
8300
  const deserializeAws_restXml_Error = (output, context) => {
8380
- const contents = {
8381
- Key: undefined,
8382
- VersionId: undefined,
8383
- Code: undefined,
8384
- Message: undefined,
8385
- };
8301
+ const contents = {};
8386
8302
  if (output["Key"] !== undefined) {
8387
8303
  contents.Key = __expectString(output["Key"]);
8388
8304
  }
@@ -8398,9 +8314,7 @@ const deserializeAws_restXml_Error = (output, context) => {
8398
8314
  return contents;
8399
8315
  };
8400
8316
  const deserializeAws_restXmlErrorDocument = (output, context) => {
8401
- const contents = {
8402
- Key: undefined,
8403
- };
8317
+ const contents = {};
8404
8318
  if (output["Key"] !== undefined) {
8405
8319
  contents.Key = __expectString(output["Key"]);
8406
8320
  }
@@ -8425,9 +8339,7 @@ const deserializeAws_restXmlEventList = (output, context) => {
8425
8339
  });
8426
8340
  };
8427
8341
  const deserializeAws_restXmlExistingObjectReplication = (output, context) => {
8428
- const contents = {
8429
- Status: undefined,
8430
- };
8342
+ const contents = {};
8431
8343
  if (output["Status"] !== undefined) {
8432
8344
  contents.Status = __expectString(output["Status"]);
8433
8345
  }
@@ -8441,10 +8353,7 @@ const deserializeAws_restXmlExposeHeaders = (output, context) => {
8441
8353
  });
8442
8354
  };
8443
8355
  const deserializeAws_restXmlFilterRule = (output, context) => {
8444
- const contents = {
8445
- Name: undefined,
8446
- Value: undefined,
8447
- };
8356
+ const contents = {};
8448
8357
  if (output["Name"] !== undefined) {
8449
8358
  contents.Name = __expectString(output["Name"]);
8450
8359
  }
@@ -8461,14 +8370,7 @@ const deserializeAws_restXmlFilterRuleList = (output, context) => {
8461
8370
  });
8462
8371
  };
8463
8372
  const deserializeAws_restXmlGetObjectAttributesParts = (output, context) => {
8464
- const contents = {
8465
- TotalPartsCount: undefined,
8466
- PartNumberMarker: undefined,
8467
- NextPartNumberMarker: undefined,
8468
- MaxParts: undefined,
8469
- IsTruncated: undefined,
8470
- Parts: undefined,
8471
- };
8373
+ const contents = {};
8472
8374
  if (output["PartsCount"] !== undefined) {
8473
8375
  contents.TotalPartsCount = __strictParseInt32(output["PartsCount"]);
8474
8376
  }
@@ -8493,10 +8395,7 @@ const deserializeAws_restXmlGetObjectAttributesParts = (output, context) => {
8493
8395
  return contents;
8494
8396
  };
8495
8397
  const deserializeAws_restXmlGrant = (output, context) => {
8496
- const contents = {
8497
- Grantee: undefined,
8498
- Permission: undefined,
8499
- };
8398
+ const contents = {};
8500
8399
  if (output["Grantee"] !== undefined) {
8501
8400
  contents.Grantee = deserializeAws_restXmlGrantee(output["Grantee"], context);
8502
8401
  }
@@ -8506,13 +8405,7 @@ const deserializeAws_restXmlGrant = (output, context) => {
8506
8405
  return contents;
8507
8406
  };
8508
8407
  const deserializeAws_restXmlGrantee = (output, context) => {
8509
- const contents = {
8510
- DisplayName: undefined,
8511
- EmailAddress: undefined,
8512
- ID: undefined,
8513
- URI: undefined,
8514
- Type: undefined,
8515
- };
8408
+ const contents = {};
8516
8409
  if (output["DisplayName"] !== undefined) {
8517
8410
  contents.DisplayName = __expectString(output["DisplayName"]);
8518
8411
  }
@@ -8538,19 +8431,14 @@ const deserializeAws_restXmlGrants = (output, context) => {
8538
8431
  });
8539
8432
  };
8540
8433
  const deserializeAws_restXmlIndexDocument = (output, context) => {
8541
- const contents = {
8542
- Suffix: undefined,
8543
- };
8434
+ const contents = {};
8544
8435
  if (output["Suffix"] !== undefined) {
8545
8436
  contents.Suffix = __expectString(output["Suffix"]);
8546
8437
  }
8547
8438
  return contents;
8548
8439
  };
8549
8440
  const deserializeAws_restXmlInitiator = (output, context) => {
8550
- const contents = {
8551
- ID: undefined,
8552
- DisplayName: undefined,
8553
- };
8441
+ const contents = {};
8554
8442
  if (output["ID"] !== undefined) {
8555
8443
  contents.ID = __expectString(output["ID"]);
8556
8444
  }
@@ -8560,10 +8448,7 @@ const deserializeAws_restXmlInitiator = (output, context) => {
8560
8448
  return contents;
8561
8449
  };
8562
8450
  const deserializeAws_restXmlIntelligentTieringAndOperator = (output, context) => {
8563
- const contents = {
8564
- Prefix: undefined,
8565
- Tags: undefined,
8566
- };
8451
+ const contents = {};
8567
8452
  if (output["Prefix"] !== undefined) {
8568
8453
  contents.Prefix = __expectString(output["Prefix"]);
8569
8454
  }
@@ -8576,12 +8461,7 @@ const deserializeAws_restXmlIntelligentTieringAndOperator = (output, context) =>
8576
8461
  return contents;
8577
8462
  };
8578
8463
  const deserializeAws_restXmlIntelligentTieringConfiguration = (output, context) => {
8579
- const contents = {
8580
- Id: undefined,
8581
- Filter: undefined,
8582
- Status: undefined,
8583
- Tierings: undefined,
8584
- };
8464
+ const contents = {};
8585
8465
  if (output["Id"] !== undefined) {
8586
8466
  contents.Id = __expectString(output["Id"]);
8587
8467
  }
@@ -8607,11 +8487,7 @@ const deserializeAws_restXmlIntelligentTieringConfigurationList = (output, conte
8607
8487
  });
8608
8488
  };
8609
8489
  const deserializeAws_restXmlIntelligentTieringFilter = (output, context) => {
8610
- const contents = {
8611
- Prefix: undefined,
8612
- Tag: undefined,
8613
- And: undefined,
8614
- };
8490
+ const contents = {};
8615
8491
  if (output["Prefix"] !== undefined) {
8616
8492
  contents.Prefix = __expectString(output["Prefix"]);
8617
8493
  }
@@ -8624,15 +8500,7 @@ const deserializeAws_restXmlIntelligentTieringFilter = (output, context) => {
8624
8500
  return contents;
8625
8501
  };
8626
8502
  const deserializeAws_restXmlInventoryConfiguration = (output, context) => {
8627
- const contents = {
8628
- Destination: undefined,
8629
- IsEnabled: undefined,
8630
- Filter: undefined,
8631
- Id: undefined,
8632
- IncludedObjectVersions: undefined,
8633
- OptionalFields: undefined,
8634
- Schedule: undefined,
8635
- };
8503
+ const contents = {};
8636
8504
  if (output["Destination"] !== undefined) {
8637
8505
  contents.Destination = deserializeAws_restXmlInventoryDestination(output["Destination"], context);
8638
8506
  }
@@ -8667,19 +8535,14 @@ const deserializeAws_restXmlInventoryConfigurationList = (output, context) => {
8667
8535
  });
8668
8536
  };
8669
8537
  const deserializeAws_restXmlInventoryDestination = (output, context) => {
8670
- const contents = {
8671
- S3BucketDestination: undefined,
8672
- };
8538
+ const contents = {};
8673
8539
  if (output["S3BucketDestination"] !== undefined) {
8674
8540
  contents.S3BucketDestination = deserializeAws_restXmlInventoryS3BucketDestination(output["S3BucketDestination"], context);
8675
8541
  }
8676
8542
  return contents;
8677
8543
  };
8678
8544
  const deserializeAws_restXmlInventoryEncryption = (output, context) => {
8679
- const contents = {
8680
- SSES3: undefined,
8681
- SSEKMS: undefined,
8682
- };
8545
+ const contents = {};
8683
8546
  if (output["SSE-S3"] !== undefined) {
8684
8547
  contents.SSES3 = deserializeAws_restXmlSSES3(output["SSE-S3"], context);
8685
8548
  }
@@ -8689,9 +8552,7 @@ const deserializeAws_restXmlInventoryEncryption = (output, context) => {
8689
8552
  return contents;
8690
8553
  };
8691
8554
  const deserializeAws_restXmlInventoryFilter = (output, context) => {
8692
- const contents = {
8693
- Prefix: undefined,
8694
- };
8555
+ const contents = {};
8695
8556
  if (output["Prefix"] !== undefined) {
8696
8557
  contents.Prefix = __expectString(output["Prefix"]);
8697
8558
  }
@@ -8705,13 +8566,7 @@ const deserializeAws_restXmlInventoryOptionalFields = (output, context) => {
8705
8566
  });
8706
8567
  };
8707
8568
  const deserializeAws_restXmlInventoryS3BucketDestination = (output, context) => {
8708
- const contents = {
8709
- AccountId: undefined,
8710
- Bucket: undefined,
8711
- Format: undefined,
8712
- Prefix: undefined,
8713
- Encryption: undefined,
8714
- };
8569
+ const contents = {};
8715
8570
  if (output["AccountId"] !== undefined) {
8716
8571
  contents.AccountId = __expectString(output["AccountId"]);
8717
8572
  }
@@ -8730,21 +8585,14 @@ const deserializeAws_restXmlInventoryS3BucketDestination = (output, context) =>
8730
8585
  return contents;
8731
8586
  };
8732
8587
  const deserializeAws_restXmlInventorySchedule = (output, context) => {
8733
- const contents = {
8734
- Frequency: undefined,
8735
- };
8588
+ const contents = {};
8736
8589
  if (output["Frequency"] !== undefined) {
8737
8590
  contents.Frequency = __expectString(output["Frequency"]);
8738
8591
  }
8739
8592
  return contents;
8740
8593
  };
8741
8594
  const deserializeAws_restXmlLambdaFunctionConfiguration = (output, context) => {
8742
- const contents = {
8743
- Id: undefined,
8744
- LambdaFunctionArn: undefined,
8745
- Events: undefined,
8746
- Filter: undefined,
8747
- };
8595
+ const contents = {};
8748
8596
  if (output["Id"] !== undefined) {
8749
8597
  contents.Id = __expectString(output["Id"]);
8750
8598
  }
@@ -8770,11 +8618,7 @@ const deserializeAws_restXmlLambdaFunctionConfigurationList = (output, context)
8770
8618
  });
8771
8619
  };
8772
8620
  const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
8773
- const contents = {
8774
- Date: undefined,
8775
- Days: undefined,
8776
- ExpiredObjectDeleteMarker: undefined,
8777
- };
8621
+ const contents = {};
8778
8622
  if (output["Date"] !== undefined) {
8779
8623
  contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Date"]));
8780
8624
  }
@@ -8787,17 +8631,7 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
8787
8631
  return contents;
8788
8632
  };
8789
8633
  const deserializeAws_restXmlLifecycleRule = (output, context) => {
8790
- const contents = {
8791
- Expiration: undefined,
8792
- ID: undefined,
8793
- Prefix: undefined,
8794
- Filter: undefined,
8795
- Status: undefined,
8796
- Transitions: undefined,
8797
- NoncurrentVersionTransitions: undefined,
8798
- NoncurrentVersionExpiration: undefined,
8799
- AbortIncompleteMultipartUpload: undefined,
8800
- };
8634
+ const contents = {};
8801
8635
  if (output["Expiration"] !== undefined) {
8802
8636
  contents.Expiration = deserializeAws_restXmlLifecycleExpiration(output["Expiration"], context);
8803
8637
  }
@@ -8836,12 +8670,7 @@ const deserializeAws_restXmlLifecycleRule = (output, context) => {
8836
8670
  return contents;
8837
8671
  };
8838
8672
  const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
8839
- const contents = {
8840
- Prefix: undefined,
8841
- Tags: undefined,
8842
- ObjectSizeGreaterThan: undefined,
8843
- ObjectSizeLessThan: undefined,
8844
- };
8673
+ const contents = {};
8845
8674
  if (output["Prefix"] !== undefined) {
8846
8675
  contents.Prefix = __expectString(output["Prefix"]);
8847
8676
  }
@@ -8895,11 +8724,7 @@ const deserializeAws_restXmlLifecycleRules = (output, context) => {
8895
8724
  });
8896
8725
  };
8897
8726
  const deserializeAws_restXmlLoggingEnabled = (output, context) => {
8898
- const contents = {
8899
- TargetBucket: undefined,
8900
- TargetGrants: undefined,
8901
- TargetPrefix: undefined,
8902
- };
8727
+ const contents = {};
8903
8728
  if (output["TargetBucket"] !== undefined) {
8904
8729
  contents.TargetBucket = __expectString(output["TargetBucket"]);
8905
8730
  }
@@ -8915,10 +8740,7 @@ const deserializeAws_restXmlLoggingEnabled = (output, context) => {
8915
8740
  return contents;
8916
8741
  };
8917
8742
  const deserializeAws_restXmlMetrics = (output, context) => {
8918
- const contents = {
8919
- Status: undefined,
8920
- EventThreshold: undefined,
8921
- };
8743
+ const contents = {};
8922
8744
  if (output["Status"] !== undefined) {
8923
8745
  contents.Status = __expectString(output["Status"]);
8924
8746
  }
@@ -8928,11 +8750,7 @@ const deserializeAws_restXmlMetrics = (output, context) => {
8928
8750
  return contents;
8929
8751
  };
8930
8752
  const deserializeAws_restXmlMetricsAndOperator = (output, context) => {
8931
- const contents = {
8932
- Prefix: undefined,
8933
- Tags: undefined,
8934
- AccessPointArn: undefined,
8935
- };
8753
+ const contents = {};
8936
8754
  if (output["Prefix"] !== undefined) {
8937
8755
  contents.Prefix = __expectString(output["Prefix"]);
8938
8756
  }
@@ -8948,10 +8766,7 @@ const deserializeAws_restXmlMetricsAndOperator = (output, context) => {
8948
8766
  return contents;
8949
8767
  };
8950
8768
  const deserializeAws_restXmlMetricsConfiguration = (output, context) => {
8951
- const contents = {
8952
- Id: undefined,
8953
- Filter: undefined,
8954
- };
8769
+ const contents = {};
8955
8770
  if (output["Id"] !== undefined) {
8956
8771
  contents.Id = __expectString(output["Id"]);
8957
8772
  }
@@ -8993,15 +8808,7 @@ const deserializeAws_restXmlMetricsFilter = (output, context) => {
8993
8808
  return { $unknown: Object.entries(output)[0] };
8994
8809
  };
8995
8810
  const deserializeAws_restXmlMultipartUpload = (output, context) => {
8996
- const contents = {
8997
- UploadId: undefined,
8998
- Key: undefined,
8999
- Initiated: undefined,
9000
- StorageClass: undefined,
9001
- Owner: undefined,
9002
- Initiator: undefined,
9003
- ChecksumAlgorithm: undefined,
9004
- };
8811
+ const contents = {};
9005
8812
  if (output["UploadId"] !== undefined) {
9006
8813
  contents.UploadId = __expectString(output["UploadId"]);
9007
8814
  }
@@ -9033,10 +8840,7 @@ const deserializeAws_restXmlMultipartUploadList = (output, context) => {
9033
8840
  });
9034
8841
  };
9035
8842
  const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
9036
- const contents = {
9037
- NoncurrentDays: undefined,
9038
- NewerNoncurrentVersions: undefined,
9039
- };
8843
+ const contents = {};
9040
8844
  if (output["NoncurrentDays"] !== undefined) {
9041
8845
  contents.NoncurrentDays = __strictParseInt32(output["NoncurrentDays"]);
9042
8846
  }
@@ -9046,11 +8850,7 @@ const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
9046
8850
  return contents;
9047
8851
  };
9048
8852
  const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
9049
- const contents = {
9050
- NoncurrentDays: undefined,
9051
- StorageClass: undefined,
9052
- NewerNoncurrentVersions: undefined,
9053
- };
8853
+ const contents = {};
9054
8854
  if (output["NoncurrentDays"] !== undefined) {
9055
8855
  contents.NoncurrentDays = __strictParseInt32(output["NoncurrentDays"]);
9056
8856
  }
@@ -9070,24 +8870,14 @@ const deserializeAws_restXmlNoncurrentVersionTransitionList = (output, context)
9070
8870
  });
9071
8871
  };
9072
8872
  const deserializeAws_restXmlNotificationConfigurationFilter = (output, context) => {
9073
- const contents = {
9074
- Key: undefined,
9075
- };
8873
+ const contents = {};
9076
8874
  if (output["S3Key"] !== undefined) {
9077
8875
  contents.Key = deserializeAws_restXmlS3KeyFilter(output["S3Key"], context);
9078
8876
  }
9079
8877
  return contents;
9080
8878
  };
9081
8879
  const deserializeAws_restXml_Object = (output, context) => {
9082
- const contents = {
9083
- Key: undefined,
9084
- LastModified: undefined,
9085
- ETag: undefined,
9086
- ChecksumAlgorithm: undefined,
9087
- Size: undefined,
9088
- StorageClass: undefined,
9089
- Owner: undefined,
9090
- };
8880
+ const contents = {};
9091
8881
  if (output["Key"] !== undefined) {
9092
8882
  contents.Key = __expectString(output["Key"]);
9093
8883
  }
@@ -9122,10 +8912,7 @@ const deserializeAws_restXmlObjectList = (output, context) => {
9122
8912
  });
9123
8913
  };
9124
8914
  const deserializeAws_restXmlObjectLockConfiguration = (output, context) => {
9125
- const contents = {
9126
- ObjectLockEnabled: undefined,
9127
- Rule: undefined,
9128
- };
8915
+ const contents = {};
9129
8916
  if (output["ObjectLockEnabled"] !== undefined) {
9130
8917
  contents.ObjectLockEnabled = __expectString(output["ObjectLockEnabled"]);
9131
8918
  }
@@ -9135,19 +8922,14 @@ const deserializeAws_restXmlObjectLockConfiguration = (output, context) => {
9135
8922
  return contents;
9136
8923
  };
9137
8924
  const deserializeAws_restXmlObjectLockLegalHold = (output, context) => {
9138
- const contents = {
9139
- Status: undefined,
9140
- };
8925
+ const contents = {};
9141
8926
  if (output["Status"] !== undefined) {
9142
8927
  contents.Status = __expectString(output["Status"]);
9143
8928
  }
9144
8929
  return contents;
9145
8930
  };
9146
8931
  const deserializeAws_restXmlObjectLockRetention = (output, context) => {
9147
- const contents = {
9148
- Mode: undefined,
9149
- RetainUntilDate: undefined,
9150
- };
8932
+ const contents = {};
9151
8933
  if (output["Mode"] !== undefined) {
9152
8934
  contents.Mode = __expectString(output["Mode"]);
9153
8935
  }
@@ -9157,23 +8939,14 @@ const deserializeAws_restXmlObjectLockRetention = (output, context) => {
9157
8939
  return contents;
9158
8940
  };
9159
8941
  const deserializeAws_restXmlObjectLockRule = (output, context) => {
9160
- const contents = {
9161
- DefaultRetention: undefined,
9162
- };
8942
+ const contents = {};
9163
8943
  if (output["DefaultRetention"] !== undefined) {
9164
8944
  contents.DefaultRetention = deserializeAws_restXmlDefaultRetention(output["DefaultRetention"], context);
9165
8945
  }
9166
8946
  return contents;
9167
8947
  };
9168
8948
  const deserializeAws_restXmlObjectPart = (output, context) => {
9169
- const contents = {
9170
- PartNumber: undefined,
9171
- Size: undefined,
9172
- ChecksumCRC32: undefined,
9173
- ChecksumCRC32C: undefined,
9174
- ChecksumSHA1: undefined,
9175
- ChecksumSHA256: undefined,
9176
- };
8949
+ const contents = {};
9177
8950
  if (output["PartNumber"] !== undefined) {
9178
8951
  contents.PartNumber = __strictParseInt32(output["PartNumber"]);
9179
8952
  }
@@ -9195,17 +8968,7 @@ const deserializeAws_restXmlObjectPart = (output, context) => {
9195
8968
  return contents;
9196
8969
  };
9197
8970
  const deserializeAws_restXmlObjectVersion = (output, context) => {
9198
- const contents = {
9199
- ETag: undefined,
9200
- ChecksumAlgorithm: undefined,
9201
- Size: undefined,
9202
- StorageClass: undefined,
9203
- Key: undefined,
9204
- VersionId: undefined,
9205
- IsLatest: undefined,
9206
- LastModified: undefined,
9207
- Owner: undefined,
9208
- };
8971
+ const contents = {};
9209
8972
  if (output["ETag"] !== undefined) {
9210
8973
  contents.ETag = __expectString(output["ETag"]);
9211
8974
  }
@@ -9246,10 +9009,7 @@ const deserializeAws_restXmlObjectVersionList = (output, context) => {
9246
9009
  });
9247
9010
  };
9248
9011
  const deserializeAws_restXmlOwner = (output, context) => {
9249
- const contents = {
9250
- DisplayName: undefined,
9251
- ID: undefined,
9252
- };
9012
+ const contents = {};
9253
9013
  if (output["DisplayName"] !== undefined) {
9254
9014
  contents.DisplayName = __expectString(output["DisplayName"]);
9255
9015
  }
@@ -9259,9 +9019,7 @@ const deserializeAws_restXmlOwner = (output, context) => {
9259
9019
  return contents;
9260
9020
  };
9261
9021
  const deserializeAws_restXmlOwnershipControls = (output, context) => {
9262
- const contents = {
9263
- Rules: undefined,
9264
- };
9022
+ const contents = {};
9265
9023
  if (output.Rule === "") {
9266
9024
  contents.Rules = [];
9267
9025
  }
@@ -9271,9 +9029,7 @@ const deserializeAws_restXmlOwnershipControls = (output, context) => {
9271
9029
  return contents;
9272
9030
  };
9273
9031
  const deserializeAws_restXmlOwnershipControlsRule = (output, context) => {
9274
- const contents = {
9275
- ObjectOwnership: undefined,
9276
- };
9032
+ const contents = {};
9277
9033
  if (output["ObjectOwnership"] !== undefined) {
9278
9034
  contents.ObjectOwnership = __expectString(output["ObjectOwnership"]);
9279
9035
  }
@@ -9287,16 +9043,7 @@ const deserializeAws_restXmlOwnershipControlsRules = (output, context) => {
9287
9043
  });
9288
9044
  };
9289
9045
  const deserializeAws_restXmlPart = (output, context) => {
9290
- const contents = {
9291
- PartNumber: undefined,
9292
- LastModified: undefined,
9293
- ETag: undefined,
9294
- Size: undefined,
9295
- ChecksumCRC32: undefined,
9296
- ChecksumCRC32C: undefined,
9297
- ChecksumSHA1: undefined,
9298
- ChecksumSHA256: undefined,
9299
- };
9046
+ const contents = {};
9300
9047
  if (output["PartNumber"] !== undefined) {
9301
9048
  contents.PartNumber = __strictParseInt32(output["PartNumber"]);
9302
9049
  }
@@ -9338,20 +9085,14 @@ const deserializeAws_restXmlPartsList = (output, context) => {
9338
9085
  });
9339
9086
  };
9340
9087
  const deserializeAws_restXmlPolicyStatus = (output, context) => {
9341
- const contents = {
9342
- IsPublic: undefined,
9343
- };
9088
+ const contents = {};
9344
9089
  if (output["IsPublic"] !== undefined) {
9345
9090
  contents.IsPublic = __parseBoolean(output["IsPublic"]);
9346
9091
  }
9347
9092
  return contents;
9348
9093
  };
9349
9094
  const deserializeAws_restXmlProgress = (output, context) => {
9350
- const contents = {
9351
- BytesScanned: undefined,
9352
- BytesProcessed: undefined,
9353
- BytesReturned: undefined,
9354
- };
9095
+ const contents = {};
9355
9096
  if (output["BytesScanned"] !== undefined) {
9356
9097
  contents.BytesScanned = __strictParseLong(output["BytesScanned"]);
9357
9098
  }
@@ -9364,12 +9105,7 @@ const deserializeAws_restXmlProgress = (output, context) => {
9364
9105
  return contents;
9365
9106
  };
9366
9107
  const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) => {
9367
- const contents = {
9368
- BlockPublicAcls: undefined,
9369
- IgnorePublicAcls: undefined,
9370
- BlockPublicPolicy: undefined,
9371
- RestrictPublicBuckets: undefined,
9372
- };
9108
+ const contents = {};
9373
9109
  if (output["BlockPublicAcls"] !== undefined) {
9374
9110
  contents.BlockPublicAcls = __parseBoolean(output["BlockPublicAcls"]);
9375
9111
  }
@@ -9385,12 +9121,7 @@ const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) =
9385
9121
  return contents;
9386
9122
  };
9387
9123
  const deserializeAws_restXmlQueueConfiguration = (output, context) => {
9388
- const contents = {
9389
- Id: undefined,
9390
- QueueArn: undefined,
9391
- Events: undefined,
9392
- Filter: undefined,
9393
- };
9124
+ const contents = {};
9394
9125
  if (output["Id"] !== undefined) {
9395
9126
  contents.Id = __expectString(output["Id"]);
9396
9127
  }
@@ -9416,13 +9147,7 @@ const deserializeAws_restXmlQueueConfigurationList = (output, context) => {
9416
9147
  });
9417
9148
  };
9418
9149
  const deserializeAws_restXmlRedirect = (output, context) => {
9419
- const contents = {
9420
- HostName: undefined,
9421
- HttpRedirectCode: undefined,
9422
- Protocol: undefined,
9423
- ReplaceKeyPrefixWith: undefined,
9424
- ReplaceKeyWith: undefined,
9425
- };
9150
+ const contents = {};
9426
9151
  if (output["HostName"] !== undefined) {
9427
9152
  contents.HostName = __expectString(output["HostName"]);
9428
9153
  }
@@ -9441,10 +9166,7 @@ const deserializeAws_restXmlRedirect = (output, context) => {
9441
9166
  return contents;
9442
9167
  };
9443
9168
  const deserializeAws_restXmlRedirectAllRequestsTo = (output, context) => {
9444
- const contents = {
9445
- HostName: undefined,
9446
- Protocol: undefined,
9447
- };
9169
+ const contents = {};
9448
9170
  if (output["HostName"] !== undefined) {
9449
9171
  contents.HostName = __expectString(output["HostName"]);
9450
9172
  }
@@ -9454,19 +9176,14 @@ const deserializeAws_restXmlRedirectAllRequestsTo = (output, context) => {
9454
9176
  return contents;
9455
9177
  };
9456
9178
  const deserializeAws_restXmlReplicaModifications = (output, context) => {
9457
- const contents = {
9458
- Status: undefined,
9459
- };
9179
+ const contents = {};
9460
9180
  if (output["Status"] !== undefined) {
9461
9181
  contents.Status = __expectString(output["Status"]);
9462
9182
  }
9463
9183
  return contents;
9464
9184
  };
9465
9185
  const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
9466
- const contents = {
9467
- Role: undefined,
9468
- Rules: undefined,
9469
- };
9186
+ const contents = {};
9470
9187
  if (output["Role"] !== undefined) {
9471
9188
  contents.Role = __expectString(output["Role"]);
9472
9189
  }
@@ -9479,17 +9196,7 @@ const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
9479
9196
  return contents;
9480
9197
  };
9481
9198
  const deserializeAws_restXmlReplicationRule = (output, context) => {
9482
- const contents = {
9483
- ID: undefined,
9484
- Priority: undefined,
9485
- Prefix: undefined,
9486
- Filter: undefined,
9487
- Status: undefined,
9488
- SourceSelectionCriteria: undefined,
9489
- ExistingObjectReplication: undefined,
9490
- Destination: undefined,
9491
- DeleteMarkerReplication: undefined,
9492
- };
9199
+ const contents = {};
9493
9200
  if (output["ID"] !== undefined) {
9494
9201
  contents.ID = __expectString(output["ID"]);
9495
9202
  }
@@ -9522,10 +9229,7 @@ const deserializeAws_restXmlReplicationRule = (output, context) => {
9522
9229
  return contents;
9523
9230
  };
9524
9231
  const deserializeAws_restXmlReplicationRuleAndOperator = (output, context) => {
9525
- const contents = {
9526
- Prefix: undefined,
9527
- Tags: undefined,
9528
- };
9232
+ const contents = {};
9529
9233
  if (output["Prefix"] !== undefined) {
9530
9234
  contents.Prefix = __expectString(output["Prefix"]);
9531
9235
  }
@@ -9563,10 +9267,7 @@ const deserializeAws_restXmlReplicationRules = (output, context) => {
9563
9267
  });
9564
9268
  };
9565
9269
  const deserializeAws_restXmlReplicationTime = (output, context) => {
9566
- const contents = {
9567
- Status: undefined,
9568
- Time: undefined,
9569
- };
9270
+ const contents = {};
9570
9271
  if (output["Status"] !== undefined) {
9571
9272
  contents.Status = __expectString(output["Status"]);
9572
9273
  }
@@ -9576,19 +9277,14 @@ const deserializeAws_restXmlReplicationTime = (output, context) => {
9576
9277
  return contents;
9577
9278
  };
9578
9279
  const deserializeAws_restXmlReplicationTimeValue = (output, context) => {
9579
- const contents = {
9580
- Minutes: undefined,
9581
- };
9280
+ const contents = {};
9582
9281
  if (output["Minutes"] !== undefined) {
9583
9282
  contents.Minutes = __strictParseInt32(output["Minutes"]);
9584
9283
  }
9585
9284
  return contents;
9586
9285
  };
9587
9286
  const deserializeAws_restXmlRoutingRule = (output, context) => {
9588
- const contents = {
9589
- Condition: undefined,
9590
- Redirect: undefined,
9591
- };
9287
+ const contents = {};
9592
9288
  if (output["Condition"] !== undefined) {
9593
9289
  contents.Condition = deserializeAws_restXmlCondition(output["Condition"], context);
9594
9290
  }
@@ -9605,9 +9301,7 @@ const deserializeAws_restXmlRoutingRules = (output, context) => {
9605
9301
  });
9606
9302
  };
9607
9303
  const deserializeAws_restXmlS3KeyFilter = (output, context) => {
9608
- const contents = {
9609
- FilterRules: undefined,
9610
- };
9304
+ const contents = {};
9611
9305
  if (output.FilterRule === "") {
9612
9306
  contents.FilterRules = [];
9613
9307
  }
@@ -9617,10 +9311,7 @@ const deserializeAws_restXmlS3KeyFilter = (output, context) => {
9617
9311
  return contents;
9618
9312
  };
9619
9313
  const deserializeAws_restXmlServerSideEncryptionByDefault = (output, context) => {
9620
- const contents = {
9621
- SSEAlgorithm: undefined,
9622
- KMSMasterKeyID: undefined,
9623
- };
9314
+ const contents = {};
9624
9315
  if (output["SSEAlgorithm"] !== undefined) {
9625
9316
  contents.SSEAlgorithm = __expectString(output["SSEAlgorithm"]);
9626
9317
  }
@@ -9630,9 +9321,7 @@ const deserializeAws_restXmlServerSideEncryptionByDefault = (output, context) =>
9630
9321
  return contents;
9631
9322
  };
9632
9323
  const deserializeAws_restXmlServerSideEncryptionConfiguration = (output, context) => {
9633
- const contents = {
9634
- Rules: undefined,
9635
- };
9324
+ const contents = {};
9636
9325
  if (output.Rule === "") {
9637
9326
  contents.Rules = [];
9638
9327
  }
@@ -9642,10 +9331,7 @@ const deserializeAws_restXmlServerSideEncryptionConfiguration = (output, context
9642
9331
  return contents;
9643
9332
  };
9644
9333
  const deserializeAws_restXmlServerSideEncryptionRule = (output, context) => {
9645
- const contents = {
9646
- ApplyServerSideEncryptionByDefault: undefined,
9647
- BucketKeyEnabled: undefined,
9648
- };
9334
+ const contents = {};
9649
9335
  if (output["ApplyServerSideEncryptionByDefault"] !== undefined) {
9650
9336
  contents.ApplyServerSideEncryptionByDefault = deserializeAws_restXmlServerSideEncryptionByDefault(output["ApplyServerSideEncryptionByDefault"], context);
9651
9337
  }
@@ -9662,10 +9348,7 @@ const deserializeAws_restXmlServerSideEncryptionRules = (output, context) => {
9662
9348
  });
9663
9349
  };
9664
9350
  const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
9665
- const contents = {
9666
- SseKmsEncryptedObjects: undefined,
9667
- ReplicaModifications: undefined,
9668
- };
9351
+ const contents = {};
9669
9352
  if (output["SseKmsEncryptedObjects"] !== undefined) {
9670
9353
  contents.SseKmsEncryptedObjects = deserializeAws_restXmlSseKmsEncryptedObjects(output["SseKmsEncryptedObjects"], context);
9671
9354
  }
@@ -9675,18 +9358,14 @@ const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
9675
9358
  return contents;
9676
9359
  };
9677
9360
  const deserializeAws_restXmlSSEKMS = (output, context) => {
9678
- const contents = {
9679
- KeyId: undefined,
9680
- };
9361
+ const contents = {};
9681
9362
  if (output["KeyId"] !== undefined) {
9682
9363
  contents.KeyId = __expectString(output["KeyId"]);
9683
9364
  }
9684
9365
  return contents;
9685
9366
  };
9686
9367
  const deserializeAws_restXmlSseKmsEncryptedObjects = (output, context) => {
9687
- const contents = {
9688
- Status: undefined,
9689
- };
9368
+ const contents = {};
9690
9369
  if (output["Status"] !== undefined) {
9691
9370
  contents.Status = __expectString(output["Status"]);
9692
9371
  }
@@ -9697,11 +9376,7 @@ const deserializeAws_restXmlSSES3 = (output, context) => {
9697
9376
  return contents;
9698
9377
  };
9699
9378
  const deserializeAws_restXmlStats = (output, context) => {
9700
- const contents = {
9701
- BytesScanned: undefined,
9702
- BytesProcessed: undefined,
9703
- BytesReturned: undefined,
9704
- };
9379
+ const contents = {};
9705
9380
  if (output["BytesScanned"] !== undefined) {
9706
9381
  contents.BytesScanned = __strictParseLong(output["BytesScanned"]);
9707
9382
  }
@@ -9714,19 +9389,14 @@ const deserializeAws_restXmlStats = (output, context) => {
9714
9389
  return contents;
9715
9390
  };
9716
9391
  const deserializeAws_restXmlStorageClassAnalysis = (output, context) => {
9717
- const contents = {
9718
- DataExport: undefined,
9719
- };
9392
+ const contents = {};
9720
9393
  if (output["DataExport"] !== undefined) {
9721
9394
  contents.DataExport = deserializeAws_restXmlStorageClassAnalysisDataExport(output["DataExport"], context);
9722
9395
  }
9723
9396
  return contents;
9724
9397
  };
9725
9398
  const deserializeAws_restXmlStorageClassAnalysisDataExport = (output, context) => {
9726
- const contents = {
9727
- OutputSchemaVersion: undefined,
9728
- Destination: undefined,
9729
- };
9399
+ const contents = {};
9730
9400
  if (output["OutputSchemaVersion"] !== undefined) {
9731
9401
  contents.OutputSchemaVersion = __expectString(output["OutputSchemaVersion"]);
9732
9402
  }
@@ -9736,10 +9406,7 @@ const deserializeAws_restXmlStorageClassAnalysisDataExport = (output, context) =
9736
9406
  return contents;
9737
9407
  };
9738
9408
  const deserializeAws_restXmlTag = (output, context) => {
9739
- const contents = {
9740
- Key: undefined,
9741
- Value: undefined,
9742
- };
9409
+ const contents = {};
9743
9410
  if (output["Key"] !== undefined) {
9744
9411
  contents.Key = __expectString(output["Key"]);
9745
9412
  }
@@ -9756,10 +9423,7 @@ const deserializeAws_restXmlTagSet = (output, context) => {
9756
9423
  });
9757
9424
  };
9758
9425
  const deserializeAws_restXmlTargetGrant = (output, context) => {
9759
- const contents = {
9760
- Grantee: undefined,
9761
- Permission: undefined,
9762
- };
9426
+ const contents = {};
9763
9427
  if (output["Grantee"] !== undefined) {
9764
9428
  contents.Grantee = deserializeAws_restXmlGrantee(output["Grantee"], context);
9765
9429
  }
@@ -9776,10 +9440,7 @@ const deserializeAws_restXmlTargetGrants = (output, context) => {
9776
9440
  });
9777
9441
  };
9778
9442
  const deserializeAws_restXmlTiering = (output, context) => {
9779
- const contents = {
9780
- Days: undefined,
9781
- AccessTier: undefined,
9782
- };
9443
+ const contents = {};
9783
9444
  if (output["Days"] !== undefined) {
9784
9445
  contents.Days = __strictParseInt32(output["Days"]);
9785
9446
  }
@@ -9796,12 +9457,7 @@ const deserializeAws_restXmlTieringList = (output, context) => {
9796
9457
  });
9797
9458
  };
9798
9459
  const deserializeAws_restXmlTopicConfiguration = (output, context) => {
9799
- const contents = {
9800
- Id: undefined,
9801
- TopicArn: undefined,
9802
- Events: undefined,
9803
- Filter: undefined,
9804
- };
9460
+ const contents = {};
9805
9461
  if (output["Id"] !== undefined) {
9806
9462
  contents.Id = __expectString(output["Id"]);
9807
9463
  }
@@ -9827,11 +9483,7 @@ const deserializeAws_restXmlTopicConfigurationList = (output, context) => {
9827
9483
  });
9828
9484
  };
9829
9485
  const deserializeAws_restXmlTransition = (output, context) => {
9830
- const contents = {
9831
- Date: undefined,
9832
- Days: undefined,
9833
- StorageClass: undefined,
9834
- };
9486
+ const contents = {};
9835
9487
  if (output["Date"] !== undefined) {
9836
9488
  contents.Date = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Date"]));
9837
9489
  }