@aws-sdk/client-s3-control 3.288.0 → 3.290.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 +133 -5
  9. package/dist-cjs/protocols/Aws_restXml.js +654 -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 +108 -0
  17. package/dist-es/protocols/Aws_restXml.js +645 -0
  18. package/dist-types/S3Control.d.ts +222 -29
  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 +85 -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 +122 -0
  74. package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -0
  75. package/dist-types/commands/PutBucketVersioningCommand.d.ts +16 -9
  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 +1 -0
  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 +680 -73
  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 +180 -0
  94. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
  95. package/package.json +34 -34
@@ -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, {
@@ -2512,6 +2613,31 @@ const deserializeAws_restXmlDeleteBucketPolicyCommandError = async (output, cont
2512
2613
  errorCode,
2513
2614
  });
2514
2615
  };
2616
+ const deserializeAws_restXmlDeleteBucketReplicationCommand = async (output, context) => {
2617
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2618
+ return deserializeAws_restXmlDeleteBucketReplicationCommandError(output, context);
2619
+ }
2620
+ const contents = map({
2621
+ $metadata: deserializeMetadata(output),
2622
+ });
2623
+ await collectBody(output.body, context);
2624
+ return contents;
2625
+ };
2626
+ exports.deserializeAws_restXmlDeleteBucketReplicationCommand = deserializeAws_restXmlDeleteBucketReplicationCommand;
2627
+ const deserializeAws_restXmlDeleteBucketReplicationCommandError = async (output, context) => {
2628
+ const parsedOutput = {
2629
+ ...output,
2630
+ body: await parseErrorBody(output.body, context),
2631
+ };
2632
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
2633
+ const parsedBody = parsedOutput.body;
2634
+ (0, smithy_client_1.throwDefaultError)({
2635
+ output,
2636
+ parsedBody: parsedBody.Error,
2637
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
2638
+ errorCode,
2639
+ });
2640
+ };
2515
2641
  const deserializeAws_restXmlDeleteBucketTaggingCommand = async (output, context) => {
2516
2642
  if (output.statusCode !== 204 && output.statusCode >= 300) {
2517
2643
  return deserializeAws_restXmlDeleteBucketTaggingCommandError(output, context);
@@ -3073,6 +3199,34 @@ const deserializeAws_restXmlGetBucketPolicyCommandError = async (output, context
3073
3199
  errorCode,
3074
3200
  });
3075
3201
  };
3202
+ const deserializeAws_restXmlGetBucketReplicationCommand = async (output, context) => {
3203
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3204
+ return deserializeAws_restXmlGetBucketReplicationCommandError(output, context);
3205
+ }
3206
+ const contents = map({
3207
+ $metadata: deserializeMetadata(output),
3208
+ });
3209
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3210
+ if (data["ReplicationConfiguration"] !== undefined) {
3211
+ contents.ReplicationConfiguration = deserializeAws_restXmlReplicationConfiguration(data["ReplicationConfiguration"], context);
3212
+ }
3213
+ return contents;
3214
+ };
3215
+ exports.deserializeAws_restXmlGetBucketReplicationCommand = deserializeAws_restXmlGetBucketReplicationCommand;
3216
+ const deserializeAws_restXmlGetBucketReplicationCommandError = async (output, context) => {
3217
+ const parsedOutput = {
3218
+ ...output,
3219
+ body: await parseErrorBody(output.body, context),
3220
+ };
3221
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3222
+ const parsedBody = parsedOutput.body;
3223
+ (0, smithy_client_1.throwDefaultError)({
3224
+ output,
3225
+ parsedBody: parsedBody.Error,
3226
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
3227
+ errorCode,
3228
+ });
3229
+ };
3076
3230
  const deserializeAws_restXmlGetBucketTaggingCommand = async (output, context) => {
3077
3231
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3078
3232
  return deserializeAws_restXmlGetBucketTaggingCommandError(output, context);
@@ -3727,6 +3881,31 @@ const deserializeAws_restXmlPutBucketPolicyCommandError = async (output, context
3727
3881
  errorCode,
3728
3882
  });
3729
3883
  };
3884
+ const deserializeAws_restXmlPutBucketReplicationCommand = async (output, context) => {
3885
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3886
+ return deserializeAws_restXmlPutBucketReplicationCommandError(output, context);
3887
+ }
3888
+ const contents = map({
3889
+ $metadata: deserializeMetadata(output),
3890
+ });
3891
+ await collectBody(output.body, context);
3892
+ return contents;
3893
+ };
3894
+ exports.deserializeAws_restXmlPutBucketReplicationCommand = deserializeAws_restXmlPutBucketReplicationCommand;
3895
+ const deserializeAws_restXmlPutBucketReplicationCommandError = async (output, context) => {
3896
+ const parsedOutput = {
3897
+ ...output,
3898
+ body: await parseErrorBody(output.body, context),
3899
+ };
3900
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3901
+ const parsedBody = parsedOutput.body;
3902
+ (0, smithy_client_1.throwDefaultError)({
3903
+ output,
3904
+ parsedBody: parsedBody.Error,
3905
+ exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
3906
+ errorCode,
3907
+ });
3908
+ };
3730
3909
  const deserializeAws_restXmlPutBucketTaggingCommand = async (output, context) => {
3731
3910
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3732
3911
  return deserializeAws_restXmlPutBucketTaggingCommandError(output, context);
@@ -4190,6 +4369,14 @@ const serializeAws_restXmlAbortIncompleteMultipartUpload = (input, context) => {
4190
4369
  }
4191
4370
  return bodyNode;
4192
4371
  };
4372
+ const serializeAws_restXmlAccessControlTranslation = (input, context) => {
4373
+ const bodyNode = new xml_builder_1.XmlNode("AccessControlTranslation");
4374
+ if (input.Owner != null) {
4375
+ const node = xml_builder_1.XmlNode.of("OwnerOverride", input.Owner).withName("Owner");
4376
+ bodyNode.addChildNode(node);
4377
+ }
4378
+ return bodyNode;
4379
+ };
4193
4380
  const serializeAws_restXmlAccountLevel = (input, context) => {
4194
4381
  const bodyNode = new xml_builder_1.XmlNode("AccountLevel");
4195
4382
  if (input.ActivityMetrics != null) {
@@ -4318,6 +4505,14 @@ const serializeAws_restXmlCreateMultiRegionAccessPointInput = (input, context) =
4318
4505
  }
4319
4506
  return bodyNode;
4320
4507
  };
4508
+ const serializeAws_restXmlDeleteMarkerReplication = (input, context) => {
4509
+ const bodyNode = new xml_builder_1.XmlNode("DeleteMarkerReplication");
4510
+ if (input.Status != null) {
4511
+ const node = xml_builder_1.XmlNode.of("DeleteMarkerReplicationStatus", input.Status).withName("Status");
4512
+ bodyNode.addChildNode(node);
4513
+ }
4514
+ return bodyNode;
4515
+ };
4321
4516
  const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) => {
4322
4517
  const bodyNode = new xml_builder_1.XmlNode("DeleteMultiRegionAccessPointInput");
4323
4518
  if (input.Name != null) {
@@ -4326,6 +4521,38 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointInput = (input, context) =
4326
4521
  }
4327
4522
  return bodyNode;
4328
4523
  };
4524
+ const serializeAws_restXmlDestination = (input, context) => {
4525
+ const bodyNode = new xml_builder_1.XmlNode("Destination");
4526
+ if (input.Account != null) {
4527
+ const node = xml_builder_1.XmlNode.of("AccountId", input.Account).withName("Account");
4528
+ bodyNode.addChildNode(node);
4529
+ }
4530
+ if (input.Bucket != null) {
4531
+ const node = xml_builder_1.XmlNode.of("BucketIdentifierString", input.Bucket).withName("Bucket");
4532
+ bodyNode.addChildNode(node);
4533
+ }
4534
+ if (input.ReplicationTime != null) {
4535
+ const node = serializeAws_restXmlReplicationTime(input.ReplicationTime, context).withName("ReplicationTime");
4536
+ bodyNode.addChildNode(node);
4537
+ }
4538
+ if (input.AccessControlTranslation != null) {
4539
+ const node = serializeAws_restXmlAccessControlTranslation(input.AccessControlTranslation, context).withName("AccessControlTranslation");
4540
+ bodyNode.addChildNode(node);
4541
+ }
4542
+ if (input.EncryptionConfiguration != null) {
4543
+ const node = serializeAws_restXmlEncryptionConfiguration(input.EncryptionConfiguration, context).withName("EncryptionConfiguration");
4544
+ bodyNode.addChildNode(node);
4545
+ }
4546
+ if (input.Metrics != null) {
4547
+ const node = serializeAws_restXmlMetrics(input.Metrics, context).withName("Metrics");
4548
+ bodyNode.addChildNode(node);
4549
+ }
4550
+ if (input.StorageClass != null) {
4551
+ const node = xml_builder_1.XmlNode.of("ReplicationStorageClass", input.StorageClass).withName("StorageClass");
4552
+ bodyNode.addChildNode(node);
4553
+ }
4554
+ return bodyNode;
4555
+ };
4329
4556
  const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
4330
4557
  const bodyNode = new xml_builder_1.XmlNode("DetailedStatusCodesMetrics");
4331
4558
  if (input.IsEnabled != null) {
@@ -4334,6 +4561,14 @@ const serializeAws_restXmlDetailedStatusCodesMetrics = (input, context) => {
4334
4561
  }
4335
4562
  return bodyNode;
4336
4563
  };
4564
+ const serializeAws_restXmlEncryptionConfiguration = (input, context) => {
4565
+ const bodyNode = new xml_builder_1.XmlNode("EncryptionConfiguration");
4566
+ if (input.ReplicaKmsKeyID != null) {
4567
+ const node = xml_builder_1.XmlNode.of("ReplicaKmsKeyID", input.ReplicaKmsKeyID).withName("ReplicaKmsKeyID");
4568
+ bodyNode.addChildNode(node);
4569
+ }
4570
+ return bodyNode;
4571
+ };
4337
4572
  const serializeAws_restXml_Exclude = (input, context) => {
4338
4573
  const bodyNode = new xml_builder_1.XmlNode("Exclude");
4339
4574
  if (input.Buckets != null) {
@@ -4354,6 +4589,14 @@ const serializeAws_restXml_Exclude = (input, context) => {
4354
4589
  }
4355
4590
  return bodyNode;
4356
4591
  };
4592
+ const serializeAws_restXmlExistingObjectReplication = (input, context) => {
4593
+ const bodyNode = new xml_builder_1.XmlNode("ExistingObjectReplication");
4594
+ if (input.Status != null) {
4595
+ const node = xml_builder_1.XmlNode.of("ExistingObjectReplicationStatus", input.Status).withName("Status");
4596
+ bodyNode.addChildNode(node);
4597
+ }
4598
+ return bodyNode;
4599
+ };
4357
4600
  const serializeAws_restXmlGeneratedManifestEncryption = (input, context) => {
4358
4601
  const bodyNode = new xml_builder_1.XmlNode("GeneratedManifestEncryption");
4359
4602
  if (input.SSES3 != null) {
@@ -4692,6 +4935,18 @@ const serializeAws_restXmlLifecycleRules = (input, context) => {
4692
4935
  return node.withName("Rule");
4693
4936
  });
4694
4937
  };
4938
+ const serializeAws_restXmlMetrics = (input, context) => {
4939
+ const bodyNode = new xml_builder_1.XmlNode("Metrics");
4940
+ if (input.Status != null) {
4941
+ const node = xml_builder_1.XmlNode.of("MetricsStatus", input.Status).withName("Status");
4942
+ bodyNode.addChildNode(node);
4943
+ }
4944
+ if (input.EventThreshold != null) {
4945
+ const node = serializeAws_restXmlReplicationTimeValue(input.EventThreshold, context).withName("EventThreshold");
4946
+ bodyNode.addChildNode(node);
4947
+ }
4948
+ return bodyNode;
4949
+ };
4695
4950
  const serializeAws_restXmlMultiRegionAccessPointRoute = (input, context) => {
4696
4951
  const bodyNode = new xml_builder_1.XmlNode("MultiRegionAccessPointRoute");
4697
4952
  if (input.Bucket != null) {
@@ -4888,6 +5143,10 @@ const serializeAws_restXmlRegion = (input, context) => {
4888
5143
  const node = xml_builder_1.XmlNode.of("BucketName", input.Bucket).withName("Bucket");
4889
5144
  bodyNode.addChildNode(node);
4890
5145
  }
5146
+ if (input.BucketAccountId != null) {
5147
+ const node = xml_builder_1.XmlNode.of("AccountId", input.BucketAccountId).withName("BucketAccountId");
5148
+ bodyNode.addChildNode(node);
5149
+ }
4891
5150
  return bodyNode;
4892
5151
  };
4893
5152
  const serializeAws_restXmlRegionCreationList = (input, context) => {
@@ -4906,6 +5165,114 @@ const serializeAws_restXmlRegions = (input, context) => {
4906
5165
  return node.withName("Region");
4907
5166
  });
4908
5167
  };
5168
+ const serializeAws_restXmlReplicaModifications = (input, context) => {
5169
+ const bodyNode = new xml_builder_1.XmlNode("ReplicaModifications");
5170
+ if (input.Status != null) {
5171
+ const node = xml_builder_1.XmlNode.of("ReplicaModificationsStatus", input.Status).withName("Status");
5172
+ bodyNode.addChildNode(node);
5173
+ }
5174
+ return bodyNode;
5175
+ };
5176
+ const serializeAws_restXmlReplicationConfiguration = (input, context) => {
5177
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationConfiguration");
5178
+ if (input.Role != null) {
5179
+ const node = xml_builder_1.XmlNode.of("Role", input.Role).withName("Role");
5180
+ bodyNode.addChildNode(node);
5181
+ }
5182
+ if (input.Rules != null) {
5183
+ const nodes = serializeAws_restXmlReplicationRules(input.Rules, context);
5184
+ const containerNode = new xml_builder_1.XmlNode("Rules");
5185
+ nodes.map((node) => {
5186
+ containerNode.addChildNode(node);
5187
+ });
5188
+ bodyNode.addChildNode(containerNode);
5189
+ }
5190
+ return bodyNode;
5191
+ };
5192
+ const serializeAws_restXmlReplicationRule = (input, context) => {
5193
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRule");
5194
+ if (input.ID != null) {
5195
+ const node = xml_builder_1.XmlNode.of("ID", input.ID).withName("ID");
5196
+ bodyNode.addChildNode(node);
5197
+ }
5198
+ if (input.Priority != null) {
5199
+ const node = xml_builder_1.XmlNode.of("Priority", String(input.Priority)).withName("Priority");
5200
+ bodyNode.addChildNode(node);
5201
+ }
5202
+ if (input.Prefix != null) {
5203
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5204
+ bodyNode.addChildNode(node);
5205
+ }
5206
+ if (input.Filter != null) {
5207
+ const node = serializeAws_restXmlReplicationRuleFilter(input.Filter, context).withName("Filter");
5208
+ bodyNode.addChildNode(node);
5209
+ }
5210
+ if (input.Status != null) {
5211
+ const node = xml_builder_1.XmlNode.of("ReplicationRuleStatus", input.Status).withName("Status");
5212
+ bodyNode.addChildNode(node);
5213
+ }
5214
+ if (input.SourceSelectionCriteria != null) {
5215
+ const node = serializeAws_restXmlSourceSelectionCriteria(input.SourceSelectionCriteria, context).withName("SourceSelectionCriteria");
5216
+ bodyNode.addChildNode(node);
5217
+ }
5218
+ if (input.ExistingObjectReplication != null) {
5219
+ const node = serializeAws_restXmlExistingObjectReplication(input.ExistingObjectReplication, context).withName("ExistingObjectReplication");
5220
+ bodyNode.addChildNode(node);
5221
+ }
5222
+ if (input.Destination != null) {
5223
+ const node = serializeAws_restXmlDestination(input.Destination, context).withName("Destination");
5224
+ bodyNode.addChildNode(node);
5225
+ }
5226
+ if (input.DeleteMarkerReplication != null) {
5227
+ const node = serializeAws_restXmlDeleteMarkerReplication(input.DeleteMarkerReplication, context).withName("DeleteMarkerReplication");
5228
+ bodyNode.addChildNode(node);
5229
+ }
5230
+ if (input.Bucket != null) {
5231
+ const node = xml_builder_1.XmlNode.of("BucketIdentifierString", input.Bucket).withName("Bucket");
5232
+ bodyNode.addChildNode(node);
5233
+ }
5234
+ return bodyNode;
5235
+ };
5236
+ const serializeAws_restXmlReplicationRuleAndOperator = (input, context) => {
5237
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRuleAndOperator");
5238
+ if (input.Prefix != null) {
5239
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5240
+ bodyNode.addChildNode(node);
5241
+ }
5242
+ if (input.Tags != null) {
5243
+ const nodes = serializeAws_restXmlS3TagSet(input.Tags, context);
5244
+ const containerNode = new xml_builder_1.XmlNode("Tags");
5245
+ nodes.map((node) => {
5246
+ containerNode.addChildNode(node);
5247
+ });
5248
+ bodyNode.addChildNode(containerNode);
5249
+ }
5250
+ return bodyNode;
5251
+ };
5252
+ const serializeAws_restXmlReplicationRuleFilter = (input, context) => {
5253
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationRuleFilter");
5254
+ if (input.Prefix != null) {
5255
+ const node = xml_builder_1.XmlNode.of("Prefix", input.Prefix).withName("Prefix");
5256
+ bodyNode.addChildNode(node);
5257
+ }
5258
+ if (input.Tag != null) {
5259
+ const node = serializeAws_restXmlS3Tag(input.Tag, context).withName("Tag");
5260
+ bodyNode.addChildNode(node);
5261
+ }
5262
+ if (input.And != null) {
5263
+ const node = serializeAws_restXmlReplicationRuleAndOperator(input.And, context).withName("And");
5264
+ bodyNode.addChildNode(node);
5265
+ }
5266
+ return bodyNode;
5267
+ };
5268
+ const serializeAws_restXmlReplicationRules = (input, context) => {
5269
+ return input
5270
+ .filter((e) => e != null)
5271
+ .map((entry) => {
5272
+ const node = serializeAws_restXmlReplicationRule(entry, context);
5273
+ return node.withName("Rule");
5274
+ });
5275
+ };
4909
5276
  const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
4910
5277
  return input
4911
5278
  .filter((e) => e != null)
@@ -4914,6 +5281,26 @@ const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
4914
5281
  return node.withName("member");
4915
5282
  });
4916
5283
  };
5284
+ const serializeAws_restXmlReplicationTime = (input, context) => {
5285
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationTime");
5286
+ if (input.Status != null) {
5287
+ const node = xml_builder_1.XmlNode.of("ReplicationTimeStatus", input.Status).withName("Status");
5288
+ bodyNode.addChildNode(node);
5289
+ }
5290
+ if (input.Time != null) {
5291
+ const node = serializeAws_restXmlReplicationTimeValue(input.Time, context).withName("Time");
5292
+ bodyNode.addChildNode(node);
5293
+ }
5294
+ return bodyNode;
5295
+ };
5296
+ const serializeAws_restXmlReplicationTimeValue = (input, context) => {
5297
+ const bodyNode = new xml_builder_1.XmlNode("ReplicationTimeValue");
5298
+ if (input.Minutes != null) {
5299
+ const node = xml_builder_1.XmlNode.of("Minutes", String(input.Minutes)).withName("Minutes");
5300
+ bodyNode.addChildNode(node);
5301
+ }
5302
+ return bodyNode;
5303
+ };
4917
5304
  const serializeAws_restXmlRouteList = (input, context) => {
4918
5305
  return input
4919
5306
  .filter((e) => e != null)
@@ -5357,6 +5744,18 @@ const serializeAws_restXmlSelectionCriteria = (input, context) => {
5357
5744
  }
5358
5745
  return bodyNode;
5359
5746
  };
5747
+ const serializeAws_restXmlSourceSelectionCriteria = (input, context) => {
5748
+ const bodyNode = new xml_builder_1.XmlNode("SourceSelectionCriteria");
5749
+ if (input.SseKmsEncryptedObjects != null) {
5750
+ const node = serializeAws_restXmlSseKmsEncryptedObjects(input.SseKmsEncryptedObjects, context).withName("SseKmsEncryptedObjects");
5751
+ bodyNode.addChildNode(node);
5752
+ }
5753
+ if (input.ReplicaModifications != null) {
5754
+ const node = serializeAws_restXmlReplicaModifications(input.ReplicaModifications, context).withName("ReplicaModifications");
5755
+ bodyNode.addChildNode(node);
5756
+ }
5757
+ return bodyNode;
5758
+ };
5360
5759
  const serializeAws_restXmlSSEKMS = (input, context) => {
5361
5760
  const bodyNode = new xml_builder_1.XmlNode("SSE-KMS");
5362
5761
  if (input.KeyId != null) {
@@ -5365,6 +5764,14 @@ const serializeAws_restXmlSSEKMS = (input, context) => {
5365
5764
  }
5366
5765
  return bodyNode;
5367
5766
  };
5767
+ const serializeAws_restXmlSseKmsEncryptedObjects = (input, context) => {
5768
+ const bodyNode = new xml_builder_1.XmlNode("SseKmsEncryptedObjects");
5769
+ if (input.Status != null) {
5770
+ const node = xml_builder_1.XmlNode.of("SseKmsEncryptedObjectsStatus", input.Status).withName("Status");
5771
+ bodyNode.addChildNode(node);
5772
+ }
5773
+ return bodyNode;
5774
+ };
5368
5775
  const serializeAws_restXmlSSEKMSEncryption = (input, context) => {
5369
5776
  const bodyNode = new xml_builder_1.XmlNode("SSE-KMS");
5370
5777
  if (input.KeyId != null) {
@@ -5534,6 +5941,15 @@ const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) =
5534
5941
  }
5535
5942
  return contents;
5536
5943
  };
5944
+ const deserializeAws_restXmlAccessControlTranslation = (output, context) => {
5945
+ const contents = {
5946
+ Owner: undefined,
5947
+ };
5948
+ if (output["Owner"] !== undefined) {
5949
+ contents.Owner = (0, smithy_client_1.expectString)(output["Owner"]);
5950
+ }
5951
+ return contents;
5952
+ };
5537
5953
  const deserializeAws_restXmlAccessPoint = (output, context) => {
5538
5954
  const contents = {
5539
5955
  Name: undefined,
@@ -5780,6 +6196,15 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
5780
6196
  }
5781
6197
  return contents;
5782
6198
  };
6199
+ const deserializeAws_restXmlDeleteMarkerReplication = (output, context) => {
6200
+ const contents = {
6201
+ Status: undefined,
6202
+ };
6203
+ if (output["Status"] !== undefined) {
6204
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6205
+ }
6206
+ return contents;
6207
+ };
5783
6208
  const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context) => {
5784
6209
  const contents = {
5785
6210
  Name: undefined,
@@ -5789,6 +6214,39 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
5789
6214
  }
5790
6215
  return contents;
5791
6216
  };
6217
+ const deserializeAws_restXmlDestination = (output, context) => {
6218
+ const contents = {
6219
+ Account: undefined,
6220
+ Bucket: undefined,
6221
+ ReplicationTime: undefined,
6222
+ AccessControlTranslation: undefined,
6223
+ EncryptionConfiguration: undefined,
6224
+ Metrics: undefined,
6225
+ StorageClass: undefined,
6226
+ };
6227
+ if (output["Account"] !== undefined) {
6228
+ contents.Account = (0, smithy_client_1.expectString)(output["Account"]);
6229
+ }
6230
+ if (output["Bucket"] !== undefined) {
6231
+ contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6232
+ }
6233
+ if (output["ReplicationTime"] !== undefined) {
6234
+ contents.ReplicationTime = deserializeAws_restXmlReplicationTime(output["ReplicationTime"], context);
6235
+ }
6236
+ if (output["AccessControlTranslation"] !== undefined) {
6237
+ contents.AccessControlTranslation = deserializeAws_restXmlAccessControlTranslation(output["AccessControlTranslation"], context);
6238
+ }
6239
+ if (output["EncryptionConfiguration"] !== undefined) {
6240
+ contents.EncryptionConfiguration = deserializeAws_restXmlEncryptionConfiguration(output["EncryptionConfiguration"], context);
6241
+ }
6242
+ if (output["Metrics"] !== undefined) {
6243
+ contents.Metrics = deserializeAws_restXmlMetrics(output["Metrics"], context);
6244
+ }
6245
+ if (output["StorageClass"] !== undefined) {
6246
+ contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
6247
+ }
6248
+ return contents;
6249
+ };
5792
6250
  const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
5793
6251
  const contents = {
5794
6252
  IsEnabled: undefined,
@@ -5798,6 +6256,15 @@ const deserializeAws_restXmlDetailedStatusCodesMetrics = (output, context) => {
5798
6256
  }
5799
6257
  return contents;
5800
6258
  };
6259
+ const deserializeAws_restXmlEncryptionConfiguration = (output, context) => {
6260
+ const contents = {
6261
+ ReplicaKmsKeyID: undefined,
6262
+ };
6263
+ if (output["ReplicaKmsKeyID"] !== undefined) {
6264
+ contents.ReplicaKmsKeyID = (0, smithy_client_1.expectString)(output["ReplicaKmsKeyID"]);
6265
+ }
6266
+ return contents;
6267
+ };
5801
6268
  const deserializeAws_restXmlEndpoints = (output, context) => {
5802
6269
  return output.reduce((acc, pair) => {
5803
6270
  if (pair["value"] === null) {
@@ -5835,6 +6302,15 @@ const deserializeAws_restXml_Exclude = (output, context) => {
5835
6302
  }
5836
6303
  return contents;
5837
6304
  };
6305
+ const deserializeAws_restXmlExistingObjectReplication = (output, context) => {
6306
+ const contents = {
6307
+ Status: undefined,
6308
+ };
6309
+ if (output["Status"] !== undefined) {
6310
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6311
+ }
6312
+ return contents;
6313
+ };
5838
6314
  const deserializeAws_restXmlGeneratedManifestEncryption = (output, context) => {
5839
6315
  const contents = {
5840
6316
  SSES3: undefined,
@@ -6346,6 +6822,19 @@ const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context
6346
6822
  }
6347
6823
  return contents;
6348
6824
  };
6825
+ const deserializeAws_restXmlMetrics = (output, context) => {
6826
+ const contents = {
6827
+ Status: undefined,
6828
+ EventThreshold: undefined,
6829
+ };
6830
+ if (output["Status"] !== undefined) {
6831
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6832
+ }
6833
+ if (output["EventThreshold"] !== undefined) {
6834
+ contents.EventThreshold = deserializeAws_restXmlReplicationTimeValue(output["EventThreshold"], context);
6835
+ }
6836
+ return contents;
6837
+ };
6349
6838
  const deserializeAws_restXmlMultiRegionAccessPointPolicyDocument = (output, context) => {
6350
6839
  const contents = {
6351
6840
  Established: undefined,
@@ -6652,10 +7141,14 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, cont
6652
7141
  const deserializeAws_restXmlRegion = (output, context) => {
6653
7142
  const contents = {
6654
7143
  Bucket: undefined,
7144
+ BucketAccountId: undefined,
6655
7145
  };
6656
7146
  if (output["Bucket"] !== undefined) {
6657
7147
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6658
7148
  }
7149
+ if (output["BucketAccountId"] !== undefined) {
7150
+ contents.BucketAccountId = (0, smithy_client_1.expectString)(output["BucketAccountId"]);
7151
+ }
6659
7152
  return contents;
6660
7153
  };
6661
7154
  const deserializeAws_restXmlRegionalBucket = (output, context) => {
@@ -6701,6 +7194,7 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
6701
7194
  const contents = {
6702
7195
  Bucket: undefined,
6703
7196
  Region: undefined,
7197
+ BucketAccountId: undefined,
6704
7198
  };
6705
7199
  if (output["Bucket"] !== undefined) {
6706
7200
  contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
@@ -6708,6 +7202,9 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
6708
7202
  if (output["Region"] !== undefined) {
6709
7203
  contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
6710
7204
  }
7205
+ if (output["BucketAccountId"] !== undefined) {
7206
+ contents.BucketAccountId = (0, smithy_client_1.expectString)(output["BucketAccountId"]);
7207
+ }
6711
7208
  return contents;
6712
7209
  };
6713
7210
  const deserializeAws_restXmlRegionReportList = (output, context) => {
@@ -6724,6 +7221,116 @@ const deserializeAws_restXmlRegions = (output, context) => {
6724
7221
  return (0, smithy_client_1.expectString)(entry);
6725
7222
  });
6726
7223
  };
7224
+ const deserializeAws_restXmlReplicaModifications = (output, context) => {
7225
+ const contents = {
7226
+ Status: undefined,
7227
+ };
7228
+ if (output["Status"] !== undefined) {
7229
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7230
+ }
7231
+ return contents;
7232
+ };
7233
+ const deserializeAws_restXmlReplicationConfiguration = (output, context) => {
7234
+ const contents = {
7235
+ Role: undefined,
7236
+ Rules: undefined,
7237
+ };
7238
+ if (output["Role"] !== undefined) {
7239
+ contents.Role = (0, smithy_client_1.expectString)(output["Role"]);
7240
+ }
7241
+ if (output.Rules === "") {
7242
+ contents.Rules = [];
7243
+ }
7244
+ else if (output["Rules"] !== undefined && output["Rules"]["Rule"] !== undefined) {
7245
+ contents.Rules = deserializeAws_restXmlReplicationRules((0, smithy_client_1.getArrayIfSingleItem)(output["Rules"]["Rule"]), context);
7246
+ }
7247
+ return contents;
7248
+ };
7249
+ const deserializeAws_restXmlReplicationRule = (output, context) => {
7250
+ const contents = {
7251
+ ID: undefined,
7252
+ Priority: undefined,
7253
+ Prefix: undefined,
7254
+ Filter: undefined,
7255
+ Status: undefined,
7256
+ SourceSelectionCriteria: undefined,
7257
+ ExistingObjectReplication: undefined,
7258
+ Destination: undefined,
7259
+ DeleteMarkerReplication: undefined,
7260
+ Bucket: undefined,
7261
+ };
7262
+ if (output["ID"] !== undefined) {
7263
+ contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
7264
+ }
7265
+ if (output["Priority"] !== undefined) {
7266
+ contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
7267
+ }
7268
+ if (output["Prefix"] !== undefined) {
7269
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7270
+ }
7271
+ if (output["Filter"] !== undefined) {
7272
+ contents.Filter = deserializeAws_restXmlReplicationRuleFilter(output["Filter"], context);
7273
+ }
7274
+ if (output["Status"] !== undefined) {
7275
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7276
+ }
7277
+ if (output["SourceSelectionCriteria"] !== undefined) {
7278
+ contents.SourceSelectionCriteria = deserializeAws_restXmlSourceSelectionCriteria(output["SourceSelectionCriteria"], context);
7279
+ }
7280
+ if (output["ExistingObjectReplication"] !== undefined) {
7281
+ contents.ExistingObjectReplication = deserializeAws_restXmlExistingObjectReplication(output["ExistingObjectReplication"], context);
7282
+ }
7283
+ if (output["Destination"] !== undefined) {
7284
+ contents.Destination = deserializeAws_restXmlDestination(output["Destination"], context);
7285
+ }
7286
+ if (output["DeleteMarkerReplication"] !== undefined) {
7287
+ contents.DeleteMarkerReplication = deserializeAws_restXmlDeleteMarkerReplication(output["DeleteMarkerReplication"], context);
7288
+ }
7289
+ if (output["Bucket"] !== undefined) {
7290
+ contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7291
+ }
7292
+ return contents;
7293
+ };
7294
+ const deserializeAws_restXmlReplicationRuleAndOperator = (output, context) => {
7295
+ const contents = {
7296
+ Prefix: undefined,
7297
+ Tags: undefined,
7298
+ };
7299
+ if (output["Prefix"] !== undefined) {
7300
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7301
+ }
7302
+ if (output.Tags === "") {
7303
+ contents.Tags = [];
7304
+ }
7305
+ else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
7306
+ contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
7307
+ }
7308
+ return contents;
7309
+ };
7310
+ const deserializeAws_restXmlReplicationRuleFilter = (output, context) => {
7311
+ const contents = {
7312
+ Prefix: undefined,
7313
+ Tag: undefined,
7314
+ And: undefined,
7315
+ };
7316
+ if (output["Prefix"] !== undefined) {
7317
+ contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7318
+ }
7319
+ if (output["Tag"] !== undefined) {
7320
+ contents.Tag = deserializeAws_restXmlS3Tag(output["Tag"], context);
7321
+ }
7322
+ if (output["And"] !== undefined) {
7323
+ contents.And = deserializeAws_restXmlReplicationRuleAndOperator(output["And"], context);
7324
+ }
7325
+ return contents;
7326
+ };
7327
+ const deserializeAws_restXmlReplicationRules = (output, context) => {
7328
+ return (output || [])
7329
+ .filter((e) => e != null)
7330
+ .map((entry) => {
7331
+ return deserializeAws_restXmlReplicationRule(entry, context);
7332
+ });
7333
+ };
6727
7334
  const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
6728
7335
  return (output || [])
6729
7336
  .filter((e) => e != null)
@@ -6731,6 +7338,28 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
6731
7338
  return (0, smithy_client_1.expectString)(entry);
6732
7339
  });
6733
7340
  };
7341
+ const deserializeAws_restXmlReplicationTime = (output, context) => {
7342
+ const contents = {
7343
+ Status: undefined,
7344
+ Time: undefined,
7345
+ };
7346
+ if (output["Status"] !== undefined) {
7347
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7348
+ }
7349
+ if (output["Time"] !== undefined) {
7350
+ contents.Time = deserializeAws_restXmlReplicationTimeValue(output["Time"], context);
7351
+ }
7352
+ return contents;
7353
+ };
7354
+ const deserializeAws_restXmlReplicationTimeValue = (output, context) => {
7355
+ const contents = {
7356
+ Minutes: undefined,
7357
+ };
7358
+ if (output["Minutes"] !== undefined) {
7359
+ contents.Minutes = (0, smithy_client_1.strictParseInt32)(output["Minutes"]);
7360
+ }
7361
+ return contents;
7362
+ };
6734
7363
  const deserializeAws_restXmlRouteList = (output, context) => {
6735
7364
  return (output || [])
6736
7365
  .filter((e) => e != null)
@@ -7176,6 +7805,19 @@ const deserializeAws_restXmlSelectionCriteria = (output, context) => {
7176
7805
  }
7177
7806
  return contents;
7178
7807
  };
7808
+ const deserializeAws_restXmlSourceSelectionCriteria = (output, context) => {
7809
+ const contents = {
7810
+ SseKmsEncryptedObjects: undefined,
7811
+ ReplicaModifications: undefined,
7812
+ };
7813
+ if (output["SseKmsEncryptedObjects"] !== undefined) {
7814
+ contents.SseKmsEncryptedObjects = deserializeAws_restXmlSseKmsEncryptedObjects(output["SseKmsEncryptedObjects"], context);
7815
+ }
7816
+ if (output["ReplicaModifications"] !== undefined) {
7817
+ contents.ReplicaModifications = deserializeAws_restXmlReplicaModifications(output["ReplicaModifications"], context);
7818
+ }
7819
+ return contents;
7820
+ };
7179
7821
  const deserializeAws_restXmlSSEKMS = (output, context) => {
7180
7822
  const contents = {
7181
7823
  KeyId: undefined,
@@ -7185,6 +7827,15 @@ const deserializeAws_restXmlSSEKMS = (output, context) => {
7185
7827
  }
7186
7828
  return contents;
7187
7829
  };
7830
+ const deserializeAws_restXmlSseKmsEncryptedObjects = (output, context) => {
7831
+ const contents = {
7832
+ Status: undefined,
7833
+ };
7834
+ if (output["Status"] !== undefined) {
7835
+ contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7836
+ }
7837
+ return contents;
7838
+ };
7188
7839
  const deserializeAws_restXmlSSEKMSEncryption = (output, context) => {
7189
7840
  const contents = {
7190
7841
  KeyId: undefined,