@aws-sdk/client-s3-control 3.289.0 → 3.292.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 (95) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/S3Control.js +45 -0
  3. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +52 -0
  4. package/dist-cjs/commands/GetBucketReplicationCommand.js +52 -0
  5. package/dist-cjs/commands/PutBucketReplicationCommand.js +54 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +2 -2
  8. package/dist-cjs/models/models_0.js +142 -5
  9. package/dist-cjs/protocols/Aws_restXml.js +677 -3
  10. package/dist-es/S3Control.js +45 -0
  11. package/dist-es/commands/DeleteBucketReplicationCommand.js +48 -0
  12. package/dist-es/commands/GetBucketReplicationCommand.js +48 -0
  13. package/dist-es/commands/PutBucketReplicationCommand.js +50 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +2 -2
  16. package/dist-es/models/models_0.js +116 -0
  17. package/dist-es/protocols/Aws_restXml.js +668 -0
  18. package/dist-types/S3Control.d.ts +226 -35
  19. package/dist-types/S3ControlClient.d.ts +5 -2
  20. package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -0
  21. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +1 -0
  22. package/dist-types/commands/CreateBucketCommand.d.ts +9 -0
  23. package/dist-types/commands/CreateJobCommand.d.ts +13 -0
  24. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +1 -0
  25. package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +1 -0
  28. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteBucketCommand.d.ts +1 -0
  30. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -0
  32. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +78 -0
  33. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -0
  34. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +14 -3
  35. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +1 -0
  36. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  37. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +1 -0
  38. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +1 -0
  39. package/dist-types/commands/DescribeJobCommand.d.ts +13 -0
  40. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +1 -0
  41. package/dist-types/commands/GetAccessPointCommand.d.ts +1 -0
  42. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  43. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +1 -0
  44. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +1 -0
  45. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  46. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +1 -0
  47. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +1 -0
  48. package/dist-types/commands/GetBucketCommand.d.ts +1 -0
  49. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -0
  50. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -0
  51. package/dist-types/commands/GetBucketReplicationCommand.d.ts +84 -0
  52. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -0
  53. package/dist-types/commands/GetBucketVersioningCommand.d.ts +12 -6
  54. package/dist-types/commands/GetJobTaggingCommand.d.ts +14 -3
  55. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +1 -0
  56. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  57. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +1 -0
  58. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +1 -0
  59. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -0
  60. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -1
  61. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +1 -0
  62. package/dist-types/commands/ListAccessPointsCommand.d.ts +9 -4
  63. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +1 -0
  64. package/dist-types/commands/ListJobsCommand.d.ts +10 -0
  65. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +1 -0
  66. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +1 -0
  67. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +1 -0
  68. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +1 -0
  69. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +1 -0
  70. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +1 -0
  71. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -0
  72. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -0
  73. package/dist-types/commands/PutBucketReplicationCommand.d.ts +124 -0
  74. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
  75. package/dist-types/commands/PutBucketVersioningCommand.d.ts +14 -8
  76. package/dist-types/commands/PutJobTaggingCommand.d.ts +17 -2
  77. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +1 -0
  78. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  79. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -1
  80. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +1 -0
  81. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +6 -7
  82. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +13 -0
  83. package/dist-types/commands/UpdateJobStatusCommand.d.ts +16 -0
  84. package/dist-types/commands/index.d.ts +3 -0
  85. package/dist-types/models/models_0.d.ts +716 -74
  86. package/dist-types/protocols/Aws_restXml.d.ts +9 -0
  87. package/dist-types/ts3.4/S3Control.d.ts +51 -0
  88. package/dist-types/ts3.4/S3ControlClient.d.ts +18 -0
  89. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +37 -0
  90. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +41 -0
  91. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +194 -0
  94. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  95. package/package.json +41 -46
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restXmlPutBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = exports.serializeAws_restXmlPutAccessPointPolicyCommand = exports.serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = exports.serializeAws_restXmlListStorageLensConfigurationsCommand = exports.serializeAws_restXmlListRegionalBucketsCommand = exports.serializeAws_restXmlListMultiRegionAccessPointsCommand = exports.serializeAws_restXmlListJobsCommand = exports.serializeAws_restXmlListAccessPointsForObjectLambdaCommand = exports.serializeAws_restXmlListAccessPointsCommand = exports.serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlGetStorageLensConfigurationCommand = exports.serializeAws_restXmlGetPublicAccessBlockCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointCommand = exports.serializeAws_restXmlGetJobTaggingCommand = exports.serializeAws_restXmlGetBucketVersioningCommand = exports.serializeAws_restXmlGetBucketTaggingCommand = exports.serializeAws_restXmlGetBucketPolicyCommand = exports.serializeAws_restXmlGetBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlGetBucketCommand = exports.serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointPolicyStatusCommand = exports.serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointPolicyCommand = exports.serializeAws_restXmlGetAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointCommand = exports.serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = exports.serializeAws_restXmlDescribeJobCommand = exports.serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlDeleteStorageLensConfigurationCommand = exports.serializeAws_restXmlDeletePublicAccessBlockCommand = exports.serializeAws_restXmlDeleteMultiRegionAccessPointCommand = exports.serializeAws_restXmlDeleteJobTaggingCommand = exports.serializeAws_restXmlDeleteBucketTaggingCommand = exports.serializeAws_restXmlDeleteBucketPolicyCommand = exports.serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlDeleteBucketCommand = exports.serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = exports.serializeAws_restXmlDeleteAccessPointPolicyCommand = exports.serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlDeleteAccessPointCommand = exports.serializeAws_restXmlCreateMultiRegionAccessPointCommand = exports.serializeAws_restXmlCreateJobCommand = exports.serializeAws_restXmlCreateBucketCommand = exports.serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlCreateAccessPointCommand = void 0;
4
- exports.deserializeAws_restXmlGetStorageLensConfigurationCommand = exports.deserializeAws_restXmlGetPublicAccessBlockCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointCommand = exports.deserializeAws_restXmlGetJobTaggingCommand = exports.deserializeAws_restXmlGetBucketVersioningCommand = exports.deserializeAws_restXmlGetBucketTaggingCommand = exports.deserializeAws_restXmlGetBucketPolicyCommand = exports.deserializeAws_restXmlGetBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlGetBucketCommand = exports.deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointPolicyStatusCommand = exports.deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointPolicyCommand = exports.deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointCommand = exports.deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = exports.deserializeAws_restXmlDescribeJobCommand = exports.deserializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = exports.deserializeAws_restXmlDeleteStorageLensConfigurationCommand = exports.deserializeAws_restXmlDeletePublicAccessBlockCommand = exports.deserializeAws_restXmlDeleteMultiRegionAccessPointCommand = exports.deserializeAws_restXmlDeleteJobTaggingCommand = exports.deserializeAws_restXmlDeleteBucketTaggingCommand = exports.deserializeAws_restXmlDeleteBucketPolicyCommand = exports.deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlDeleteBucketCommand = exports.deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlDeleteAccessPointPolicyCommand = exports.deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlDeleteAccessPointCommand = exports.deserializeAws_restXmlCreateMultiRegionAccessPointCommand = exports.deserializeAws_restXmlCreateJobCommand = exports.deserializeAws_restXmlCreateBucketCommand = exports.deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlCreateAccessPointCommand = exports.serializeAws_restXmlUpdateJobStatusCommand = exports.serializeAws_restXmlUpdateJobPriorityCommand = exports.serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = exports.serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlPutStorageLensConfigurationCommand = exports.serializeAws_restXmlPutPublicAccessBlockCommand = exports.serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = exports.serializeAws_restXmlPutJobTaggingCommand = exports.serializeAws_restXmlPutBucketVersioningCommand = exports.serializeAws_restXmlPutBucketTaggingCommand = exports.serializeAws_restXmlPutBucketPolicyCommand = void 0;
5
- exports.deserializeAws_restXmlUpdateJobStatusCommand = exports.deserializeAws_restXmlUpdateJobPriorityCommand = exports.deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = exports.deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand = exports.deserializeAws_restXmlPutStorageLensConfigurationCommand = exports.deserializeAws_restXmlPutPublicAccessBlockCommand = exports.deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = exports.deserializeAws_restXmlPutJobTaggingCommand = exports.deserializeAws_restXmlPutBucketVersioningCommand = exports.deserializeAws_restXmlPutBucketTaggingCommand = exports.deserializeAws_restXmlPutBucketPolicyCommand = exports.deserializeAws_restXmlPutBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlPutAccessPointPolicyCommand = exports.deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = exports.deserializeAws_restXmlListStorageLensConfigurationsCommand = exports.deserializeAws_restXmlListRegionalBucketsCommand = exports.deserializeAws_restXmlListMultiRegionAccessPointsCommand = exports.deserializeAws_restXmlListJobsCommand = exports.deserializeAws_restXmlListAccessPointsForObjectLambdaCommand = exports.deserializeAws_restXmlListAccessPointsCommand = exports.deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand = void 0;
3
+ exports.serializeAws_restXmlPutAccessPointPolicyCommand = exports.serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = exports.serializeAws_restXmlListStorageLensConfigurationsCommand = exports.serializeAws_restXmlListRegionalBucketsCommand = exports.serializeAws_restXmlListMultiRegionAccessPointsCommand = exports.serializeAws_restXmlListJobsCommand = exports.serializeAws_restXmlListAccessPointsForObjectLambdaCommand = exports.serializeAws_restXmlListAccessPointsCommand = exports.serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlGetStorageLensConfigurationCommand = exports.serializeAws_restXmlGetPublicAccessBlockCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = exports.serializeAws_restXmlGetMultiRegionAccessPointCommand = exports.serializeAws_restXmlGetJobTaggingCommand = exports.serializeAws_restXmlGetBucketVersioningCommand = exports.serializeAws_restXmlGetBucketTaggingCommand = exports.serializeAws_restXmlGetBucketReplicationCommand = exports.serializeAws_restXmlGetBucketPolicyCommand = exports.serializeAws_restXmlGetBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlGetBucketCommand = exports.serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointPolicyStatusCommand = exports.serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointPolicyCommand = exports.serializeAws_restXmlGetAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = exports.serializeAws_restXmlGetAccessPointCommand = exports.serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = exports.serializeAws_restXmlDescribeJobCommand = exports.serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlDeleteStorageLensConfigurationCommand = exports.serializeAws_restXmlDeletePublicAccessBlockCommand = exports.serializeAws_restXmlDeleteMultiRegionAccessPointCommand = exports.serializeAws_restXmlDeleteJobTaggingCommand = exports.serializeAws_restXmlDeleteBucketTaggingCommand = exports.serializeAws_restXmlDeleteBucketReplicationCommand = exports.serializeAws_restXmlDeleteBucketPolicyCommand = exports.serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlDeleteBucketCommand = exports.serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = exports.serializeAws_restXmlDeleteAccessPointPolicyCommand = exports.serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlDeleteAccessPointCommand = exports.serializeAws_restXmlCreateMultiRegionAccessPointCommand = exports.serializeAws_restXmlCreateJobCommand = exports.serializeAws_restXmlCreateBucketCommand = exports.serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = exports.serializeAws_restXmlCreateAccessPointCommand = void 0;
4
+ exports.deserializeAws_restXmlGetMultiRegionAccessPointCommand = exports.deserializeAws_restXmlGetJobTaggingCommand = exports.deserializeAws_restXmlGetBucketVersioningCommand = exports.deserializeAws_restXmlGetBucketTaggingCommand = exports.deserializeAws_restXmlGetBucketReplicationCommand = exports.deserializeAws_restXmlGetBucketPolicyCommand = exports.deserializeAws_restXmlGetBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlGetBucketCommand = exports.deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointPolicyStatusCommand = exports.deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointPolicyCommand = exports.deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = exports.deserializeAws_restXmlGetAccessPointCommand = exports.deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = exports.deserializeAws_restXmlDescribeJobCommand = exports.deserializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = exports.deserializeAws_restXmlDeleteStorageLensConfigurationCommand = exports.deserializeAws_restXmlDeletePublicAccessBlockCommand = exports.deserializeAws_restXmlDeleteMultiRegionAccessPointCommand = exports.deserializeAws_restXmlDeleteJobTaggingCommand = exports.deserializeAws_restXmlDeleteBucketTaggingCommand = exports.deserializeAws_restXmlDeleteBucketReplicationCommand = exports.deserializeAws_restXmlDeleteBucketPolicyCommand = exports.deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlDeleteBucketCommand = exports.deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlDeleteAccessPointPolicyCommand = exports.deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlDeleteAccessPointCommand = exports.deserializeAws_restXmlCreateMultiRegionAccessPointCommand = exports.deserializeAws_restXmlCreateJobCommand = exports.deserializeAws_restXmlCreateBucketCommand = exports.deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = exports.deserializeAws_restXmlCreateAccessPointCommand = exports.serializeAws_restXmlUpdateJobStatusCommand = exports.serializeAws_restXmlUpdateJobPriorityCommand = exports.serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = exports.serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = exports.serializeAws_restXmlPutStorageLensConfigurationCommand = exports.serializeAws_restXmlPutPublicAccessBlockCommand = exports.serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = exports.serializeAws_restXmlPutJobTaggingCommand = exports.serializeAws_restXmlPutBucketVersioningCommand = exports.serializeAws_restXmlPutBucketTaggingCommand = exports.serializeAws_restXmlPutBucketReplicationCommand = exports.serializeAws_restXmlPutBucketPolicyCommand = exports.serializeAws_restXmlPutBucketLifecycleConfigurationCommand = exports.serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = void 0;
5
+ exports.deserializeAws_restXmlUpdateJobStatusCommand = exports.deserializeAws_restXmlUpdateJobPriorityCommand = exports.deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = exports.deserializeAws_restXmlPutStorageLensConfigurationTaggingCommand = exports.deserializeAws_restXmlPutStorageLensConfigurationCommand = exports.deserializeAws_restXmlPutPublicAccessBlockCommand = exports.deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = exports.deserializeAws_restXmlPutJobTaggingCommand = exports.deserializeAws_restXmlPutBucketVersioningCommand = exports.deserializeAws_restXmlPutBucketTaggingCommand = exports.deserializeAws_restXmlPutBucketReplicationCommand = exports.deserializeAws_restXmlPutBucketPolicyCommand = exports.deserializeAws_restXmlPutBucketLifecycleConfigurationCommand = exports.deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = exports.deserializeAws_restXmlPutAccessPointPolicyCommand = exports.deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = exports.deserializeAws_restXmlListStorageLensConfigurationsCommand = exports.deserializeAws_restXmlListRegionalBucketsCommand = exports.deserializeAws_restXmlListMultiRegionAccessPointsCommand = exports.deserializeAws_restXmlListJobsCommand = exports.deserializeAws_restXmlListAccessPointsForObjectLambdaCommand = exports.deserializeAws_restXmlListAccessPointsCommand = exports.deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand = exports.deserializeAws_restXmlGetStorageLensConfigurationCommand = exports.deserializeAws_restXmlGetPublicAccessBlockCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = exports.deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const xml_builder_1 = require("@aws-sdk/xml-builder");
@@ -482,6 +482,36 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
482
482
  });
483
483
  };
484
484
  exports.serializeAws_restXmlDeleteBucketPolicyCommand = serializeAws_restXmlDeleteBucketPolicyCommand;
485
+ const serializeAws_restXmlDeleteBucketReplicationCommand = async (input, context) => {
486
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
487
+ const headers = map({}, isSerializableHeaderValue, {
488
+ "x-amz-account-id": input.AccountId,
489
+ });
490
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/replication";
491
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
492
+ let body;
493
+ let { hostname: resolvedHostname } = await context.endpoint();
494
+ if (context.disableHostPrefix !== true) {
495
+ resolvedHostname = "{AccountId}." + resolvedHostname;
496
+ if (input.AccountId === undefined) {
497
+ throw new Error("Empty value provided for input host prefix: AccountId.");
498
+ }
499
+ resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
500
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
501
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
502
+ }
503
+ }
504
+ return new protocol_http_1.HttpRequest({
505
+ protocol,
506
+ hostname: resolvedHostname,
507
+ port,
508
+ method: "DELETE",
509
+ headers,
510
+ path: resolvedPath,
511
+ body,
512
+ });
513
+ };
514
+ exports.serializeAws_restXmlDeleteBucketReplicationCommand = serializeAws_restXmlDeleteBucketReplicationCommand;
485
515
  const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) => {
486
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
487
517
  const headers = map({}, isSerializableHeaderValue, {
@@ -1044,6 +1074,36 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
1044
1074
  });
1045
1075
  };
1046
1076
  exports.serializeAws_restXmlGetBucketPolicyCommand = serializeAws_restXmlGetBucketPolicyCommand;
1077
+ const serializeAws_restXmlGetBucketReplicationCommand = async (input, context) => {
1078
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1079
+ const headers = map({}, isSerializableHeaderValue, {
1080
+ "x-amz-account-id": input.AccountId,
1081
+ });
1082
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/replication";
1083
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
1084
+ let body;
1085
+ let { hostname: resolvedHostname } = await context.endpoint();
1086
+ if (context.disableHostPrefix !== true) {
1087
+ resolvedHostname = "{AccountId}." + resolvedHostname;
1088
+ if (input.AccountId === undefined) {
1089
+ throw new Error("Empty value provided for input host prefix: AccountId.");
1090
+ }
1091
+ resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1092
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1093
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1094
+ }
1095
+ }
1096
+ return new protocol_http_1.HttpRequest({
1097
+ protocol,
1098
+ hostname: resolvedHostname,
1099
+ port,
1100
+ method: "GET",
1101
+ headers,
1102
+ path: resolvedPath,
1103
+ body,
1104
+ });
1105
+ };
1106
+ exports.serializeAws_restXmlGetBucketReplicationCommand = serializeAws_restXmlGetBucketReplicationCommand;
1047
1107
  const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
1048
1108
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1049
1109
  const headers = map({}, isSerializableHeaderValue, {
@@ -1755,6 +1815,47 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
1755
1815
  });
1756
1816
  };
1757
1817
  exports.serializeAws_restXmlPutBucketPolicyCommand = serializeAws_restXmlPutBucketPolicyCommand;
1818
+ const serializeAws_restXmlPutBucketReplicationCommand = async (input, context) => {
1819
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1820
+ const headers = map({}, isSerializableHeaderValue, {
1821
+ "content-type": "application/xml",
1822
+ "x-amz-account-id": input.AccountId,
1823
+ });
1824
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/replication";
1825
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
1826
+ let body;
1827
+ if (input.ReplicationConfiguration !== undefined) {
1828
+ body = serializeAws_restXmlReplicationConfiguration(input.ReplicationConfiguration, context);
1829
+ }
1830
+ let contents;
1831
+ if (input.ReplicationConfiguration !== undefined) {
1832
+ contents = serializeAws_restXmlReplicationConfiguration(input.ReplicationConfiguration, context);
1833
+ body = '<?xml version="1.0" encoding="UTF-8"?>';
1834
+ contents.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
1835
+ body += contents.toString();
1836
+ }
1837
+ let { hostname: resolvedHostname } = await context.endpoint();
1838
+ if (context.disableHostPrefix !== true) {
1839
+ resolvedHostname = "{AccountId}." + resolvedHostname;
1840
+ if (input.AccountId === undefined) {
1841
+ throw new Error("Empty value provided for input host prefix: AccountId.");
1842
+ }
1843
+ resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1844
+ if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1845
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1846
+ }
1847
+ }
1848
+ return new protocol_http_1.HttpRequest({
1849
+ protocol,
1850
+ hostname: resolvedHostname,
1851
+ port,
1852
+ method: "PUT",
1853
+ headers,
1854
+ path: resolvedPath,
1855
+ body,
1856
+ });
1857
+ };
1858
+ exports.serializeAws_restXmlPutBucketReplicationCommand = serializeAws_restXmlPutBucketReplicationCommand;
1758
1859
  const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
1759
1860
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1760
1861
  const headers = map({}, isSerializableHeaderValue, {
@@ -2208,6 +2309,9 @@ const deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (out
2208
2309
  $metadata: deserializeMetadata(output),
2209
2310
  });
2210
2311
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2312
+ if (data["Alias"] !== undefined) {
2313
+ contents.Alias = deserializeAws_restXmlObjectLambdaAccessPointAlias(data["Alias"], context);
2314
+ }
2211
2315
  if (data["ObjectLambdaAccessPointArn"] !== undefined) {
2212
2316
  contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(data["ObjectLambdaAccessPointArn"]);
2213
2317
  }
@@ -2512,6 +2616,31 @@ const deserializeAws_restXmlDeleteBucketPolicyCommandError = async (output, cont
2512
2616
  errorCode,
2513
2617
  });
2514
2618
  };
2619
+ const deserializeAws_restXmlDeleteBucketReplicationCommand = async (output, context) => {
2620
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2621
+ return deserializeAws_restXmlDeleteBucketReplicationCommandError(output, context);
2622
+ }
2623
+ const contents = map({
2624
+ $metadata: deserializeMetadata(output),
2625
+ });
2626
+ await collectBody(output.body, context);
2627
+ return contents;
2628
+ };
2629
+ exports.deserializeAws_restXmlDeleteBucketReplicationCommand = deserializeAws_restXmlDeleteBucketReplicationCommand;
2630
+ const deserializeAws_restXmlDeleteBucketReplicationCommandError = async (output, context) => {
2631
+ const parsedOutput = {
2632
+ ...output,
2633
+ body: await parseErrorBody(output.body, context),
2634
+ };
2635
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
2636
+ const parsedBody = parsedOutput.body;
2637
+ (0, smithy_client_1.throwDefaultError)({
2638
+ output,
2639
+ parsedBody: parsedBody.Error,
2640
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
2641
+ errorCode,
2642
+ });
2643
+ };
2515
2644
  const deserializeAws_restXmlDeleteBucketTaggingCommand = async (output, context) => {
2516
2645
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2517
2646
  return deserializeAws_restXmlDeleteBucketTaggingCommandError(output, context);
@@ -2842,6 +2971,9 @@ const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (output
2842
2971
  $metadata: deserializeMetadata(output),
2843
2972
  });
2844
2973
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2974
+ if (data["Alias"] !== undefined) {
2975
+ contents.Alias = deserializeAws_restXmlObjectLambdaAccessPointAlias(data["Alias"], context);
2976
+ }
2845
2977
  if (data["CreationDate"] !== undefined) {
2846
2978
  contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data["CreationDate"]));
2847
2979
  }
@@ -3073,6 +3205,34 @@ const deserializeAws_restXmlGetBucketPolicyCommandError = async (output, context
3073
3205
  errorCode,
3074
3206
  });
3075
3207
  };
3208
+ const deserializeAws_restXmlGetBucketReplicationCommand = async (output, context) => {
3209
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3210
+ return deserializeAws_restXmlGetBucketReplicationCommandError(output, context);
3211
+ }
3212
+ const contents = map({
3213
+ $metadata: deserializeMetadata(output),
3214
+ });
3215
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3216
+ if (data["ReplicationConfiguration"] !== undefined) {
3217
+ contents.ReplicationConfiguration = deserializeAws_restXmlReplicationConfiguration(data["ReplicationConfiguration"], context);
3218
+ }
3219
+ return contents;
3220
+ };
3221
+ exports.deserializeAws_restXmlGetBucketReplicationCommand = deserializeAws_restXmlGetBucketReplicationCommand;
3222
+ const deserializeAws_restXmlGetBucketReplicationCommandError = async (output, context) => {
3223
+ const parsedOutput = {
3224
+ ...output,
3225
+ body: await parseErrorBody(output.body, context),
3226
+ };
3227
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3228
+ const parsedBody = parsedOutput.body;
3229
+ (0, smithy_client_1.throwDefaultError)({
3230
+ output,
3231
+ parsedBody: parsedBody.Error,
3232
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
3233
+ errorCode,
3234
+ });
3235
+ };
3076
3236
  const deserializeAws_restXmlGetBucketTaggingCommand = async (output, context) => {
3077
3237
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3078
3238
  return deserializeAws_restXmlGetBucketTaggingCommandError(output, context);
@@ -3727,6 +3887,31 @@ const deserializeAws_restXmlPutBucketPolicyCommandError = async (output, context
3727
3887
  errorCode,
3728
3888
  });
3729
3889
  };
3890
+ const deserializeAws_restXmlPutBucketReplicationCommand = async (output, context) => {
3891
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3892
+ return deserializeAws_restXmlPutBucketReplicationCommandError(output, context);
3893
+ }
3894
+ const contents = map({
3895
+ $metadata: deserializeMetadata(output),
3896
+ });
3897
+ await collectBody(output.body, context);
3898
+ return contents;
3899
+ };
3900
+ exports.deserializeAws_restXmlPutBucketReplicationCommand = deserializeAws_restXmlPutBucketReplicationCommand;
3901
+ const deserializeAws_restXmlPutBucketReplicationCommandError = async (output, context) => {
3902
+ const parsedOutput = {
3903
+ ...output,
3904
+ body: await parseErrorBody(output.body, context),
3905
+ };
3906
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3907
+ const parsedBody = parsedOutput.body;
3908
+ (0, smithy_client_1.throwDefaultError)({
3909
+ output,
3910
+ parsedBody: parsedBody.Error,
3911
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
3912
+ errorCode,
3913
+ });
3914
+ };
3730
3915
  const deserializeAws_restXmlPutBucketTaggingCommand = async (output, context) => {
3731
3916
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3732
3917
  return deserializeAws_restXmlPutBucketTaggingCommandError(output, context);
@@ -4190,6 +4375,14 @@ const serializeAws_restXmlAbortIncompleteMultipartUpload = (input, context) => {
4190
4375
  }
4191
4376
  return bodyNode;
4192
4377
  };
4378
+ const serializeAws_restXmlAccessControlTranslation = (input, context) => {
4379
+ const bodyNode = new xml_builder_1.XmlNode("AccessControlTranslation");
4380
+ if (input.Owner != null) {
4381
+ const node = xml_builder_1.XmlNode.of("OwnerOverride", input.Owner).withName("Owner");
4382
+ bodyNode.addChildNode(node);
4383
+ }
4384
+ return bodyNode;
4385
+ };
4193
4386
  const serializeAws_restXmlAccountLevel = (input, context) => {
4194
4387
  const bodyNode = new xml_builder_1.XmlNode("AccountLevel");
4195
4388
  if (input.ActivityMetrics != null) {
@@ -4318,6 +4511,14 @@ const serializeAws_restXmlCreateMultiRegionAccessPointInput = (input, context) =
4318
4511
  }
4319
4512
  return bodyNode;
4320
4513
  };
4514
+ const serializeAws_restXmlDeleteMarkerReplication = (input, context) => {
4515
+ const bodyNode = new xml_builder_1.XmlNode("DeleteMarkerReplication");
4516
+ if (input.Status != null) {
4517
+ const node = xml_builder_1.XmlNode.of("DeleteMarkerReplicationStatus", input.Status).withName("Status");
4518
+ bodyNode.addChildNode(node);
4519
+ }
4520
+ return bodyNode;
4521
+ };
4321
4522
  const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) => {
4322
4523
  const bodyNode = new xml_builder_1.XmlNode("DeleteMultiRegionAccessPointInput");
4323
4524
  if (input.Name != null) {
@@ -4326,6 +4527,38 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) =
4326
4527
  }
4327
4528
  return bodyNode;
4328
4529
  };
4530
+ const serializeAws_restXmlDestination = (input, context) => {
4531
+ const bodyNode = new xml_builder_1.XmlNode("Destination");
4532
+ if (input.Account != null) {
4533
+ const node = xml_builder_1.XmlNode.of("AccountId", input.Account).withName("Account");
4534
+ bodyNode.addChildNode(node);
4535
+ }
4536
+ if (input.Bucket != null) {
4537
+ const node = xml_builder_1.XmlNode.of("BucketIdentifierString", input.Bucket).withName("Bucket");
4538
+ bodyNode.addChildNode(node);
4539
+ }
4540
+ if (input.ReplicationTime != null) {
4541
+ const node = serializeAws_restXmlReplicationTime(input.ReplicationTime, context).withName("ReplicationTime");
4542
+ bodyNode.addChildNode(node);
4543
+ }
4544
+ if (input.AccessControlTranslation != null) {
4545
+ const node = serializeAws_restXmlAccessControlTranslation(input.AccessControlTranslation, context).withName("AccessControlTranslation");
4546
+ bodyNode.addChildNode(node);
4547
+ }
4548
+ if (input.EncryptionConfiguration != null) {
4549
+ const node = serializeAws_restXmlEncryptionConfiguration(input.EncryptionConfiguration, context).withName("EncryptionConfiguration");
4550
+ bodyNode.addChildNode(node);
4551
+ }
4552
+ if (input.Metrics != null) {
4553
+ const node = serializeAws_restXmlMetrics(input.Metrics, context).withName("Metrics");
4554
+ bodyNode.addChildNode(node);
4555
+ }
4556
+ if (input.StorageClass != null) {
4557
+ const node = xml_builder_1.XmlNode.of("ReplicationStorageClass", input.StorageClass).withName("StorageClass");
4558
+ bodyNode.addChildNode(node);
4559
+ }
4560
+ return bodyNode;
4561
+ };
4329
4562
  const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
4330
4563
  const bodyNode = new xml_builder_1.XmlNode("DetailedStatusCodesMetrics");
4331
4564
  if (input.IsEnabled != null) {
@@ -4334,6 +4567,14 @@ const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
4334
4567
  }
4335
4568
  return bodyNode;
4336
4569
  };
4570
+ const serializeAws_restXmlEncryptionConfiguration = (input, context) => {
4571
+ const bodyNode = new xml_builder_1.XmlNode("EncryptionConfiguration");
4572
+ if (input.ReplicaKmsKeyID != null) {
4573
+ const node = xml_builder_1.XmlNode.of("ReplicaKmsKeyID", input.ReplicaKmsKeyID).withName("ReplicaKmsKeyID");
4574
+ bodyNode.addChildNode(node);
4575
+ }
4576
+ return bodyNode;
4577
+ };
4337
4578
  const serializeAws_restXml_Exclude = (input, context) => {
4338
4579
  const bodyNode = new xml_builder_1.XmlNode("Exclude");
4339
4580
  if (input.Buckets != null) {
@@ -4354,6 +4595,14 @@ const serializeAws_restXml_Exclude = (input, context) => {
4354
4595
  }
4355
4596
  return bodyNode;
4356
4597
  };
4598
+ const serializeAws_restXmlExistingObjectReplication = (input, context) => {
4599
+ const bodyNode = new xml_builder_1.XmlNode("ExistingObjectReplication");
4600
+ if (input.Status != null) {
4601
+ const node = xml_builder_1.XmlNode.of("ExistingObjectReplicationStatus", input.Status).withName("Status");
4602
+ bodyNode.addChildNode(node);
4603
+ }
4604
+ return bodyNode;
4605
+ };
4357
4606
  const serializeAws_restXmlGeneratedManifestEncryption = (input, context) => {
4358
4607
  const bodyNode = new xml_builder_1.XmlNode("GeneratedManifestEncryption");
4359
4608
  if (input.SSES3 != null) {
@@ -4692,6 +4941,18 @@ const serializeAws_restXmlLifecycleRules = (input, context) => {
4692
4941
  return node.withName("Rule");
4693
4942
  });
4694
4943
  };
4944
+ const serializeAws_restXmlMetrics = (input, context) => {
4945
+ const bodyNode = new xml_builder_1.XmlNode("Metrics");
4946
+ if (input.Status != null) {
4947
+ const node = xml_builder_1.XmlNode.of("MetricsStatus", input.Status).withName("Status");
4948
+ bodyNode.addChildNode(node);
4949
+ }
4950
+ if (input.EventThreshold != null) {
4951
+ const node = serializeAws_restXmlReplicationTimeValue(input.EventThreshold, context).withName("EventThreshold");
4952
+ bodyNode.addChildNode(node);
4953
+ }
4954
+ return bodyNode;
4955
+ };
4695
4956
  const serializeAws_restXmlMultiRegionAccessPointRoute = (input, context) => {
4696
4957
  const bodyNode = new xml_builder_1.XmlNode("MultiRegionAccessPointRoute");
4697
4958
  if (input.Bucket != null) {
@@ -4888,6 +5149,10 @@ const serializeAws_restXmlRegion = (input, context) => {
4888
5149
  const node = xml_builder_1.XmlNode.of("BucketName", input.Bucket).withName("Bucket");
4889
5150
  bodyNode.addChildNode(node);
4890
5151
  }
5152
+ if (input.BucketAccountId != null) {
5153
+ const node = xml_builder_1.XmlNode.of("AccountId", input.BucketAccountId).withName("BucketAccountId");
5154
+ bodyNode.addChildNode(node);
5155
+ }
4891
5156
  return bodyNode;
4892
5157
  };
4893
5158
  const serializeAws_restXmlRegionCreationList = (input, context) => {
@@ -4906,6 +5171,114 @@ const serializeAws_restXmlRegions = (input, context) => {
4906
5171
  return node.withName("Region");
4907
5172
  });
4908
5173
  };
5174
+ const serializeAws_restXmlReplicaModifications = (input, context) => {
5175
+ const bodyNode = new xml_builder_1.XmlNode("ReplicaModifications");
5176
+ if (input.Status != null) {
5177
+ const node = xml_builder_1.XmlNode.of("ReplicaModificationsStatus", input.Status).withName("Status");
5178
+ bodyNode.addChildNode(node);
5179
+ }
5180
+ return bodyNode;
5181
+ };
5182
+ const serializeAws_restXmlReplicationConfiguration = (input, context) => {
5183
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationConfiguration");
5184
+ if (input.Role != null) {
5185
+ const node = xml_builder_1.XmlNode.of("Role", input.Role).withName("Role");
5186
+ bodyNode.addChildNode(node);
5187
+ }
5188
+ if (input.Rules != null) {
5189
+ const nodes = serializeAws_restXmlReplicationRules(input.Rules, context);
5190
+ const containerNode = new xml_builder_1.XmlNode("Rules");
5191
+ nodes.map((node) => {
5192
+ containerNode.addChildNode(node);
5193
+ });
5194
+ bodyNode.addChildNode(containerNode);
5195
+ }
5196
+ return bodyNode;
5197
+ };
5198
+ const serializeAws_restXmlReplicationRule = (input, context) => {
5199
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRule");
5200
+ if (input.ID != null) {
5201
+ const node = xml_builder_1.XmlNode.of("ID", input.ID).withName("ID");
5202
+ bodyNode.addChildNode(node);
5203
+ }
5204
+ if (input.Priority != null) {
5205
+ const node = xml_builder_1.XmlNode.of("Priority", String(input.Priority)).withName("Priority");
5206
+ bodyNode.addChildNode(node);
5207
+ }
5208
+ if (input.Prefix != null) {
5209
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5210
+ bodyNode.addChildNode(node);
5211
+ }
5212
+ if (input.Filter != null) {
5213
+ const node = serializeAws_restXmlReplicationRuleFilter(input.Filter, context).withName("Filter");
5214
+ bodyNode.addChildNode(node);
5215
+ }
5216
+ if (input.Status != null) {
5217
+ const node = xml_builder_1.XmlNode.of("ReplicationRuleStatus", input.Status).withName("Status");
5218
+ bodyNode.addChildNode(node);
5219
+ }
5220
+ if (input.SourceSelectionCriteria != null) {
5221
+ const node = serializeAws_restXmlSourceSelectionCriteria(input.SourceSelectionCriteria, context).withName("SourceSelectionCriteria");
5222
+ bodyNode.addChildNode(node);
5223
+ }
5224
+ if (input.ExistingObjectReplication != null) {
5225
+ const node = serializeAws_restXmlExistingObjectReplication(input.ExistingObjectReplication, context).withName("ExistingObjectReplication");
5226
+ bodyNode.addChildNode(node);
5227
+ }
5228
+ if (input.Destination != null) {
5229
+ const node = serializeAws_restXmlDestination(input.Destination, context).withName("Destination");
5230
+ bodyNode.addChildNode(node);
5231
+ }
5232
+ if (input.DeleteMarkerReplication != null) {
5233
+ const node = serializeAws_restXmlDeleteMarkerReplication(input.DeleteMarkerReplication, context).withName("DeleteMarkerReplication");
5234
+ bodyNode.addChildNode(node);
5235
+ }
5236
+ if (input.Bucket != null) {
5237
+ const node = xml_builder_1.XmlNode.of("BucketIdentifierString", input.Bucket).withName("Bucket");
5238
+ bodyNode.addChildNode(node);
5239
+ }
5240
+ return bodyNode;
5241
+ };
5242
+ const serializeAws_restXmlReplicationRuleAndOperator = (input, context) => {
5243
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRuleAndOperator");
5244
+ if (input.Prefix != null) {
5245
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5246
+ bodyNode.addChildNode(node);
5247
+ }
5248
+ if (input.Tags != null) {
5249
+ const nodes = serializeAws_restXmlS3TagSet(input.Tags, context);
5250
+ const containerNode = new xml_builder_1.XmlNode("Tags");
5251
+ nodes.map((node) => {
5252
+ containerNode.addChildNode(node);
5253
+ });
5254
+ bodyNode.addChildNode(containerNode);
5255
+ }
5256
+ return bodyNode;
5257
+ };
5258
+ const serializeAws_restXmlReplicationRuleFilter = (input, context) => {
5259
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRuleFilter");
5260
+ if (input.Prefix != null) {
5261
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5262
+ bodyNode.addChildNode(node);
5263
+ }
5264
+ if (input.Tag != null) {
5265
+ const node = serializeAws_restXmlS3Tag(input.Tag, context).withName("Tag");
5266
+ bodyNode.addChildNode(node);
5267
+ }
5268
+ if (input.And != null) {
5269
+ const node = serializeAws_restXmlReplicationRuleAndOperator(input.And, context).withName("And");
5270
+ bodyNode.addChildNode(node);
5271
+ }
5272
+ return bodyNode;
5273
+ };
5274
+ const serializeAws_restXmlReplicationRules = (input, context) => {
5275
+ return input
5276
+ .filter((e) => e != null)
5277
+ .map((entry) => {
5278
+ const node = serializeAws_restXmlReplicationRule(entry, context);
5279
+ return node.withName("Rule");
5280
+ });
5281
+ };
4909
5282
  const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
4910
5283
  return input
4911
5284
  .filter((e) => e != null)
@@ -4914,6 +5287,26 @@ const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
4914
5287
  return node.withName("member");
4915
5288
  });
4916
5289
  };
5290
+ const serializeAws_restXmlReplicationTime = (input, context) => {
5291
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationTime");
5292
+ if (input.Status != null) {
5293
+ const node = xml_builder_1.XmlNode.of("ReplicationTimeStatus", input.Status).withName("Status");
5294
+ bodyNode.addChildNode(node);
5295
+ }
5296
+ if (input.Time != null) {
5297
+ const node = serializeAws_restXmlReplicationTimeValue(input.Time, context).withName("Time");
5298
+ bodyNode.addChildNode(node);
5299
+ }
5300
+ return bodyNode;
5301
+ };
5302
+ const serializeAws_restXmlReplicationTimeValue = (input, context) => {
5303
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationTimeValue");
5304
+ if (input.Minutes != null) {
5305
+ const node = xml_builder_1.XmlNode.of("Minutes", String(input.Minutes)).withName("Minutes");
5306
+ bodyNode.addChildNode(node);
5307
+ }
5308
+ return bodyNode;
5309
+ };
4917
5310
  const serializeAws_restXmlRouteList = (input, context) => {
4918
5311
  return input
4919
5312
  .filter((e) => e != null)
@@ -5357,6 +5750,18 @@ const serializeAws_restXmlSelectionCriteria = (input, context) => {
5357
5750
  }
5358
5751
  return bodyNode;
5359
5752
  };
5753
+ const serializeAws_restXmlSourceSelectionCriteria = (input, context) => {
5754
+ const bodyNode = new xml_builder_1.XmlNode("SourceSelectionCriteria");
5755
+ if (input.SseKmsEncryptedObjects != null) {
5756
+ const node = serializeAws_restXmlSseKmsEncryptedObjects(input.SseKmsEncryptedObjects, context).withName("SseKmsEncryptedObjects");
5757
+ bodyNode.addChildNode(node);
5758
+ }
5759
+ if (input.ReplicaModifications != null) {
5760
+ const node = serializeAws_restXmlReplicaModifications(input.ReplicaModifications, context).withName("ReplicaModifications");
5761
+ bodyNode.addChildNode(node);
5762
+ }
5763
+ return bodyNode;
5764
+ };
5360
5765
  const serializeAws_restXmlSSEKMS = (input, context) => {
5361
5766
  const bodyNode = new xml_builder_1.XmlNode("SSE-KMS");
5362
5767
  if (input.KeyId != null) {
@@ -5365,6 +5770,14 @@ const serializeAws_restXmlSSEKMS = (input, context) => {
5365
5770
  }
5366
5771
  return bodyNode;
5367
5772
  };
5773
+ const serializeAws_restXmlSseKmsEncryptedObjects = (input, context) => {
5774
+ const bodyNode = new xml_builder_1.XmlNode("SseKmsEncryptedObjects");
5775
+ if (input.Status != null) {
5776
+ const node = xml_builder_1.XmlNode.of("SseKmsEncryptedObjectsStatus", input.Status).withName("Status");
5777
+ bodyNode.addChildNode(node);
5778
+ }
5779
+ return bodyNode;
5780
+ };
5368
5781
  const serializeAws_restXmlSSEKMSEncryption = (input, context) => {
5369
5782
  const bodyNode = new xml_builder_1.XmlNode("SSE-KMS");
5370
5783
  if (input.KeyId != null) {
@@ -5534,6 +5947,15 @@ const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) =
5534
5947
  }
5535
5948
  return contents;
5536
5949
  };
5950
+ const deserializeAws_restXmlAccessControlTranslation = (output, context) => {
5951
+ const contents = {
5952
+ Owner: undefined,
5953
+ };
5954
+ if (output["Owner"] !== undefined) {
5955
+ contents.Owner = (0, smithy_client_1.expectString)(output["Owner"]);
5956
+ }
5957
+ return contents;
5958
+ };
5537
5959
  const deserializeAws_restXmlAccessPoint = (output, context) => {
5538
5960
  const contents = {
5539
5961
  Name: undefined,
@@ -5780,6 +6202,15 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
5780
6202
  }
5781
6203
  return contents;
5782
6204
  };
6205
+ const deserializeAws_restXmlDeleteMarkerReplication = (output, context) => {
6206
+ const contents = {
6207
+ Status: undefined,
6208
+ };
6209
+ if (output["Status"] !== undefined) {
6210
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6211
+ }
6212
+ return contents;
6213
+ };
5783
6214
  const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context) => {
5784
6215
  const contents = {
5785
6216
  Name: undefined,
@@ -5789,6 +6220,39 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
5789
6220
  }
5790
6221
  return contents;
5791
6222
  };
6223
+ 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
+ };
6233
+ if (output["Account"] !== undefined) {
6234
+ contents.Account = (0, smithy_client_1.expectString)(output["Account"]);
6235
+ }
6236
+ if (output["Bucket"] !== undefined) {
6237
+ contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6238
+ }
6239
+ if (output["ReplicationTime"] !== undefined) {
6240
+ contents.ReplicationTime = deserializeAws_restXmlReplicationTime(output["ReplicationTime"], context);
6241
+ }
6242
+ if (output["AccessControlTranslation"] !== undefined) {
6243
+ contents.AccessControlTranslation = deserializeAws_restXmlAccessControlTranslation(output["AccessControlTranslation"], context);
6244
+ }
6245
+ if (output["EncryptionConfiguration"] !== undefined) {
6246
+ contents.EncryptionConfiguration = deserializeAws_restXmlEncryptionConfiguration(output["EncryptionConfiguration"], context);
6247
+ }
6248
+ if (output["Metrics"] !== undefined) {
6249
+ contents.Metrics = deserializeAws_restXmlMetrics(output["Metrics"], context);
6250
+ }
6251
+ if (output["StorageClass"] !== undefined) {
6252
+ contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
6253
+ }
6254
+ return contents;
6255
+ };
5792
6256
  const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
5793
6257
  const contents = {
5794
6258
  IsEnabled: undefined,
@@ -5798,6 +6262,15 @@ const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
5798
6262
  }
5799
6263
  return contents;
5800
6264
  };
6265
+ const deserializeAws_restXmlEncryptionConfiguration = (output, context) => {
6266
+ const contents = {
6267
+ ReplicaKmsKeyID: undefined,
6268
+ };
6269
+ if (output["ReplicaKmsKeyID"] !== undefined) {
6270
+ contents.ReplicaKmsKeyID = (0, smithy_client_1.expectString)(output["ReplicaKmsKeyID"]);
6271
+ }
6272
+ return contents;
6273
+ };
5801
6274
  const deserializeAws_restXmlEndpoints = (output, context) => {
5802
6275
  return output.reduce((acc, pair) => {
5803
6276
  if (pair["value"] === null) {
@@ -5835,6 +6308,15 @@ const deserializeAws_restXml_Exclude = (output, context) => {
5835
6308
  }
5836
6309
  return contents;
5837
6310
  };
6311
+ const deserializeAws_restXmlExistingObjectReplication = (output, context) => {
6312
+ const contents = {
6313
+ Status: undefined,
6314
+ };
6315
+ if (output["Status"] !== undefined) {
6316
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6317
+ }
6318
+ return contents;
6319
+ };
5838
6320
  const deserializeAws_restXmlGeneratedManifestEncryption = (output, context) => {
5839
6321
  const contents = {
5840
6322
  SSES3: undefined,
@@ -6346,6 +6828,19 @@ const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context
6346
6828
  }
6347
6829
  return contents;
6348
6830
  };
6831
+ const deserializeAws_restXmlMetrics = (output, context) => {
6832
+ const contents = {
6833
+ Status: undefined,
6834
+ EventThreshold: undefined,
6835
+ };
6836
+ if (output["Status"] !== undefined) {
6837
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6838
+ }
6839
+ if (output["EventThreshold"] !== undefined) {
6840
+ contents.EventThreshold = deserializeAws_restXmlReplicationTimeValue(output["EventThreshold"], context);
6841
+ }
6842
+ return contents;
6843
+ };
6349
6844
  const deserializeAws_restXmlMultiRegionAccessPointPolicyDocument = (output, context) => {
6350
6845
  const contents = {
6351
6846
  Established: undefined,
@@ -6484,6 +6979,7 @@ const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
6484
6979
  const contents = {
6485
6980
  Name: undefined,
6486
6981
  ObjectLambdaAccessPointArn: undefined,
6982
+ Alias: undefined,
6487
6983
  };
6488
6984
  if (output["Name"] !== undefined) {
6489
6985
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
@@ -6491,6 +6987,22 @@ const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
6491
6987
  if (output["ObjectLambdaAccessPointArn"] !== undefined) {
6492
6988
  contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(output["ObjectLambdaAccessPointArn"]);
6493
6989
  }
6990
+ if (output["Alias"] !== undefined) {
6991
+ contents.Alias = deserializeAws_restXmlObjectLambdaAccessPointAlias(output["Alias"], context);
6992
+ }
6993
+ return contents;
6994
+ };
6995
+ const deserializeAws_restXmlObjectLambdaAccessPointAlias = (output, context) => {
6996
+ const contents = {
6997
+ Value: undefined,
6998
+ Status: undefined,
6999
+ };
7000
+ if (output["Value"] !== undefined) {
7001
+ contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7002
+ }
7003
+ if (output["Status"] !== undefined) {
7004
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7005
+ }
6494
7006
  return contents;
6495
7007
  };
6496
7008
  const deserializeAws_restXmlObjectLambdaAccessPointList = (output, context) => {
@@ -6652,10 +7164,14 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, cont
6652
7164
  const deserializeAws_restXmlRegion = (output, context) => {
6653
7165
  const contents = {
6654
7166
  Bucket: undefined,
7167
+ BucketAccountId: undefined,
6655
7168
  };
6656
7169
  if (output["Bucket"] !== undefined) {
6657
7170
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6658
7171
  }
7172
+ if (output["BucketAccountId"] !== undefined) {
7173
+ contents.BucketAccountId = (0, smithy_client_1.expectString)(output["BucketAccountId"]);
7174
+ }
6659
7175
  return contents;
6660
7176
  };
6661
7177
  const deserializeAws_restXmlRegionalBucket = (output, context) => {
@@ -6701,6 +7217,7 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
6701
7217
  const contents = {
6702
7218
  Bucket: undefined,
6703
7219
  Region: undefined,
7220
+ BucketAccountId: undefined,
6704
7221
  };
6705
7222
  if (output["Bucket"] !== undefined) {
6706
7223
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
@@ -6708,6 +7225,9 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
6708
7225
  if (output["Region"] !== undefined) {
6709
7226
  contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
6710
7227
  }
7228
+ if (output["BucketAccountId"] !== undefined) {
7229
+ contents.BucketAccountId = (0, smithy_client_1.expectString)(output["BucketAccountId"]);
7230
+ }
6711
7231
  return contents;
6712
7232
  };
6713
7233
  const deserializeAws_restXmlRegionReportList = (output, context) => {
@@ -6724,6 +7244,116 @@ const deserializeAws_restXmlRegions = (output, context) => {
6724
7244
  return (0, smithy_client_1.expectString)(entry);
6725
7245
  });
6726
7246
  };
7247
+ const deserializeAws_restXmlReplicaModifications = (output, context) => {
7248
+ const contents = {
7249
+ Status: undefined,
7250
+ };
7251
+ if (output["Status"] !== undefined) {
7252
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7253
+ }
7254
+ return contents;
7255
+ };
7256
+ const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
7257
+ const contents = {
7258
+ Role: undefined,
7259
+ Rules: undefined,
7260
+ };
7261
+ if (output["Role"] !== undefined) {
7262
+ contents.Role = (0, smithy_client_1.expectString)(output["Role"]);
7263
+ }
7264
+ if (output.Rules === "") {
7265
+ contents.Rules = [];
7266
+ }
7267
+ else if (output["Rules"] !== undefined && output["Rules"]["Rule"] !== undefined) {
7268
+ contents.Rules = deserializeAws_restXmlReplicationRules((0, smithy_client_1.getArrayIfSingleItem)(output["Rules"]["Rule"]), context);
7269
+ }
7270
+ return contents;
7271
+ };
7272
+ 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
+ };
7285
+ if (output["ID"] !== undefined) {
7286
+ contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
7287
+ }
7288
+ if (output["Priority"] !== undefined) {
7289
+ contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
7290
+ }
7291
+ if (output["Prefix"] !== undefined) {
7292
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7293
+ }
7294
+ if (output["Filter"] !== undefined) {
7295
+ contents.Filter = deserializeAws_restXmlReplicationRuleFilter(output["Filter"], context);
7296
+ }
7297
+ if (output["Status"] !== undefined) {
7298
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7299
+ }
7300
+ if (output["SourceSelectionCriteria"] !== undefined) {
7301
+ contents.SourceSelectionCriteria = deserializeAws_restXmlSourceSelectionCriteria(output["SourceSelectionCriteria"], context);
7302
+ }
7303
+ if (output["ExistingObjectReplication"] !== undefined) {
7304
+ contents.ExistingObjectReplication = deserializeAws_restXmlExistingObjectReplication(output["ExistingObjectReplication"], context);
7305
+ }
7306
+ if (output["Destination"] !== undefined) {
7307
+ contents.Destination = deserializeAws_restXmlDestination(output["Destination"], context);
7308
+ }
7309
+ if (output["DeleteMarkerReplication"] !== undefined) {
7310
+ contents.DeleteMarkerReplication = deserializeAws_restXmlDeleteMarkerReplication(output["DeleteMarkerReplication"], context);
7311
+ }
7312
+ if (output["Bucket"] !== undefined) {
7313
+ contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7314
+ }
7315
+ return contents;
7316
+ };
7317
+ const deserializeAws_restXmlReplicationRuleAndOperator = (output, context) => {
7318
+ const contents = {
7319
+ Prefix: undefined,
7320
+ Tags: undefined,
7321
+ };
7322
+ if (output["Prefix"] !== undefined) {
7323
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7324
+ }
7325
+ if (output.Tags === "") {
7326
+ contents.Tags = [];
7327
+ }
7328
+ else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
7329
+ contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
7330
+ }
7331
+ return contents;
7332
+ };
7333
+ const deserializeAws_restXmlReplicationRuleFilter = (output, context) => {
7334
+ const contents = {
7335
+ Prefix: undefined,
7336
+ Tag: undefined,
7337
+ And: undefined,
7338
+ };
7339
+ if (output["Prefix"] !== undefined) {
7340
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7341
+ }
7342
+ if (output["Tag"] !== undefined) {
7343
+ contents.Tag = deserializeAws_restXmlS3Tag(output["Tag"], context);
7344
+ }
7345
+ if (output["And"] !== undefined) {
7346
+ contents.And = deserializeAws_restXmlReplicationRuleAndOperator(output["And"], context);
7347
+ }
7348
+ return contents;
7349
+ };
7350
+ const deserializeAws_restXmlReplicationRules = (output, context) => {
7351
+ return (output || [])
7352
+ .filter((e) => e != null)
7353
+ .map((entry) => {
7354
+ return deserializeAws_restXmlReplicationRule(entry, context);
7355
+ });
7356
+ };
6727
7357
  const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
6728
7358
  return (output || [])
6729
7359
  .filter((e) => e != null)
@@ -6731,6 +7361,28 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
6731
7361
  return (0, smithy_client_1.expectString)(entry);
6732
7362
  });
6733
7363
  };
7364
+ const deserializeAws_restXmlReplicationTime = (output, context) => {
7365
+ const contents = {
7366
+ Status: undefined,
7367
+ Time: undefined,
7368
+ };
7369
+ if (output["Status"] !== undefined) {
7370
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7371
+ }
7372
+ if (output["Time"] !== undefined) {
7373
+ contents.Time = deserializeAws_restXmlReplicationTimeValue(output["Time"], context);
7374
+ }
7375
+ return contents;
7376
+ };
7377
+ const deserializeAws_restXmlReplicationTimeValue = (output, context) => {
7378
+ const contents = {
7379
+ Minutes: undefined,
7380
+ };
7381
+ if (output["Minutes"] !== undefined) {
7382
+ contents.Minutes = (0, smithy_client_1.strictParseInt32)(output["Minutes"]);
7383
+ }
7384
+ return contents;
7385
+ };
6734
7386
  const deserializeAws_restXmlRouteList = (output, context) => {
6735
7387
  return (output || [])
6736
7388
  .filter((e) => e != null)
@@ -7176,6 +7828,19 @@ const deserializeAws_restXmlSelectionCriteria = (output, context) => {
7176
7828
  }
7177
7829
  return contents;
7178
7830
  };
7831
+ const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
7832
+ const contents = {
7833
+ SseKmsEncryptedObjects: undefined,
7834
+ ReplicaModifications: undefined,
7835
+ };
7836
+ if (output["SseKmsEncryptedObjects"] !== undefined) {
7837
+ contents.SseKmsEncryptedObjects = deserializeAws_restXmlSseKmsEncryptedObjects(output["SseKmsEncryptedObjects"], context);
7838
+ }
7839
+ if (output["ReplicaModifications"] !== undefined) {
7840
+ contents.ReplicaModifications = deserializeAws_restXmlReplicaModifications(output["ReplicaModifications"], context);
7841
+ }
7842
+ return contents;
7843
+ };
7179
7844
  const deserializeAws_restXmlSSEKMS = (output, context) => {
7180
7845
  const contents = {
7181
7846
  KeyId: undefined,
@@ -7185,6 +7850,15 @@ const deserializeAws_restXmlSSEKMS = (output, context) => {
7185
7850
  }
7186
7851
  return contents;
7187
7852
  };
7853
+ const deserializeAws_restXmlSseKmsEncryptedObjects = (output, context) => {
7854
+ const contents = {
7855
+ Status: undefined,
7856
+ };
7857
+ if (output["Status"] !== undefined) {
7858
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7859
+ }
7860
+ return contents;
7861
+ };
7188
7862
  const deserializeAws_restXmlSSEKMSEncryption = (output, context) => {
7189
7863
  const contents = {
7190
7864
  KeyId: undefined,