@aws-sdk/client-s3-control 3.199.0 → 3.201.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/CHANGELOG.md +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restXml.js +69 -70
- package/dist-cjs/runtimeConfig.browser.js +18 -18
- package/dist-cjs/runtimeConfig.js +22 -21
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -12
- package/dist-es/protocols/Aws_restXml.js +15 -12
- package/package.json +39 -39
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **client-s3-control:** restrict Bucket param dedupe to S3 only ([#4132](https://github.com/aws/aws-sdk-js-v3/issues/4132)) ([80634b7](https://github.com/aws/aws-sdk-js-v3/commit/80634b76e7d7879fd11b339e882cdbf6c15d60df))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-s3-control
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-s3-control
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useFipsEndpoint:
|
|
9
|
-
useDualstackEndpoint:
|
|
7
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "s3",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -16,7 +16,7 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
|
|
|
16
16
|
"content-type": "application/xml",
|
|
17
17
|
"x-amz-account-id": input.AccountId,
|
|
18
18
|
});
|
|
19
|
-
let resolvedPath = `${
|
|
19
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}";
|
|
20
20
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
21
21
|
let body;
|
|
22
22
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -63,7 +63,7 @@ const serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (input
|
|
|
63
63
|
"content-type": "application/xml",
|
|
64
64
|
"x-amz-account-id": input.AccountId,
|
|
65
65
|
});
|
|
66
|
-
let resolvedPath = `${
|
|
66
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
67
67
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
68
68
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
69
69
|
let body;
|
|
@@ -113,7 +113,7 @@ const serializeAws_restXmlCreateBucketCommand = async (input, context) => {
|
|
|
113
113
|
],
|
|
114
114
|
"x-amz-outpost-id": input.OutpostId,
|
|
115
115
|
});
|
|
116
|
-
let resolvedPath = `${
|
|
116
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
117
117
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
118
118
|
let body;
|
|
119
119
|
if (input.CreateBucketConfiguration !== undefined) {
|
|
@@ -143,7 +143,7 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
|
|
|
143
143
|
"content-type": "application/xml",
|
|
144
144
|
"x-amz-account-id": input.AccountId,
|
|
145
145
|
});
|
|
146
|
-
const resolvedPath = `${
|
|
146
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs";
|
|
147
147
|
let body;
|
|
148
148
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
149
149
|
const bodyNode = new xml_builder_1.XmlNode("CreateJobRequest");
|
|
@@ -226,7 +226,7 @@ const serializeAws_restXmlCreateMultiRegionAccessPointCommand = async (input, co
|
|
|
226
226
|
"content-type": "application/xml",
|
|
227
227
|
"x-amz-account-id": input.AccountId,
|
|
228
228
|
});
|
|
229
|
-
const resolvedPath = `${
|
|
229
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/async-requests/mrap/create";
|
|
230
230
|
let body;
|
|
231
231
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
232
232
|
const bodyNode = new xml_builder_1.XmlNode("CreateMultiRegionAccessPointRequest");
|
|
@@ -270,7 +270,7 @@ const serializeAws_restXmlDeleteAccessPointCommand = async (input, context) => {
|
|
|
270
270
|
const headers = map({}, isSerializableHeaderValue, {
|
|
271
271
|
"x-amz-account-id": input.AccountId,
|
|
272
272
|
});
|
|
273
|
-
let resolvedPath = `${
|
|
273
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}";
|
|
274
274
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
275
275
|
let body;
|
|
276
276
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -300,7 +300,7 @@ const serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (input
|
|
|
300
300
|
const headers = map({}, isSerializableHeaderValue, {
|
|
301
301
|
"x-amz-account-id": input.AccountId,
|
|
302
302
|
});
|
|
303
|
-
let resolvedPath = `${
|
|
303
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
304
304
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
305
305
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
306
306
|
let body;
|
|
@@ -331,7 +331,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyCommand = async (input, context
|
|
|
331
331
|
const headers = map({}, isSerializableHeaderValue, {
|
|
332
332
|
"x-amz-account-id": input.AccountId,
|
|
333
333
|
});
|
|
334
|
-
let resolvedPath = `${
|
|
334
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}/policy";
|
|
335
335
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
336
336
|
let body;
|
|
337
337
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -361,7 +361,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async
|
|
|
361
361
|
const headers = map({}, isSerializableHeaderValue, {
|
|
362
362
|
"x-amz-account-id": input.AccountId,
|
|
363
363
|
});
|
|
364
|
-
let resolvedPath = `${
|
|
364
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
365
365
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
366
366
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
367
367
|
let body;
|
|
@@ -392,7 +392,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
|
|
|
392
392
|
const headers = map({}, isSerializableHeaderValue, {
|
|
393
393
|
"x-amz-account-id": input.AccountId,
|
|
394
394
|
});
|
|
395
|
-
let resolvedPath = `${
|
|
395
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
396
396
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
397
397
|
let body;
|
|
398
398
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -422,7 +422,8 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
|
|
|
422
422
|
const headers = map({}, isSerializableHeaderValue, {
|
|
423
423
|
"x-amz-account-id": input.AccountId,
|
|
424
424
|
});
|
|
425
|
-
let resolvedPath = `${
|
|
425
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
426
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
426
427
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
427
428
|
let body;
|
|
428
429
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -452,7 +453,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
|
|
|
452
453
|
const headers = map({}, isSerializableHeaderValue, {
|
|
453
454
|
"x-amz-account-id": input.AccountId,
|
|
454
455
|
});
|
|
455
|
-
let resolvedPath = `${
|
|
456
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
456
457
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
457
458
|
let body;
|
|
458
459
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -482,7 +483,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
|
|
|
482
483
|
const headers = map({}, isSerializableHeaderValue, {
|
|
483
484
|
"x-amz-account-id": input.AccountId,
|
|
484
485
|
});
|
|
485
|
-
let resolvedPath = `${
|
|
486
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
486
487
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
487
488
|
let body;
|
|
488
489
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -512,7 +513,7 @@ const serializeAws_restXmlDeleteJobTaggingCommand = async (input, context) => {
|
|
|
512
513
|
const headers = map({}, isSerializableHeaderValue, {
|
|
513
514
|
"x-amz-account-id": input.AccountId,
|
|
514
515
|
});
|
|
515
|
-
let resolvedPath = `${
|
|
516
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/tagging";
|
|
516
517
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
517
518
|
let body;
|
|
518
519
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -543,7 +544,7 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (input, co
|
|
|
543
544
|
"content-type": "application/xml",
|
|
544
545
|
"x-amz-account-id": input.AccountId,
|
|
545
546
|
});
|
|
546
|
-
const resolvedPath = `${
|
|
547
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/async-requests/mrap/delete";
|
|
547
548
|
let body;
|
|
548
549
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
549
550
|
const bodyNode = new xml_builder_1.XmlNode("DeleteMultiRegionAccessPointRequest");
|
|
@@ -587,7 +588,7 @@ const serializeAws_restXmlDeletePublicAccessBlockCommand = async (input, context
|
|
|
587
588
|
const headers = map({}, isSerializableHeaderValue, {
|
|
588
589
|
"x-amz-account-id": input.AccountId,
|
|
589
590
|
});
|
|
590
|
-
const resolvedPath = `${
|
|
591
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
591
592
|
"/v20180820/configuration/publicAccessBlock";
|
|
592
593
|
let body;
|
|
593
594
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -617,7 +618,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationCommand = async (input,
|
|
|
617
618
|
const headers = map({}, isSerializableHeaderValue, {
|
|
618
619
|
"x-amz-account-id": input.AccountId,
|
|
619
620
|
});
|
|
620
|
-
let resolvedPath = `${
|
|
621
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}";
|
|
621
622
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
622
623
|
let body;
|
|
623
624
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -647,7 +648,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (
|
|
|
647
648
|
const headers = map({}, isSerializableHeaderValue, {
|
|
648
649
|
"x-amz-account-id": input.AccountId,
|
|
649
650
|
});
|
|
650
|
-
let resolvedPath = `${
|
|
651
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
651
652
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
652
653
|
let body;
|
|
653
654
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -677,7 +678,7 @@ const serializeAws_restXmlDescribeJobCommand = async (input, context) => {
|
|
|
677
678
|
const headers = map({}, isSerializableHeaderValue, {
|
|
678
679
|
"x-amz-account-id": input.AccountId,
|
|
679
680
|
});
|
|
680
|
-
let resolvedPath = `${
|
|
681
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}";
|
|
681
682
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
682
683
|
let body;
|
|
683
684
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -707,7 +708,7 @@ const serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async
|
|
|
707
708
|
const headers = map({}, isSerializableHeaderValue, {
|
|
708
709
|
"x-amz-account-id": input.AccountId,
|
|
709
710
|
});
|
|
710
|
-
let resolvedPath = `${
|
|
711
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
711
712
|
"/v20180820/async-requests/mrap/{RequestTokenARN+}";
|
|
712
713
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "RequestTokenARN", () => input.RequestTokenARN, "{RequestTokenARN+}", true);
|
|
713
714
|
let body;
|
|
@@ -738,7 +739,7 @@ const serializeAws_restXmlGetAccessPointCommand = async (input, context) => {
|
|
|
738
739
|
const headers = map({}, isSerializableHeaderValue, {
|
|
739
740
|
"x-amz-account-id": input.AccountId,
|
|
740
741
|
});
|
|
741
|
-
let resolvedPath = `${
|
|
742
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}";
|
|
742
743
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
743
744
|
let body;
|
|
744
745
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -768,7 +769,7 @@ const serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
768
769
|
const headers = map({}, isSerializableHeaderValue, {
|
|
769
770
|
"x-amz-account-id": input.AccountId,
|
|
770
771
|
});
|
|
771
|
-
let resolvedPath = `${
|
|
772
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
772
773
|
"/v20180820/accesspointforobjectlambda/{Name}/configuration";
|
|
773
774
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
774
775
|
let body;
|
|
@@ -799,7 +800,7 @@ const serializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (input, c
|
|
|
799
800
|
const headers = map({}, isSerializableHeaderValue, {
|
|
800
801
|
"x-amz-account-id": input.AccountId,
|
|
801
802
|
});
|
|
802
|
-
let resolvedPath = `${
|
|
803
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
803
804
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
804
805
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
805
806
|
let body;
|
|
@@ -830,7 +831,7 @@ const serializeAws_restXmlGetAccessPointPolicyCommand = async (input, context) =
|
|
|
830
831
|
const headers = map({}, isSerializableHeaderValue, {
|
|
831
832
|
"x-amz-account-id": input.AccountId,
|
|
832
833
|
});
|
|
833
|
-
let resolvedPath = `${
|
|
834
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}/policy";
|
|
834
835
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
835
836
|
let body;
|
|
836
837
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -860,7 +861,7 @@ const serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
860
861
|
const headers = map({}, isSerializableHeaderValue, {
|
|
861
862
|
"x-amz-account-id": input.AccountId,
|
|
862
863
|
});
|
|
863
|
-
let resolvedPath = `${
|
|
864
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
864
865
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
865
866
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
866
867
|
let body;
|
|
@@ -891,7 +892,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusCommand = async (input, cont
|
|
|
891
892
|
const headers = map({}, isSerializableHeaderValue, {
|
|
892
893
|
"x-amz-account-id": input.AccountId,
|
|
893
894
|
});
|
|
894
|
-
let resolvedPath = `${
|
|
895
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
895
896
|
"/v20180820/accesspoint/{Name}/policyStatus";
|
|
896
897
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
897
898
|
let body;
|
|
@@ -922,7 +923,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = asy
|
|
|
922
923
|
const headers = map({}, isSerializableHeaderValue, {
|
|
923
924
|
"x-amz-account-id": input.AccountId,
|
|
924
925
|
});
|
|
925
|
-
let resolvedPath = `${
|
|
926
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
926
927
|
"/v20180820/accesspointforobjectlambda/{Name}/policyStatus";
|
|
927
928
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
928
929
|
let body;
|
|
@@ -953,7 +954,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
953
954
|
const headers = map({}, isSerializableHeaderValue, {
|
|
954
955
|
"x-amz-account-id": input.AccountId,
|
|
955
956
|
});
|
|
956
|
-
let resolvedPath = `${
|
|
957
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
957
958
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
958
959
|
let body;
|
|
959
960
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -983,7 +984,8 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
|
|
|
983
984
|
const headers = map({}, isSerializableHeaderValue, {
|
|
984
985
|
"x-amz-account-id": input.AccountId,
|
|
985
986
|
});
|
|
986
|
-
let resolvedPath = `${
|
|
987
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
988
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
987
989
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
988
990
|
let body;
|
|
989
991
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1013,7 +1015,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
|
|
|
1013
1015
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1014
1016
|
"x-amz-account-id": input.AccountId,
|
|
1015
1017
|
});
|
|
1016
|
-
let resolvedPath = `${
|
|
1018
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
1017
1019
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1018
1020
|
let body;
|
|
1019
1021
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1043,7 +1045,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
|
|
|
1043
1045
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1044
1046
|
"x-amz-account-id": input.AccountId,
|
|
1045
1047
|
});
|
|
1046
|
-
let resolvedPath = `${
|
|
1048
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1047
1049
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1048
1050
|
let body;
|
|
1049
1051
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1073,7 +1075,7 @@ const serializeAws_restXmlGetBucketVersioningCommand = async (input, context) =>
|
|
|
1073
1075
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1074
1076
|
"x-amz-account-id": input.AccountId,
|
|
1075
1077
|
});
|
|
1076
|
-
let resolvedPath = `${
|
|
1078
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/versioning";
|
|
1077
1079
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1078
1080
|
let body;
|
|
1079
1081
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1103,7 +1105,7 @@ const serializeAws_restXmlGetJobTaggingCommand = async (input, context) => {
|
|
|
1103
1105
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1104
1106
|
"x-amz-account-id": input.AccountId,
|
|
1105
1107
|
});
|
|
1106
|
-
let resolvedPath = `${
|
|
1108
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/tagging";
|
|
1107
1109
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
1108
1110
|
let body;
|
|
1109
1111
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1133,7 +1135,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
|
|
|
1133
1135
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1134
1136
|
"x-amz-account-id": input.AccountId,
|
|
1135
1137
|
});
|
|
1136
|
-
let resolvedPath = `${
|
|
1138
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}";
|
|
1137
1139
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1138
1140
|
let body;
|
|
1139
1141
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1163,7 +1165,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
1163
1165
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1164
1166
|
"x-amz-account-id": input.AccountId,
|
|
1165
1167
|
});
|
|
1166
|
-
let resolvedPath = `${
|
|
1168
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances/{Name}/policy";
|
|
1167
1169
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1168
1170
|
let body;
|
|
1169
1171
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1193,7 +1195,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
|
|
|
1193
1195
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1194
1196
|
"x-amz-account-id": input.AccountId,
|
|
1195
1197
|
});
|
|
1196
|
-
let resolvedPath = `${
|
|
1198
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1197
1199
|
"/v20180820/mrap/instances/{Name}/policystatus";
|
|
1198
1200
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1199
1201
|
let body;
|
|
@@ -1224,7 +1226,7 @@ const serializeAws_restXmlGetPublicAccessBlockCommand = async (input, context) =
|
|
|
1224
1226
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1225
1227
|
"x-amz-account-id": input.AccountId,
|
|
1226
1228
|
});
|
|
1227
|
-
const resolvedPath = `${
|
|
1229
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1228
1230
|
"/v20180820/configuration/publicAccessBlock";
|
|
1229
1231
|
let body;
|
|
1230
1232
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1254,7 +1256,7 @@ const serializeAws_restXmlGetStorageLensConfigurationCommand = async (input, con
|
|
|
1254
1256
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1255
1257
|
"x-amz-account-id": input.AccountId,
|
|
1256
1258
|
});
|
|
1257
|
-
let resolvedPath = `${
|
|
1259
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}";
|
|
1258
1260
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
1259
1261
|
let body;
|
|
1260
1262
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1284,7 +1286,7 @@ const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (inp
|
|
|
1284
1286
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1285
1287
|
"x-amz-account-id": input.AccountId,
|
|
1286
1288
|
});
|
|
1287
|
-
let resolvedPath = `${
|
|
1289
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
1288
1290
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
1289
1291
|
let body;
|
|
1290
1292
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1314,7 +1316,7 @@ const serializeAws_restXmlListAccessPointsCommand = async (input, context) => {
|
|
|
1314
1316
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1315
1317
|
"x-amz-account-id": input.AccountId,
|
|
1316
1318
|
});
|
|
1317
|
-
const resolvedPath = `${
|
|
1319
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint";
|
|
1318
1320
|
const query = map({
|
|
1319
1321
|
bucket: [, input.Bucket],
|
|
1320
1322
|
nextToken: [, input.NextToken],
|
|
@@ -1349,7 +1351,7 @@ const serializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (input,
|
|
|
1349
1351
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1350
1352
|
"x-amz-account-id": input.AccountId,
|
|
1351
1353
|
});
|
|
1352
|
-
const resolvedPath = `${
|
|
1354
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspointforobjectlambda";
|
|
1353
1355
|
const query = map({
|
|
1354
1356
|
nextToken: [, input.NextToken],
|
|
1355
1357
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -1383,7 +1385,7 @@ const serializeAws_restXmlListJobsCommand = async (input, context) => {
|
|
|
1383
1385
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1384
1386
|
"x-amz-account-id": input.AccountId,
|
|
1385
1387
|
});
|
|
1386
|
-
const resolvedPath = `${
|
|
1388
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs";
|
|
1387
1389
|
const query = map({
|
|
1388
1390
|
jobStatuses: [() => input.JobStatuses !== void 0, () => (input.JobStatuses || []).map((_entry) => _entry)],
|
|
1389
1391
|
nextToken: [, input.NextToken],
|
|
@@ -1418,7 +1420,7 @@ const serializeAws_restXmlListMultiRegionAccessPointsCommand = async (input, con
|
|
|
1418
1420
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1419
1421
|
"x-amz-account-id": input.AccountId,
|
|
1420
1422
|
});
|
|
1421
|
-
const resolvedPath = `${
|
|
1423
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/mrap/instances";
|
|
1422
1424
|
const query = map({
|
|
1423
1425
|
nextToken: [, input.NextToken],
|
|
1424
1426
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -1453,7 +1455,7 @@ const serializeAws_restXmlListRegionalBucketsCommand = async (input, context) =>
|
|
|
1453
1455
|
"x-amz-account-id": input.AccountId,
|
|
1454
1456
|
"x-amz-outpost-id": input.OutpostId,
|
|
1455
1457
|
});
|
|
1456
|
-
const resolvedPath = `${
|
|
1458
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
1457
1459
|
const query = map({
|
|
1458
1460
|
nextToken: [, input.NextToken],
|
|
1459
1461
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
@@ -1487,7 +1489,7 @@ const serializeAws_restXmlListStorageLensConfigurationsCommand = async (input, c
|
|
|
1487
1489
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1488
1490
|
"x-amz-account-id": input.AccountId,
|
|
1489
1491
|
});
|
|
1490
|
-
const resolvedPath = `${
|
|
1492
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens";
|
|
1491
1493
|
const query = map({
|
|
1492
1494
|
nextToken: [, input.NextToken],
|
|
1493
1495
|
});
|
|
@@ -1521,7 +1523,7 @@ const serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = as
|
|
|
1521
1523
|
"content-type": "application/xml",
|
|
1522
1524
|
"x-amz-account-id": input.AccountId,
|
|
1523
1525
|
});
|
|
1524
|
-
let resolvedPath = `${
|
|
1526
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1525
1527
|
"/v20180820/accesspointforobjectlambda/{Name}/configuration";
|
|
1526
1528
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1527
1529
|
let body;
|
|
@@ -1561,7 +1563,7 @@ const serializeAws_restXmlPutAccessPointPolicyCommand = async (input, context) =
|
|
|
1561
1563
|
"content-type": "application/xml",
|
|
1562
1564
|
"x-amz-account-id": input.AccountId,
|
|
1563
1565
|
});
|
|
1564
|
-
let resolvedPath = `${
|
|
1566
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/accesspoint/{Name}/policy";
|
|
1565
1567
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1566
1568
|
let body;
|
|
1567
1569
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1600,7 +1602,7 @@ const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (in
|
|
|
1600
1602
|
"content-type": "application/xml",
|
|
1601
1603
|
"x-amz-account-id": input.AccountId,
|
|
1602
1604
|
});
|
|
1603
|
-
let resolvedPath = `${
|
|
1605
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1604
1606
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
1605
1607
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
1606
1608
|
let body;
|
|
@@ -1640,7 +1642,8 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
|
|
|
1640
1642
|
"content-type": "application/xml",
|
|
1641
1643
|
"x-amz-account-id": input.AccountId,
|
|
1642
1644
|
});
|
|
1643
|
-
let resolvedPath = `${
|
|
1645
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1646
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
1644
1647
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1645
1648
|
let body;
|
|
1646
1649
|
if (input.LifecycleConfiguration !== undefined) {
|
|
@@ -1685,7 +1688,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
|
|
|
1685
1688
|
() => input.ConfirmRemoveSelfBucketAccess.toString(),
|
|
1686
1689
|
],
|
|
1687
1690
|
});
|
|
1688
|
-
let resolvedPath = `${
|
|
1691
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
1689
1692
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1690
1693
|
let body;
|
|
1691
1694
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1724,7 +1727,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
|
|
|
1724
1727
|
"content-type": "application/xml",
|
|
1725
1728
|
"x-amz-account-id": input.AccountId,
|
|
1726
1729
|
});
|
|
1727
|
-
let resolvedPath = `${
|
|
1730
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1728
1731
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1729
1732
|
let body;
|
|
1730
1733
|
if (input.Tagging !== undefined) {
|
|
@@ -1766,7 +1769,7 @@ const serializeAws_restXmlPutBucketVersioningCommand = async (input, context) =>
|
|
|
1766
1769
|
"x-amz-account-id": input.AccountId,
|
|
1767
1770
|
"x-amz-mfa": input.MFA,
|
|
1768
1771
|
});
|
|
1769
|
-
let resolvedPath = `${
|
|
1772
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/versioning";
|
|
1770
1773
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1771
1774
|
let body;
|
|
1772
1775
|
if (input.VersioningConfiguration !== undefined) {
|
|
@@ -1807,7 +1810,7 @@ const serializeAws_restXmlPutJobTaggingCommand = async (input, context) => {
|
|
|
1807
1810
|
"content-type": "application/xml",
|
|
1808
1811
|
"x-amz-account-id": input.AccountId,
|
|
1809
1812
|
});
|
|
1810
|
-
let resolvedPath = `${
|
|
1813
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/tagging";
|
|
1811
1814
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
1812
1815
|
let body;
|
|
1813
1816
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1850,7 +1853,7 @@ const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (input,
|
|
|
1850
1853
|
"content-type": "application/xml",
|
|
1851
1854
|
"x-amz-account-id": input.AccountId,
|
|
1852
1855
|
});
|
|
1853
|
-
const resolvedPath = `${
|
|
1856
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/async-requests/mrap/put-policy";
|
|
1854
1857
|
let body;
|
|
1855
1858
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
1856
1859
|
const bodyNode = new xml_builder_1.XmlNode("PutMultiRegionAccessPointPolicyRequest");
|
|
@@ -1895,7 +1898,7 @@ const serializeAws_restXmlPutPublicAccessBlockCommand = async (input, context) =
|
|
|
1895
1898
|
"content-type": "application/xml",
|
|
1896
1899
|
"x-amz-account-id": input.AccountId,
|
|
1897
1900
|
});
|
|
1898
|
-
const resolvedPath = `${
|
|
1901
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1899
1902
|
"/v20180820/configuration/publicAccessBlock";
|
|
1900
1903
|
let body;
|
|
1901
1904
|
if (input.PublicAccessBlockConfiguration !== undefined) {
|
|
@@ -1936,7 +1939,7 @@ const serializeAws_restXmlPutStorageLensConfigurationCommand = async (input, con
|
|
|
1936
1939
|
"content-type": "application/xml",
|
|
1937
1940
|
"x-amz-account-id": input.AccountId,
|
|
1938
1941
|
});
|
|
1939
|
-
let resolvedPath = `${
|
|
1942
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}";
|
|
1940
1943
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
1941
1944
|
let body;
|
|
1942
1945
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1983,7 +1986,7 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
|
|
|
1983
1986
|
"content-type": "application/xml",
|
|
1984
1987
|
"x-amz-account-id": input.AccountId,
|
|
1985
1988
|
});
|
|
1986
|
-
let resolvedPath = `${
|
|
1989
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
1987
1990
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigId", () => input.ConfigId, "{ConfigId}", false);
|
|
1988
1991
|
let body;
|
|
1989
1992
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -2025,7 +2028,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
|
|
|
2025
2028
|
const headers = map({}, isSerializableHeaderValue, {
|
|
2026
2029
|
"x-amz-account-id": input.AccountId,
|
|
2027
2030
|
});
|
|
2028
|
-
let resolvedPath = `${
|
|
2031
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/priority";
|
|
2029
2032
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
2030
2033
|
const query = map({
|
|
2031
2034
|
priority: [() => input.Priority !== void 0, () => input.Priority.toString()],
|
|
@@ -2059,7 +2062,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
|
|
|
2059
2062
|
const headers = map({}, isSerializableHeaderValue, {
|
|
2060
2063
|
"x-amz-account-id": input.AccountId,
|
|
2061
2064
|
});
|
|
2062
|
-
let resolvedPath = `${
|
|
2065
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/jobs/{JobId}/status";
|
|
2063
2066
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
2064
2067
|
const query = map({
|
|
2065
2068
|
requestedJobStatus: [, input.RequestedJobStatus],
|
|
@@ -6993,15 +6996,12 @@ const deserializeAws_restXmlVpcConfiguration = (output, context) => {
|
|
|
6993
6996
|
}
|
|
6994
6997
|
return contents;
|
|
6995
6998
|
};
|
|
6996
|
-
const deserializeMetadata = (output) => {
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
7003
|
-
});
|
|
7004
|
-
};
|
|
6999
|
+
const deserializeMetadata = (output) => ({
|
|
7000
|
+
httpStatusCode: output.statusCode,
|
|
7001
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
7002
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7003
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
7004
|
+
});
|
|
7005
7005
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
7006
7006
|
if (streamBody instanceof Uint8Array) {
|
|
7007
7007
|
return Promise.resolve(streamBody);
|
|
@@ -7040,10 +7040,9 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7040
7040
|
return {};
|
|
7041
7041
|
});
|
|
7042
7042
|
const parseErrorBody = async (errorBody, context) => {
|
|
7043
|
-
var _a;
|
|
7044
7043
|
const value = await parseBody(errorBody, context);
|
|
7045
7044
|
if (value.Error) {
|
|
7046
|
-
value.Error.message =
|
|
7045
|
+
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
7047
7046
|
}
|
|
7048
7047
|
return value;
|
|
7049
7048
|
};
|
|
@@ -18,7 +18,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -27,23 +26,24 @@ const getRuntimeConfig = (config) => {
|
|
|
27
26
|
...config,
|
|
28
27
|
runtime: "browser",
|
|
29
28
|
defaultsMode,
|
|
30
|
-
base64Decoder:
|
|
31
|
-
base64Encoder:
|
|
32
|
-
bodyLengthChecker:
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
defaultUserAgentProvider:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
29
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
30
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
31
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
32
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
36
|
+
md5: config?.md5 ?? md5_js_1.Md5,
|
|
37
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
38
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
39
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
40
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
41
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
42
|
+
streamHasher: config?.streamHasher ?? hash_blob_browser_1.blobHasher,
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
45
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
46
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -20,7 +20,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
20
20
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
21
21
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
22
22
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
24
23
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
25
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
26
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -30,26 +29,28 @@ const getRuntimeConfig = (config) => {
|
|
|
30
29
|
...config,
|
|
31
30
|
runtime: "node",
|
|
32
31
|
defaultsMode,
|
|
33
|
-
base64Decoder:
|
|
34
|
-
base64Encoder:
|
|
35
|
-
bodyLengthChecker:
|
|
36
|
-
credentialDefaultProvider:
|
|
37
|
-
defaultUserAgentProvider:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
32
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
33
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
34
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
35
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
36
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
37
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
38
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
39
|
+
md5: config?.md5 ?? hash_node_1.Hash.bind(null, "md5"),
|
|
40
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
41
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
42
|
+
retryMode: config?.retryMode ??
|
|
43
|
+
(0, node_config_provider_1.loadConfig)({
|
|
44
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
45
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
46
|
+
}),
|
|
47
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
48
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
49
|
+
streamHasher: config?.streamHasher ?? hash_stream_node_1.fileStreamHasher,
|
|
50
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
51
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
52
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
53
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
53
54
|
};
|
|
54
55
|
};
|
|
55
56
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,16 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
urlParser: (_f = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _f !== void 0 ? _f : url_parser_1.parseUrl,
|
|
16
|
-
});
|
|
17
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2018-08-20",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "S3 Control",
|
|
12
|
+
signingEscapePath: config?.signingEscapePath ?? false,
|
|
13
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
14
|
+
});
|
|
18
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -106,7 +106,7 @@ export const serializeAws_restXmlCreateBucketCommand = async (input, context) =>
|
|
|
106
106
|
],
|
|
107
107
|
"x-amz-outpost-id": input.OutpostId,
|
|
108
108
|
});
|
|
109
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
109
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
110
110
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
111
111
|
let body;
|
|
112
112
|
if (input.CreateBucketConfiguration !== undefined) {
|
|
@@ -378,7 +378,7 @@ export const serializeAws_restXmlDeleteBucketCommand = async (input, context) =>
|
|
|
378
378
|
const headers = map({}, isSerializableHeaderValue, {
|
|
379
379
|
"x-amz-account-id": input.AccountId,
|
|
380
380
|
});
|
|
381
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
381
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
382
382
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
383
383
|
let body;
|
|
384
384
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -407,7 +407,8 @@ export const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = asy
|
|
|
407
407
|
const headers = map({}, isSerializableHeaderValue, {
|
|
408
408
|
"x-amz-account-id": input.AccountId,
|
|
409
409
|
});
|
|
410
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
410
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
411
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
411
412
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
412
413
|
let body;
|
|
413
414
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -436,7 +437,7 @@ export const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, conte
|
|
|
436
437
|
const headers = map({}, isSerializableHeaderValue, {
|
|
437
438
|
"x-amz-account-id": input.AccountId,
|
|
438
439
|
});
|
|
439
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
440
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
440
441
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
441
442
|
let body;
|
|
442
443
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -465,7 +466,7 @@ export const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, cont
|
|
|
465
466
|
const headers = map({}, isSerializableHeaderValue, {
|
|
466
467
|
"x-amz-account-id": input.AccountId,
|
|
467
468
|
});
|
|
468
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
469
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
469
470
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
470
471
|
let body;
|
|
471
472
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -921,7 +922,7 @@ export const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
921
922
|
const headers = map({}, isSerializableHeaderValue, {
|
|
922
923
|
"x-amz-account-id": input.AccountId,
|
|
923
924
|
});
|
|
924
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
925
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}";
|
|
925
926
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
926
927
|
let body;
|
|
927
928
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -950,7 +951,8 @@ export const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async
|
|
|
950
951
|
const headers = map({}, isSerializableHeaderValue, {
|
|
951
952
|
"x-amz-account-id": input.AccountId,
|
|
952
953
|
});
|
|
953
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
954
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
955
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
954
956
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
955
957
|
let body;
|
|
956
958
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -979,7 +981,7 @@ export const serializeAws_restXmlGetBucketPolicyCommand = async (input, context)
|
|
|
979
981
|
const headers = map({}, isSerializableHeaderValue, {
|
|
980
982
|
"x-amz-account-id": input.AccountId,
|
|
981
983
|
});
|
|
982
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
984
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
983
985
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
984
986
|
let body;
|
|
985
987
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1008,7 +1010,7 @@ export const serializeAws_restXmlGetBucketTaggingCommand = async (input, context
|
|
|
1008
1010
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1009
1011
|
"x-amz-account-id": input.AccountId,
|
|
1010
1012
|
});
|
|
1011
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1013
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1012
1014
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1013
1015
|
let body;
|
|
1014
1016
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1587,7 +1589,8 @@ export const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async
|
|
|
1587
1589
|
"content-type": "application/xml",
|
|
1588
1590
|
"x-amz-account-id": input.AccountId,
|
|
1589
1591
|
});
|
|
1590
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1592
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1593
|
+
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
1591
1594
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1592
1595
|
let body;
|
|
1593
1596
|
if (input.LifecycleConfiguration !== undefined) {
|
|
@@ -1631,7 +1634,7 @@ export const serializeAws_restXmlPutBucketPolicyCommand = async (input, context)
|
|
|
1631
1634
|
() => input.ConfirmRemoveSelfBucketAccess.toString(),
|
|
1632
1635
|
],
|
|
1633
1636
|
});
|
|
1634
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
1637
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/policy";
|
|
1635
1638
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1636
1639
|
let body;
|
|
1637
1640
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1669,7 +1672,7 @@ export const serializeAws_restXmlPutBucketTaggingCommand = async (input, context
|
|
|
1669
1672
|
"content-type": "application/xml",
|
|
1670
1673
|
"x-amz-account-id": input.AccountId,
|
|
1671
1674
|
});
|
|
1672
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1675
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/{Bucket}/tagging";
|
|
1673
1676
|
resolvedPath = __resolvedPath(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1674
1677
|
let body;
|
|
1675
1678
|
if (input.Tagging !== undefined) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.201.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,52 +21,52 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-blob-browser": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/hash-stream-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/md5-js": "3.
|
|
33
|
-
"@aws-sdk/middleware-apply-body-checksum": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
37
|
-
"@aws-sdk/middleware-logger": "3.
|
|
38
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-s3-control": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.201.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
28
|
+
"@aws-sdk/hash-blob-browser": "3.201.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
30
|
+
"@aws-sdk/hash-stream-node": "3.201.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
32
|
+
"@aws-sdk/md5-js": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-apply-body-checksum": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
38
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-s3-control": "3.201.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
49
|
+
"@aws-sdk/types": "3.201.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
51
51
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
56
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
57
|
-
"@aws-sdk/util-endpoints": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
56
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
57
|
+
"@aws-sdk/util-endpoints": "3.201.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
60
60
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
61
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
62
|
-
"@aws-sdk/xml-builder": "3.
|
|
61
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
62
|
+
"@aws-sdk/xml-builder": "3.201.0",
|
|
63
63
|
"fast-xml-parser": "4.0.11",
|
|
64
64
|
"tslib": "^2.3.1",
|
|
65
65
|
"uuid": "^8.3.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
69
|
-
"@tsconfig/
|
|
69
|
+
"@tsconfig/node14": "1.0.3",
|
|
70
70
|
"@types/mocha": "^8.0.4",
|
|
71
71
|
"@types/node": "^12.7.5",
|
|
72
72
|
"@types/uuid": "^8.3.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"engines": {
|
|
85
|
-
"node": ">=
|
|
85
|
+
"node": ">=14.0.0"
|
|
86
86
|
},
|
|
87
87
|
"typesVersions": {
|
|
88
88
|
"<4.0": {
|