@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.
- package/dist-cjs/S3Control.js +30 -0
- package/dist-cjs/commands/GetMultiRegionAccessPointRoutesCommand.js +52 -0
- package/dist-cjs/commands/SubmitMultiRegionAccessPointRoutesCommand.js +52 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +19 -19
- package/dist-cjs/models/models_0.js +22 -2
- package/dist-cjs/protocols/Aws_restXml.js +202 -9
- package/dist-es/S3Control.js +30 -0
- package/dist-es/commands/GetMultiRegionAccessPointRoutesCommand.js +48 -0
- package/dist-es/commands/SubmitMultiRegionAccessPointRoutesCommand.js +48 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +19 -19
- package/dist-es/models/models_0.js +15 -0
- package/dist-es/protocols/Aws_restXml.js +195 -6
- package/dist-types/S3Control.d.ts +114 -17
- package/dist-types/S3ControlClient.d.ts +4 -2
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -5
- package/dist-types/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +70 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +14 -11
- package/dist-types/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +128 -18
- package/dist-types/protocols/Aws_restXml.d.ts +6 -0
- package/dist-types/ts3.4/S3Control.d.ts +40 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetMultiRegionAccessPointRoutesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SubmitMultiRegionAccessPointRoutesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_restXmlUpdateJobStatusCommand = exports.deserializeAws_restXmlUpdateJobPriorityCommand = 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 = void 0;
|
|
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;
|
|
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");
|
|
@@ -26,6 +26,10 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
|
|
|
26
26
|
const node = xml_builder_1.XmlNode.of("BucketName", input.Bucket).withName("Bucket");
|
|
27
27
|
bodyNode.addChildNode(node);
|
|
28
28
|
}
|
|
29
|
+
if (input.BucketAccountId !== undefined) {
|
|
30
|
+
const node = xml_builder_1.XmlNode.of("AccountId", input.BucketAccountId).withName("BucketAccountId");
|
|
31
|
+
bodyNode.addChildNode(node);
|
|
32
|
+
}
|
|
29
33
|
if (input.PublicAccessBlockConfiguration !== undefined) {
|
|
30
34
|
const node = serializeAws_restXmlPublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context).withName("PublicAccessBlockConfiguration");
|
|
31
35
|
bodyNode.addChildNode(node);
|
|
@@ -1135,8 +1139,8 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
|
|
|
1135
1139
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1136
1140
|
"x-amz-account-id": input.AccountId,
|
|
1137
1141
|
});
|
|
1138
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}";
|
|
1139
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}",
|
|
1142
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name+}";
|
|
1143
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
|
|
1140
1144
|
let body;
|
|
1141
1145
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1142
1146
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1165,8 +1169,8 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
1165
1169
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1166
1170
|
"x-amz-account-id": input.AccountId,
|
|
1167
1171
|
});
|
|
1168
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}/policy";
|
|
1169
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}",
|
|
1172
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name+}/policy";
|
|
1173
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
|
|
1170
1174
|
let body;
|
|
1171
1175
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1172
1176
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1196,8 +1200,8 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
|
|
|
1196
1200
|
"x-amz-account-id": input.AccountId,
|
|
1197
1201
|
});
|
|
1198
1202
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1199
|
-
"/v20180820/mrap/instances/{Name}/policystatus";
|
|
1200
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}",
|
|
1203
|
+
"/v20180820/mrap/instances/{Name+}/policystatus";
|
|
1204
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name+}", true);
|
|
1201
1205
|
let body;
|
|
1202
1206
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1203
1207
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1221,6 +1225,36 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
|
|
|
1221
1225
|
});
|
|
1222
1226
|
};
|
|
1223
1227
|
exports.serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand;
|
|
1228
|
+
const serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = async (input, context) => {
|
|
1229
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1230
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1231
|
+
"x-amz-account-id": input.AccountId,
|
|
1232
|
+
});
|
|
1233
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Mrap+}/routes";
|
|
1234
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Mrap", () => input.Mrap, "{Mrap+}", true);
|
|
1235
|
+
let body;
|
|
1236
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1237
|
+
if (context.disableHostPrefix !== true) {
|
|
1238
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
1239
|
+
if (input.AccountId === undefined) {
|
|
1240
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1241
|
+
}
|
|
1242
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1243
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1244
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
return new protocol_http_1.HttpRequest({
|
|
1248
|
+
protocol,
|
|
1249
|
+
hostname: resolvedHostname,
|
|
1250
|
+
port,
|
|
1251
|
+
method: "GET",
|
|
1252
|
+
headers,
|
|
1253
|
+
path: resolvedPath,
|
|
1254
|
+
body,
|
|
1255
|
+
});
|
|
1256
|
+
};
|
|
1257
|
+
exports.serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand;
|
|
1224
1258
|
const serializeAws_restXmlGetPublicAccessBlockCommand = async (input, context) => {
|
|
1225
1259
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1226
1260
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2023,6 +2057,49 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
|
|
|
2023
2057
|
});
|
|
2024
2058
|
};
|
|
2025
2059
|
exports.serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = serializeAws_restXmlPutStorageLensConfigurationTaggingCommand;
|
|
2060
|
+
const serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = async (input, context) => {
|
|
2061
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2062
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
2063
|
+
"content-type": "application/xml",
|
|
2064
|
+
"x-amz-account-id": input.AccountId,
|
|
2065
|
+
});
|
|
2066
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Mrap+}/routes";
|
|
2067
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Mrap", () => input.Mrap, "{Mrap+}", true);
|
|
2068
|
+
let body;
|
|
2069
|
+
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2070
|
+
const bodyNode = new xml_builder_1.XmlNode("SubmitMultiRegionAccessPointRoutesRequest");
|
|
2071
|
+
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
2072
|
+
if (input.RouteUpdates !== undefined) {
|
|
2073
|
+
const nodes = serializeAws_restXmlRouteList(input.RouteUpdates, context);
|
|
2074
|
+
const containerNode = new xml_builder_1.XmlNode("RouteUpdates");
|
|
2075
|
+
nodes.map((node) => {
|
|
2076
|
+
containerNode.addChildNode(node);
|
|
2077
|
+
});
|
|
2078
|
+
bodyNode.addChildNode(containerNode);
|
|
2079
|
+
}
|
|
2080
|
+
body += bodyNode.toString();
|
|
2081
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2082
|
+
if (context.disableHostPrefix !== true) {
|
|
2083
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
2084
|
+
if (input.AccountId === undefined) {
|
|
2085
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2086
|
+
}
|
|
2087
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2088
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
2089
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
return new protocol_http_1.HttpRequest({
|
|
2093
|
+
protocol,
|
|
2094
|
+
hostname: resolvedHostname,
|
|
2095
|
+
port,
|
|
2096
|
+
method: "PATCH",
|
|
2097
|
+
headers,
|
|
2098
|
+
path: resolvedPath,
|
|
2099
|
+
body,
|
|
2100
|
+
});
|
|
2101
|
+
};
|
|
2102
|
+
exports.serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand;
|
|
2026
2103
|
const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
|
|
2027
2104
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2028
2105
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2688,6 +2765,9 @@ const deserializeAws_restXmlGetAccessPointCommand = async (output, context) => {
|
|
|
2688
2765
|
if (data["Bucket"] !== undefined) {
|
|
2689
2766
|
contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
|
|
2690
2767
|
}
|
|
2768
|
+
if (data["BucketAccountId"] !== undefined) {
|
|
2769
|
+
contents.BucketAccountId = (0, smithy_client_1.expectString)(data["BucketAccountId"]);
|
|
2770
|
+
}
|
|
2691
2771
|
if (data["CreationDate"] !== undefined) {
|
|
2692
2772
|
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data["CreationDate"]));
|
|
2693
2773
|
}
|
|
@@ -3182,6 +3262,40 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommandError =
|
|
|
3182
3262
|
errorCode,
|
|
3183
3263
|
});
|
|
3184
3264
|
};
|
|
3265
|
+
const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = async (output, context) => {
|
|
3266
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3267
|
+
return deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommandError(output, context);
|
|
3268
|
+
}
|
|
3269
|
+
const contents = map({
|
|
3270
|
+
$metadata: deserializeMetadata(output),
|
|
3271
|
+
});
|
|
3272
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3273
|
+
if (data["Mrap"] !== undefined) {
|
|
3274
|
+
contents.Mrap = (0, smithy_client_1.expectString)(data["Mrap"]);
|
|
3275
|
+
}
|
|
3276
|
+
if (data.Routes === "") {
|
|
3277
|
+
contents.Routes = [];
|
|
3278
|
+
}
|
|
3279
|
+
else if (data["Routes"] !== undefined && data["Routes"]["Route"] !== undefined) {
|
|
3280
|
+
contents.Routes = deserializeAws_restXmlRouteList((0, smithy_client_1.getArrayIfSingleItem)(data["Routes"]["Route"]), context);
|
|
3281
|
+
}
|
|
3282
|
+
return contents;
|
|
3283
|
+
};
|
|
3284
|
+
exports.deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand = deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand;
|
|
3285
|
+
const deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommandError = async (output, context) => {
|
|
3286
|
+
const parsedOutput = {
|
|
3287
|
+
...output,
|
|
3288
|
+
body: await parseErrorBody(output.body, context),
|
|
3289
|
+
};
|
|
3290
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3291
|
+
const parsedBody = parsedOutput.body;
|
|
3292
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3293
|
+
output,
|
|
3294
|
+
parsedBody: parsedBody.Error,
|
|
3295
|
+
exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
|
|
3296
|
+
errorCode,
|
|
3297
|
+
});
|
|
3298
|
+
};
|
|
3185
3299
|
const deserializeAws_restXmlGetPublicAccessBlockCommand = async (output, context) => {
|
|
3186
3300
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3187
3301
|
return deserializeAws_restXmlGetPublicAccessBlockCommandError(output, context);
|
|
@@ -3806,6 +3920,31 @@ const deserializeAws_restXmlPutStorageLensConfigurationTaggingCommandError = asy
|
|
|
3806
3920
|
errorCode,
|
|
3807
3921
|
});
|
|
3808
3922
|
};
|
|
3923
|
+
const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = async (output, context) => {
|
|
3924
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3925
|
+
return deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommandError(output, context);
|
|
3926
|
+
}
|
|
3927
|
+
const contents = map({
|
|
3928
|
+
$metadata: deserializeMetadata(output),
|
|
3929
|
+
});
|
|
3930
|
+
await collectBody(output.body, context);
|
|
3931
|
+
return contents;
|
|
3932
|
+
};
|
|
3933
|
+
exports.deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand = deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand;
|
|
3934
|
+
const deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommandError = async (output, context) => {
|
|
3935
|
+
const parsedOutput = {
|
|
3936
|
+
...output,
|
|
3937
|
+
body: await parseErrorBody(output.body, context),
|
|
3938
|
+
};
|
|
3939
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3940
|
+
const parsedBody = parsedOutput.body;
|
|
3941
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3942
|
+
output,
|
|
3943
|
+
parsedBody: parsedBody.Error,
|
|
3944
|
+
exceptionCtor: S3ControlServiceException_1.S3ControlServiceException,
|
|
3945
|
+
errorCode,
|
|
3946
|
+
});
|
|
3947
|
+
};
|
|
3809
3948
|
const deserializeAws_restXmlUpdateJobPriorityCommand = async (output, context) => {
|
|
3810
3949
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3811
3950
|
return deserializeAws_restXmlUpdateJobPriorityCommandError(output, context);
|
|
@@ -4553,6 +4692,24 @@ const serializeAws_restXmlLifecycleRules = (input, context) => {
|
|
|
4553
4692
|
return node.withName("Rule");
|
|
4554
4693
|
});
|
|
4555
4694
|
};
|
|
4695
|
+
const serializeAws_restXmlMultiRegionAccessPointRoute = (input, context) => {
|
|
4696
|
+
const bodyNode = new xml_builder_1.XmlNode("MultiRegionAccessPointRoute");
|
|
4697
|
+
if (input.Bucket != null) {
|
|
4698
|
+
const node = xml_builder_1.XmlNode.of("BucketName", input.Bucket).withName("Bucket");
|
|
4699
|
+
bodyNode.addChildNode(node);
|
|
4700
|
+
}
|
|
4701
|
+
if (input.Region != null) {
|
|
4702
|
+
const node = xml_builder_1.XmlNode.of("RegionName", input.Region).withName("Region");
|
|
4703
|
+
bodyNode.addChildNode(node);
|
|
4704
|
+
}
|
|
4705
|
+
if (input.TrafficDialPercentage != null) {
|
|
4706
|
+
const node = xml_builder_1.XmlNode
|
|
4707
|
+
.of("TrafficDialPercentage", String(input.TrafficDialPercentage))
|
|
4708
|
+
.withName("TrafficDialPercentage");
|
|
4709
|
+
bodyNode.addChildNode(node);
|
|
4710
|
+
}
|
|
4711
|
+
return bodyNode;
|
|
4712
|
+
};
|
|
4556
4713
|
const serializeAws_restXmlNoncurrentVersionExpiration = (input, context) => {
|
|
4557
4714
|
const bodyNode = new xml_builder_1.XmlNode("NoncurrentVersionExpiration");
|
|
4558
4715
|
if (input.NoncurrentDays != null) {
|
|
@@ -4757,6 +4914,14 @@ const serializeAws_restXmlReplicationStatusFilterList = (input, context) => {
|
|
|
4757
4914
|
return node.withName("member");
|
|
4758
4915
|
});
|
|
4759
4916
|
};
|
|
4917
|
+
const serializeAws_restXmlRouteList = (input, context) => {
|
|
4918
|
+
return input
|
|
4919
|
+
.filter((e) => e != null)
|
|
4920
|
+
.map((entry) => {
|
|
4921
|
+
const node = serializeAws_restXmlMultiRegionAccessPointRoute(entry, context);
|
|
4922
|
+
return node.withName("Route");
|
|
4923
|
+
});
|
|
4924
|
+
};
|
|
4760
4925
|
const serializeAws_restXmlS3AccessControlList = (input, context) => {
|
|
4761
4926
|
const bodyNode = new xml_builder_1.XmlNode("S3AccessControlList");
|
|
4762
4927
|
if (input.Owner != null) {
|
|
@@ -5377,6 +5542,7 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
|
|
|
5377
5542
|
Bucket: undefined,
|
|
5378
5543
|
AccessPointArn: undefined,
|
|
5379
5544
|
Alias: undefined,
|
|
5545
|
+
BucketAccountId: undefined,
|
|
5380
5546
|
};
|
|
5381
5547
|
if (output["Name"] !== undefined) {
|
|
5382
5548
|
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
@@ -5396,6 +5562,9 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
|
|
|
5396
5562
|
if (output["Alias"] !== undefined) {
|
|
5397
5563
|
contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
|
|
5398
5564
|
}
|
|
5565
|
+
if (output["BucketAccountId"] !== undefined) {
|
|
5566
|
+
contents.BucketAccountId = (0, smithy_client_1.expectString)(output["BucketAccountId"]);
|
|
5567
|
+
}
|
|
5399
5568
|
return contents;
|
|
5400
5569
|
};
|
|
5401
5570
|
const deserializeAws_restXmlAccessPointList = (output, context) => {
|
|
@@ -6249,6 +6418,23 @@ const deserializeAws_restXmlMultiRegionAccessPointReportList = (output, context)
|
|
|
6249
6418
|
return deserializeAws_restXmlMultiRegionAccessPointReport(entry, context);
|
|
6250
6419
|
});
|
|
6251
6420
|
};
|
|
6421
|
+
const deserializeAws_restXmlMultiRegionAccessPointRoute = (output, context) => {
|
|
6422
|
+
const contents = {
|
|
6423
|
+
Bucket: undefined,
|
|
6424
|
+
Region: undefined,
|
|
6425
|
+
TrafficDialPercentage: undefined,
|
|
6426
|
+
};
|
|
6427
|
+
if (output["Bucket"] !== undefined) {
|
|
6428
|
+
contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
|
|
6429
|
+
}
|
|
6430
|
+
if (output["Region"] !== undefined) {
|
|
6431
|
+
contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
|
|
6432
|
+
}
|
|
6433
|
+
if (output["TrafficDialPercentage"] !== undefined) {
|
|
6434
|
+
contents.TrafficDialPercentage = (0, smithy_client_1.strictParseInt32)(output["TrafficDialPercentage"]);
|
|
6435
|
+
}
|
|
6436
|
+
return contents;
|
|
6437
|
+
};
|
|
6252
6438
|
const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, context) => {
|
|
6253
6439
|
const contents = {
|
|
6254
6440
|
Regions: undefined,
|
|
@@ -6545,6 +6731,13 @@ const deserializeAws_restXmlReplicationStatusFilterList = (output, context) => {
|
|
|
6545
6731
|
return (0, smithy_client_1.expectString)(entry);
|
|
6546
6732
|
});
|
|
6547
6733
|
};
|
|
6734
|
+
const deserializeAws_restXmlRouteList = (output, context) => {
|
|
6735
|
+
return (output || [])
|
|
6736
|
+
.filter((e) => e != null)
|
|
6737
|
+
.map((entry) => {
|
|
6738
|
+
return deserializeAws_restXmlMultiRegionAccessPointRoute(entry, context);
|
|
6739
|
+
});
|
|
6740
|
+
};
|
|
6548
6741
|
const deserializeAws_restXmlS3AccessControlList = (output, context) => {
|
|
6549
6742
|
const contents = {
|
|
6550
6743
|
Owner: undefined,
|
package/dist-es/S3Control.js
CHANGED
|
@@ -34,6 +34,7 @@ import { GetJobTaggingCommand, } from "./commands/GetJobTaggingCommand";
|
|
|
34
34
|
import { GetMultiRegionAccessPointCommand, } from "./commands/GetMultiRegionAccessPointCommand";
|
|
35
35
|
import { GetMultiRegionAccessPointPolicyCommand, } from "./commands/GetMultiRegionAccessPointPolicyCommand";
|
|
36
36
|
import { GetMultiRegionAccessPointPolicyStatusCommand, } from "./commands/GetMultiRegionAccessPointPolicyStatusCommand";
|
|
37
|
+
import { GetMultiRegionAccessPointRoutesCommand, } from "./commands/GetMultiRegionAccessPointRoutesCommand";
|
|
37
38
|
import { GetPublicAccessBlockCommand, } from "./commands/GetPublicAccessBlockCommand";
|
|
38
39
|
import { GetStorageLensConfigurationCommand, } from "./commands/GetStorageLensConfigurationCommand";
|
|
39
40
|
import { GetStorageLensConfigurationTaggingCommand, } from "./commands/GetStorageLensConfigurationTaggingCommand";
|
|
@@ -55,6 +56,7 @@ import { PutMultiRegionAccessPointPolicyCommand, } from "./commands/PutMultiRegi
|
|
|
55
56
|
import { PutPublicAccessBlockCommand, } from "./commands/PutPublicAccessBlockCommand";
|
|
56
57
|
import { PutStorageLensConfigurationCommand, } from "./commands/PutStorageLensConfigurationCommand";
|
|
57
58
|
import { PutStorageLensConfigurationTaggingCommand, } from "./commands/PutStorageLensConfigurationTaggingCommand";
|
|
59
|
+
import { SubmitMultiRegionAccessPointRoutesCommand, } from "./commands/SubmitMultiRegionAccessPointRoutesCommand";
|
|
58
60
|
import { UpdateJobPriorityCommand, } from "./commands/UpdateJobPriorityCommand";
|
|
59
61
|
import { UpdateJobStatusCommand, } from "./commands/UpdateJobStatusCommand";
|
|
60
62
|
import { S3ControlClient } from "./S3ControlClient";
|
|
@@ -563,6 +565,20 @@ export class S3Control extends S3ControlClient {
|
|
|
563
565
|
return this.send(command, optionsOrCb);
|
|
564
566
|
}
|
|
565
567
|
}
|
|
568
|
+
getMultiRegionAccessPointRoutes(args, optionsOrCb, cb) {
|
|
569
|
+
const command = new GetMultiRegionAccessPointRoutesCommand(args);
|
|
570
|
+
if (typeof optionsOrCb === "function") {
|
|
571
|
+
this.send(command, optionsOrCb);
|
|
572
|
+
}
|
|
573
|
+
else if (typeof cb === "function") {
|
|
574
|
+
if (typeof optionsOrCb !== "object")
|
|
575
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
576
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
577
|
+
}
|
|
578
|
+
else {
|
|
579
|
+
return this.send(command, optionsOrCb);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
566
582
|
getPublicAccessBlock(args, optionsOrCb, cb) {
|
|
567
583
|
const command = new GetPublicAccessBlockCommand(args);
|
|
568
584
|
if (typeof optionsOrCb === "function") {
|
|
@@ -857,6 +873,20 @@ export class S3Control extends S3ControlClient {
|
|
|
857
873
|
return this.send(command, optionsOrCb);
|
|
858
874
|
}
|
|
859
875
|
}
|
|
876
|
+
submitMultiRegionAccessPointRoutes(args, optionsOrCb, cb) {
|
|
877
|
+
const command = new SubmitMultiRegionAccessPointRoutesCommand(args);
|
|
878
|
+
if (typeof optionsOrCb === "function") {
|
|
879
|
+
this.send(command, optionsOrCb);
|
|
880
|
+
}
|
|
881
|
+
else if (typeof cb === "function") {
|
|
882
|
+
if (typeof optionsOrCb !== "object")
|
|
883
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
884
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
885
|
+
}
|
|
886
|
+
else {
|
|
887
|
+
return this.send(command, optionsOrCb);
|
|
888
|
+
}
|
|
889
|
+
}
|
|
860
890
|
updateJobPriority(args, optionsOrCb, cb) {
|
|
861
891
|
const command = new UpdateJobPriorityCommand(args);
|
|
862
892
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
+
import { GetMultiRegionAccessPointRoutesRequestFilterSensitiveLog, GetMultiRegionAccessPointRoutesResultFilterSensitiveLog, } from "../models/models_0";
|
|
7
|
+
import { deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand, serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand, } from "../protocols/Aws_restXml";
|
|
8
|
+
export class GetMultiRegionAccessPointRoutesCommand extends $Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMultiRegionAccessPointRoutesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
27
|
+
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
28
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
29
|
+
const { logger } = configuration;
|
|
30
|
+
const clientName = "S3ControlClient";
|
|
31
|
+
const commandName = "GetMultiRegionAccessPointRoutesCommand";
|
|
32
|
+
const handlerExecutionContext = {
|
|
33
|
+
logger,
|
|
34
|
+
clientName,
|
|
35
|
+
commandName,
|
|
36
|
+
inputFilterSensitiveLog: GetMultiRegionAccessPointRoutesRequestFilterSensitiveLog,
|
|
37
|
+
outputFilterSensitiveLog: GetMultiRegionAccessPointRoutesResultFilterSensitiveLog,
|
|
38
|
+
};
|
|
39
|
+
const { requestHandler } = configuration;
|
|
40
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
+
}
|
|
42
|
+
serialize(input, context) {
|
|
43
|
+
return serializeAws_restXmlGetMultiRegionAccessPointRoutesCommand(input, context);
|
|
44
|
+
}
|
|
45
|
+
deserialize(output, context) {
|
|
46
|
+
return deserializeAws_restXmlGetMultiRegionAccessPointRoutesCommand(output, context);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
+
import { SubmitMultiRegionAccessPointRoutesRequestFilterSensitiveLog, SubmitMultiRegionAccessPointRoutesResultFilterSensitiveLog, } from "../models/models_0";
|
|
7
|
+
import { deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand, serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand, } from "../protocols/Aws_restXml";
|
|
8
|
+
export class SubmitMultiRegionAccessPointRoutesCommand extends $Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, SubmitMultiRegionAccessPointRoutesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
27
|
+
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
28
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
29
|
+
const { logger } = configuration;
|
|
30
|
+
const clientName = "S3ControlClient";
|
|
31
|
+
const commandName = "SubmitMultiRegionAccessPointRoutesCommand";
|
|
32
|
+
const handlerExecutionContext = {
|
|
33
|
+
logger,
|
|
34
|
+
clientName,
|
|
35
|
+
commandName,
|
|
36
|
+
inputFilterSensitiveLog: SubmitMultiRegionAccessPointRoutesRequestFilterSensitiveLog,
|
|
37
|
+
outputFilterSensitiveLog: SubmitMultiRegionAccessPointRoutesResultFilterSensitiveLog,
|
|
38
|
+
};
|
|
39
|
+
const { requestHandler } = configuration;
|
|
40
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
+
}
|
|
42
|
+
serialize(input, context) {
|
|
43
|
+
return serializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand(input, context);
|
|
44
|
+
}
|
|
45
|
+
deserialize(output, context) {
|
|
46
|
+
return deserializeAws_restXmlSubmitMultiRegionAccessPointRoutesCommand(output, context);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -34,6 +34,7 @@ export * from "./GetJobTaggingCommand";
|
|
|
34
34
|
export * from "./GetMultiRegionAccessPointCommand";
|
|
35
35
|
export * from "./GetMultiRegionAccessPointPolicyCommand";
|
|
36
36
|
export * from "./GetMultiRegionAccessPointPolicyStatusCommand";
|
|
37
|
+
export * from "./GetMultiRegionAccessPointRoutesCommand";
|
|
37
38
|
export * from "./GetPublicAccessBlockCommand";
|
|
38
39
|
export * from "./GetStorageLensConfigurationCommand";
|
|
39
40
|
export * from "./GetStorageLensConfigurationTaggingCommand";
|
|
@@ -55,5 +56,6 @@ export * from "./PutMultiRegionAccessPointPolicyCommand";
|
|
|
55
56
|
export * from "./PutPublicAccessBlockCommand";
|
|
56
57
|
export * from "./PutStorageLensConfigurationCommand";
|
|
57
58
|
export * from "./PutStorageLensConfigurationTaggingCommand";
|
|
59
|
+
export * from "./SubmitMultiRegionAccessPointRoutesCommand";
|
|
58
60
|
export * from "./UpdateJobPriorityCommand";
|
|
59
61
|
export * from "./UpdateJobStatusCommand";
|