@aws-sdk/client-s3-control 3.218.0 → 3.221.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 (32) hide show
  1. package/dist-cjs/S3Control.js +30 -0
  2. package/dist-cjs/commands/GetMultiRegionAccessPointRoutesCommand.js +52 -0
  3. package/dist-cjs/commands/SubmitMultiRegionAccessPointRoutesCommand.js +52 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/endpoint/ruleset.js +19 -19
  6. package/dist-cjs/models/models_0.js +22 -2
  7. package/dist-cjs/protocols/Aws_restXml.js +202 -9
  8. package/dist-es/S3Control.js +30 -0
  9. package/dist-es/commands/GetMultiRegionAccessPointRoutesCommand.js +48 -0
  10. package/dist-es/commands/SubmitMultiRegionAccessPointRoutesCommand.js +48 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/endpoint/ruleset.js +19 -19
  13. package/dist-es/models/models_0.js +15 -0
  14. package/dist-es/protocols/Aws_restXml.js +195 -6
  15. package/dist-types/S3Control.d.ts +114 -17
  16. package/dist-types/S3ControlClient.d.ts +4 -2
  17. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -5
  18. package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +70 -0
  19. package/dist-types/commands/ListAccessPointsCommand.d.ts +1 -1
  20. package/dist-types/commands/PutBucketVersioningCommand.d.ts +14 -11
  21. package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +83 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/models/models_0.d.ts +128 -18
  24. package/dist-types/protocols/Aws_restXml.d.ts +6 -0
  25. package/dist-types/ts3.4/S3Control.d.ts +40 -0
  26. package/dist-types/ts3.4/S3ControlClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +41 -0
  28. package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +41 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +37 -0
  31. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
  32. package/package.json +1 -1
@@ -305,9 +305,9 @@ export const ruleSet = {
305
305
  authSchemes: [
306
306
  {
307
307
  name: "sigv4",
308
+ signingRegion: "{Region}",
308
309
  disableDoubleEncoding: true,
309
310
  signingName: "s3-outposts",
310
- signingRegion: "{Region}",
311
311
  },
312
312
  ],
313
313
  },
@@ -333,9 +333,9 @@ export const ruleSet = {
333
333
  authSchemes: [
334
334
  {
335
335
  name: "sigv4",
336
+ signingRegion: "{Region}",
336
337
  disableDoubleEncoding: true,
337
338
  signingName: "s3-outposts",
338
- signingRegion: "{Region}",
339
339
  },
340
340
  ],
341
341
  },
@@ -351,9 +351,9 @@ export const ruleSet = {
351
351
  authSchemes: [
352
352
  {
353
353
  name: "sigv4",
354
+ signingRegion: "{Region}",
354
355
  disableDoubleEncoding: true,
355
356
  signingName: "s3-outposts",
356
- signingRegion: "{Region}",
357
357
  },
358
358
  ],
359
359
  },
@@ -822,9 +822,9 @@ export const ruleSet = {
822
822
  authSchemes: [
823
823
  {
824
824
  name: "sigv4",
825
+ signingRegion: "{accessPointArn#region}",
825
826
  disableDoubleEncoding: true,
826
827
  signingName: "s3-outposts",
827
- signingRegion: "{accessPointArn#region}",
828
828
  },
829
829
  ],
830
830
  },
@@ -865,9 +865,9 @@ export const ruleSet = {
865
865
  authSchemes: [
866
866
  {
867
867
  name: "sigv4",
868
+ signingRegion: "{accessPointArn#region}",
868
869
  disableDoubleEncoding: true,
869
870
  signingName: "s3-outposts",
870
- signingRegion: "{accessPointArn#region}",
871
871
  },
872
872
  ],
873
873
  },
@@ -890,9 +890,9 @@ export const ruleSet = {
890
890
  authSchemes: [
891
891
  {
892
892
  name: "sigv4",
893
+ signingRegion: "{accessPointArn#region}",
893
894
  disableDoubleEncoding: true,
894
895
  signingName: "s3-outposts",
895
- signingRegion: "{accessPointArn#region}",
896
896
  },
897
897
  ],
898
898
  },
@@ -1454,9 +1454,9 @@ export const ruleSet = {
1454
1454
  authSchemes: [
1455
1455
  {
1456
1456
  name: "sigv4",
1457
+ signingRegion: "{bucketArn#region}",
1457
1458
  disableDoubleEncoding: true,
1458
1459
  signingName: "s3-outposts",
1459
- signingRegion: "{bucketArn#region}",
1460
1460
  },
1461
1461
  ],
1462
1462
  },
@@ -1497,9 +1497,9 @@ export const ruleSet = {
1497
1497
  authSchemes: [
1498
1498
  {
1499
1499
  name: "sigv4",
1500
+ signingRegion: "{bucketArn#region}",
1500
1501
  disableDoubleEncoding: true,
1501
1502
  signingName: "s3-outposts",
1502
- signingRegion: "{bucketArn#region}",
1503
1503
  },
1504
1504
  ],
1505
1505
  },
@@ -1522,9 +1522,9 @@ export const ruleSet = {
1522
1522
  authSchemes: [
1523
1523
  {
1524
1524
  name: "sigv4",
1525
+ signingRegion: "{bucketArn#region}",
1525
1526
  disableDoubleEncoding: true,
1526
1527
  signingName: "s3-outposts",
1527
- signingRegion: "{bucketArn#region}",
1528
1528
  },
1529
1529
  ],
1530
1530
  },
@@ -1876,9 +1876,9 @@ export const ruleSet = {
1876
1876
  authSchemes: [
1877
1877
  {
1878
1878
  name: "sigv4",
1879
+ signingRegion: "{Region}",
1879
1880
  disableDoubleEncoding: true,
1880
1881
  signingName: "s3",
1881
- signingRegion: "{Region}",
1882
1882
  },
1883
1883
  ],
1884
1884
  },
@@ -1894,9 +1894,9 @@ export const ruleSet = {
1894
1894
  authSchemes: [
1895
1895
  {
1896
1896
  name: "sigv4",
1897
+ signingRegion: "{Region}",
1897
1898
  disableDoubleEncoding: true,
1898
1899
  signingName: "s3",
1899
- signingRegion: "{Region}",
1900
1900
  },
1901
1901
  ],
1902
1902
  },
@@ -1964,9 +1964,9 @@ export const ruleSet = {
1964
1964
  authSchemes: [
1965
1965
  {
1966
1966
  name: "sigv4",
1967
+ signingRegion: "{Region}",
1967
1968
  disableDoubleEncoding: true,
1968
1969
  signingName: "s3",
1969
- signingRegion: "{Region}",
1970
1970
  },
1971
1971
  ],
1972
1972
  },
@@ -2001,9 +2001,9 @@ export const ruleSet = {
2001
2001
  authSchemes: [
2002
2002
  {
2003
2003
  name: "sigv4",
2004
+ signingRegion: "{Region}",
2004
2005
  disableDoubleEncoding: true,
2005
2006
  signingName: "s3",
2006
- signingRegion: "{Region}",
2007
2007
  },
2008
2008
  ],
2009
2009
  },
@@ -2063,9 +2063,9 @@ export const ruleSet = {
2063
2063
  authSchemes: [
2064
2064
  {
2065
2065
  name: "sigv4",
2066
+ signingRegion: "{Region}",
2066
2067
  disableDoubleEncoding: true,
2067
2068
  signingName: "s3",
2068
- signingRegion: "{Region}",
2069
2069
  },
2070
2070
  ],
2071
2071
  },
@@ -2100,9 +2100,9 @@ export const ruleSet = {
2100
2100
  authSchemes: [
2101
2101
  {
2102
2102
  name: "sigv4",
2103
+ signingRegion: "{Region}",
2103
2104
  disableDoubleEncoding: true,
2104
2105
  signingName: "s3",
2105
- signingRegion: "{Region}",
2106
2106
  },
2107
2107
  ],
2108
2108
  },
@@ -2162,9 +2162,9 @@ export const ruleSet = {
2162
2162
  authSchemes: [
2163
2163
  {
2164
2164
  name: "sigv4",
2165
+ signingRegion: "{Region}",
2165
2166
  disableDoubleEncoding: true,
2166
2167
  signingName: "s3",
2167
- signingRegion: "{Region}",
2168
2168
  },
2169
2169
  ],
2170
2170
  },
@@ -2199,9 +2199,9 @@ export const ruleSet = {
2199
2199
  authSchemes: [
2200
2200
  {
2201
2201
  name: "sigv4",
2202
+ signingRegion: "{Region}",
2202
2203
  disableDoubleEncoding: true,
2203
2204
  signingName: "s3",
2204
- signingRegion: "{Region}",
2205
2205
  },
2206
2206
  ],
2207
2207
  },
@@ -2261,9 +2261,9 @@ export const ruleSet = {
2261
2261
  authSchemes: [
2262
2262
  {
2263
2263
  name: "sigv4",
2264
+ signingRegion: "{Region}",
2264
2265
  disableDoubleEncoding: true,
2265
2266
  signingName: "s3",
2266
- signingRegion: "{Region}",
2267
2267
  },
2268
2268
  ],
2269
2269
  },
@@ -2298,9 +2298,9 @@ export const ruleSet = {
2298
2298
  authSchemes: [
2299
2299
  {
2300
2300
  name: "sigv4",
2301
+ signingRegion: "{Region}",
2301
2302
  disableDoubleEncoding: true,
2302
2303
  signingName: "s3",
2303
- signingRegion: "{Region}",
2304
2304
  },
2305
2305
  ],
2306
2306
  },
@@ -828,6 +828,15 @@ export const GetMultiRegionAccessPointPolicyStatusRequestFilterSensitiveLog = (o
828
828
  export const GetMultiRegionAccessPointPolicyStatusResultFilterSensitiveLog = (obj) => ({
829
829
  ...obj,
830
830
  });
831
+ export const GetMultiRegionAccessPointRoutesRequestFilterSensitiveLog = (obj) => ({
832
+ ...obj,
833
+ });
834
+ export const MultiRegionAccessPointRouteFilterSensitiveLog = (obj) => ({
835
+ ...obj,
836
+ });
837
+ export const GetMultiRegionAccessPointRoutesResultFilterSensitiveLog = (obj) => ({
838
+ ...obj,
839
+ });
831
840
  export const GetPublicAccessBlockOutputFilterSensitiveLog = (obj) => ({
832
841
  ...obj,
833
842
  });
@@ -982,6 +991,12 @@ export const PutStorageLensConfigurationTaggingRequestFilterSensitiveLog = (obj)
982
991
  export const PutStorageLensConfigurationTaggingResultFilterSensitiveLog = (obj) => ({
983
992
  ...obj,
984
993
  });
994
+ export const SubmitMultiRegionAccessPointRoutesRequestFilterSensitiveLog = (obj) => ({
995
+ ...obj,
996
+ });
997
+ export const SubmitMultiRegionAccessPointRoutesResultFilterSensitiveLog = (obj) => ({
998
+ ...obj,
999
+ });
985
1000
  export const UpdateJobPriorityRequestFilterSensitiveLog = (obj) => ({
986
1001
  ...obj,
987
1002
  });
@@ -21,6 +21,10 @@ export const serializeAws_restXmlCreateAccessPointCommand = async (input, contex
21
21
  const node = __XmlNode.of("BucketName", input.Bucket).withName("Bucket");
22
22
  bodyNode.addChildNode(node);
23
23
  }
24
+ if (input.BucketAccountId !== undefined) {
25
+ const node = __XmlNode.of("AccountId", input.BucketAccountId).withName("BucketAccountId");
26
+ bodyNode.addChildNode(node);
27
+ }
24
28
  if (input.PublicAccessBlockConfiguration !== undefined) {
25
29
  const node = serializeAws_restXmlPublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context).withName("PublicAccessBlockConfiguration");
26
30
  bodyNode.addChildNode(node);
@@ -1097,8 +1101,8 @@ export const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input
1097
1101
  const headers = map({}, isSerializableHeaderValue, {
1098
1102
  "x-amz-account-id": input.AccountId,
1099
1103
  });
1100
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}";
1101
- resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
1104
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name+}";
1105
+ resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
1102
1106
  let body;
1103
1107
  let { hostname: resolvedHostname } = await context.endpoint();
1104
1108
  if (context.disableHostPrefix !== true) {
@@ -1126,8 +1130,8 @@ export const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async
1126
1130
  const headers = map({}, isSerializableHeaderValue, {
1127
1131
  "x-amz-account-id": input.AccountId,
1128
1132
  });
1129
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}/policy";
1130
- resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
1133
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name+}/policy";
1134
+ resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
1131
1135
  let body;
1132
1136
  let { hostname: resolvedHostname } = await context.endpoint();
1133
1137
  if (context.disableHostPrefix !== true) {
@@ -1156,8 +1160,37 @@ export const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand =
1156
1160
  "x-amz-account-id": input.AccountId,
1157
1161
  });
1158
1162
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
1159
- "/v20180820/mrap/instances/{Name}/policystatus";
1160
- resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
1163
+ "/v20180820/mrap/instances/{Name+}/policystatus";
1164
+ resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
1165
+ let body;
1166
+ let { hostname: resolvedHostname } = await context.endpoint();
1167
+ if (context.disableHostPrefix !== true) {
1168
+ resolvedHostname = "{AccountId}." + resolvedHostname;
1169
+ if (input.AccountId === undefined) {
1170
+ throw new Error("Empty value provided for input host prefix: AccountId.");
1171
+ }
1172
+ resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1173
+ if (!__isValidHostname(resolvedHostname)) {
1174
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1175
+ }
1176
+ }
1177
+ return new __HttpRequest({
1178
+ protocol,
1179
+ hostname: resolvedHostname,
1180
+ port,
1181
+ method: "GET",
1182
+ headers,
1183
+ path: resolvedPath,
1184
+ body,
1185
+ });
1186
+ };
1187
+ export const serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = async (input, context) => {
1188
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1189
+ const headers = map({}, isSerializableHeaderValue, {
1190
+ "x-amz-account-id": input.AccountId,
1191
+ });
1192
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Mrap+}/routes";
1193
+ resolvedPath = __resolvedPath(resolvedPath, input, "Mrap", () => input.Mrap, "{Mrap+}", true);
1161
1194
  let body;
1162
1195
  let { hostname: resolvedHostname } = await context.endpoint();
1163
1196
  if (context.disableHostPrefix !== true) {
@@ -1961,6 +1994,48 @@ export const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = asy
1961
1994
  body,
1962
1995
  });
1963
1996
  };
1997
+ export const serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = async (input, context) => {
1998
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1999
+ const headers = map({}, isSerializableHeaderValue, {
2000
+ "content-type": "application/xml",
2001
+ "x-amz-account-id": input.AccountId,
2002
+ });
2003
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Mrap+}/routes";
2004
+ resolvedPath = __resolvedPath(resolvedPath, input, "Mrap", () => input.Mrap, "{Mrap+}", true);
2005
+ let body;
2006
+ body = '<?xml version="1.0" encoding="UTF-8"?>';
2007
+ const bodyNode = new __XmlNode("SubmitMultiRegionAccessPointRoutesRequest");
2008
+ bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
2009
+ if (input.RouteUpdates !== undefined) {
2010
+ const nodes = serializeAws_restXmlRouteList(input.RouteUpdates, context);
2011
+ const containerNode = new __XmlNode("RouteUpdates");
2012
+ nodes.map((node) => {
2013
+ containerNode.addChildNode(node);
2014
+ });
2015
+ bodyNode.addChildNode(containerNode);
2016
+ }
2017
+ body += bodyNode.toString();
2018
+ let { hostname: resolvedHostname } = await context.endpoint();
2019
+ if (context.disableHostPrefix !== true) {
2020
+ resolvedHostname = "{AccountId}." + resolvedHostname;
2021
+ if (input.AccountId === undefined) {
2022
+ throw new Error("Empty value provided for input host prefix: AccountId.");
2023
+ }
2024
+ resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2025
+ if (!__isValidHostname(resolvedHostname)) {
2026
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2027
+ }
2028
+ }
2029
+ return new __HttpRequest({
2030
+ protocol,
2031
+ hostname: resolvedHostname,
2032
+ port,
2033
+ method: "PATCH",
2034
+ headers,
2035
+ path: resolvedPath,
2036
+ body,
2037
+ });
2038
+ };
1964
2039
  export const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
1965
2040
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1966
2041
  const headers = map({}, isSerializableHeaderValue, {
@@ -2604,6 +2679,9 @@ export const deserializeAws_restXmlGetAccessPointCommand = async (output, contex
2604
2679
  if (data["Bucket"] !== undefined) {
2605
2680
  contents.Bucket = __expectString(data["Bucket"]);
2606
2681
  }
2682
+ if (data["BucketAccountId"] !== undefined) {
2683
+ contents.BucketAccountId = __expectString(data["BucketAccountId"]);
2684
+ }
2607
2685
  if (data["CreationDate"] !== undefined) {
2608
2686
  contents.CreationDate = __expectNonNull(__parseRfc3339DateTime(data["CreationDate"]));
2609
2687
  }
@@ -3082,6 +3160,39 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommandError =
3082
3160
  errorCode,
3083
3161
  });
3084
3162
  };
3163
+ export const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = async (output, context) => {
3164
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3165
+ return deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommandError(output, context);
3166
+ }
3167
+ const contents = map({
3168
+ $metadata: deserializeMetadata(output),
3169
+ });
3170
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3171
+ if (data["Mrap"] !== undefined) {
3172
+ contents.Mrap = __expectString(data["Mrap"]);
3173
+ }
3174
+ if (data.Routes === "") {
3175
+ contents.Routes = [];
3176
+ }
3177
+ else if (data["Routes"] !== undefined && data["Routes"]["Route"] !== undefined) {
3178
+ contents.Routes = deserializeAws_restXmlRouteList(__getArrayIfSingleItem(data["Routes"]["Route"]), context);
3179
+ }
3180
+ return contents;
3181
+ };
3182
+ const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommandError = async (output, context) => {
3183
+ const parsedOutput = {
3184
+ ...output,
3185
+ body: await parseErrorBody(output.body, context),
3186
+ };
3187
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3188
+ const parsedBody = parsedOutput.body;
3189
+ throwDefaultError({
3190
+ output,
3191
+ parsedBody: parsedBody.Error,
3192
+ exceptionCtor: __BaseException,
3193
+ errorCode,
3194
+ });
3195
+ };
3085
3196
  export const deserializeAws_restXmlGetPublicAccessBlockCommand = async (output, context) => {
3086
3197
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3087
3198
  return deserializeAws_restXmlGetPublicAccessBlockCommandError(output, context);
@@ -3685,6 +3796,30 @@ const deserializeAws_restXmlPutStorageLensConfigurationTaggingCommandError = asy
3685
3796
  errorCode,
3686
3797
  });
3687
3798
  };
3799
+ export const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = async (output, context) => {
3800
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3801
+ return deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommandError(output, context);
3802
+ }
3803
+ const contents = map({
3804
+ $metadata: deserializeMetadata(output),
3805
+ });
3806
+ await collectBody(output.body, context);
3807
+ return contents;
3808
+ };
3809
+ const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommandError = async (output, context) => {
3810
+ const parsedOutput = {
3811
+ ...output,
3812
+ body: await parseErrorBody(output.body, context),
3813
+ };
3814
+ const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
3815
+ const parsedBody = parsedOutput.body;
3816
+ throwDefaultError({
3817
+ output,
3818
+ parsedBody: parsedBody.Error,
3819
+ exceptionCtor: __BaseException,
3820
+ errorCode,
3821
+ });
3822
+ };
3688
3823
  export const deserializeAws_restXmlUpdateJobPriorityCommand = async (output, context) => {
3689
3824
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3690
3825
  return deserializeAws_restXmlUpdateJobPriorityCommandError(output, context);
@@ -4430,6 +4565,24 @@ const serializeAws_restXmlLifecycleRules = (input, context) => {
4430
4565
  return node.withName("Rule");
4431
4566
  });
4432
4567
  };
4568
+ const serializeAws_restXmlMultiRegionAccessPointRoute = (input, context) => {
4569
+ const bodyNode = new __XmlNode("MultiRegionAccessPointRoute");
4570
+ if (input.Bucket != null) {
4571
+ const node = __XmlNode.of("BucketName", input.Bucket).withName("Bucket");
4572
+ bodyNode.addChildNode(node);
4573
+ }
4574
+ if (input.Region != null) {
4575
+ const node = __XmlNode.of("RegionName", input.Region).withName("Region");
4576
+ bodyNode.addChildNode(node);
4577
+ }
4578
+ if (input.TrafficDialPercentage != null) {
4579
+ const node = __XmlNode
4580
+ .of("TrafficDialPercentage", String(input.TrafficDialPercentage))
4581
+ .withName("TrafficDialPercentage");
4582
+ bodyNode.addChildNode(node);
4583
+ }
4584
+ return bodyNode;
4585
+ };
4433
4586
  const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
4434
4587
  const bodyNode = new __XmlNode("NoncurrentVersionExpiration");
4435
4588
  if (input.NoncurrentDays != null) {
@@ -4634,6 +4787,14 @@ const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
4634
4787
  return node.withName("member");
4635
4788
  });
4636
4789
  };
4790
+ const serializeAws_restXmlRouteList = (input, context) => {
4791
+ return input
4792
+ .filter((e) => e != null)
4793
+ .map((entry) => {
4794
+ const node = serializeAws_restXmlMultiRegionAccessPointRoute(entry, context);
4795
+ return node.withName("Route");
4796
+ });
4797
+ };
4637
4798
  const serializeAws_restXmlS3AccessControlList = (input, context) => {
4638
4799
  const bodyNode = new __XmlNode("S3AccessControlList");
4639
4800
  if (input.Owner != null) {
@@ -5254,6 +5415,7 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
5254
5415
  Bucket: undefined,
5255
5416
  AccessPointArn: undefined,
5256
5417
  Alias: undefined,
5418
+ BucketAccountId: undefined,
5257
5419
  };
5258
5420
  if (output["Name"] !== undefined) {
5259
5421
  contents.Name = __expectString(output["Name"]);
@@ -5273,6 +5435,9 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
5273
5435
  if (output["Alias"] !== undefined) {
5274
5436
  contents.Alias = __expectString(output["Alias"]);
5275
5437
  }
5438
+ if (output["BucketAccountId"] !== undefined) {
5439
+ contents.BucketAccountId = __expectString(output["BucketAccountId"]);
5440
+ }
5276
5441
  return contents;
5277
5442
  };
5278
5443
  const deserializeAws_restXmlAccessPointList = (output, context) => {
@@ -6126,6 +6291,23 @@ const deserializeAws_restXmlMultiRegionAccessPointReportList = (output, context)
6126
6291
  return deserializeAws_restXmlMultiRegionAccessPointReport(entry, context);
6127
6292
  });
6128
6293
  };
6294
+ const deserializeAws_restXmlMultiRegionAccessPointRoute = (output, context) => {
6295
+ const contents = {
6296
+ Bucket: undefined,
6297
+ Region: undefined,
6298
+ TrafficDialPercentage: undefined,
6299
+ };
6300
+ if (output["Bucket"] !== undefined) {
6301
+ contents.Bucket = __expectString(output["Bucket"]);
6302
+ }
6303
+ if (output["Region"] !== undefined) {
6304
+ contents.Region = __expectString(output["Region"]);
6305
+ }
6306
+ if (output["TrafficDialPercentage"] !== undefined) {
6307
+ contents.TrafficDialPercentage = __strictParseInt32(output["TrafficDialPercentage"]);
6308
+ }
6309
+ return contents;
6310
+ };
6129
6311
  const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, context) => {
6130
6312
  const contents = {
6131
6313
  Regions: undefined,
@@ -6422,6 +6604,13 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
6422
6604
  return __expectString(entry);
6423
6605
  });
6424
6606
  };
6607
+ const deserializeAws_restXmlRouteList = (output, context) => {
6608
+ return (output || [])
6609
+ .filter((e) => e != null)
6610
+ .map((entry) => {
6611
+ return deserializeAws_restXmlMultiRegionAccessPointRoute(entry, context);
6612
+ });
6613
+ };
6425
6614
  const deserializeAws_restXmlS3AccessControlList = (output, context) => {
6426
6615
  const contents = {
6427
6616
  Owner: undefined,