@aws-sdk/client-s3-control 3.295.0 → 3.297.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 (78) hide show
  1. package/dist-cjs/protocols/Aws_restXml.js +101 -518
  2. package/dist-es/protocols/Aws_restXml.js +101 -518
  3. package/dist-types/S3Control.d.ts +65 -0
  4. package/dist-types/S3ControlClient.d.ts +24 -4
  5. package/dist-types/commands/CreateAccessPointCommand.d.ts +16 -0
  6. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateBucketCommand.d.ts +16 -0
  8. package/dist-types/commands/CreateJobCommand.d.ts +16 -0
  9. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +16 -0
  10. package/dist-types/commands/DeleteAccessPointCommand.d.ts +16 -0
  11. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +16 -0
  13. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteBucketCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +16 -0
  20. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +16 -0
  21. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeJobCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +16 -0
  26. package/dist-types/commands/GetAccessPointCommand.d.ts +16 -0
  27. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +16 -0
  28. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +16 -0
  29. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +16 -0
  30. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +16 -0
  31. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +16 -0
  32. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +16 -0
  33. package/dist-types/commands/GetBucketCommand.d.ts +16 -0
  34. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +16 -0
  35. package/dist-types/commands/GetBucketPolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/GetBucketReplicationCommand.d.ts +16 -0
  37. package/dist-types/commands/GetBucketTaggingCommand.d.ts +16 -0
  38. package/dist-types/commands/GetBucketVersioningCommand.d.ts +16 -0
  39. package/dist-types/commands/GetJobTaggingCommand.d.ts +16 -0
  40. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +16 -0
  41. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +16 -0
  42. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +16 -0
  43. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +16 -0
  44. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +16 -0
  45. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +16 -0
  46. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +16 -0
  47. package/dist-types/commands/ListAccessPointsCommand.d.ts +16 -0
  48. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +16 -0
  49. package/dist-types/commands/ListJobsCommand.d.ts +16 -0
  50. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +16 -0
  51. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +16 -0
  52. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +16 -0
  53. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +16 -0
  54. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +16 -0
  55. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +16 -0
  56. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +16 -0
  57. package/dist-types/commands/PutBucketPolicyCommand.d.ts +16 -0
  58. package/dist-types/commands/PutBucketReplicationCommand.d.ts +16 -0
  59. package/dist-types/commands/PutBucketTaggingCommand.d.ts +16 -0
  60. package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -0
  61. package/dist-types/commands/PutJobTaggingCommand.d.ts +16 -0
  62. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +16 -0
  63. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +16 -0
  64. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +16 -0
  65. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +16 -0
  66. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +16 -0
  67. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +16 -0
  68. package/dist-types/commands/UpdateJobStatusCommand.d.ts +16 -0
  69. package/dist-types/models/S3ControlServiceException.d.ts +2 -0
  70. package/dist-types/models/models_0.d.ts +582 -0
  71. package/dist-types/pagination/Interfaces.d.ts +3 -0
  72. package/dist-types/pagination/ListAccessPointsForObjectLambdaPaginator.d.ts +3 -0
  73. package/dist-types/pagination/ListAccessPointsPaginator.d.ts +3 -0
  74. package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
  75. package/dist-types/pagination/ListMultiRegionAccessPointsPaginator.d.ts +3 -0
  76. package/dist-types/pagination/ListRegionalBucketsPaginator.d.ts +3 -0
  77. package/dist-types/pagination/ListStorageLensConfigurationsPaginator.d.ts +3 -0
  78. package/package.json +34 -34
@@ -5939,33 +5939,21 @@ const serializeAws_restXmlVpcConfiguration = (input, context) => {
5939
5939
  return bodyNode;
5940
5940
  };
5941
5941
  const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) => {
5942
- const contents = {
5943
- DaysAfterInitiation: undefined,
5944
- };
5942
+ const contents = {};
5945
5943
  if (output["DaysAfterInitiation"] !== undefined) {
5946
5944
  contents.DaysAfterInitiation = (0, smithy_client_1.strictParseInt32)(output["DaysAfterInitiation"]);
5947
5945
  }
5948
5946
  return contents;
5949
5947
  };
5950
5948
  const deserializeAws_restXmlAccessControlTranslation = (output, context) => {
5951
- const contents = {
5952
- Owner: undefined,
5953
- };
5949
+ const contents = {};
5954
5950
  if (output["Owner"] !== undefined) {
5955
5951
  contents.Owner = (0, smithy_client_1.expectString)(output["Owner"]);
5956
5952
  }
5957
5953
  return contents;
5958
5954
  };
5959
5955
  const deserializeAws_restXmlAccessPoint = (output, context) => {
5960
- const contents = {
5961
- Name: undefined,
5962
- NetworkOrigin: undefined,
5963
- VpcConfiguration: undefined,
5964
- Bucket: undefined,
5965
- AccessPointArn: undefined,
5966
- Alias: undefined,
5967
- BucketAccountId: undefined,
5968
- };
5956
+ const contents = {};
5969
5957
  if (output["Name"] !== undefined) {
5970
5958
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5971
5959
  }
@@ -5997,13 +5985,7 @@ const deserializeAws_restXmlAccessPointList = (output, context) => {
5997
5985
  });
5998
5986
  };
5999
5987
  const deserializeAws_restXmlAccountLevel = (output, context) => {
6000
- const contents = {
6001
- ActivityMetrics: undefined,
6002
- BucketLevel: undefined,
6003
- AdvancedCostOptimizationMetrics: undefined,
6004
- AdvancedDataProtectionMetrics: undefined,
6005
- DetailedStatusCodesMetrics: undefined,
6006
- };
5988
+ const contents = {};
6007
5989
  if (output["ActivityMetrics"] !== undefined) {
6008
5990
  contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
6009
5991
  }
@@ -6022,39 +6004,28 @@ const deserializeAws_restXmlAccountLevel = (output, context) => {
6022
6004
  return contents;
6023
6005
  };
6024
6006
  const deserializeAws_restXmlActivityMetrics = (output, context) => {
6025
- const contents = {
6026
- IsEnabled: undefined,
6027
- };
6007
+ const contents = {};
6028
6008
  if (output["IsEnabled"] !== undefined) {
6029
6009
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6030
6010
  }
6031
6011
  return contents;
6032
6012
  };
6033
6013
  const deserializeAws_restXmlAdvancedCostOptimizationMetrics = (output, context) => {
6034
- const contents = {
6035
- IsEnabled: undefined,
6036
- };
6014
+ const contents = {};
6037
6015
  if (output["IsEnabled"] !== undefined) {
6038
6016
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6039
6017
  }
6040
6018
  return contents;
6041
6019
  };
6042
6020
  const deserializeAws_restXmlAdvancedDataProtectionMetrics = (output, context) => {
6043
- const contents = {
6044
- IsEnabled: undefined,
6045
- };
6021
+ const contents = {};
6046
6022
  if (output["IsEnabled"] !== undefined) {
6047
6023
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6048
6024
  }
6049
6025
  return contents;
6050
6026
  };
6051
6027
  const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
6052
- const contents = {
6053
- Code: undefined,
6054
- Message: undefined,
6055
- Resource: undefined,
6056
- RequestId: undefined,
6057
- };
6028
+ const contents = {};
6058
6029
  if (output["Code"] !== undefined) {
6059
6030
  contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
6060
6031
  }
@@ -6070,14 +6041,7 @@ const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
6070
6041
  return contents;
6071
6042
  };
6072
6043
  const deserializeAws_restXmlAsyncOperation = (output, context) => {
6073
- const contents = {
6074
- CreationTime: undefined,
6075
- Operation: undefined,
6076
- RequestTokenARN: undefined,
6077
- RequestParameters: undefined,
6078
- RequestStatus: undefined,
6079
- ResponseDetails: undefined,
6080
- };
6044
+ const contents = {};
6081
6045
  if (output["CreationTime"] !== undefined) {
6082
6046
  contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreationTime"]));
6083
6047
  }
@@ -6099,11 +6063,7 @@ const deserializeAws_restXmlAsyncOperation = (output, context) => {
6099
6063
  return contents;
6100
6064
  };
6101
6065
  const deserializeAws_restXmlAsyncRequestParameters = (output, context) => {
6102
- const contents = {
6103
- CreateMultiRegionAccessPointRequest: undefined,
6104
- DeleteMultiRegionAccessPointRequest: undefined,
6105
- PutMultiRegionAccessPointPolicyRequest: undefined,
6106
- };
6066
+ const contents = {};
6107
6067
  if (output["CreateMultiRegionAccessPointRequest"] !== undefined) {
6108
6068
  contents.CreateMultiRegionAccessPointRequest = deserializeAws_restXmlCreateMultiRegionAccessPointInput(output["CreateMultiRegionAccessPointRequest"], context);
6109
6069
  }
@@ -6116,10 +6076,7 @@ const deserializeAws_restXmlAsyncRequestParameters = (output, context) => {
6116
6076
  return contents;
6117
6077
  };
6118
6078
  const deserializeAws_restXmlAsyncResponseDetails = (output, context) => {
6119
- const contents = {
6120
- MultiRegionAccessPointDetails: undefined,
6121
- ErrorDetails: undefined,
6122
- };
6079
+ const contents = {};
6123
6080
  if (output["MultiRegionAccessPointDetails"] !== undefined) {
6124
6081
  contents.MultiRegionAccessPointDetails = deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse(output["MultiRegionAccessPointDetails"], context);
6125
6082
  }
@@ -6129,10 +6086,7 @@ const deserializeAws_restXmlAsyncResponseDetails = (output, context) => {
6129
6086
  return contents;
6130
6087
  };
6131
6088
  const deserializeAws_restXmlAwsLambdaTransformation = (output, context) => {
6132
- const contents = {
6133
- FunctionArn: undefined,
6134
- FunctionPayload: undefined,
6135
- };
6089
+ const contents = {};
6136
6090
  if (output["FunctionArn"] !== undefined) {
6137
6091
  contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
6138
6092
  }
@@ -6142,13 +6096,7 @@ const deserializeAws_restXmlAwsLambdaTransformation = (output, context) => {
6142
6096
  return contents;
6143
6097
  };
6144
6098
  const deserializeAws_restXmlBucketLevel = (output, context) => {
6145
- const contents = {
6146
- ActivityMetrics: undefined,
6147
- PrefixLevel: undefined,
6148
- AdvancedCostOptimizationMetrics: undefined,
6149
- AdvancedDataProtectionMetrics: undefined,
6150
- DetailedStatusCodesMetrics: undefined,
6151
- };
6099
+ const contents = {};
6152
6100
  if (output["ActivityMetrics"] !== undefined) {
6153
6101
  contents.ActivityMetrics = deserializeAws_restXmlActivityMetrics(output["ActivityMetrics"], context);
6154
6102
  }
@@ -6174,20 +6122,14 @@ const deserializeAws_restXmlBuckets = (output, context) => {
6174
6122
  });
6175
6123
  };
6176
6124
  const deserializeAws_restXmlCloudWatchMetrics = (output, context) => {
6177
- const contents = {
6178
- IsEnabled: undefined,
6179
- };
6125
+ const contents = {};
6180
6126
  if (output["IsEnabled"] !== undefined) {
6181
6127
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6182
6128
  }
6183
6129
  return contents;
6184
6130
  };
6185
6131
  const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context) => {
6186
- const contents = {
6187
- Name: undefined,
6188
- PublicAccessBlock: undefined,
6189
- Regions: undefined,
6190
- };
6132
+ const contents = {};
6191
6133
  if (output["Name"] !== undefined) {
6192
6134
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6193
6135
  }
@@ -6203,33 +6145,21 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
6203
6145
  return contents;
6204
6146
  };
6205
6147
  const deserializeAws_restXmlDeleteMarkerReplication = (output, context) => {
6206
- const contents = {
6207
- Status: undefined,
6208
- };
6148
+ const contents = {};
6209
6149
  if (output["Status"] !== undefined) {
6210
6150
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6211
6151
  }
6212
6152
  return contents;
6213
6153
  };
6214
6154
  const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context) => {
6215
- const contents = {
6216
- Name: undefined,
6217
- };
6155
+ const contents = {};
6218
6156
  if (output["Name"] !== undefined) {
6219
6157
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6220
6158
  }
6221
6159
  return contents;
6222
6160
  };
6223
6161
  const deserializeAws_restXmlDestination = (output, context) => {
6224
- const contents = {
6225
- Account: undefined,
6226
- Bucket: undefined,
6227
- ReplicationTime: undefined,
6228
- AccessControlTranslation: undefined,
6229
- EncryptionConfiguration: undefined,
6230
- Metrics: undefined,
6231
- StorageClass: undefined,
6232
- };
6162
+ const contents = {};
6233
6163
  if (output["Account"] !== undefined) {
6234
6164
  contents.Account = (0, smithy_client_1.expectString)(output["Account"]);
6235
6165
  }
@@ -6254,18 +6184,14 @@ const deserializeAws_restXmlDestination = (output, context) => {
6254
6184
  return contents;
6255
6185
  };
6256
6186
  const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
6257
- const contents = {
6258
- IsEnabled: undefined,
6259
- };
6187
+ const contents = {};
6260
6188
  if (output["IsEnabled"] !== undefined) {
6261
6189
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6262
6190
  }
6263
6191
  return contents;
6264
6192
  };
6265
6193
  const deserializeAws_restXmlEncryptionConfiguration = (output, context) => {
6266
- const contents = {
6267
- ReplicaKmsKeyID: undefined,
6268
- };
6194
+ const contents = {};
6269
6195
  if (output["ReplicaKmsKeyID"] !== undefined) {
6270
6196
  contents.ReplicaKmsKeyID = (0, smithy_client_1.expectString)(output["ReplicaKmsKeyID"]);
6271
6197
  }
@@ -6281,19 +6207,14 @@ const deserializeAws_restXmlEndpoints = (output, context) => {
6281
6207
  }, {});
6282
6208
  };
6283
6209
  const deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy = (output, context) => {
6284
- const contents = {
6285
- Policy: undefined,
6286
- };
6210
+ const contents = {};
6287
6211
  if (output["Policy"] !== undefined) {
6288
6212
  contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
6289
6213
  }
6290
6214
  return contents;
6291
6215
  };
6292
6216
  const deserializeAws_restXml_Exclude = (output, context) => {
6293
- const contents = {
6294
- Buckets: undefined,
6295
- Regions: undefined,
6296
- };
6217
+ const contents = {};
6297
6218
  if (output.Buckets === "") {
6298
6219
  contents.Buckets = [];
6299
6220
  }
@@ -6309,19 +6230,14 @@ const deserializeAws_restXml_Exclude = (output, context) => {
6309
6230
  return contents;
6310
6231
  };
6311
6232
  const deserializeAws_restXmlExistingObjectReplication = (output, context) => {
6312
- const contents = {
6313
- Status: undefined,
6314
- };
6233
+ const contents = {};
6315
6234
  if (output["Status"] !== undefined) {
6316
6235
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6317
6236
  }
6318
6237
  return contents;
6319
6238
  };
6320
6239
  const deserializeAws_restXmlGeneratedManifestEncryption = (output, context) => {
6321
- const contents = {
6322
- SSES3: undefined,
6323
- SSEKMS: undefined,
6324
- };
6240
+ const contents = {};
6325
6241
  if (output["SSE-S3"] !== undefined) {
6326
6242
  contents.SSES3 = deserializeAws_restXmlSSES3Encryption(output["SSE-S3"], context);
6327
6243
  }
@@ -6331,10 +6247,7 @@ const deserializeAws_restXmlGeneratedManifestEncryption = (output, context) => {
6331
6247
  return contents;
6332
6248
  };
6333
6249
  const deserializeAws_restXmlInclude = (output, context) => {
6334
- const contents = {
6335
- Buckets: undefined,
6336
- Regions: undefined,
6337
- };
6250
+ const contents = {};
6338
6251
  if (output.Buckets === "") {
6339
6252
  contents.Buckets = [];
6340
6253
  }
@@ -6350,27 +6263,7 @@ const deserializeAws_restXmlInclude = (output, context) => {
6350
6263
  return contents;
6351
6264
  };
6352
6265
  const deserializeAws_restXmlJobDescriptor = (output, context) => {
6353
- const contents = {
6354
- JobId: undefined,
6355
- ConfirmationRequired: undefined,
6356
- Description: undefined,
6357
- JobArn: undefined,
6358
- Status: undefined,
6359
- Manifest: undefined,
6360
- Operation: undefined,
6361
- Priority: undefined,
6362
- ProgressSummary: undefined,
6363
- StatusUpdateReason: undefined,
6364
- FailureReasons: undefined,
6365
- Report: undefined,
6366
- CreationTime: undefined,
6367
- TerminationDate: undefined,
6368
- RoleArn: undefined,
6369
- SuspendedDate: undefined,
6370
- SuspendedCause: undefined,
6371
- ManifestGenerator: undefined,
6372
- GeneratedManifestDescriptor: undefined,
6373
- };
6266
+ const contents = {};
6374
6267
  if (output["JobId"] !== undefined) {
6375
6268
  contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
6376
6269
  }
@@ -6436,10 +6329,7 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
6436
6329
  return contents;
6437
6330
  };
6438
6331
  const deserializeAws_restXmlJobFailure = (output, context) => {
6439
- const contents = {
6440
- FailureCode: undefined,
6441
- FailureReason: undefined,
6442
- };
6332
+ const contents = {};
6443
6333
  if (output["FailureCode"] !== undefined) {
6444
6334
  contents.FailureCode = (0, smithy_client_1.expectString)(output["FailureCode"]);
6445
6335
  }
@@ -6456,16 +6346,7 @@ const deserializeAws_restXmlJobFailureList = (output, context) => {
6456
6346
  });
6457
6347
  };
6458
6348
  const deserializeAws_restXmlJobListDescriptor = (output, context) => {
6459
- const contents = {
6460
- JobId: undefined,
6461
- Description: undefined,
6462
- Operation: undefined,
6463
- Priority: undefined,
6464
- Status: undefined,
6465
- CreationTime: undefined,
6466
- TerminationDate: undefined,
6467
- ProgressSummary: undefined,
6468
- };
6349
+ const contents = {};
6469
6350
  if (output["JobId"] !== undefined) {
6470
6351
  contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
6471
6352
  }
@@ -6500,10 +6381,7 @@ const deserializeAws_restXmlJobListDescriptorList = (output, context) => {
6500
6381
  });
6501
6382
  };
6502
6383
  const deserializeAws_restXmlJobManifest = (output, context) => {
6503
- const contents = {
6504
- Spec: undefined,
6505
- Location: undefined,
6506
- };
6384
+ const contents = {};
6507
6385
  if (output["Spec"] !== undefined) {
6508
6386
  contents.Spec = deserializeAws_restXmlJobManifestSpec(output["Spec"], context);
6509
6387
  }
@@ -6528,12 +6406,7 @@ const deserializeAws_restXmlJobManifestGenerator = (output, context) => {
6528
6406
  return { $unknown: Object.entries(output)[0] };
6529
6407
  };
6530
6408
  const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
6531
- const contents = {
6532
- EligibleForReplication: undefined,
6533
- CreatedAfter: undefined,
6534
- CreatedBefore: undefined,
6535
- ObjectReplicationStatuses: undefined,
6536
- };
6409
+ const contents = {};
6537
6410
  if (output["EligibleForReplication"] !== undefined) {
6538
6411
  contents.EligibleForReplication = (0, smithy_client_1.parseBoolean)(output["EligibleForReplication"]);
6539
6412
  }
@@ -6553,11 +6426,7 @@ const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
6553
6426
  return contents;
6554
6427
  };
6555
6428
  const deserializeAws_restXmlJobManifestLocation = (output, context) => {
6556
- const contents = {
6557
- ObjectArn: undefined,
6558
- ObjectVersionId: undefined,
6559
- ETag: undefined,
6560
- };
6429
+ const contents = {};
6561
6430
  if (output["ObjectArn"] !== undefined) {
6562
6431
  contents.ObjectArn = (0, smithy_client_1.expectString)(output["ObjectArn"]);
6563
6432
  }
@@ -6570,10 +6439,7 @@ const deserializeAws_restXmlJobManifestLocation = (output, context) => {
6570
6439
  return contents;
6571
6440
  };
6572
6441
  const deserializeAws_restXmlJobManifestSpec = (output, context) => {
6573
- const contents = {
6574
- Format: undefined,
6575
- Fields: undefined,
6576
- };
6442
+ const contents = {};
6577
6443
  if (output["Format"] !== undefined) {
6578
6444
  contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
6579
6445
  }
@@ -6586,17 +6452,7 @@ const deserializeAws_restXmlJobManifestSpec = (output, context) => {
6586
6452
  return contents;
6587
6453
  };
6588
6454
  const deserializeAws_restXmlJobOperation = (output, context) => {
6589
- const contents = {
6590
- LambdaInvoke: undefined,
6591
- S3PutObjectCopy: undefined,
6592
- S3PutObjectAcl: undefined,
6593
- S3PutObjectTagging: undefined,
6594
- S3DeleteObjectTagging: undefined,
6595
- S3InitiateRestoreObject: undefined,
6596
- S3PutObjectLegalHold: undefined,
6597
- S3PutObjectRetention: undefined,
6598
- S3ReplicateObject: undefined,
6599
- };
6455
+ const contents = {};
6600
6456
  if (output["LambdaInvoke"] !== undefined) {
6601
6457
  contents.LambdaInvoke = deserializeAws_restXmlLambdaInvokeOperation(output["LambdaInvoke"], context);
6602
6458
  }
@@ -6627,12 +6483,7 @@ const deserializeAws_restXmlJobOperation = (output, context) => {
6627
6483
  return contents;
6628
6484
  };
6629
6485
  const deserializeAws_restXmlJobProgressSummary = (output, context) => {
6630
- const contents = {
6631
- TotalNumberOfTasks: undefined,
6632
- NumberOfTasksSucceeded: undefined,
6633
- NumberOfTasksFailed: undefined,
6634
- Timers: undefined,
6635
- };
6486
+ const contents = {};
6636
6487
  if (output["TotalNumberOfTasks"] !== undefined) {
6637
6488
  contents.TotalNumberOfTasks = (0, smithy_client_1.strictParseLong)(output["TotalNumberOfTasks"]);
6638
6489
  }
@@ -6648,13 +6499,7 @@ const deserializeAws_restXmlJobProgressSummary = (output, context) => {
6648
6499
  return contents;
6649
6500
  };
6650
6501
  const deserializeAws_restXmlJobReport = (output, context) => {
6651
- const contents = {
6652
- Bucket: undefined,
6653
- Format: undefined,
6654
- Enabled: undefined,
6655
- Prefix: undefined,
6656
- ReportScope: undefined,
6657
- };
6502
+ const contents = {};
6658
6503
  if (output["Bucket"] !== undefined) {
6659
6504
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6660
6505
  }
@@ -6673,29 +6518,21 @@ const deserializeAws_restXmlJobReport = (output, context) => {
6673
6518
  return contents;
6674
6519
  };
6675
6520
  const deserializeAws_restXmlJobTimers = (output, context) => {
6676
- const contents = {
6677
- ElapsedTimeInActiveSeconds: undefined,
6678
- };
6521
+ const contents = {};
6679
6522
  if (output["ElapsedTimeInActiveSeconds"] !== undefined) {
6680
6523
  contents.ElapsedTimeInActiveSeconds = (0, smithy_client_1.strictParseLong)(output["ElapsedTimeInActiveSeconds"]);
6681
6524
  }
6682
6525
  return contents;
6683
6526
  };
6684
6527
  const deserializeAws_restXmlLambdaInvokeOperation = (output, context) => {
6685
- const contents = {
6686
- FunctionArn: undefined,
6687
- };
6528
+ const contents = {};
6688
6529
  if (output["FunctionArn"] !== undefined) {
6689
6530
  contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
6690
6531
  }
6691
6532
  return contents;
6692
6533
  };
6693
6534
  const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
6694
- const contents = {
6695
- Date: undefined,
6696
- Days: undefined,
6697
- ExpiredObjectDeleteMarker: undefined,
6698
- };
6535
+ const contents = {};
6699
6536
  if (output["Date"] !== undefined) {
6700
6537
  contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Date"]));
6701
6538
  }
@@ -6708,16 +6545,7 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
6708
6545
  return contents;
6709
6546
  };
6710
6547
  const deserializeAws_restXmlLifecycleRule = (output, context) => {
6711
- const contents = {
6712
- Expiration: undefined,
6713
- ID: undefined,
6714
- Filter: undefined,
6715
- Status: undefined,
6716
- Transitions: undefined,
6717
- NoncurrentVersionTransitions: undefined,
6718
- NoncurrentVersionExpiration: undefined,
6719
- AbortIncompleteMultipartUpload: undefined,
6720
- };
6548
+ const contents = {};
6721
6549
  if (output["Expiration"] !== undefined) {
6722
6550
  contents.Expiration = deserializeAws_restXmlLifecycleExpiration(output["Expiration"], context);
6723
6551
  }
@@ -6752,12 +6580,7 @@ const deserializeAws_restXmlLifecycleRule = (output, context) => {
6752
6580
  return contents;
6753
6581
  };
6754
6582
  const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
6755
- const contents = {
6756
- Prefix: undefined,
6757
- Tags: undefined,
6758
- ObjectSizeGreaterThan: undefined,
6759
- ObjectSizeLessThan: undefined,
6760
- };
6583
+ const contents = {};
6761
6584
  if (output["Prefix"] !== undefined) {
6762
6585
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
6763
6586
  }
@@ -6776,13 +6599,7 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
6776
6599
  return contents;
6777
6600
  };
6778
6601
  const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
6779
- const contents = {
6780
- Prefix: undefined,
6781
- Tag: undefined,
6782
- And: undefined,
6783
- ObjectSizeGreaterThan: undefined,
6784
- ObjectSizeLessThan: undefined,
6785
- };
6602
+ const contents = {};
6786
6603
  if (output["Prefix"] !== undefined) {
6787
6604
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
6788
6605
  }
@@ -6808,12 +6625,7 @@ const deserializeAws_restXmlLifecycleRules = (output, context) => {
6808
6625
  });
6809
6626
  };
6810
6627
  const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context) => {
6811
- const contents = {
6812
- Id: undefined,
6813
- StorageLensArn: undefined,
6814
- HomeRegion: undefined,
6815
- IsEnabled: undefined,
6816
- };
6628
+ const contents = {};
6817
6629
  if (output["Id"] !== undefined) {
6818
6630
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
6819
6631
  }
@@ -6829,10 +6641,7 @@ const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context
6829
6641
  return contents;
6830
6642
  };
6831
6643
  const deserializeAws_restXmlMetrics = (output, context) => {
6832
- const contents = {
6833
- Status: undefined,
6834
- EventThreshold: undefined,
6835
- };
6644
+ const contents = {};
6836
6645
  if (output["Status"] !== undefined) {
6837
6646
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6838
6647
  }
@@ -6842,10 +6651,7 @@ const deserializeAws_restXmlMetrics = (output, context) => {
6842
6651
  return contents;
6843
6652
  };
6844
6653
  const deserializeAws_restXmlMultiRegionAccessPointPolicyDocument = (output, context) => {
6845
- const contents = {
6846
- Established: undefined,
6847
- Proposed: undefined,
6848
- };
6654
+ const contents = {};
6849
6655
  if (output["Established"] !== undefined) {
6850
6656
  contents.Established = deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy(output["Established"], context);
6851
6657
  }
@@ -6855,10 +6661,7 @@ const deserializeAws_restXmlMultiRegionAccessPointPolicyDocument = (output, cont
6855
6661
  return contents;
6856
6662
  };
6857
6663
  const deserializeAws_restXmlMultiRegionAccessPointRegionalResponse = (output, context) => {
6858
- const contents = {
6859
- Name: undefined,
6860
- RequestStatus: undefined,
6861
- };
6664
+ const contents = {};
6862
6665
  if (output["Name"] !== undefined) {
6863
6666
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6864
6667
  }
@@ -6875,14 +6678,7 @@ const deserializeAws_restXmlMultiRegionAccessPointRegionalResponseList = (output
6875
6678
  });
6876
6679
  };
6877
6680
  const deserializeAws_restXmlMultiRegionAccessPointReport = (output, context) => {
6878
- const contents = {
6879
- Name: undefined,
6880
- Alias: undefined,
6881
- CreatedAt: undefined,
6882
- PublicAccessBlock: undefined,
6883
- Status: undefined,
6884
- Regions: undefined,
6885
- };
6681
+ const contents = {};
6886
6682
  if (output["Name"] !== undefined) {
6887
6683
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6888
6684
  }
@@ -6914,11 +6710,7 @@ const deserializeAws_restXmlMultiRegionAccessPointReportList = (output, context)
6914
6710
  });
6915
6711
  };
6916
6712
  const deserializeAws_restXmlMultiRegionAccessPointRoute = (output, context) => {
6917
- const contents = {
6918
- Bucket: undefined,
6919
- Region: undefined,
6920
- TrafficDialPercentage: undefined,
6921
- };
6713
+ const contents = {};
6922
6714
  if (output["Bucket"] !== undefined) {
6923
6715
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6924
6716
  }
@@ -6931,9 +6723,7 @@ const deserializeAws_restXmlMultiRegionAccessPointRoute = (output, context) => {
6931
6723
  return contents;
6932
6724
  };
6933
6725
  const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, context) => {
6934
- const contents = {
6935
- Regions: undefined,
6936
- };
6726
+ const contents = {};
6937
6727
  if (output.Regions === "") {
6938
6728
  contents.Regions = [];
6939
6729
  }
@@ -6943,10 +6733,7 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
6943
6733
  return contents;
6944
6734
  };
6945
6735
  const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
6946
- const contents = {
6947
- NoncurrentDays: undefined,
6948
- NewerNoncurrentVersions: undefined,
6949
- };
6736
+ const contents = {};
6950
6737
  if (output["NoncurrentDays"] !== undefined) {
6951
6738
  contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
6952
6739
  }
@@ -6956,10 +6743,7 @@ const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
6956
6743
  return contents;
6957
6744
  };
6958
6745
  const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
6959
- const contents = {
6960
- NoncurrentDays: undefined,
6961
- StorageClass: undefined,
6962
- };
6746
+ const contents = {};
6963
6747
  if (output["NoncurrentDays"] !== undefined) {
6964
6748
  contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
6965
6749
  }
@@ -6976,11 +6760,7 @@ const deserializeAws_restXmlNoncurrentVersionTransitionList = (output, context)
6976
6760
  });
6977
6761
  };
6978
6762
  const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
6979
- const contents = {
6980
- Name: undefined,
6981
- ObjectLambdaAccessPointArn: undefined,
6982
- Alias: undefined,
6983
- };
6763
+ const contents = {};
6984
6764
  if (output["Name"] !== undefined) {
6985
6765
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6986
6766
  }
@@ -6993,10 +6773,7 @@ const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
6993
6773
  return contents;
6994
6774
  };
6995
6775
  const deserializeAws_restXmlObjectLambdaAccessPointAlias = (output, context) => {
6996
- const contents = {
6997
- Value: undefined,
6998
- Status: undefined,
6999
- };
6776
+ const contents = {};
7000
6777
  if (output["Value"] !== undefined) {
7001
6778
  contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7002
6779
  }
@@ -7020,12 +6797,7 @@ const deserializeAws_restXmlObjectLambdaAllowedFeaturesList = (output, context)
7020
6797
  });
7021
6798
  };
7022
6799
  const deserializeAws_restXmlObjectLambdaConfiguration = (output, context) => {
7023
- const contents = {
7024
- SupportingAccessPoint: undefined,
7025
- CloudWatchMetricsEnabled: undefined,
7026
- AllowedFeatures: undefined,
7027
- TransformationConfigurations: undefined,
7028
- };
6800
+ const contents = {};
7029
6801
  if (output["SupportingAccessPoint"] !== undefined) {
7030
6802
  contents.SupportingAccessPoint = (0, smithy_client_1.expectString)(output["SupportingAccessPoint"]);
7031
6803
  }
@@ -7056,10 +6828,7 @@ const deserializeAws_restXmlObjectLambdaContentTransformation = (output, context
7056
6828
  return { $unknown: Object.entries(output)[0] };
7057
6829
  };
7058
6830
  const deserializeAws_restXmlObjectLambdaTransformationConfiguration = (output, context) => {
7059
- const contents = {
7060
- Actions: undefined,
7061
- ContentTransformation: undefined,
7062
- };
6831
+ const contents = {};
7063
6832
  if (output.Actions === "") {
7064
6833
  contents.Actions = [];
7065
6834
  }
@@ -7088,28 +6857,21 @@ const deserializeAws_restXmlObjectLambdaTransformationConfigurationsList = (outp
7088
6857
  });
7089
6858
  };
7090
6859
  const deserializeAws_restXmlPolicyStatus = (output, context) => {
7091
- const contents = {
7092
- IsPublic: undefined,
7093
- };
6860
+ const contents = {};
7094
6861
  if (output["IsPublic"] !== undefined) {
7095
6862
  contents.IsPublic = (0, smithy_client_1.parseBoolean)(output["IsPublic"]);
7096
6863
  }
7097
6864
  return contents;
7098
6865
  };
7099
6866
  const deserializeAws_restXmlPrefixLevel = (output, context) => {
7100
- const contents = {
7101
- StorageMetrics: undefined,
7102
- };
6867
+ const contents = {};
7103
6868
  if (output["StorageMetrics"] !== undefined) {
7104
6869
  contents.StorageMetrics = deserializeAws_restXmlPrefixLevelStorageMetrics(output["StorageMetrics"], context);
7105
6870
  }
7106
6871
  return contents;
7107
6872
  };
7108
6873
  const deserializeAws_restXmlPrefixLevelStorageMetrics = (output, context) => {
7109
- const contents = {
7110
- IsEnabled: undefined,
7111
- SelectionCriteria: undefined,
7112
- };
6874
+ const contents = {};
7113
6875
  if (output["IsEnabled"] !== undefined) {
7114
6876
  contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
7115
6877
  }
@@ -7119,21 +6881,14 @@ const deserializeAws_restXmlPrefixLevelStorageMetrics = (output, context) => {
7119
6881
  return contents;
7120
6882
  };
7121
6883
  const deserializeAws_restXmlProposedMultiRegionAccessPointPolicy = (output, context) => {
7122
- const contents = {
7123
- Policy: undefined,
7124
- };
6884
+ const contents = {};
7125
6885
  if (output["Policy"] !== undefined) {
7126
6886
  contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
7127
6887
  }
7128
6888
  return contents;
7129
6889
  };
7130
6890
  const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) => {
7131
- const contents = {
7132
- BlockPublicAcls: undefined,
7133
- IgnorePublicAcls: undefined,
7134
- BlockPublicPolicy: undefined,
7135
- RestrictPublicBuckets: undefined,
7136
- };
6891
+ const contents = {};
7137
6892
  if (output["BlockPublicAcls"] !== undefined) {
7138
6893
  contents.BlockPublicAcls = (0, smithy_client_1.parseBoolean)(output["BlockPublicAcls"]);
7139
6894
  }
@@ -7149,10 +6904,7 @@ const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) =
7149
6904
  return contents;
7150
6905
  };
7151
6906
  const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, context) => {
7152
- const contents = {
7153
- Name: undefined,
7154
- Policy: undefined,
7155
- };
6907
+ const contents = {};
7156
6908
  if (output["Name"] !== undefined) {
7157
6909
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7158
6910
  }
@@ -7162,10 +6914,7 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, cont
7162
6914
  return contents;
7163
6915
  };
7164
6916
  const deserializeAws_restXmlRegion = (output, context) => {
7165
- const contents = {
7166
- Bucket: undefined,
7167
- BucketAccountId: undefined,
7168
- };
6917
+ const contents = {};
7169
6918
  if (output["Bucket"] !== undefined) {
7170
6919
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7171
6920
  }
@@ -7175,13 +6924,7 @@ const deserializeAws_restXmlRegion = (output, context) => {
7175
6924
  return contents;
7176
6925
  };
7177
6926
  const deserializeAws_restXmlRegionalBucket = (output, context) => {
7178
- const contents = {
7179
- Bucket: undefined,
7180
- BucketArn: undefined,
7181
- PublicAccessBlockEnabled: undefined,
7182
- CreationDate: undefined,
7183
- OutpostId: undefined,
7184
- };
6927
+ const contents = {};
7185
6928
  if (output["Bucket"] !== undefined) {
7186
6929
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7187
6930
  }
@@ -7214,11 +6957,7 @@ const deserializeAws_restXmlRegionCreationList = (output, context) => {
7214
6957
  });
7215
6958
  };
7216
6959
  const deserializeAws_restXmlRegionReport = (output, context) => {
7217
- const contents = {
7218
- Bucket: undefined,
7219
- Region: undefined,
7220
- BucketAccountId: undefined,
7221
- };
6960
+ const contents = {};
7222
6961
  if (output["Bucket"] !== undefined) {
7223
6962
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7224
6963
  }
@@ -7245,19 +6984,14 @@ const deserializeAws_restXmlRegions = (output, context) => {
7245
6984
  });
7246
6985
  };
7247
6986
  const deserializeAws_restXmlReplicaModifications = (output, context) => {
7248
- const contents = {
7249
- Status: undefined,
7250
- };
6987
+ const contents = {};
7251
6988
  if (output["Status"] !== undefined) {
7252
6989
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7253
6990
  }
7254
6991
  return contents;
7255
6992
  };
7256
6993
  const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
7257
- const contents = {
7258
- Role: undefined,
7259
- Rules: undefined,
7260
- };
6994
+ const contents = {};
7261
6995
  if (output["Role"] !== undefined) {
7262
6996
  contents.Role = (0, smithy_client_1.expectString)(output["Role"]);
7263
6997
  }
@@ -7270,18 +7004,7 @@ const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
7270
7004
  return contents;
7271
7005
  };
7272
7006
  const deserializeAws_restXmlReplicationRule = (output, context) => {
7273
- const contents = {
7274
- ID: undefined,
7275
- Priority: undefined,
7276
- Prefix: undefined,
7277
- Filter: undefined,
7278
- Status: undefined,
7279
- SourceSelectionCriteria: undefined,
7280
- ExistingObjectReplication: undefined,
7281
- Destination: undefined,
7282
- DeleteMarkerReplication: undefined,
7283
- Bucket: undefined,
7284
- };
7007
+ const contents = {};
7285
7008
  if (output["ID"] !== undefined) {
7286
7009
  contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
7287
7010
  }
@@ -7315,10 +7038,7 @@ const deserializeAws_restXmlReplicationRule = (output, context) => {
7315
7038
  return contents;
7316
7039
  };
7317
7040
  const deserializeAws_restXmlReplicationRuleAndOperator = (output, context) => {
7318
- const contents = {
7319
- Prefix: undefined,
7320
- Tags: undefined,
7321
- };
7041
+ const contents = {};
7322
7042
  if (output["Prefix"] !== undefined) {
7323
7043
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7324
7044
  }
@@ -7331,11 +7051,7 @@ const deserializeAws_restXmlReplicationRuleAndOperator = (output, context) => {
7331
7051
  return contents;
7332
7052
  };
7333
7053
  const deserializeAws_restXmlReplicationRuleFilter = (output, context) => {
7334
- const contents = {
7335
- Prefix: undefined,
7336
- Tag: undefined,
7337
- And: undefined,
7338
- };
7054
+ const contents = {};
7339
7055
  if (output["Prefix"] !== undefined) {
7340
7056
  contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7341
7057
  }
@@ -7362,10 +7078,7 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
7362
7078
  });
7363
7079
  };
7364
7080
  const deserializeAws_restXmlReplicationTime = (output, context) => {
7365
- const contents = {
7366
- Status: undefined,
7367
- Time: undefined,
7368
- };
7081
+ const contents = {};
7369
7082
  if (output["Status"] !== undefined) {
7370
7083
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7371
7084
  }
@@ -7375,9 +7088,7 @@ const deserializeAws_restXmlReplicationTime = (output, context) => {
7375
7088
  return contents;
7376
7089
  };
7377
7090
  const deserializeAws_restXmlReplicationTimeValue = (output, context) => {
7378
- const contents = {
7379
- Minutes: undefined,
7380
- };
7091
+ const contents = {};
7381
7092
  if (output["Minutes"] !== undefined) {
7382
7093
  contents.Minutes = (0, smithy_client_1.strictParseInt32)(output["Minutes"]);
7383
7094
  }
@@ -7391,10 +7102,7 @@ const deserializeAws_restXmlRouteList = (output, context) => {
7391
7102
  });
7392
7103
  };
7393
7104
  const deserializeAws_restXmlS3AccessControlList = (output, context) => {
7394
- const contents = {
7395
- Owner: undefined,
7396
- Grants: undefined,
7397
- };
7105
+ const contents = {};
7398
7106
  if (output["Owner"] !== undefined) {
7399
7107
  contents.Owner = deserializeAws_restXmlS3ObjectOwner(output["Owner"], context);
7400
7108
  }
@@ -7407,10 +7115,7 @@ const deserializeAws_restXmlS3AccessControlList = (output, context) => {
7407
7115
  return contents;
7408
7116
  };
7409
7117
  const deserializeAws_restXmlS3AccessControlPolicy = (output, context) => {
7410
- const contents = {
7411
- AccessControlList: undefined,
7412
- CannedAccessControlList: undefined,
7413
- };
7118
+ const contents = {};
7414
7119
  if (output["AccessControlList"] !== undefined) {
7415
7120
  contents.AccessControlList = deserializeAws_restXmlS3AccessControlList(output["AccessControlList"], context);
7416
7121
  }
@@ -7420,14 +7125,7 @@ const deserializeAws_restXmlS3AccessControlPolicy = (output, context) => {
7420
7125
  return contents;
7421
7126
  };
7422
7127
  const deserializeAws_restXmlS3BucketDestination = (output, context) => {
7423
- const contents = {
7424
- Format: undefined,
7425
- OutputSchemaVersion: undefined,
7426
- AccountId: undefined,
7427
- Arn: undefined,
7428
- Prefix: undefined,
7429
- Encryption: undefined,
7430
- };
7128
+ const contents = {};
7431
7129
  if (output["Format"] !== undefined) {
7432
7130
  contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
7433
7131
  }
@@ -7449,26 +7147,7 @@ const deserializeAws_restXmlS3BucketDestination = (output, context) => {
7449
7147
  return contents;
7450
7148
  };
7451
7149
  const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
7452
- const contents = {
7453
- TargetResource: undefined,
7454
- CannedAccessControlList: undefined,
7455
- AccessControlGrants: undefined,
7456
- MetadataDirective: undefined,
7457
- ModifiedSinceConstraint: undefined,
7458
- NewObjectMetadata: undefined,
7459
- NewObjectTagging: undefined,
7460
- RedirectLocation: undefined,
7461
- RequesterPays: undefined,
7462
- StorageClass: undefined,
7463
- UnModifiedSinceConstraint: undefined,
7464
- SSEAwsKmsKeyId: undefined,
7465
- TargetKeyPrefix: undefined,
7466
- ObjectLockLegalHoldStatus: undefined,
7467
- ObjectLockMode: undefined,
7468
- ObjectLockRetainUntilDate: undefined,
7469
- BucketKeyEnabled: undefined,
7470
- ChecksumAlgorithm: undefined,
7471
- };
7150
+ const contents = {};
7472
7151
  if (output["TargetResource"] !== undefined) {
7473
7152
  contents.TargetResource = (0, smithy_client_1.expectString)(output["TargetResource"]);
7474
7153
  }
@@ -7536,10 +7215,7 @@ const deserializeAws_restXmlS3DeleteObjectTaggingOperation = (output, context) =
7536
7215
  return contents;
7537
7216
  };
7538
7217
  const deserializeAws_restXmlS3GeneratedManifestDescriptor = (output, context) => {
7539
- const contents = {
7540
- Format: undefined,
7541
- Location: undefined,
7542
- };
7218
+ const contents = {};
7543
7219
  if (output["Format"] !== undefined) {
7544
7220
  contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
7545
7221
  }
@@ -7549,10 +7225,7 @@ const deserializeAws_restXmlS3GeneratedManifestDescriptor = (output, context) =>
7549
7225
  return contents;
7550
7226
  };
7551
7227
  const deserializeAws_restXmlS3Grant = (output, context) => {
7552
- const contents = {
7553
- Grantee: undefined,
7554
- Permission: undefined,
7555
- };
7228
+ const contents = {};
7556
7229
  if (output["Grantee"] !== undefined) {
7557
7230
  contents.Grantee = deserializeAws_restXmlS3Grantee(output["Grantee"], context);
7558
7231
  }
@@ -7562,11 +7235,7 @@ const deserializeAws_restXmlS3Grant = (output, context) => {
7562
7235
  return contents;
7563
7236
  };
7564
7237
  const deserializeAws_restXmlS3Grantee = (output, context) => {
7565
- const contents = {
7566
- TypeIdentifier: undefined,
7567
- Identifier: undefined,
7568
- DisplayName: undefined,
7569
- };
7238
+ const contents = {};
7570
7239
  if (output["TypeIdentifier"] !== undefined) {
7571
7240
  contents.TypeIdentifier = (0, smithy_client_1.expectString)(output["TypeIdentifier"]);
7572
7241
  }
@@ -7586,10 +7255,7 @@ const deserializeAws_restXmlS3GrantList = (output, context) => {
7586
7255
  });
7587
7256
  };
7588
7257
  const deserializeAws_restXmlS3InitiateRestoreObjectOperation = (output, context) => {
7589
- const contents = {
7590
- ExpirationInDays: undefined,
7591
- GlacierJobTier: undefined,
7592
- };
7258
+ const contents = {};
7593
7259
  if (output["ExpirationInDays"] !== undefined) {
7594
7260
  contents.ExpirationInDays = (0, smithy_client_1.strictParseInt32)(output["ExpirationInDays"]);
7595
7261
  }
@@ -7599,13 +7265,7 @@ const deserializeAws_restXmlS3InitiateRestoreObjectOperation = (output, context)
7599
7265
  return contents;
7600
7266
  };
7601
7267
  const deserializeAws_restXmlS3JobManifestGenerator = (output, context) => {
7602
- const contents = {
7603
- ExpectedBucketOwner: undefined,
7604
- SourceBucket: undefined,
7605
- ManifestOutputLocation: undefined,
7606
- Filter: undefined,
7607
- EnableManifestOutput: undefined,
7608
- };
7268
+ const contents = {};
7609
7269
  if (output["ExpectedBucketOwner"] !== undefined) {
7610
7270
  contents.ExpectedBucketOwner = (0, smithy_client_1.expectString)(output["ExpectedBucketOwner"]);
7611
7271
  }
@@ -7624,13 +7284,7 @@ const deserializeAws_restXmlS3JobManifestGenerator = (output, context) => {
7624
7284
  return contents;
7625
7285
  };
7626
7286
  const deserializeAws_restXmlS3ManifestOutputLocation = (output, context) => {
7627
- const contents = {
7628
- ExpectedManifestBucketOwner: undefined,
7629
- Bucket: undefined,
7630
- ManifestPrefix: undefined,
7631
- ManifestEncryption: undefined,
7632
- ManifestFormat: undefined,
7633
- };
7287
+ const contents = {};
7634
7288
  if (output["ExpectedManifestBucketOwner"] !== undefined) {
7635
7289
  contents.ExpectedManifestBucketOwner = (0, smithy_client_1.expectString)(output["ExpectedManifestBucketOwner"]);
7636
7290
  }
@@ -7649,28 +7303,14 @@ const deserializeAws_restXmlS3ManifestOutputLocation = (output, context) => {
7649
7303
  return contents;
7650
7304
  };
7651
7305
  const deserializeAws_restXmlS3ObjectLockLegalHold = (output, context) => {
7652
- const contents = {
7653
- Status: undefined,
7654
- };
7306
+ const contents = {};
7655
7307
  if (output["Status"] !== undefined) {
7656
7308
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7657
7309
  }
7658
7310
  return contents;
7659
7311
  };
7660
7312
  const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
7661
- const contents = {
7662
- CacheControl: undefined,
7663
- ContentDisposition: undefined,
7664
- ContentEncoding: undefined,
7665
- ContentLanguage: undefined,
7666
- UserMetadata: undefined,
7667
- ContentLength: undefined,
7668
- ContentMD5: undefined,
7669
- ContentType: undefined,
7670
- HttpExpiresDate: undefined,
7671
- RequesterCharged: undefined,
7672
- SSEAlgorithm: undefined,
7673
- };
7313
+ const contents = {};
7674
7314
  if (output["CacheControl"] !== undefined) {
7675
7315
  contents.CacheControl = (0, smithy_client_1.expectString)(output["CacheControl"]);
7676
7316
  }
@@ -7710,10 +7350,7 @@ const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
7710
7350
  return contents;
7711
7351
  };
7712
7352
  const deserializeAws_restXmlS3ObjectOwner = (output, context) => {
7713
- const contents = {
7714
- ID: undefined,
7715
- DisplayName: undefined,
7716
- };
7353
+ const contents = {};
7717
7354
  if (output["ID"] !== undefined) {
7718
7355
  contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
7719
7356
  }
@@ -7727,10 +7364,7 @@ const deserializeAws_restXmlS3ReplicateObjectOperation = (output, context) => {
7727
7364
  return contents;
7728
7365
  };
7729
7366
  const deserializeAws_restXmlS3Retention = (output, context) => {
7730
- const contents = {
7731
- RetainUntilDate: undefined,
7732
- Mode: undefined,
7733
- };
7367
+ const contents = {};
7734
7368
  if (output["RetainUntilDate"] !== undefined) {
7735
7369
  contents.RetainUntilDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["RetainUntilDate"]));
7736
7370
  }
@@ -7740,28 +7374,21 @@ const deserializeAws_restXmlS3Retention = (output, context) => {
7740
7374
  return contents;
7741
7375
  };
7742
7376
  const deserializeAws_restXmlS3SetObjectAclOperation = (output, context) => {
7743
- const contents = {
7744
- AccessControlPolicy: undefined,
7745
- };
7377
+ const contents = {};
7746
7378
  if (output["AccessControlPolicy"] !== undefined) {
7747
7379
  contents.AccessControlPolicy = deserializeAws_restXmlS3AccessControlPolicy(output["AccessControlPolicy"], context);
7748
7380
  }
7749
7381
  return contents;
7750
7382
  };
7751
7383
  const deserializeAws_restXmlS3SetObjectLegalHoldOperation = (output, context) => {
7752
- const contents = {
7753
- LegalHold: undefined,
7754
- };
7384
+ const contents = {};
7755
7385
  if (output["LegalHold"] !== undefined) {
7756
7386
  contents.LegalHold = deserializeAws_restXmlS3ObjectLockLegalHold(output["LegalHold"], context);
7757
7387
  }
7758
7388
  return contents;
7759
7389
  };
7760
7390
  const deserializeAws_restXmlS3SetObjectRetentionOperation = (output, context) => {
7761
- const contents = {
7762
- BypassGovernanceRetention: undefined,
7763
- Retention: undefined,
7764
- };
7391
+ const contents = {};
7765
7392
  if (output["BypassGovernanceRetention"] !== undefined) {
7766
7393
  contents.BypassGovernanceRetention = (0, smithy_client_1.parseBoolean)(output["BypassGovernanceRetention"]);
7767
7394
  }
@@ -7771,9 +7398,7 @@ const deserializeAws_restXmlS3SetObjectRetentionOperation = (output, context) =>
7771
7398
  return contents;
7772
7399
  };
7773
7400
  const deserializeAws_restXmlS3SetObjectTaggingOperation = (output, context) => {
7774
- const contents = {
7775
- TagSet: undefined,
7776
- };
7401
+ const contents = {};
7777
7402
  if (output.TagSet === "") {
7778
7403
  contents.TagSet = [];
7779
7404
  }
@@ -7783,10 +7408,7 @@ const deserializeAws_restXmlS3SetObjectTaggingOperation = (output, context) => {
7783
7408
  return contents;
7784
7409
  };
7785
7410
  const deserializeAws_restXmlS3Tag = (output, context) => {
7786
- const contents = {
7787
- Key: undefined,
7788
- Value: undefined,
7789
- };
7411
+ const contents = {};
7790
7412
  if (output["Key"] !== undefined) {
7791
7413
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7792
7414
  }
@@ -7812,11 +7434,7 @@ const deserializeAws_restXmlS3UserMetadata = (output, context) => {
7812
7434
  }, {});
7813
7435
  };
7814
7436
  const deserializeAws_restXmlSelectionCriteria = (output, context) => {
7815
- const contents = {
7816
- Delimiter: undefined,
7817
- MaxDepth: undefined,
7818
- MinStorageBytesPercentage: undefined,
7819
- };
7437
+ const contents = {};
7820
7438
  if (output["Delimiter"] !== undefined) {
7821
7439
  contents.Delimiter = (0, smithy_client_1.expectString)(output["Delimiter"]);
7822
7440
  }
@@ -7829,10 +7447,7 @@ const deserializeAws_restXmlSelectionCriteria = (output, context) => {
7829
7447
  return contents;
7830
7448
  };
7831
7449
  const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
7832
- const contents = {
7833
- SseKmsEncryptedObjects: undefined,
7834
- ReplicaModifications: undefined,
7835
- };
7450
+ const contents = {};
7836
7451
  if (output["SseKmsEncryptedObjects"] !== undefined) {
7837
7452
  contents.SseKmsEncryptedObjects = deserializeAws_restXmlSseKmsEncryptedObjects(output["SseKmsEncryptedObjects"], context);
7838
7453
  }
@@ -7842,27 +7457,21 @@ const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
7842
7457
  return contents;
7843
7458
  };
7844
7459
  const deserializeAws_restXmlSSEKMS = (output, context) => {
7845
- const contents = {
7846
- KeyId: undefined,
7847
- };
7460
+ const contents = {};
7848
7461
  if (output["KeyId"] !== undefined) {
7849
7462
  contents.KeyId = (0, smithy_client_1.expectString)(output["KeyId"]);
7850
7463
  }
7851
7464
  return contents;
7852
7465
  };
7853
7466
  const deserializeAws_restXmlSseKmsEncryptedObjects = (output, context) => {
7854
- const contents = {
7855
- Status: undefined,
7856
- };
7467
+ const contents = {};
7857
7468
  if (output["Status"] !== undefined) {
7858
7469
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7859
7470
  }
7860
7471
  return contents;
7861
7472
  };
7862
7473
  const deserializeAws_restXmlSSEKMSEncryption = (output, context) => {
7863
- const contents = {
7864
- KeyId: undefined,
7865
- };
7474
+ const contents = {};
7866
7475
  if (output["KeyId"] !== undefined) {
7867
7476
  contents.KeyId = (0, smithy_client_1.expectString)(output["KeyId"]);
7868
7477
  }
@@ -7877,25 +7486,14 @@ const deserializeAws_restXmlSSES3Encryption = (output, context) => {
7877
7486
  return contents;
7878
7487
  };
7879
7488
  const deserializeAws_restXmlStorageLensAwsOrg = (output, context) => {
7880
- const contents = {
7881
- Arn: undefined,
7882
- };
7489
+ const contents = {};
7883
7490
  if (output["Arn"] !== undefined) {
7884
7491
  contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
7885
7492
  }
7886
7493
  return contents;
7887
7494
  };
7888
7495
  const deserializeAws_restXmlStorageLensConfiguration = (output, context) => {
7889
- const contents = {
7890
- Id: undefined,
7891
- AccountLevel: undefined,
7892
- Include: undefined,
7893
- Exclude: undefined,
7894
- DataExport: undefined,
7895
- IsEnabled: undefined,
7896
- AwsOrg: undefined,
7897
- StorageLensArn: undefined,
7898
- };
7496
+ const contents = {};
7899
7497
  if (output["Id"] !== undefined) {
7900
7498
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7901
7499
  }
@@ -7930,10 +7528,7 @@ const deserializeAws_restXmlStorageLensConfigurationList = (output, context) =>
7930
7528
  });
7931
7529
  };
7932
7530
  const deserializeAws_restXmlStorageLensDataExport = (output, context) => {
7933
- const contents = {
7934
- S3BucketDestination: undefined,
7935
- CloudWatchMetrics: undefined,
7936
- };
7531
+ const contents = {};
7937
7532
  if (output["S3BucketDestination"] !== undefined) {
7938
7533
  contents.S3BucketDestination = deserializeAws_restXmlS3BucketDestination(output["S3BucketDestination"], context);
7939
7534
  }
@@ -7943,10 +7538,7 @@ const deserializeAws_restXmlStorageLensDataExport = (output, context) => {
7943
7538
  return contents;
7944
7539
  };
7945
7540
  const deserializeAws_restXmlStorageLensDataExportEncryption = (output, context) => {
7946
- const contents = {
7947
- SSES3: undefined,
7948
- SSEKMS: undefined,
7949
- };
7541
+ const contents = {};
7950
7542
  if (output["SSE-S3"] !== undefined) {
7951
7543
  contents.SSES3 = deserializeAws_restXmlSSES3(output["SSE-S3"], context);
7952
7544
  }
@@ -7956,10 +7548,7 @@ const deserializeAws_restXmlStorageLensDataExportEncryption = (output, context)
7956
7548
  return contents;
7957
7549
  };
7958
7550
  const deserializeAws_restXmlStorageLensTag = (output, context) => {
7959
- const contents = {
7960
- Key: undefined,
7961
- Value: undefined,
7962
- };
7551
+ const contents = {};
7963
7552
  if (output["Key"] !== undefined) {
7964
7553
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7965
7554
  }
@@ -7976,11 +7565,7 @@ const deserializeAws_restXmlStorageLensTags = (output, context) => {
7976
7565
  });
7977
7566
  };
7978
7567
  const deserializeAws_restXmlTransition = (output, context) => {
7979
- const contents = {
7980
- Date: undefined,
7981
- Days: undefined,
7982
- StorageClass: undefined,
7983
- };
7568
+ const contents = {};
7984
7569
  if (output["Date"] !== undefined) {
7985
7570
  contents.Date = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Date"]));
7986
7571
  }
@@ -8000,9 +7585,7 @@ const deserializeAws_restXmlTransitionList = (output, context) => {
8000
7585
  });
8001
7586
  };
8002
7587
  const deserializeAws_restXmlVpcConfiguration = (output, context) => {
8003
- const contents = {
8004
- VpcId: undefined,
8005
- };
7588
+ const contents = {};
8006
7589
  if (output["VpcId"] !== undefined) {
8007
7590
  contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
8008
7591
  }