@aws-sdk/client-s3-control 3.51.0 → 3.52.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 (59) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -4
  3. package/dist-cjs/models/models_0.js +89 -4
  4. package/dist-cjs/protocols/Aws_restXml.js +314 -0
  5. package/dist-es/models/models_0.js +67 -3
  6. package/dist-es/protocols/Aws_restXml.js +358 -44
  7. package/dist-types/S3Control.d.ts +297 -283
  8. package/dist-types/S3ControlClient.d.ts +1 -4
  9. package/dist-types/commands/CreateAccessPointCommand.d.ts +7 -7
  10. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +4 -3
  11. package/dist-types/commands/CreateBucketCommand.d.ts +14 -9
  12. package/dist-types/commands/CreateJobCommand.d.ts +3 -4
  13. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +9 -10
  14. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteBucketCommand.d.ts +5 -6
  17. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +8 -7
  18. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +13 -12
  19. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +7 -8
  20. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +3 -2
  21. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +7 -8
  22. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +6 -7
  23. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +7 -7
  24. package/dist-types/commands/DescribeJobCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +2 -3
  26. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -1
  27. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +2 -1
  28. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +3 -1
  29. package/dist-types/commands/GetBucketCommand.d.ts +10 -12
  30. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +12 -10
  31. package/dist-types/commands/GetBucketPolicyCommand.d.ts +17 -12
  32. package/dist-types/commands/GetBucketTaggingCommand.d.ts +7 -7
  33. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +3 -4
  34. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +5 -5
  35. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +6 -6
  36. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -2
  37. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +5 -7
  38. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +7 -6
  39. package/dist-types/commands/ListAccessPointsCommand.d.ts +4 -4
  40. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +5 -5
  41. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +6 -7
  43. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +7 -7
  44. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -1
  45. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +3 -2
  46. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +3 -3
  47. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +9 -7
  48. package/dist-types/commands/PutBucketPolicyCommand.d.ts +14 -11
  49. package/dist-types/commands/PutBucketTaggingCommand.d.ts +22 -20
  50. package/dist-types/commands/PutJobTaggingCommand.d.ts +16 -14
  51. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +7 -7
  52. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -3
  53. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +3 -4
  54. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +7 -8
  55. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +1 -2
  56. package/dist-types/commands/UpdateJobStatusCommand.d.ts +1 -2
  57. package/dist-types/models/models_0.d.ts +570 -265
  58. package/dist-types/ts3.4/models/models_0.d.ts +149 -2
  59. package/package.json +39 -39
@@ -199,6 +199,10 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
199
199
  const node = serializeAws_restXmlJobManifest(input.Manifest, context).withName("Manifest");
200
200
  bodyNode.addChildNode(node);
201
201
  }
202
+ if (input.ManifestGenerator !== undefined) {
203
+ const node = serializeAws_restXmlJobManifestGenerator(input.ManifestGenerator, context).withName("ManifestGenerator");
204
+ bodyNode.addChildNode(node);
205
+ }
202
206
  if (input.Operation !== undefined) {
203
207
  const node = serializeAws_restXmlJobOperation(input.Operation, context).withName("Operation");
204
208
  bodyNode.addChildNode(node);
@@ -5284,6 +5288,18 @@ const serializeAws_restXml_Exclude = (input, context) => {
5284
5288
  }
5285
5289
  return bodyNode;
5286
5290
  };
5291
+ const serializeAws_restXmlGeneratedManifestEncryption = (input, context) => {
5292
+ const bodyNode = new xml_builder_1.XmlNode("GeneratedManifestEncryption");
5293
+ if (input.SSES3 !== undefined && input.SSES3 !== null) {
5294
+ const node = serializeAws_restXmlSSES3Encryption(input.SSES3, context).withName("SSE-S3");
5295
+ bodyNode.addChildNode(node);
5296
+ }
5297
+ if (input.SSEKMS !== undefined && input.SSEKMS !== null) {
5298
+ const node = serializeAws_restXmlSSEKMSEncryption(input.SSEKMS, context).withName("SSE-KMS");
5299
+ bodyNode.addChildNode(node);
5300
+ }
5301
+ return bodyNode;
5302
+ };
5287
5303
  const serializeAws_restXmlInclude = (input, context) => {
5288
5304
  const bodyNode = new xml_builder_1.XmlNode("Include");
5289
5305
  if (input.Buckets !== undefined && input.Buckets !== null) {
@@ -5327,6 +5343,52 @@ const serializeAws_restXmlJobManifestFieldList = (input, context) => {
5327
5343
  return node.withName("member");
5328
5344
  });
5329
5345
  };
5346
+ const serializeAws_restXmlJobManifestGenerator = (input, context) => {
5347
+ const bodyNode = new xml_builder_1.XmlNode("JobManifestGenerator");
5348
+ models_0_1.JobManifestGenerator.visit(input, {
5349
+ S3JobManifestGenerator: (value) => {
5350
+ const node = serializeAws_restXmlS3JobManifestGenerator(value, context).withName("S3JobManifestGenerator");
5351
+ bodyNode.addChildNode(node);
5352
+ },
5353
+ _: (name, value) => {
5354
+ if (!(value instanceof xml_builder_1.XmlNode || value instanceof xml_builder_1.XmlText)) {
5355
+ throw new Error("Unable to serialize unknown union members in XML.");
5356
+ }
5357
+ bodyNode.addChildNode(new xml_builder_1.XmlNode(name).addChildNode(value));
5358
+ },
5359
+ });
5360
+ return bodyNode;
5361
+ };
5362
+ const serializeAws_restXmlJobManifestGeneratorFilter = (input, context) => {
5363
+ const bodyNode = new xml_builder_1.XmlNode("JobManifestGeneratorFilter");
5364
+ if (input.EligibleForReplication !== undefined && input.EligibleForReplication !== null) {
5365
+ const node = new xml_builder_1.XmlNode("Boolean")
5366
+ .addChildNode(new xml_builder_1.XmlText(String(input.EligibleForReplication)))
5367
+ .withName("EligibleForReplication");
5368
+ bodyNode.addChildNode(node);
5369
+ }
5370
+ if (input.CreatedAfter !== undefined && input.CreatedAfter !== null) {
5371
+ const node = new xml_builder_1.XmlNode("ObjectCreationTime")
5372
+ .addChildNode(new xml_builder_1.XmlText(input.CreatedAfter.toISOString().split(".")[0] + "Z"))
5373
+ .withName("CreatedAfter");
5374
+ bodyNode.addChildNode(node);
5375
+ }
5376
+ if (input.CreatedBefore !== undefined && input.CreatedBefore !== null) {
5377
+ const node = new xml_builder_1.XmlNode("ObjectCreationTime")
5378
+ .addChildNode(new xml_builder_1.XmlText(input.CreatedBefore.toISOString().split(".")[0] + "Z"))
5379
+ .withName("CreatedBefore");
5380
+ bodyNode.addChildNode(node);
5381
+ }
5382
+ if (input.ObjectReplicationStatuses !== undefined && input.ObjectReplicationStatuses !== null) {
5383
+ const nodes = serializeAws_restXmlReplicationStatusFilterList(input.ObjectReplicationStatuses, context);
5384
+ const containerNode = new xml_builder_1.XmlNode("ObjectReplicationStatuses");
5385
+ nodes.map((node) => {
5386
+ containerNode.addChildNode(node);
5387
+ });
5388
+ bodyNode.addChildNode(containerNode);
5389
+ }
5390
+ return bodyNode;
5391
+ };
5330
5392
  const serializeAws_restXmlJobManifestLocation = (input, context) => {
5331
5393
  const bodyNode = new xml_builder_1.XmlNode("JobManifestLocation");
5332
5394
  if (input.ObjectArn !== undefined && input.ObjectArn !== null) {
@@ -5395,6 +5457,10 @@ const serializeAws_restXmlJobOperation = (input, context) => {
5395
5457
  const node = serializeAws_restXmlS3SetObjectRetentionOperation(input.S3PutObjectRetention, context).withName("S3PutObjectRetention");
5396
5458
  bodyNode.addChildNode(node);
5397
5459
  }
5460
+ if (input.S3ReplicateObject !== undefined && input.S3ReplicateObject !== null) {
5461
+ const node = serializeAws_restXmlS3ReplicateObjectOperation(input.S3ReplicateObject, context).withName("S3ReplicateObject");
5462
+ bodyNode.addChildNode(node);
5463
+ }
5398
5464
  return bodyNode;
5399
5465
  };
5400
5466
  const serializeAws_restXmlJobReport = (input, context) => {
@@ -5774,6 +5840,17 @@ const serializeAws_restXmlRegions = (input, context) => {
5774
5840
  return node.withName("Region");
5775
5841
  });
5776
5842
  };
5843
+ const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
5844
+ return input
5845
+ .filter((e) => e != null)
5846
+ .map((entry) => {
5847
+ if (entry === null) {
5848
+ return null;
5849
+ }
5850
+ const node = new xml_builder_1.XmlNode("ReplicationStatus").addChildNode(new xml_builder_1.XmlText(entry));
5851
+ return node.withName("member");
5852
+ });
5853
+ };
5777
5854
  const serializeAws_restXmlS3AccessControlList = (input, context) => {
5778
5855
  const bodyNode = new xml_builder_1.XmlNode("S3AccessControlList");
5779
5856
  if (input.Owner !== undefined && input.Owner !== null) {
@@ -6007,6 +6084,66 @@ const serializeAws_restXmlS3InitiateRestoreObjectOperation = (input, context) =>
6007
6084
  }
6008
6085
  return bodyNode;
6009
6086
  };
6087
+ const serializeAws_restXmlS3JobManifestGenerator = (input, context) => {
6088
+ const bodyNode = new xml_builder_1.XmlNode("S3JobManifestGenerator");
6089
+ if (input.ExpectedBucketOwner !== undefined && input.ExpectedBucketOwner !== null) {
6090
+ const node = new xml_builder_1.XmlNode("AccountId")
6091
+ .addChildNode(new xml_builder_1.XmlText(input.ExpectedBucketOwner))
6092
+ .withName("ExpectedBucketOwner");
6093
+ bodyNode.addChildNode(node);
6094
+ }
6095
+ if (input.SourceBucket !== undefined && input.SourceBucket !== null) {
6096
+ const node = new xml_builder_1.XmlNode("S3BucketArnString")
6097
+ .addChildNode(new xml_builder_1.XmlText(input.SourceBucket))
6098
+ .withName("SourceBucket");
6099
+ bodyNode.addChildNode(node);
6100
+ }
6101
+ if (input.ManifestOutputLocation !== undefined && input.ManifestOutputLocation !== null) {
6102
+ const node = serializeAws_restXmlS3ManifestOutputLocation(input.ManifestOutputLocation, context).withName("ManifestOutputLocation");
6103
+ bodyNode.addChildNode(node);
6104
+ }
6105
+ if (input.Filter !== undefined && input.Filter !== null) {
6106
+ const node = serializeAws_restXmlJobManifestGeneratorFilter(input.Filter, context).withName("Filter");
6107
+ bodyNode.addChildNode(node);
6108
+ }
6109
+ if (input.EnableManifestOutput !== undefined && input.EnableManifestOutput !== null) {
6110
+ const node = new xml_builder_1.XmlNode("Boolean")
6111
+ .addChildNode(new xml_builder_1.XmlText(String(input.EnableManifestOutput)))
6112
+ .withName("EnableManifestOutput");
6113
+ bodyNode.addChildNode(node);
6114
+ }
6115
+ return bodyNode;
6116
+ };
6117
+ const serializeAws_restXmlS3ManifestOutputLocation = (input, context) => {
6118
+ const bodyNode = new xml_builder_1.XmlNode("S3ManifestOutputLocation");
6119
+ if (input.ExpectedManifestBucketOwner !== undefined && input.ExpectedManifestBucketOwner !== null) {
6120
+ const node = new xml_builder_1.XmlNode("AccountId")
6121
+ .addChildNode(new xml_builder_1.XmlText(input.ExpectedManifestBucketOwner))
6122
+ .withName("ExpectedManifestBucketOwner");
6123
+ bodyNode.addChildNode(node);
6124
+ }
6125
+ if (input.Bucket !== undefined && input.Bucket !== null) {
6126
+ const node = new xml_builder_1.XmlNode("S3BucketArnString").addChildNode(new xml_builder_1.XmlText(input.Bucket)).withName("Bucket");
6127
+ bodyNode.addChildNode(node);
6128
+ }
6129
+ if (input.ManifestPrefix !== undefined && input.ManifestPrefix !== null) {
6130
+ const node = new xml_builder_1.XmlNode("ManifestPrefixString")
6131
+ .addChildNode(new xml_builder_1.XmlText(input.ManifestPrefix))
6132
+ .withName("ManifestPrefix");
6133
+ bodyNode.addChildNode(node);
6134
+ }
6135
+ if (input.ManifestEncryption !== undefined && input.ManifestEncryption !== null) {
6136
+ const node = serializeAws_restXmlGeneratedManifestEncryption(input.ManifestEncryption, context).withName("ManifestEncryption");
6137
+ bodyNode.addChildNode(node);
6138
+ }
6139
+ if (input.ManifestFormat !== undefined && input.ManifestFormat !== null) {
6140
+ const node = new xml_builder_1.XmlNode("GeneratedManifestFormat")
6141
+ .addChildNode(new xml_builder_1.XmlText(input.ManifestFormat))
6142
+ .withName("ManifestFormat");
6143
+ bodyNode.addChildNode(node);
6144
+ }
6145
+ return bodyNode;
6146
+ };
6010
6147
  const serializeAws_restXmlS3ObjectLockLegalHold = (input, context) => {
6011
6148
  const bodyNode = new xml_builder_1.XmlNode("S3ObjectLockLegalHold");
6012
6149
  if (input.Status !== undefined && input.Status !== null) {
@@ -6103,6 +6240,10 @@ const serializeAws_restXmlS3ObjectOwner = (input, context) => {
6103
6240
  }
6104
6241
  return bodyNode;
6105
6242
  };
6243
+ const serializeAws_restXmlS3ReplicateObjectOperation = (input, context) => {
6244
+ const bodyNode = new xml_builder_1.XmlNode("S3ReplicateObjectOperation");
6245
+ return bodyNode;
6246
+ };
6106
6247
  const serializeAws_restXmlS3Retention = (input, context) => {
6107
6248
  const bodyNode = new xml_builder_1.XmlNode("S3Retention");
6108
6249
  if (input.RetainUntilDate !== undefined && input.RetainUntilDate !== null) {
@@ -6225,10 +6366,22 @@ const serializeAws_restXmlSSEKMS = (input, context) => {
6225
6366
  }
6226
6367
  return bodyNode;
6227
6368
  };
6369
+ const serializeAws_restXmlSSEKMSEncryption = (input, context) => {
6370
+ const bodyNode = new xml_builder_1.XmlNode("SSE-KMS");
6371
+ if (input.KeyId !== undefined && input.KeyId !== null) {
6372
+ const node = new xml_builder_1.XmlNode("KmsKeyArnString").addChildNode(new xml_builder_1.XmlText(input.KeyId)).withName("KeyId");
6373
+ bodyNode.addChildNode(node);
6374
+ }
6375
+ return bodyNode;
6376
+ };
6228
6377
  const serializeAws_restXmlSSES3 = (input, context) => {
6229
6378
  const bodyNode = new xml_builder_1.XmlNode("SSE-S3");
6230
6379
  return bodyNode;
6231
6380
  };
6381
+ const serializeAws_restXmlSSES3Encryption = (input, context) => {
6382
+ const bodyNode = new xml_builder_1.XmlNode("SSE-S3");
6383
+ return bodyNode;
6384
+ };
6232
6385
  const serializeAws_restXmlStorageLensAwsOrg = (input, context) => {
6233
6386
  const bodyNode = new xml_builder_1.XmlNode("StorageLensAwsOrg");
6234
6387
  if (input.Arn !== undefined && input.Arn !== null) {
@@ -6636,6 +6789,19 @@ const deserializeAws_restXml_Exclude = (output, context) => {
6636
6789
  }
6637
6790
  return contents;
6638
6791
  };
6792
+ const deserializeAws_restXmlGeneratedManifestEncryption = (output, context) => {
6793
+ const contents = {
6794
+ SSES3: undefined,
6795
+ SSEKMS: undefined,
6796
+ };
6797
+ if (output["SSE-S3"] !== undefined) {
6798
+ contents.SSES3 = deserializeAws_restXmlSSES3Encryption(output["SSE-S3"], context);
6799
+ }
6800
+ if (output["SSE-KMS"] !== undefined) {
6801
+ contents.SSEKMS = deserializeAws_restXmlSSEKMSEncryption(output["SSE-KMS"], context);
6802
+ }
6803
+ return contents;
6804
+ };
6639
6805
  const deserializeAws_restXmlInclude = (output, context) => {
6640
6806
  const contents = {
6641
6807
  Buckets: undefined,
@@ -6674,6 +6840,8 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
6674
6840
  RoleArn: undefined,
6675
6841
  SuspendedDate: undefined,
6676
6842
  SuspendedCause: undefined,
6843
+ ManifestGenerator: undefined,
6844
+ GeneratedManifestDescriptor: undefined,
6677
6845
  };
6678
6846
  if (output["JobId"] !== undefined) {
6679
6847
  contents.JobId = smithy_client_1.expectString(output["JobId"]);
@@ -6729,6 +6897,12 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
6729
6897
  if (output["SuspendedCause"] !== undefined) {
6730
6898
  contents.SuspendedCause = smithy_client_1.expectString(output["SuspendedCause"]);
6731
6899
  }
6900
+ if (output["ManifestGenerator"] !== undefined) {
6901
+ contents.ManifestGenerator = deserializeAws_restXmlJobManifestGenerator(smithy_client_1.expectUnion(output["ManifestGenerator"]), context);
6902
+ }
6903
+ if (output["GeneratedManifestDescriptor"] !== undefined) {
6904
+ contents.GeneratedManifestDescriptor = deserializeAws_restXmlS3GeneratedManifestDescriptor(output["GeneratedManifestDescriptor"], context);
6905
+ }
6732
6906
  return contents;
6733
6907
  };
6734
6908
  const deserializeAws_restXmlJobFailure = (output, context) => {
@@ -6824,6 +6998,39 @@ const deserializeAws_restXmlJobManifestFieldList = (output, context) => {
6824
6998
  return smithy_client_1.expectString(entry);
6825
6999
  });
6826
7000
  };
7001
+ const deserializeAws_restXmlJobManifestGenerator = (output, context) => {
7002
+ if (output["S3JobManifestGenerator"] !== undefined) {
7003
+ return {
7004
+ S3JobManifestGenerator: deserializeAws_restXmlS3JobManifestGenerator(output["S3JobManifestGenerator"], context),
7005
+ };
7006
+ }
7007
+ return { $unknown: Object.entries(output)[0] };
7008
+ };
7009
+ const deserializeAws_restXmlJobManifestGeneratorFilter = (output, context) => {
7010
+ const contents = {
7011
+ EligibleForReplication: undefined,
7012
+ CreatedAfter: undefined,
7013
+ CreatedBefore: undefined,
7014
+ ObjectReplicationStatuses: undefined,
7015
+ };
7016
+ if (output["EligibleForReplication"] !== undefined) {
7017
+ contents.EligibleForReplication = smithy_client_1.parseBoolean(output["EligibleForReplication"]);
7018
+ }
7019
+ if (output["CreatedAfter"] !== undefined) {
7020
+ contents.CreatedAfter = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedAfter"]));
7021
+ }
7022
+ if (output["CreatedBefore"] !== undefined) {
7023
+ contents.CreatedBefore = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedBefore"]));
7024
+ }
7025
+ if (output.ObjectReplicationStatuses === "") {
7026
+ contents.ObjectReplicationStatuses = [];
7027
+ }
7028
+ if (output["ObjectReplicationStatuses"] !== undefined &&
7029
+ output["ObjectReplicationStatuses"]["member"] !== undefined) {
7030
+ contents.ObjectReplicationStatuses = deserializeAws_restXmlReplicationStatusFilterList(smithy_client_1.getArrayIfSingleItem(output["ObjectReplicationStatuses"]["member"]), context);
7031
+ }
7032
+ return contents;
7033
+ };
6827
7034
  const deserializeAws_restXmlJobManifestLocation = (output, context) => {
6828
7035
  const contents = {
6829
7036
  ObjectArn: undefined,
@@ -6867,6 +7074,7 @@ const deserializeAws_restXmlJobOperation = (output, context) => {
6867
7074
  S3InitiateRestoreObject: undefined,
6868
7075
  S3PutObjectLegalHold: undefined,
6869
7076
  S3PutObjectRetention: undefined,
7077
+ S3ReplicateObject: undefined,
6870
7078
  };
6871
7079
  if (output["LambdaInvoke"] !== undefined) {
6872
7080
  contents.LambdaInvoke = deserializeAws_restXmlLambdaInvokeOperation(output["LambdaInvoke"], context);
@@ -6892,6 +7100,9 @@ const deserializeAws_restXmlJobOperation = (output, context) => {
6892
7100
  if (output["S3PutObjectRetention"] !== undefined) {
6893
7101
  contents.S3PutObjectRetention = deserializeAws_restXmlS3SetObjectRetentionOperation(output["S3PutObjectRetention"], context);
6894
7102
  }
7103
+ if (output["S3ReplicateObject"] !== undefined) {
7104
+ contents.S3ReplicateObject = deserializeAws_restXmlS3ReplicateObjectOperation(output["S3ReplicateObject"], context);
7105
+ }
6895
7106
  return contents;
6896
7107
  };
6897
7108
  const deserializeAws_restXmlJobProgressSummary = (output, context) => {
@@ -6899,6 +7110,7 @@ const deserializeAws_restXmlJobProgressSummary = (output, context) => {
6899
7110
  TotalNumberOfTasks: undefined,
6900
7111
  NumberOfTasksSucceeded: undefined,
6901
7112
  NumberOfTasksFailed: undefined,
7113
+ Timers: undefined,
6902
7114
  };
6903
7115
  if (output["TotalNumberOfTasks"] !== undefined) {
6904
7116
  contents.TotalNumberOfTasks = smithy_client_1.strictParseLong(output["TotalNumberOfTasks"]);
@@ -6909,6 +7121,9 @@ const deserializeAws_restXmlJobProgressSummary = (output, context) => {
6909
7121
  if (output["NumberOfTasksFailed"] !== undefined) {
6910
7122
  contents.NumberOfTasksFailed = smithy_client_1.strictParseLong(output["NumberOfTasksFailed"]);
6911
7123
  }
7124
+ if (output["Timers"] !== undefined) {
7125
+ contents.Timers = deserializeAws_restXmlJobTimers(output["Timers"], context);
7126
+ }
6912
7127
  return contents;
6913
7128
  };
6914
7129
  const deserializeAws_restXmlJobReport = (output, context) => {
@@ -6936,6 +7151,15 @@ const deserializeAws_restXmlJobReport = (output, context) => {
6936
7151
  }
6937
7152
  return contents;
6938
7153
  };
7154
+ const deserializeAws_restXmlJobTimers = (output, context) => {
7155
+ const contents = {
7156
+ ElapsedTimeInActiveSeconds: undefined,
7157
+ };
7158
+ if (output["ElapsedTimeInActiveSeconds"] !== undefined) {
7159
+ contents.ElapsedTimeInActiveSeconds = smithy_client_1.strictParseLong(output["ElapsedTimeInActiveSeconds"]);
7160
+ }
7161
+ return contents;
7162
+ };
6939
7163
  const deserializeAws_restXmlLambdaInvokeOperation = (output, context) => {
6940
7164
  const contents = {
6941
7165
  FunctionArn: undefined,
@@ -7458,6 +7682,16 @@ const deserializeAws_restXmlRegions = (output, context) => {
7458
7682
  return smithy_client_1.expectString(entry);
7459
7683
  });
7460
7684
  };
7685
+ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
7686
+ return (output || [])
7687
+ .filter((e) => e != null)
7688
+ .map((entry) => {
7689
+ if (entry === null) {
7690
+ return null;
7691
+ }
7692
+ return smithy_client_1.expectString(entry);
7693
+ });
7694
+ };
7461
7695
  const deserializeAws_restXmlS3AccessControlList = (output, context) => {
7462
7696
  const contents = {
7463
7697
  Owner: undefined,
@@ -7599,6 +7833,19 @@ const deserializeAws_restXmlS3DeleteObjectTaggingOperation = (output, context) =
7599
7833
  const contents = {};
7600
7834
  return contents;
7601
7835
  };
7836
+ const deserializeAws_restXmlS3GeneratedManifestDescriptor = (output, context) => {
7837
+ const contents = {
7838
+ Format: undefined,
7839
+ Location: undefined,
7840
+ };
7841
+ if (output["Format"] !== undefined) {
7842
+ contents.Format = smithy_client_1.expectString(output["Format"]);
7843
+ }
7844
+ if (output["Location"] !== undefined) {
7845
+ contents.Location = deserializeAws_restXmlJobManifestLocation(output["Location"], context);
7846
+ }
7847
+ return contents;
7848
+ };
7602
7849
  const deserializeAws_restXmlS3Grant = (output, context) => {
7603
7850
  const contents = {
7604
7851
  Grantee: undefined,
@@ -7652,6 +7899,56 @@ const deserializeAws_restXmlS3InitiateRestoreObjectOperation = (output, context)
7652
7899
  }
7653
7900
  return contents;
7654
7901
  };
7902
+ const deserializeAws_restXmlS3JobManifestGenerator = (output, context) => {
7903
+ const contents = {
7904
+ ExpectedBucketOwner: undefined,
7905
+ SourceBucket: undefined,
7906
+ ManifestOutputLocation: undefined,
7907
+ Filter: undefined,
7908
+ EnableManifestOutput: undefined,
7909
+ };
7910
+ if (output["ExpectedBucketOwner"] !== undefined) {
7911
+ contents.ExpectedBucketOwner = smithy_client_1.expectString(output["ExpectedBucketOwner"]);
7912
+ }
7913
+ if (output["SourceBucket"] !== undefined) {
7914
+ contents.SourceBucket = smithy_client_1.expectString(output["SourceBucket"]);
7915
+ }
7916
+ if (output["ManifestOutputLocation"] !== undefined) {
7917
+ contents.ManifestOutputLocation = deserializeAws_restXmlS3ManifestOutputLocation(output["ManifestOutputLocation"], context);
7918
+ }
7919
+ if (output["Filter"] !== undefined) {
7920
+ contents.Filter = deserializeAws_restXmlJobManifestGeneratorFilter(output["Filter"], context);
7921
+ }
7922
+ if (output["EnableManifestOutput"] !== undefined) {
7923
+ contents.EnableManifestOutput = smithy_client_1.parseBoolean(output["EnableManifestOutput"]);
7924
+ }
7925
+ return contents;
7926
+ };
7927
+ const deserializeAws_restXmlS3ManifestOutputLocation = (output, context) => {
7928
+ const contents = {
7929
+ ExpectedManifestBucketOwner: undefined,
7930
+ Bucket: undefined,
7931
+ ManifestPrefix: undefined,
7932
+ ManifestEncryption: undefined,
7933
+ ManifestFormat: undefined,
7934
+ };
7935
+ if (output["ExpectedManifestBucketOwner"] !== undefined) {
7936
+ contents.ExpectedManifestBucketOwner = smithy_client_1.expectString(output["ExpectedManifestBucketOwner"]);
7937
+ }
7938
+ if (output["Bucket"] !== undefined) {
7939
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
7940
+ }
7941
+ if (output["ManifestPrefix"] !== undefined) {
7942
+ contents.ManifestPrefix = smithy_client_1.expectString(output["ManifestPrefix"]);
7943
+ }
7944
+ if (output["ManifestEncryption"] !== undefined) {
7945
+ contents.ManifestEncryption = deserializeAws_restXmlGeneratedManifestEncryption(output["ManifestEncryption"], context);
7946
+ }
7947
+ if (output["ManifestFormat"] !== undefined) {
7948
+ contents.ManifestFormat = smithy_client_1.expectString(output["ManifestFormat"]);
7949
+ }
7950
+ return contents;
7951
+ };
7655
7952
  const deserializeAws_restXmlS3ObjectLockLegalHold = (output, context) => {
7656
7953
  const contents = {
7657
7954
  Status: undefined,
@@ -7726,6 +8023,10 @@ const deserializeAws_restXmlS3ObjectOwner = (output, context) => {
7726
8023
  }
7727
8024
  return contents;
7728
8025
  };
8026
+ const deserializeAws_restXmlS3ReplicateObjectOperation = (output, context) => {
8027
+ const contents = {};
8028
+ return contents;
8029
+ };
7729
8030
  const deserializeAws_restXmlS3Retention = (output, context) => {
7730
8031
  const contents = {
7731
8032
  RetainUntilDate: undefined,
@@ -7842,10 +8143,23 @@ const deserializeAws_restXmlSSEKMS = (output, context) => {
7842
8143
  }
7843
8144
  return contents;
7844
8145
  };
8146
+ const deserializeAws_restXmlSSEKMSEncryption = (output, context) => {
8147
+ const contents = {
8148
+ KeyId: undefined,
8149
+ };
8150
+ if (output["KeyId"] !== undefined) {
8151
+ contents.KeyId = smithy_client_1.expectString(output["KeyId"]);
8152
+ }
8153
+ return contents;
8154
+ };
7845
8155
  const deserializeAws_restXmlSSES3 = (output, context) => {
7846
8156
  const contents = {};
7847
8157
  return contents;
7848
8158
  };
8159
+ const deserializeAws_restXmlSSES3Encryption = (output, context) => {
8160
+ const contents = {};
8161
+ return contents;
8162
+ };
7849
8163
  const deserializeAws_restXmlStorageLensAwsOrg = (output, context) => {
7850
8164
  const contents = {
7851
8165
  Arn: undefined,
@@ -184,6 +184,56 @@ export var JobManifest;
184
184
  (function (JobManifest) {
185
185
  JobManifest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
186
  })(JobManifest || (JobManifest = {}));
187
+ export var ReplicationStatus;
188
+ (function (ReplicationStatus) {
189
+ ReplicationStatus["COMPLETED"] = "COMPLETED";
190
+ ReplicationStatus["FAILED"] = "FAILED";
191
+ ReplicationStatus["NONE"] = "NONE";
192
+ ReplicationStatus["REPLICA"] = "REPLICA";
193
+ })(ReplicationStatus || (ReplicationStatus = {}));
194
+ export var JobManifestGeneratorFilter;
195
+ (function (JobManifestGeneratorFilter) {
196
+ JobManifestGeneratorFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
197
+ })(JobManifestGeneratorFilter || (JobManifestGeneratorFilter = {}));
198
+ export var SSEKMSEncryption;
199
+ (function (SSEKMSEncryption) {
200
+ SSEKMSEncryption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
201
+ })(SSEKMSEncryption || (SSEKMSEncryption = {}));
202
+ export var SSES3Encryption;
203
+ (function (SSES3Encryption) {
204
+ SSES3Encryption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
205
+ })(SSES3Encryption || (SSES3Encryption = {}));
206
+ export var GeneratedManifestEncryption;
207
+ (function (GeneratedManifestEncryption) {
208
+ GeneratedManifestEncryption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
209
+ })(GeneratedManifestEncryption || (GeneratedManifestEncryption = {}));
210
+ export var GeneratedManifestFormat;
211
+ (function (GeneratedManifestFormat) {
212
+ GeneratedManifestFormat["S3InventoryReport_CSV_20211130"] = "S3InventoryReport_CSV_20211130";
213
+ })(GeneratedManifestFormat || (GeneratedManifestFormat = {}));
214
+ export var S3ManifestOutputLocation;
215
+ (function (S3ManifestOutputLocation) {
216
+ S3ManifestOutputLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
217
+ })(S3ManifestOutputLocation || (S3ManifestOutputLocation = {}));
218
+ export var S3JobManifestGenerator;
219
+ (function (S3JobManifestGenerator) {
220
+ S3JobManifestGenerator.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
221
+ })(S3JobManifestGenerator || (S3JobManifestGenerator = {}));
222
+ export var JobManifestGenerator;
223
+ (function (JobManifestGenerator) {
224
+ JobManifestGenerator.visit = function (value, visitor) {
225
+ if (value.S3JobManifestGenerator !== undefined)
226
+ return visitor.S3JobManifestGenerator(value.S3JobManifestGenerator);
227
+ return visitor._(value.$unknown[0], value.$unknown[1]);
228
+ };
229
+ JobManifestGenerator.filterSensitiveLog = function (obj) {
230
+ var _a;
231
+ if (obj.S3JobManifestGenerator !== undefined)
232
+ return { S3JobManifestGenerator: S3JobManifestGenerator.filterSensitiveLog(obj.S3JobManifestGenerator) };
233
+ if (obj.$unknown !== undefined)
234
+ return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
235
+ };
236
+ })(JobManifestGenerator || (JobManifestGenerator = {}));
187
237
  export var LambdaInvokeOperation;
188
238
  (function (LambdaInvokeOperation) {
189
239
  LambdaInvokeOperation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -281,6 +331,7 @@ export var S3StorageClass;
281
331
  (function (S3StorageClass) {
282
332
  S3StorageClass["DEEP_ARCHIVE"] = "DEEP_ARCHIVE";
283
333
  S3StorageClass["GLACIER"] = "GLACIER";
334
+ S3StorageClass["GLACIER_IR"] = "GLACIER_IR";
284
335
  S3StorageClass["INTELLIGENT_TIERING"] = "INTELLIGENT_TIERING";
285
336
  S3StorageClass["ONEZONE_IA"] = "ONEZONE_IA";
286
337
  S3StorageClass["STANDARD"] = "STANDARD";
@@ -315,6 +366,10 @@ export var S3SetObjectTaggingOperation;
315
366
  (function (S3SetObjectTaggingOperation) {
316
367
  S3SetObjectTaggingOperation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
317
368
  })(S3SetObjectTaggingOperation || (S3SetObjectTaggingOperation = {}));
369
+ export var S3ReplicateObjectOperation;
370
+ (function (S3ReplicateObjectOperation) {
371
+ S3ReplicateObjectOperation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
372
+ })(S3ReplicateObjectOperation || (S3ReplicateObjectOperation = {}));
318
373
  export var JobOperation;
319
374
  (function (JobOperation) {
320
375
  JobOperation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -334,7 +389,7 @@ export var JobReport;
334
389
  })(JobReport || (JobReport = {}));
335
390
  export var CreateJobRequest;
336
391
  (function (CreateJobRequest) {
337
- CreateJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
392
+ CreateJobRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ManifestGenerator && { ManifestGenerator: JobManifestGenerator.filterSensitiveLog(obj.ManifestGenerator) }))); };
338
393
  })(CreateJobRequest || (CreateJobRequest = {}));
339
394
  export var CreateJobResult;
340
395
  (function (CreateJobResult) {
@@ -420,6 +475,14 @@ export var JobFailure;
420
475
  (function (JobFailure) {
421
476
  JobFailure.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
422
477
  })(JobFailure || (JobFailure = {}));
478
+ export var S3GeneratedManifestDescriptor;
479
+ (function (S3GeneratedManifestDescriptor) {
480
+ S3GeneratedManifestDescriptor.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
481
+ })(S3GeneratedManifestDescriptor || (S3GeneratedManifestDescriptor = {}));
482
+ export var JobTimers;
483
+ (function (JobTimers) {
484
+ JobTimers.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
485
+ })(JobTimers || (JobTimers = {}));
423
486
  export var JobProgressSummary;
424
487
  (function (JobProgressSummary) {
425
488
  JobProgressSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -442,11 +505,11 @@ export var JobStatus;
442
505
  })(JobStatus || (JobStatus = {}));
443
506
  export var JobDescriptor;
444
507
  (function (JobDescriptor) {
445
- JobDescriptor.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
508
+ JobDescriptor.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ManifestGenerator && { ManifestGenerator: JobManifestGenerator.filterSensitiveLog(obj.ManifestGenerator) }))); };
446
509
  })(JobDescriptor || (JobDescriptor = {}));
447
510
  export var DescribeJobResult;
448
511
  (function (DescribeJobResult) {
449
- DescribeJobResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
512
+ DescribeJobResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Job && { Job: JobDescriptor.filterSensitiveLog(obj.Job) }))); };
450
513
  })(DescribeJobResult || (DescribeJobResult = {}));
451
514
  export var DescribeMultiRegionAccessPointOperationRequest;
452
515
  (function (DescribeMultiRegionAccessPointOperationRequest) {
@@ -739,6 +802,7 @@ export var OperationName;
739
802
  OperationName["S3PutObjectLegalHold"] = "S3PutObjectLegalHold";
740
803
  OperationName["S3PutObjectRetention"] = "S3PutObjectRetention";
741
804
  OperationName["S3PutObjectTagging"] = "S3PutObjectTagging";
805
+ OperationName["S3ReplicateObject"] = "S3ReplicateObject";
742
806
  })(OperationName || (OperationName = {}));
743
807
  export var JobListDescriptor;
744
808
  (function (JobListDescriptor) {