@aws-sdk/client-s3-control 3.451.0 → 3.454.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/README.md +64 -0
- package/dist-cjs/S3Control.js +16 -0
- package/dist-cjs/commands/CreateStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/DeleteStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/GetStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/ListStorageLensGroupsCommand.js +56 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +56 -0
- package/dist-cjs/commands/TagResourceCommand.js +56 -0
- package/dist-cjs/commands/UntagResourceCommand.js +56 -0
- package/dist-cjs/commands/UpdateStorageLensGroupCommand.js +56 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/pagination/ListStorageLensGroupsPaginator.js +28 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restXml.js +968 -3
- package/dist-es/S3Control.js +16 -0
- package/dist-es/commands/CreateStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/DeleteStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/GetStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/ListStorageLensGroupsCommand.js +52 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +52 -0
- package/dist-es/commands/TagResourceCommand.js +52 -0
- package/dist-es/commands/UntagResourceCommand.js +52 -0
- package/dist-es/commands/UpdateStorageLensGroupCommand.js +52 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/pagination/ListStorageLensGroupsPaginator.js +24 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +949 -0
- package/dist-types/S3Control.d.ts +56 -0
- package/dist-types/S3ControlClient.d.ts +10 -2
- package/dist-types/commands/CreateStorageLensGroupCommand.d.ts +159 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteStorageLensGroupCommand.d.ts +78 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/GetStorageLensGroupCommand.d.ts +149 -0
- package/dist-types/commands/ListStorageLensGroupsCommand.d.ts +88 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +86 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
- package/dist-types/commands/UpdateStorageLensGroupCommand.d.ts +148 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +555 -7
- package/dist-types/pagination/ListStorageLensGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restXml.d.ts +72 -0
- package/dist-types/ts3.4/S3Control.d.ts +136 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetStorageLensGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListStorageLensGroupsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateStorageLensGroupCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -0
- package/dist-types/ts3.4/pagination/ListStorageLensGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +96 -0
- package/package.json +2 -2
|
@@ -259,6 +259,51 @@ export const se_CreateMultiRegionAccessPointCommand = async (input, context) =>
|
|
|
259
259
|
body,
|
|
260
260
|
});
|
|
261
261
|
};
|
|
262
|
+
export const se_CreateStorageLensGroupCommand = async (input, context) => {
|
|
263
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
264
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
265
|
+
"content-type": "application/xml",
|
|
266
|
+
"x-amz-account-id": input.AccountId,
|
|
267
|
+
});
|
|
268
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelensgroup";
|
|
269
|
+
let body;
|
|
270
|
+
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
271
|
+
const bodyNode = new __XmlNode("CreateStorageLensGroupRequest");
|
|
272
|
+
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
273
|
+
if (input.StorageLensGroup !== undefined) {
|
|
274
|
+
const node = se_StorageLensGroup(input.StorageLensGroup, context).withName("StorageLensGroup");
|
|
275
|
+
bodyNode.addChildNode(node);
|
|
276
|
+
}
|
|
277
|
+
if (input.Tags !== undefined) {
|
|
278
|
+
const nodes = se_TagList(input.Tags, context);
|
|
279
|
+
const containerNode = new __XmlNode("Tags");
|
|
280
|
+
nodes.map((node) => {
|
|
281
|
+
containerNode.addChildNode(node);
|
|
282
|
+
});
|
|
283
|
+
bodyNode.addChildNode(containerNode);
|
|
284
|
+
}
|
|
285
|
+
body += bodyNode.toString();
|
|
286
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
287
|
+
if (context.disableHostPrefix !== true) {
|
|
288
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
289
|
+
if (input.AccountId === undefined) {
|
|
290
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
291
|
+
}
|
|
292
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
293
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
294
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return new __HttpRequest({
|
|
298
|
+
protocol,
|
|
299
|
+
hostname: resolvedHostname,
|
|
300
|
+
port,
|
|
301
|
+
method: "POST",
|
|
302
|
+
headers,
|
|
303
|
+
path: resolvedPath,
|
|
304
|
+
body,
|
|
305
|
+
});
|
|
306
|
+
};
|
|
262
307
|
export const se_DeleteAccessPointCommand = async (input, context) => {
|
|
263
308
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
264
309
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -683,6 +728,35 @@ export const se_DeleteStorageLensConfigurationTaggingCommand = async (input, con
|
|
|
683
728
|
body,
|
|
684
729
|
});
|
|
685
730
|
};
|
|
731
|
+
export const se_DeleteStorageLensGroupCommand = async (input, context) => {
|
|
732
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
733
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
734
|
+
"x-amz-account-id": input.AccountId,
|
|
735
|
+
});
|
|
736
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelensgroup/{Name}";
|
|
737
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
738
|
+
let body;
|
|
739
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
740
|
+
if (context.disableHostPrefix !== true) {
|
|
741
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
742
|
+
if (input.AccountId === undefined) {
|
|
743
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
744
|
+
}
|
|
745
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
746
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
747
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
return new __HttpRequest({
|
|
751
|
+
protocol,
|
|
752
|
+
hostname: resolvedHostname,
|
|
753
|
+
port,
|
|
754
|
+
method: "DELETE",
|
|
755
|
+
headers,
|
|
756
|
+
path: resolvedPath,
|
|
757
|
+
body,
|
|
758
|
+
});
|
|
759
|
+
};
|
|
686
760
|
export const se_DescribeJobCommand = async (input, context) => {
|
|
687
761
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
688
762
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -1358,6 +1432,35 @@ export const se_GetStorageLensConfigurationTaggingCommand = async (input, contex
|
|
|
1358
1432
|
body,
|
|
1359
1433
|
});
|
|
1360
1434
|
};
|
|
1435
|
+
export const se_GetStorageLensGroupCommand = async (input, context) => {
|
|
1436
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1437
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1438
|
+
"x-amz-account-id": input.AccountId,
|
|
1439
|
+
});
|
|
1440
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelensgroup/{Name}";
|
|
1441
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1442
|
+
let body;
|
|
1443
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1444
|
+
if (context.disableHostPrefix !== true) {
|
|
1445
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
1446
|
+
if (input.AccountId === undefined) {
|
|
1447
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1448
|
+
}
|
|
1449
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1450
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1451
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
return new __HttpRequest({
|
|
1455
|
+
protocol,
|
|
1456
|
+
hostname: resolvedHostname,
|
|
1457
|
+
port,
|
|
1458
|
+
method: "GET",
|
|
1459
|
+
headers,
|
|
1460
|
+
path: resolvedPath,
|
|
1461
|
+
body,
|
|
1462
|
+
});
|
|
1463
|
+
};
|
|
1361
1464
|
export const se_ListAccessPointsCommand = async (input, context) => {
|
|
1362
1465
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1363
1466
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -1558,6 +1661,67 @@ export const se_ListStorageLensConfigurationsCommand = async (input, context) =>
|
|
|
1558
1661
|
body,
|
|
1559
1662
|
});
|
|
1560
1663
|
};
|
|
1664
|
+
export const se_ListStorageLensGroupsCommand = async (input, context) => {
|
|
1665
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1666
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1667
|
+
"x-amz-account-id": input.AccountId,
|
|
1668
|
+
});
|
|
1669
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelensgroup";
|
|
1670
|
+
const query = map({
|
|
1671
|
+
nextToken: [, input.NextToken],
|
|
1672
|
+
});
|
|
1673
|
+
let body;
|
|
1674
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1675
|
+
if (context.disableHostPrefix !== true) {
|
|
1676
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
1677
|
+
if (input.AccountId === undefined) {
|
|
1678
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1679
|
+
}
|
|
1680
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1681
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1682
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
return new __HttpRequest({
|
|
1686
|
+
protocol,
|
|
1687
|
+
hostname: resolvedHostname,
|
|
1688
|
+
port,
|
|
1689
|
+
method: "GET",
|
|
1690
|
+
headers,
|
|
1691
|
+
path: resolvedPath,
|
|
1692
|
+
query,
|
|
1693
|
+
body,
|
|
1694
|
+
});
|
|
1695
|
+
};
|
|
1696
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
1697
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1698
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1699
|
+
"x-amz-account-id": input.AccountId,
|
|
1700
|
+
});
|
|
1701
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/tags/{ResourceArn+}";
|
|
1702
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn+}", true);
|
|
1703
|
+
let body;
|
|
1704
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1705
|
+
if (context.disableHostPrefix !== true) {
|
|
1706
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
1707
|
+
if (input.AccountId === undefined) {
|
|
1708
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
1709
|
+
}
|
|
1710
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
1711
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
1712
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
return new __HttpRequest({
|
|
1716
|
+
protocol,
|
|
1717
|
+
hostname: resolvedHostname,
|
|
1718
|
+
port,
|
|
1719
|
+
method: "GET",
|
|
1720
|
+
headers,
|
|
1721
|
+
path: resolvedPath,
|
|
1722
|
+
body,
|
|
1723
|
+
});
|
|
1724
|
+
};
|
|
1561
1725
|
export const se_PutAccessPointConfigurationForObjectLambdaCommand = async (input, context) => {
|
|
1562
1726
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1563
1727
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2134,6 +2298,84 @@ export const se_SubmitMultiRegionAccessPointRoutesCommand = async (input, contex
|
|
|
2134
2298
|
body,
|
|
2135
2299
|
});
|
|
2136
2300
|
};
|
|
2301
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
2302
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2303
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
2304
|
+
"content-type": "application/xml",
|
|
2305
|
+
"x-amz-account-id": input.AccountId,
|
|
2306
|
+
});
|
|
2307
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/tags/{ResourceArn+}";
|
|
2308
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn+}", true);
|
|
2309
|
+
let body;
|
|
2310
|
+
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2311
|
+
const bodyNode = new __XmlNode("TagResourceRequest");
|
|
2312
|
+
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
2313
|
+
if (input.Tags !== undefined) {
|
|
2314
|
+
const nodes = se_TagList(input.Tags, context);
|
|
2315
|
+
const containerNode = new __XmlNode("Tags");
|
|
2316
|
+
nodes.map((node) => {
|
|
2317
|
+
containerNode.addChildNode(node);
|
|
2318
|
+
});
|
|
2319
|
+
bodyNode.addChildNode(containerNode);
|
|
2320
|
+
}
|
|
2321
|
+
body += bodyNode.toString();
|
|
2322
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2323
|
+
if (context.disableHostPrefix !== true) {
|
|
2324
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
2325
|
+
if (input.AccountId === undefined) {
|
|
2326
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2327
|
+
}
|
|
2328
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2329
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2330
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
return new __HttpRequest({
|
|
2334
|
+
protocol,
|
|
2335
|
+
hostname: resolvedHostname,
|
|
2336
|
+
port,
|
|
2337
|
+
method: "POST",
|
|
2338
|
+
headers,
|
|
2339
|
+
path: resolvedPath,
|
|
2340
|
+
body,
|
|
2341
|
+
});
|
|
2342
|
+
};
|
|
2343
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
2344
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2345
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
2346
|
+
"x-amz-account-id": input.AccountId,
|
|
2347
|
+
});
|
|
2348
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/tags/{ResourceArn+}";
|
|
2349
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn+}", true);
|
|
2350
|
+
const query = map({
|
|
2351
|
+
tagKeys: [
|
|
2352
|
+
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
2353
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
2354
|
+
],
|
|
2355
|
+
});
|
|
2356
|
+
let body;
|
|
2357
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2358
|
+
if (context.disableHostPrefix !== true) {
|
|
2359
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
2360
|
+
if (input.AccountId === undefined) {
|
|
2361
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2362
|
+
}
|
|
2363
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2364
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2365
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
return new __HttpRequest({
|
|
2369
|
+
protocol,
|
|
2370
|
+
hostname: resolvedHostname,
|
|
2371
|
+
port,
|
|
2372
|
+
method: "DELETE",
|
|
2373
|
+
headers,
|
|
2374
|
+
path: resolvedPath,
|
|
2375
|
+
query,
|
|
2376
|
+
body,
|
|
2377
|
+
});
|
|
2378
|
+
};
|
|
2137
2379
|
export const se_UpdateJobPriorityCommand = async (input, context) => {
|
|
2138
2380
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2139
2381
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -2201,6 +2443,44 @@ export const se_UpdateJobStatusCommand = async (input, context) => {
|
|
|
2201
2443
|
body,
|
|
2202
2444
|
});
|
|
2203
2445
|
};
|
|
2446
|
+
export const se_UpdateStorageLensGroupCommand = async (input, context) => {
|
|
2447
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2448
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
2449
|
+
"content-type": "application/xml",
|
|
2450
|
+
"x-amz-account-id": input.AccountId,
|
|
2451
|
+
});
|
|
2452
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelensgroup/{Name}";
|
|
2453
|
+
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
2454
|
+
let body;
|
|
2455
|
+
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2456
|
+
const bodyNode = new __XmlNode("UpdateStorageLensGroupRequest");
|
|
2457
|
+
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
2458
|
+
if (input.StorageLensGroup !== undefined) {
|
|
2459
|
+
const node = se_StorageLensGroup(input.StorageLensGroup, context).withName("StorageLensGroup");
|
|
2460
|
+
bodyNode.addChildNode(node);
|
|
2461
|
+
}
|
|
2462
|
+
body += bodyNode.toString();
|
|
2463
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2464
|
+
if (context.disableHostPrefix !== true) {
|
|
2465
|
+
resolvedHostname = "{AccountId}." + resolvedHostname;
|
|
2466
|
+
if (input.AccountId === undefined) {
|
|
2467
|
+
throw new Error("Empty value provided for input host prefix: AccountId.");
|
|
2468
|
+
}
|
|
2469
|
+
resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
|
|
2470
|
+
if (!__isValidHostname(resolvedHostname)) {
|
|
2471
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
return new __HttpRequest({
|
|
2475
|
+
protocol,
|
|
2476
|
+
hostname: resolvedHostname,
|
|
2477
|
+
port,
|
|
2478
|
+
method: "PUT",
|
|
2479
|
+
headers,
|
|
2480
|
+
path: resolvedPath,
|
|
2481
|
+
body,
|
|
2482
|
+
});
|
|
2483
|
+
};
|
|
2204
2484
|
export const de_CreateAccessPointCommand = async (output, context) => {
|
|
2205
2485
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2206
2486
|
return de_CreateAccessPointCommandError(output, context);
|
|
@@ -2362,6 +2642,29 @@ const de_CreateMultiRegionAccessPointCommandError = async (output, context) => {
|
|
|
2362
2642
|
errorCode,
|
|
2363
2643
|
});
|
|
2364
2644
|
};
|
|
2645
|
+
export const de_CreateStorageLensGroupCommand = async (output, context) => {
|
|
2646
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2647
|
+
return de_CreateStorageLensGroupCommandError(output, context);
|
|
2648
|
+
}
|
|
2649
|
+
const contents = map({
|
|
2650
|
+
$metadata: deserializeMetadata(output),
|
|
2651
|
+
});
|
|
2652
|
+
await collectBody(output.body, context);
|
|
2653
|
+
return contents;
|
|
2654
|
+
};
|
|
2655
|
+
const de_CreateStorageLensGroupCommandError = async (output, context) => {
|
|
2656
|
+
const parsedOutput = {
|
|
2657
|
+
...output,
|
|
2658
|
+
body: await parseErrorBody(output.body, context),
|
|
2659
|
+
};
|
|
2660
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
2661
|
+
const parsedBody = parsedOutput.body;
|
|
2662
|
+
return throwDefaultError({
|
|
2663
|
+
output,
|
|
2664
|
+
parsedBody: parsedBody.Error,
|
|
2665
|
+
errorCode,
|
|
2666
|
+
});
|
|
2667
|
+
};
|
|
2365
2668
|
export const de_DeleteAccessPointCommand = async (output, context) => {
|
|
2366
2669
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2367
2670
|
return de_DeleteAccessPointCommandError(output, context);
|
|
@@ -2699,6 +3002,29 @@ const de_DeleteStorageLensConfigurationTaggingCommandError = async (output, cont
|
|
|
2699
3002
|
errorCode,
|
|
2700
3003
|
});
|
|
2701
3004
|
};
|
|
3005
|
+
export const de_DeleteStorageLensGroupCommand = async (output, context) => {
|
|
3006
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3007
|
+
return de_DeleteStorageLensGroupCommandError(output, context);
|
|
3008
|
+
}
|
|
3009
|
+
const contents = map({
|
|
3010
|
+
$metadata: deserializeMetadata(output),
|
|
3011
|
+
});
|
|
3012
|
+
await collectBody(output.body, context);
|
|
3013
|
+
return contents;
|
|
3014
|
+
};
|
|
3015
|
+
const de_DeleteStorageLensGroupCommandError = async (output, context) => {
|
|
3016
|
+
const parsedOutput = {
|
|
3017
|
+
...output,
|
|
3018
|
+
body: await parseErrorBody(output.body, context),
|
|
3019
|
+
};
|
|
3020
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3021
|
+
const parsedBody = parsedOutput.body;
|
|
3022
|
+
return throwDefaultError({
|
|
3023
|
+
output,
|
|
3024
|
+
parsedBody: parsedBody.Error,
|
|
3025
|
+
errorCode,
|
|
3026
|
+
});
|
|
3027
|
+
};
|
|
2702
3028
|
export const de_DescribeJobCommand = async (output, context) => {
|
|
2703
3029
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2704
3030
|
return de_DescribeJobCommandError(output, context);
|
|
@@ -3392,6 +3718,30 @@ const de_GetStorageLensConfigurationTaggingCommandError = async (output, context
|
|
|
3392
3718
|
errorCode,
|
|
3393
3719
|
});
|
|
3394
3720
|
};
|
|
3721
|
+
export const de_GetStorageLensGroupCommand = async (output, context) => {
|
|
3722
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3723
|
+
return de_GetStorageLensGroupCommandError(output, context);
|
|
3724
|
+
}
|
|
3725
|
+
const contents = map({
|
|
3726
|
+
$metadata: deserializeMetadata(output),
|
|
3727
|
+
});
|
|
3728
|
+
const data = __expectObject(await parseBody(output.body, context));
|
|
3729
|
+
contents.StorageLensGroup = de_StorageLensGroup(data, context);
|
|
3730
|
+
return contents;
|
|
3731
|
+
};
|
|
3732
|
+
const de_GetStorageLensGroupCommandError = async (output, context) => {
|
|
3733
|
+
const parsedOutput = {
|
|
3734
|
+
...output,
|
|
3735
|
+
body: await parseErrorBody(output.body, context),
|
|
3736
|
+
};
|
|
3737
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3738
|
+
const parsedBody = parsedOutput.body;
|
|
3739
|
+
return throwDefaultError({
|
|
3740
|
+
output,
|
|
3741
|
+
parsedBody: parsedBody.Error,
|
|
3742
|
+
errorCode,
|
|
3743
|
+
});
|
|
3744
|
+
};
|
|
3395
3745
|
export const de_ListAccessPointsCommand = async (output, context) => {
|
|
3396
3746
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3397
3747
|
return de_ListAccessPointsCommandError(output, context);
|
|
@@ -3597,6 +3947,67 @@ const de_ListStorageLensConfigurationsCommandError = async (output, context) =>
|
|
|
3597
3947
|
errorCode,
|
|
3598
3948
|
});
|
|
3599
3949
|
};
|
|
3950
|
+
export const de_ListStorageLensGroupsCommand = async (output, context) => {
|
|
3951
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3952
|
+
return de_ListStorageLensGroupsCommandError(output, context);
|
|
3953
|
+
}
|
|
3954
|
+
const contents = map({
|
|
3955
|
+
$metadata: deserializeMetadata(output),
|
|
3956
|
+
});
|
|
3957
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3958
|
+
if (data["NextToken"] !== undefined) {
|
|
3959
|
+
contents.NextToken = __expectString(data["NextToken"]);
|
|
3960
|
+
}
|
|
3961
|
+
if (data.StorageLensGroupList === "") {
|
|
3962
|
+
contents.StorageLensGroupList = [];
|
|
3963
|
+
}
|
|
3964
|
+
else if (data["StorageLensGroupList"] !== undefined) {
|
|
3965
|
+
contents.StorageLensGroupList = de_StorageLensGroupList(__getArrayIfSingleItem(data["StorageLensGroupList"]), context);
|
|
3966
|
+
}
|
|
3967
|
+
return contents;
|
|
3968
|
+
};
|
|
3969
|
+
const de_ListStorageLensGroupsCommandError = async (output, context) => {
|
|
3970
|
+
const parsedOutput = {
|
|
3971
|
+
...output,
|
|
3972
|
+
body: await parseErrorBody(output.body, context),
|
|
3973
|
+
};
|
|
3974
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
3975
|
+
const parsedBody = parsedOutput.body;
|
|
3976
|
+
return throwDefaultError({
|
|
3977
|
+
output,
|
|
3978
|
+
parsedBody: parsedBody.Error,
|
|
3979
|
+
errorCode,
|
|
3980
|
+
});
|
|
3981
|
+
};
|
|
3982
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
3983
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3984
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
3985
|
+
}
|
|
3986
|
+
const contents = map({
|
|
3987
|
+
$metadata: deserializeMetadata(output),
|
|
3988
|
+
});
|
|
3989
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3990
|
+
if (data.Tags === "") {
|
|
3991
|
+
contents.Tags = [];
|
|
3992
|
+
}
|
|
3993
|
+
else if (data["Tags"] !== undefined && data["Tags"]["Tag"] !== undefined) {
|
|
3994
|
+
contents.Tags = de_TagList(__getArrayIfSingleItem(data["Tags"]["Tag"]), context);
|
|
3995
|
+
}
|
|
3996
|
+
return contents;
|
|
3997
|
+
};
|
|
3998
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
3999
|
+
const parsedOutput = {
|
|
4000
|
+
...output,
|
|
4001
|
+
body: await parseErrorBody(output.body, context),
|
|
4002
|
+
};
|
|
4003
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4004
|
+
const parsedBody = parsedOutput.body;
|
|
4005
|
+
return throwDefaultError({
|
|
4006
|
+
output,
|
|
4007
|
+
parsedBody: parsedBody.Error,
|
|
4008
|
+
errorCode,
|
|
4009
|
+
});
|
|
4010
|
+
};
|
|
3600
4011
|
export const de_PutAccessPointConfigurationForObjectLambdaCommand = async (output, context) => {
|
|
3601
4012
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3602
4013
|
return de_PutAccessPointConfigurationForObjectLambdaCommandError(output, context);
|
|
@@ -3937,6 +4348,52 @@ const de_SubmitMultiRegionAccessPointRoutesCommandError = async (output, context
|
|
|
3937
4348
|
errorCode,
|
|
3938
4349
|
});
|
|
3939
4350
|
};
|
|
4351
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
4352
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
4353
|
+
return de_TagResourceCommandError(output, context);
|
|
4354
|
+
}
|
|
4355
|
+
const contents = map({
|
|
4356
|
+
$metadata: deserializeMetadata(output),
|
|
4357
|
+
});
|
|
4358
|
+
await collectBody(output.body, context);
|
|
4359
|
+
return contents;
|
|
4360
|
+
};
|
|
4361
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
4362
|
+
const parsedOutput = {
|
|
4363
|
+
...output,
|
|
4364
|
+
body: await parseErrorBody(output.body, context),
|
|
4365
|
+
};
|
|
4366
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4367
|
+
const parsedBody = parsedOutput.body;
|
|
4368
|
+
return throwDefaultError({
|
|
4369
|
+
output,
|
|
4370
|
+
parsedBody: parsedBody.Error,
|
|
4371
|
+
errorCode,
|
|
4372
|
+
});
|
|
4373
|
+
};
|
|
4374
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
4375
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
4376
|
+
return de_UntagResourceCommandError(output, context);
|
|
4377
|
+
}
|
|
4378
|
+
const contents = map({
|
|
4379
|
+
$metadata: deserializeMetadata(output),
|
|
4380
|
+
});
|
|
4381
|
+
await collectBody(output.body, context);
|
|
4382
|
+
return contents;
|
|
4383
|
+
};
|
|
4384
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
4385
|
+
const parsedOutput = {
|
|
4386
|
+
...output,
|
|
4387
|
+
body: await parseErrorBody(output.body, context),
|
|
4388
|
+
};
|
|
4389
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4390
|
+
const parsedBody = parsedOutput.body;
|
|
4391
|
+
return throwDefaultError({
|
|
4392
|
+
output,
|
|
4393
|
+
parsedBody: parsedBody.Error,
|
|
4394
|
+
errorCode,
|
|
4395
|
+
});
|
|
4396
|
+
};
|
|
3940
4397
|
export const de_UpdateJobPriorityCommand = async (output, context) => {
|
|
3941
4398
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3942
4399
|
return de_UpdateJobPriorityCommandError(output, context);
|
|
@@ -4031,6 +4488,29 @@ const de_UpdateJobStatusCommandError = async (output, context) => {
|
|
|
4031
4488
|
});
|
|
4032
4489
|
}
|
|
4033
4490
|
};
|
|
4491
|
+
export const de_UpdateStorageLensGroupCommand = async (output, context) => {
|
|
4492
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
4493
|
+
return de_UpdateStorageLensGroupCommandError(output, context);
|
|
4494
|
+
}
|
|
4495
|
+
const contents = map({
|
|
4496
|
+
$metadata: deserializeMetadata(output),
|
|
4497
|
+
});
|
|
4498
|
+
await collectBody(output.body, context);
|
|
4499
|
+
return contents;
|
|
4500
|
+
};
|
|
4501
|
+
const de_UpdateStorageLensGroupCommandError = async (output, context) => {
|
|
4502
|
+
const parsedOutput = {
|
|
4503
|
+
...output,
|
|
4504
|
+
body: await parseErrorBody(output.body, context),
|
|
4505
|
+
};
|
|
4506
|
+
const errorCode = loadRestXmlErrorCode(output, parsedOutput.body);
|
|
4507
|
+
const parsedBody = parsedOutput.body;
|
|
4508
|
+
return throwDefaultError({
|
|
4509
|
+
output,
|
|
4510
|
+
parsedBody: parsedBody.Error,
|
|
4511
|
+
errorCode,
|
|
4512
|
+
});
|
|
4513
|
+
};
|
|
4034
4514
|
const throwDefaultError = withBaseException(__BaseException);
|
|
4035
4515
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
4036
4516
|
const contents = map({});
|
|
@@ -4208,6 +4688,10 @@ const se_AccountLevel = (input, context) => {
|
|
|
4208
4688
|
const node = se_DetailedStatusCodesMetrics(input.DetailedStatusCodesMetrics, context).withName("DetailedStatusCodesMetrics");
|
|
4209
4689
|
bodyNode.addChildNode(node);
|
|
4210
4690
|
}
|
|
4691
|
+
if (input.StorageLensGroupLevel != null) {
|
|
4692
|
+
const node = se_StorageLensGroupLevel(input.StorageLensGroupLevel, context).withName("StorageLensGroupLevel");
|
|
4693
|
+
bodyNode.addChildNode(node);
|
|
4694
|
+
}
|
|
4211
4695
|
return bodyNode;
|
|
4212
4696
|
};
|
|
4213
4697
|
const se_ActivityMetrics = (input, context) => {
|
|
@@ -4744,6 +5228,54 @@ const se_LifecycleRules = (input, context) => {
|
|
|
4744
5228
|
return node.withName("Rule");
|
|
4745
5229
|
});
|
|
4746
5230
|
};
|
|
5231
|
+
const se_MatchAnyPrefix = (input, context) => {
|
|
5232
|
+
return input
|
|
5233
|
+
.filter((e) => e != null)
|
|
5234
|
+
.map((entry) => {
|
|
5235
|
+
const node = __XmlNode.of("Prefix", entry);
|
|
5236
|
+
return node.withName("Prefix");
|
|
5237
|
+
});
|
|
5238
|
+
};
|
|
5239
|
+
const se_MatchAnySuffix = (input, context) => {
|
|
5240
|
+
return input
|
|
5241
|
+
.filter((e) => e != null)
|
|
5242
|
+
.map((entry) => {
|
|
5243
|
+
const node = __XmlNode.of("Suffix", entry);
|
|
5244
|
+
return node.withName("Suffix");
|
|
5245
|
+
});
|
|
5246
|
+
};
|
|
5247
|
+
const se_MatchAnyTag = (input, context) => {
|
|
5248
|
+
return input
|
|
5249
|
+
.filter((e) => e != null)
|
|
5250
|
+
.map((entry) => {
|
|
5251
|
+
const node = se_S3Tag(entry, context);
|
|
5252
|
+
return node.withName("Tag");
|
|
5253
|
+
});
|
|
5254
|
+
};
|
|
5255
|
+
const se_MatchObjectAge = (input, context) => {
|
|
5256
|
+
const bodyNode = new __XmlNode("MatchObjectAge");
|
|
5257
|
+
if (input.DaysGreaterThan != null) {
|
|
5258
|
+
const node = __XmlNode.of("ObjectAgeValue", String(input.DaysGreaterThan)).withName("DaysGreaterThan");
|
|
5259
|
+
bodyNode.addChildNode(node);
|
|
5260
|
+
}
|
|
5261
|
+
if (input.DaysLessThan != null) {
|
|
5262
|
+
const node = __XmlNode.of("ObjectAgeValue", String(input.DaysLessThan)).withName("DaysLessThan");
|
|
5263
|
+
bodyNode.addChildNode(node);
|
|
5264
|
+
}
|
|
5265
|
+
return bodyNode;
|
|
5266
|
+
};
|
|
5267
|
+
const se_MatchObjectSize = (input, context) => {
|
|
5268
|
+
const bodyNode = new __XmlNode("MatchObjectSize");
|
|
5269
|
+
if (input.BytesGreaterThan != null) {
|
|
5270
|
+
const node = __XmlNode.of("ObjectSizeValue", String(input.BytesGreaterThan)).withName("BytesGreaterThan");
|
|
5271
|
+
bodyNode.addChildNode(node);
|
|
5272
|
+
}
|
|
5273
|
+
if (input.BytesLessThan != null) {
|
|
5274
|
+
const node = __XmlNode.of("ObjectSizeValue", String(input.BytesLessThan)).withName("BytesLessThan");
|
|
5275
|
+
bodyNode.addChildNode(node);
|
|
5276
|
+
}
|
|
5277
|
+
return bodyNode;
|
|
5278
|
+
};
|
|
4747
5279
|
const se_Metrics = (input, context) => {
|
|
4748
5280
|
const bodyNode = new __XmlNode("Metrics");
|
|
4749
5281
|
if (input.Status != null) {
|
|
@@ -5665,6 +6197,182 @@ const se_StorageLensDataExportEncryption = (input, context) => {
|
|
|
5665
6197
|
}
|
|
5666
6198
|
return bodyNode;
|
|
5667
6199
|
};
|
|
6200
|
+
const se_StorageLensGroup = (input, context) => {
|
|
6201
|
+
const bodyNode = new __XmlNode("StorageLensGroup");
|
|
6202
|
+
if (input.Name != null) {
|
|
6203
|
+
const node = __XmlNode.of("StorageLensGroupName", input.Name).withName("Name");
|
|
6204
|
+
bodyNode.addChildNode(node);
|
|
6205
|
+
}
|
|
6206
|
+
if (input.Filter != null) {
|
|
6207
|
+
const node = se_StorageLensGroupFilter(input.Filter, context).withName("Filter");
|
|
6208
|
+
bodyNode.addChildNode(node);
|
|
6209
|
+
}
|
|
6210
|
+
if (input.StorageLensGroupArn != null) {
|
|
6211
|
+
const node = __XmlNode.of("StorageLensGroupArn", input.StorageLensGroupArn).withName("StorageLensGroupArn");
|
|
6212
|
+
bodyNode.addChildNode(node);
|
|
6213
|
+
}
|
|
6214
|
+
return bodyNode;
|
|
6215
|
+
};
|
|
6216
|
+
const se_StorageLensGroupAndOperator = (input, context) => {
|
|
6217
|
+
const bodyNode = new __XmlNode("StorageLensGroupAndOperator");
|
|
6218
|
+
if (input.MatchAnyPrefix != null) {
|
|
6219
|
+
const nodes = se_MatchAnyPrefix(input.MatchAnyPrefix, context);
|
|
6220
|
+
const containerNode = new __XmlNode("MatchAnyPrefix");
|
|
6221
|
+
nodes.map((node) => {
|
|
6222
|
+
containerNode.addChildNode(node);
|
|
6223
|
+
});
|
|
6224
|
+
bodyNode.addChildNode(containerNode);
|
|
6225
|
+
}
|
|
6226
|
+
if (input.MatchAnySuffix != null) {
|
|
6227
|
+
const nodes = se_MatchAnySuffix(input.MatchAnySuffix, context);
|
|
6228
|
+
const containerNode = new __XmlNode("MatchAnySuffix");
|
|
6229
|
+
nodes.map((node) => {
|
|
6230
|
+
containerNode.addChildNode(node);
|
|
6231
|
+
});
|
|
6232
|
+
bodyNode.addChildNode(containerNode);
|
|
6233
|
+
}
|
|
6234
|
+
if (input.MatchAnyTag != null) {
|
|
6235
|
+
const nodes = se_MatchAnyTag(input.MatchAnyTag, context);
|
|
6236
|
+
const containerNode = new __XmlNode("MatchAnyTag");
|
|
6237
|
+
nodes.map((node) => {
|
|
6238
|
+
containerNode.addChildNode(node);
|
|
6239
|
+
});
|
|
6240
|
+
bodyNode.addChildNode(containerNode);
|
|
6241
|
+
}
|
|
6242
|
+
if (input.MatchObjectAge != null) {
|
|
6243
|
+
const node = se_MatchObjectAge(input.MatchObjectAge, context).withName("MatchObjectAge");
|
|
6244
|
+
bodyNode.addChildNode(node);
|
|
6245
|
+
}
|
|
6246
|
+
if (input.MatchObjectSize != null) {
|
|
6247
|
+
const node = se_MatchObjectSize(input.MatchObjectSize, context).withName("MatchObjectSize");
|
|
6248
|
+
bodyNode.addChildNode(node);
|
|
6249
|
+
}
|
|
6250
|
+
return bodyNode;
|
|
6251
|
+
};
|
|
6252
|
+
const se_StorageLensGroupFilter = (input, context) => {
|
|
6253
|
+
const bodyNode = new __XmlNode("StorageLensGroupFilter");
|
|
6254
|
+
if (input.MatchAnyPrefix != null) {
|
|
6255
|
+
const nodes = se_MatchAnyPrefix(input.MatchAnyPrefix, context);
|
|
6256
|
+
const containerNode = new __XmlNode("MatchAnyPrefix");
|
|
6257
|
+
nodes.map((node) => {
|
|
6258
|
+
containerNode.addChildNode(node);
|
|
6259
|
+
});
|
|
6260
|
+
bodyNode.addChildNode(containerNode);
|
|
6261
|
+
}
|
|
6262
|
+
if (input.MatchAnySuffix != null) {
|
|
6263
|
+
const nodes = se_MatchAnySuffix(input.MatchAnySuffix, context);
|
|
6264
|
+
const containerNode = new __XmlNode("MatchAnySuffix");
|
|
6265
|
+
nodes.map((node) => {
|
|
6266
|
+
containerNode.addChildNode(node);
|
|
6267
|
+
});
|
|
6268
|
+
bodyNode.addChildNode(containerNode);
|
|
6269
|
+
}
|
|
6270
|
+
if (input.MatchAnyTag != null) {
|
|
6271
|
+
const nodes = se_MatchAnyTag(input.MatchAnyTag, context);
|
|
6272
|
+
const containerNode = new __XmlNode("MatchAnyTag");
|
|
6273
|
+
nodes.map((node) => {
|
|
6274
|
+
containerNode.addChildNode(node);
|
|
6275
|
+
});
|
|
6276
|
+
bodyNode.addChildNode(containerNode);
|
|
6277
|
+
}
|
|
6278
|
+
if (input.MatchObjectAge != null) {
|
|
6279
|
+
const node = se_MatchObjectAge(input.MatchObjectAge, context).withName("MatchObjectAge");
|
|
6280
|
+
bodyNode.addChildNode(node);
|
|
6281
|
+
}
|
|
6282
|
+
if (input.MatchObjectSize != null) {
|
|
6283
|
+
const node = se_MatchObjectSize(input.MatchObjectSize, context).withName("MatchObjectSize");
|
|
6284
|
+
bodyNode.addChildNode(node);
|
|
6285
|
+
}
|
|
6286
|
+
if (input.And != null) {
|
|
6287
|
+
const node = se_StorageLensGroupAndOperator(input.And, context).withName("And");
|
|
6288
|
+
bodyNode.addChildNode(node);
|
|
6289
|
+
}
|
|
6290
|
+
if (input.Or != null) {
|
|
6291
|
+
const node = se_StorageLensGroupOrOperator(input.Or, context).withName("Or");
|
|
6292
|
+
bodyNode.addChildNode(node);
|
|
6293
|
+
}
|
|
6294
|
+
return bodyNode;
|
|
6295
|
+
};
|
|
6296
|
+
const se_StorageLensGroupLevel = (input, context) => {
|
|
6297
|
+
const bodyNode = new __XmlNode("StorageLensGroupLevel");
|
|
6298
|
+
if (input.SelectionCriteria != null) {
|
|
6299
|
+
const node = se_StorageLensGroupLevelSelectionCriteria(input.SelectionCriteria, context).withName("SelectionCriteria");
|
|
6300
|
+
bodyNode.addChildNode(node);
|
|
6301
|
+
}
|
|
6302
|
+
return bodyNode;
|
|
6303
|
+
};
|
|
6304
|
+
const se_StorageLensGroupLevelExclude = (input, context) => {
|
|
6305
|
+
return input
|
|
6306
|
+
.filter((e) => e != null)
|
|
6307
|
+
.map((entry) => {
|
|
6308
|
+
const node = __XmlNode.of("StorageLensGroupArn", entry);
|
|
6309
|
+
return node.withName("Arn");
|
|
6310
|
+
});
|
|
6311
|
+
};
|
|
6312
|
+
const se_StorageLensGroupLevelInclude = (input, context) => {
|
|
6313
|
+
return input
|
|
6314
|
+
.filter((e) => e != null)
|
|
6315
|
+
.map((entry) => {
|
|
6316
|
+
const node = __XmlNode.of("StorageLensGroupArn", entry);
|
|
6317
|
+
return node.withName("Arn");
|
|
6318
|
+
});
|
|
6319
|
+
};
|
|
6320
|
+
const se_StorageLensGroupLevelSelectionCriteria = (input, context) => {
|
|
6321
|
+
const bodyNode = new __XmlNode("StorageLensGroupLevelSelectionCriteria");
|
|
6322
|
+
if (input.Include != null) {
|
|
6323
|
+
const nodes = se_StorageLensGroupLevelInclude(input.Include, context);
|
|
6324
|
+
const containerNode = new __XmlNode("Include");
|
|
6325
|
+
nodes.map((node) => {
|
|
6326
|
+
containerNode.addChildNode(node);
|
|
6327
|
+
});
|
|
6328
|
+
bodyNode.addChildNode(containerNode);
|
|
6329
|
+
}
|
|
6330
|
+
if (input.Exclude != null) {
|
|
6331
|
+
const nodes = se_StorageLensGroupLevelExclude(input.Exclude, context);
|
|
6332
|
+
const containerNode = new __XmlNode("Exclude");
|
|
6333
|
+
nodes.map((node) => {
|
|
6334
|
+
containerNode.addChildNode(node);
|
|
6335
|
+
});
|
|
6336
|
+
bodyNode.addChildNode(containerNode);
|
|
6337
|
+
}
|
|
6338
|
+
return bodyNode;
|
|
6339
|
+
};
|
|
6340
|
+
const se_StorageLensGroupOrOperator = (input, context) => {
|
|
6341
|
+
const bodyNode = new __XmlNode("StorageLensGroupOrOperator");
|
|
6342
|
+
if (input.MatchAnyPrefix != null) {
|
|
6343
|
+
const nodes = se_MatchAnyPrefix(input.MatchAnyPrefix, context);
|
|
6344
|
+
const containerNode = new __XmlNode("MatchAnyPrefix");
|
|
6345
|
+
nodes.map((node) => {
|
|
6346
|
+
containerNode.addChildNode(node);
|
|
6347
|
+
});
|
|
6348
|
+
bodyNode.addChildNode(containerNode);
|
|
6349
|
+
}
|
|
6350
|
+
if (input.MatchAnySuffix != null) {
|
|
6351
|
+
const nodes = se_MatchAnySuffix(input.MatchAnySuffix, context);
|
|
6352
|
+
const containerNode = new __XmlNode("MatchAnySuffix");
|
|
6353
|
+
nodes.map((node) => {
|
|
6354
|
+
containerNode.addChildNode(node);
|
|
6355
|
+
});
|
|
6356
|
+
bodyNode.addChildNode(containerNode);
|
|
6357
|
+
}
|
|
6358
|
+
if (input.MatchAnyTag != null) {
|
|
6359
|
+
const nodes = se_MatchAnyTag(input.MatchAnyTag, context);
|
|
6360
|
+
const containerNode = new __XmlNode("MatchAnyTag");
|
|
6361
|
+
nodes.map((node) => {
|
|
6362
|
+
containerNode.addChildNode(node);
|
|
6363
|
+
});
|
|
6364
|
+
bodyNode.addChildNode(containerNode);
|
|
6365
|
+
}
|
|
6366
|
+
if (input.MatchObjectAge != null) {
|
|
6367
|
+
const node = se_MatchObjectAge(input.MatchObjectAge, context).withName("MatchObjectAge");
|
|
6368
|
+
bodyNode.addChildNode(node);
|
|
6369
|
+
}
|
|
6370
|
+
if (input.MatchObjectSize != null) {
|
|
6371
|
+
const node = se_MatchObjectSize(input.MatchObjectSize, context).withName("MatchObjectSize");
|
|
6372
|
+
bodyNode.addChildNode(node);
|
|
6373
|
+
}
|
|
6374
|
+
return bodyNode;
|
|
6375
|
+
};
|
|
5668
6376
|
const se_StorageLensTag = (input, context) => {
|
|
5669
6377
|
const bodyNode = new __XmlNode("StorageLensTag");
|
|
5670
6378
|
if (input.Key != null) {
|
|
@@ -5685,6 +6393,18 @@ const se_StorageLensTags = (input, context) => {
|
|
|
5685
6393
|
return node.withName("Tag");
|
|
5686
6394
|
});
|
|
5687
6395
|
};
|
|
6396
|
+
const se_Tag = (input, context) => {
|
|
6397
|
+
const bodyNode = new __XmlNode("Tag");
|
|
6398
|
+
if (input.Key != null) {
|
|
6399
|
+
const node = __XmlNode.of("TagKeyString", input.Key).withName("Key");
|
|
6400
|
+
bodyNode.addChildNode(node);
|
|
6401
|
+
}
|
|
6402
|
+
if (input.Value != null) {
|
|
6403
|
+
const node = __XmlNode.of("TagValueString", input.Value).withName("Value");
|
|
6404
|
+
bodyNode.addChildNode(node);
|
|
6405
|
+
}
|
|
6406
|
+
return bodyNode;
|
|
6407
|
+
};
|
|
5688
6408
|
const se_Tagging = (input, context) => {
|
|
5689
6409
|
const bodyNode = new __XmlNode("Tagging");
|
|
5690
6410
|
if (input.TagSet != null) {
|
|
@@ -5697,6 +6417,14 @@ const se_Tagging = (input, context) => {
|
|
|
5697
6417
|
}
|
|
5698
6418
|
return bodyNode;
|
|
5699
6419
|
};
|
|
6420
|
+
const se_TagList = (input, context) => {
|
|
6421
|
+
return input
|
|
6422
|
+
.filter((e) => e != null)
|
|
6423
|
+
.map((entry) => {
|
|
6424
|
+
const node = se_Tag(entry, context);
|
|
6425
|
+
return node.withName("Tag");
|
|
6426
|
+
});
|
|
6427
|
+
};
|
|
5700
6428
|
const se_Transition = (input, context) => {
|
|
5701
6429
|
const bodyNode = new __XmlNode("Transition");
|
|
5702
6430
|
if (input.Date != null) {
|
|
@@ -5804,6 +6532,9 @@ const de_AccountLevel = (output, context) => {
|
|
|
5804
6532
|
if (output["DetailedStatusCodesMetrics"] !== undefined) {
|
|
5805
6533
|
contents.DetailedStatusCodesMetrics = de_DetailedStatusCodesMetrics(output["DetailedStatusCodesMetrics"], context);
|
|
5806
6534
|
}
|
|
6535
|
+
if (output["StorageLensGroupLevel"] !== undefined) {
|
|
6536
|
+
contents.StorageLensGroupLevel = de_StorageLensGroupLevel(output["StorageLensGroupLevel"], context);
|
|
6537
|
+
}
|
|
5807
6538
|
return contents;
|
|
5808
6539
|
};
|
|
5809
6540
|
const de_ActivityMetrics = (output, context) => {
|
|
@@ -6443,6 +7174,60 @@ const de_ListStorageLensConfigurationEntry = (output, context) => {
|
|
|
6443
7174
|
}
|
|
6444
7175
|
return contents;
|
|
6445
7176
|
};
|
|
7177
|
+
const de_ListStorageLensGroupEntry = (output, context) => {
|
|
7178
|
+
const contents = {};
|
|
7179
|
+
if (output["Name"] !== undefined) {
|
|
7180
|
+
contents.Name = __expectString(output["Name"]);
|
|
7181
|
+
}
|
|
7182
|
+
if (output["StorageLensGroupArn"] !== undefined) {
|
|
7183
|
+
contents.StorageLensGroupArn = __expectString(output["StorageLensGroupArn"]);
|
|
7184
|
+
}
|
|
7185
|
+
if (output["HomeRegion"] !== undefined) {
|
|
7186
|
+
contents.HomeRegion = __expectString(output["HomeRegion"]);
|
|
7187
|
+
}
|
|
7188
|
+
return contents;
|
|
7189
|
+
};
|
|
7190
|
+
const de_MatchAnyPrefix = (output, context) => {
|
|
7191
|
+
return (output || [])
|
|
7192
|
+
.filter((e) => e != null)
|
|
7193
|
+
.map((entry) => {
|
|
7194
|
+
return __expectString(entry);
|
|
7195
|
+
});
|
|
7196
|
+
};
|
|
7197
|
+
const de_MatchAnySuffix = (output, context) => {
|
|
7198
|
+
return (output || [])
|
|
7199
|
+
.filter((e) => e != null)
|
|
7200
|
+
.map((entry) => {
|
|
7201
|
+
return __expectString(entry);
|
|
7202
|
+
});
|
|
7203
|
+
};
|
|
7204
|
+
const de_MatchAnyTag = (output, context) => {
|
|
7205
|
+
return (output || [])
|
|
7206
|
+
.filter((e) => e != null)
|
|
7207
|
+
.map((entry) => {
|
|
7208
|
+
return de_S3Tag(entry, context);
|
|
7209
|
+
});
|
|
7210
|
+
};
|
|
7211
|
+
const de_MatchObjectAge = (output, context) => {
|
|
7212
|
+
const contents = {};
|
|
7213
|
+
if (output["DaysGreaterThan"] !== undefined) {
|
|
7214
|
+
contents.DaysGreaterThan = __strictParseInt32(output["DaysGreaterThan"]);
|
|
7215
|
+
}
|
|
7216
|
+
if (output["DaysLessThan"] !== undefined) {
|
|
7217
|
+
contents.DaysLessThan = __strictParseInt32(output["DaysLessThan"]);
|
|
7218
|
+
}
|
|
7219
|
+
return contents;
|
|
7220
|
+
};
|
|
7221
|
+
const de_MatchObjectSize = (output, context) => {
|
|
7222
|
+
const contents = {};
|
|
7223
|
+
if (output["BytesGreaterThan"] !== undefined) {
|
|
7224
|
+
contents.BytesGreaterThan = __strictParseLong(output["BytesGreaterThan"]);
|
|
7225
|
+
}
|
|
7226
|
+
if (output["BytesLessThan"] !== undefined) {
|
|
7227
|
+
contents.BytesLessThan = __strictParseLong(output["BytesLessThan"]);
|
|
7228
|
+
}
|
|
7229
|
+
return contents;
|
|
7230
|
+
};
|
|
6446
7231
|
const de_Metrics = (output, context) => {
|
|
6447
7232
|
const contents = {};
|
|
6448
7233
|
if (output["Status"] !== undefined) {
|
|
@@ -7350,6 +8135,153 @@ const de_StorageLensDataExportEncryption = (output, context) => {
|
|
|
7350
8135
|
}
|
|
7351
8136
|
return contents;
|
|
7352
8137
|
};
|
|
8138
|
+
const de_StorageLensGroup = (output, context) => {
|
|
8139
|
+
const contents = {};
|
|
8140
|
+
if (output["Name"] !== undefined) {
|
|
8141
|
+
contents.Name = __expectString(output["Name"]);
|
|
8142
|
+
}
|
|
8143
|
+
if (output["Filter"] !== undefined) {
|
|
8144
|
+
contents.Filter = de_StorageLensGroupFilter(output["Filter"], context);
|
|
8145
|
+
}
|
|
8146
|
+
if (output["StorageLensGroupArn"] !== undefined) {
|
|
8147
|
+
contents.StorageLensGroupArn = __expectString(output["StorageLensGroupArn"]);
|
|
8148
|
+
}
|
|
8149
|
+
return contents;
|
|
8150
|
+
};
|
|
8151
|
+
const de_StorageLensGroupAndOperator = (output, context) => {
|
|
8152
|
+
const contents = {};
|
|
8153
|
+
if (output.MatchAnyPrefix === "") {
|
|
8154
|
+
contents.MatchAnyPrefix = [];
|
|
8155
|
+
}
|
|
8156
|
+
else if (output["MatchAnyPrefix"] !== undefined && output["MatchAnyPrefix"]["Prefix"] !== undefined) {
|
|
8157
|
+
contents.MatchAnyPrefix = de_MatchAnyPrefix(__getArrayIfSingleItem(output["MatchAnyPrefix"]["Prefix"]), context);
|
|
8158
|
+
}
|
|
8159
|
+
if (output.MatchAnySuffix === "") {
|
|
8160
|
+
contents.MatchAnySuffix = [];
|
|
8161
|
+
}
|
|
8162
|
+
else if (output["MatchAnySuffix"] !== undefined && output["MatchAnySuffix"]["Suffix"] !== undefined) {
|
|
8163
|
+
contents.MatchAnySuffix = de_MatchAnySuffix(__getArrayIfSingleItem(output["MatchAnySuffix"]["Suffix"]), context);
|
|
8164
|
+
}
|
|
8165
|
+
if (output.MatchAnyTag === "") {
|
|
8166
|
+
contents.MatchAnyTag = [];
|
|
8167
|
+
}
|
|
8168
|
+
else if (output["MatchAnyTag"] !== undefined && output["MatchAnyTag"]["Tag"] !== undefined) {
|
|
8169
|
+
contents.MatchAnyTag = de_MatchAnyTag(__getArrayIfSingleItem(output["MatchAnyTag"]["Tag"]), context);
|
|
8170
|
+
}
|
|
8171
|
+
if (output["MatchObjectAge"] !== undefined) {
|
|
8172
|
+
contents.MatchObjectAge = de_MatchObjectAge(output["MatchObjectAge"], context);
|
|
8173
|
+
}
|
|
8174
|
+
if (output["MatchObjectSize"] !== undefined) {
|
|
8175
|
+
contents.MatchObjectSize = de_MatchObjectSize(output["MatchObjectSize"], context);
|
|
8176
|
+
}
|
|
8177
|
+
return contents;
|
|
8178
|
+
};
|
|
8179
|
+
const de_StorageLensGroupFilter = (output, context) => {
|
|
8180
|
+
const contents = {};
|
|
8181
|
+
if (output.MatchAnyPrefix === "") {
|
|
8182
|
+
contents.MatchAnyPrefix = [];
|
|
8183
|
+
}
|
|
8184
|
+
else if (output["MatchAnyPrefix"] !== undefined && output["MatchAnyPrefix"]["Prefix"] !== undefined) {
|
|
8185
|
+
contents.MatchAnyPrefix = de_MatchAnyPrefix(__getArrayIfSingleItem(output["MatchAnyPrefix"]["Prefix"]), context);
|
|
8186
|
+
}
|
|
8187
|
+
if (output.MatchAnySuffix === "") {
|
|
8188
|
+
contents.MatchAnySuffix = [];
|
|
8189
|
+
}
|
|
8190
|
+
else if (output["MatchAnySuffix"] !== undefined && output["MatchAnySuffix"]["Suffix"] !== undefined) {
|
|
8191
|
+
contents.MatchAnySuffix = de_MatchAnySuffix(__getArrayIfSingleItem(output["MatchAnySuffix"]["Suffix"]), context);
|
|
8192
|
+
}
|
|
8193
|
+
if (output.MatchAnyTag === "") {
|
|
8194
|
+
contents.MatchAnyTag = [];
|
|
8195
|
+
}
|
|
8196
|
+
else if (output["MatchAnyTag"] !== undefined && output["MatchAnyTag"]["Tag"] !== undefined) {
|
|
8197
|
+
contents.MatchAnyTag = de_MatchAnyTag(__getArrayIfSingleItem(output["MatchAnyTag"]["Tag"]), context);
|
|
8198
|
+
}
|
|
8199
|
+
if (output["MatchObjectAge"] !== undefined) {
|
|
8200
|
+
contents.MatchObjectAge = de_MatchObjectAge(output["MatchObjectAge"], context);
|
|
8201
|
+
}
|
|
8202
|
+
if (output["MatchObjectSize"] !== undefined) {
|
|
8203
|
+
contents.MatchObjectSize = de_MatchObjectSize(output["MatchObjectSize"], context);
|
|
8204
|
+
}
|
|
8205
|
+
if (output["And"] !== undefined) {
|
|
8206
|
+
contents.And = de_StorageLensGroupAndOperator(output["And"], context);
|
|
8207
|
+
}
|
|
8208
|
+
if (output["Or"] !== undefined) {
|
|
8209
|
+
contents.Or = de_StorageLensGroupOrOperator(output["Or"], context);
|
|
8210
|
+
}
|
|
8211
|
+
return contents;
|
|
8212
|
+
};
|
|
8213
|
+
const de_StorageLensGroupLevel = (output, context) => {
|
|
8214
|
+
const contents = {};
|
|
8215
|
+
if (output["SelectionCriteria"] !== undefined) {
|
|
8216
|
+
contents.SelectionCriteria = de_StorageLensGroupLevelSelectionCriteria(output["SelectionCriteria"], context);
|
|
8217
|
+
}
|
|
8218
|
+
return contents;
|
|
8219
|
+
};
|
|
8220
|
+
const de_StorageLensGroupLevelExclude = (output, context) => {
|
|
8221
|
+
return (output || [])
|
|
8222
|
+
.filter((e) => e != null)
|
|
8223
|
+
.map((entry) => {
|
|
8224
|
+
return __expectString(entry);
|
|
8225
|
+
});
|
|
8226
|
+
};
|
|
8227
|
+
const de_StorageLensGroupLevelInclude = (output, context) => {
|
|
8228
|
+
return (output || [])
|
|
8229
|
+
.filter((e) => e != null)
|
|
8230
|
+
.map((entry) => {
|
|
8231
|
+
return __expectString(entry);
|
|
8232
|
+
});
|
|
8233
|
+
};
|
|
8234
|
+
const de_StorageLensGroupLevelSelectionCriteria = (output, context) => {
|
|
8235
|
+
const contents = {};
|
|
8236
|
+
if (output.Include === "") {
|
|
8237
|
+
contents.Include = [];
|
|
8238
|
+
}
|
|
8239
|
+
else if (output["Include"] !== undefined && output["Include"]["Arn"] !== undefined) {
|
|
8240
|
+
contents.Include = de_StorageLensGroupLevelInclude(__getArrayIfSingleItem(output["Include"]["Arn"]), context);
|
|
8241
|
+
}
|
|
8242
|
+
if (output.Exclude === "") {
|
|
8243
|
+
contents.Exclude = [];
|
|
8244
|
+
}
|
|
8245
|
+
else if (output["Exclude"] !== undefined && output["Exclude"]["Arn"] !== undefined) {
|
|
8246
|
+
contents.Exclude = de_StorageLensGroupLevelExclude(__getArrayIfSingleItem(output["Exclude"]["Arn"]), context);
|
|
8247
|
+
}
|
|
8248
|
+
return contents;
|
|
8249
|
+
};
|
|
8250
|
+
const de_StorageLensGroupList = (output, context) => {
|
|
8251
|
+
return (output || [])
|
|
8252
|
+
.filter((e) => e != null)
|
|
8253
|
+
.map((entry) => {
|
|
8254
|
+
return de_ListStorageLensGroupEntry(entry, context);
|
|
8255
|
+
});
|
|
8256
|
+
};
|
|
8257
|
+
const de_StorageLensGroupOrOperator = (output, context) => {
|
|
8258
|
+
const contents = {};
|
|
8259
|
+
if (output.MatchAnyPrefix === "") {
|
|
8260
|
+
contents.MatchAnyPrefix = [];
|
|
8261
|
+
}
|
|
8262
|
+
else if (output["MatchAnyPrefix"] !== undefined && output["MatchAnyPrefix"]["Prefix"] !== undefined) {
|
|
8263
|
+
contents.MatchAnyPrefix = de_MatchAnyPrefix(__getArrayIfSingleItem(output["MatchAnyPrefix"]["Prefix"]), context);
|
|
8264
|
+
}
|
|
8265
|
+
if (output.MatchAnySuffix === "") {
|
|
8266
|
+
contents.MatchAnySuffix = [];
|
|
8267
|
+
}
|
|
8268
|
+
else if (output["MatchAnySuffix"] !== undefined && output["MatchAnySuffix"]["Suffix"] !== undefined) {
|
|
8269
|
+
contents.MatchAnySuffix = de_MatchAnySuffix(__getArrayIfSingleItem(output["MatchAnySuffix"]["Suffix"]), context);
|
|
8270
|
+
}
|
|
8271
|
+
if (output.MatchAnyTag === "") {
|
|
8272
|
+
contents.MatchAnyTag = [];
|
|
8273
|
+
}
|
|
8274
|
+
else if (output["MatchAnyTag"] !== undefined && output["MatchAnyTag"]["Tag"] !== undefined) {
|
|
8275
|
+
contents.MatchAnyTag = de_MatchAnyTag(__getArrayIfSingleItem(output["MatchAnyTag"]["Tag"]), context);
|
|
8276
|
+
}
|
|
8277
|
+
if (output["MatchObjectAge"] !== undefined) {
|
|
8278
|
+
contents.MatchObjectAge = de_MatchObjectAge(output["MatchObjectAge"], context);
|
|
8279
|
+
}
|
|
8280
|
+
if (output["MatchObjectSize"] !== undefined) {
|
|
8281
|
+
contents.MatchObjectSize = de_MatchObjectSize(output["MatchObjectSize"], context);
|
|
8282
|
+
}
|
|
8283
|
+
return contents;
|
|
8284
|
+
};
|
|
7353
8285
|
const de_StorageLensTag = (output, context) => {
|
|
7354
8286
|
const contents = {};
|
|
7355
8287
|
if (output["Key"] !== undefined) {
|
|
@@ -7367,6 +8299,23 @@ const de_StorageLensTags = (output, context) => {
|
|
|
7367
8299
|
return de_StorageLensTag(entry, context);
|
|
7368
8300
|
});
|
|
7369
8301
|
};
|
|
8302
|
+
const de_Tag = (output, context) => {
|
|
8303
|
+
const contents = {};
|
|
8304
|
+
if (output["Key"] !== undefined) {
|
|
8305
|
+
contents.Key = __expectString(output["Key"]);
|
|
8306
|
+
}
|
|
8307
|
+
if (output["Value"] !== undefined) {
|
|
8308
|
+
contents.Value = __expectString(output["Value"]);
|
|
8309
|
+
}
|
|
8310
|
+
return contents;
|
|
8311
|
+
};
|
|
8312
|
+
const de_TagList = (output, context) => {
|
|
8313
|
+
return (output || [])
|
|
8314
|
+
.filter((e) => e != null)
|
|
8315
|
+
.map((entry) => {
|
|
8316
|
+
return de_Tag(entry, context);
|
|
8317
|
+
});
|
|
8318
|
+
};
|
|
7370
8319
|
const de_Transition = (output, context) => {
|
|
7371
8320
|
const contents = {};
|
|
7372
8321
|
if (output["Date"] !== undefined) {
|