@aws-sdk/client-s3-control 3.53.1 → 3.55.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/S3ControlClient.js +14 -14
- package/dist-cjs/commands/CreateAccessPointCommand.js +4 -4
- package/dist-cjs/commands/CreateAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/CreateBucketCommand.js +5 -5
- package/dist-cjs/commands/CreateJobCommand.js +4 -4
- package/dist-cjs/commands/CreateMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/DeleteAccessPointCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/DeleteStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobCommand.js +4 -4
- package/dist-cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +5 -5
- package/dist-cjs/commands/GetAccessPointCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyStatusCommand.js +4 -4
- package/dist-cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/GetBucketCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetMultiRegionAccessPointCommand.js +5 -5
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +5 -5
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +5 -5
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/GetStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/ListAccessPointsCommand.js +4 -4
- package/dist-cjs/commands/ListAccessPointsForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/ListJobsCommand.js +4 -4
- package/dist-cjs/commands/ListMultiRegionAccessPointsCommand.js +5 -5
- package/dist-cjs/commands/ListRegionalBucketsCommand.js +4 -4
- package/dist-cjs/commands/ListStorageLensConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointPolicyCommand.js +4 -4
- package/dist-cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
- package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -5
- package/dist-cjs/commands/PutJobTaggingCommand.js +4 -4
- package/dist-cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +5 -5
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/PutStorageLensConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutStorageLensConfigurationTaggingCommand.js +4 -4
- package/dist-cjs/commands/UpdateJobPriorityCommand.js +4 -4
- package/dist-cjs/commands/UpdateJobStatusCommand.js +4 -4
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restXml.js +464 -464
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/S3Control.js +57 -57
- package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +4 -4
- package/dist-es/pagination/ListAccessPointsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +4 -4
- package/dist-es/pagination/ListRegionalBucketsPaginator.js +4 -4
- package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restXml.js +57 -57
- package/dist-types/S3ControlClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/S3ControlClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +40 -40
|
@@ -15,7 +15,7 @@ export var serializeAws_restXmlCreateAccessPointCommand = function (input, conte
|
|
|
15
15
|
case 1:
|
|
16
16
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
17
17
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}";
|
|
19
19
|
if (input.Name !== undefined) {
|
|
20
20
|
labelValue = input.Name;
|
|
21
21
|
if (labelValue.length <= 0) {
|
|
@@ -75,7 +75,7 @@ export var serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = functio
|
|
|
75
75
|
case 1:
|
|
76
76
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
77
77
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
78
|
-
resolvedPath = ""
|
|
78
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
79
79
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
80
80
|
if (input.Name !== undefined) {
|
|
81
81
|
labelValue = input.Name;
|
|
@@ -130,7 +130,7 @@ export var serializeAws_restXmlCreateBucketCommand = function (input, context) {
|
|
|
130
130
|
headers = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.ACL) && { "x-amz-acl": input.ACL })), (isSerializableHeaderValue(input.GrantFullControl) && { "x-amz-grant-full-control": input.GrantFullControl })), (isSerializableHeaderValue(input.GrantRead) && { "x-amz-grant-read": input.GrantRead })), (isSerializableHeaderValue(input.GrantReadACP) && { "x-amz-grant-read-acp": input.GrantReadACP })), (isSerializableHeaderValue(input.GrantWrite) && { "x-amz-grant-write": input.GrantWrite })), (isSerializableHeaderValue(input.GrantWriteACP) && { "x-amz-grant-write-acp": input.GrantWriteACP })), (isSerializableHeaderValue(input.ObjectLockEnabledForBucket) && {
|
|
131
131
|
"x-amz-bucket-object-lock-enabled": input.ObjectLockEnabledForBucket.toString(),
|
|
132
132
|
})), (isSerializableHeaderValue(input.OutpostId) && { "x-amz-outpost-id": input.OutpostId }));
|
|
133
|
-
resolvedPath = ""
|
|
133
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}";
|
|
134
134
|
if (input.Bucket !== undefined) {
|
|
135
135
|
labelValue = input.Bucket;
|
|
136
136
|
if (labelValue.length <= 0) {
|
|
@@ -170,7 +170,7 @@ export var serializeAws_restXmlCreateJobCommand = function (input, context) { re
|
|
|
170
170
|
case 1:
|
|
171
171
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
172
172
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
173
|
-
resolvedPath = ""
|
|
173
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs";
|
|
174
174
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
175
175
|
bodyNode = new __XmlNode("CreateJobRequest");
|
|
176
176
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
@@ -261,7 +261,7 @@ export var serializeAws_restXmlCreateMultiRegionAccessPointCommand = function (i
|
|
|
261
261
|
case 1:
|
|
262
262
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
263
263
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
264
|
-
resolvedPath = ""
|
|
264
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/async-requests/mrap/create";
|
|
265
265
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
266
266
|
bodyNode = new __XmlNode("CreateMultiRegionAccessPointRequest");
|
|
267
267
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
@@ -312,7 +312,7 @@ export var serializeAws_restXmlDeleteAccessPointCommand = function (input, conte
|
|
|
312
312
|
case 1:
|
|
313
313
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
314
314
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
315
|
-
resolvedPath = ""
|
|
315
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}";
|
|
316
316
|
if (input.Name !== undefined) {
|
|
317
317
|
labelValue = input.Name;
|
|
318
318
|
if (labelValue.length <= 0) {
|
|
@@ -356,7 +356,7 @@ export var serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = functio
|
|
|
356
356
|
case 1:
|
|
357
357
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
358
358
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
359
|
-
resolvedPath = ""
|
|
359
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
360
360
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
361
361
|
if (input.Name !== undefined) {
|
|
362
362
|
labelValue = input.Name;
|
|
@@ -401,7 +401,7 @@ export var serializeAws_restXmlDeleteAccessPointPolicyCommand = function (input,
|
|
|
401
401
|
case 1:
|
|
402
402
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
403
403
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
404
|
-
resolvedPath = ""
|
|
404
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}/policy";
|
|
405
405
|
if (input.Name !== undefined) {
|
|
406
406
|
labelValue = input.Name;
|
|
407
407
|
if (labelValue.length <= 0) {
|
|
@@ -445,7 +445,7 @@ export var serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = f
|
|
|
445
445
|
case 1:
|
|
446
446
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
447
447
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
448
|
-
resolvedPath = ""
|
|
448
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
449
449
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
450
450
|
if (input.Name !== undefined) {
|
|
451
451
|
labelValue = input.Name;
|
|
@@ -490,7 +490,7 @@ export var serializeAws_restXmlDeleteBucketCommand = function (input, context) {
|
|
|
490
490
|
case 1:
|
|
491
491
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
492
492
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
493
|
-
resolvedPath = ""
|
|
493
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}";
|
|
494
494
|
if (input.Bucket !== undefined) {
|
|
495
495
|
labelValue = input.Bucket;
|
|
496
496
|
if (labelValue.length <= 0) {
|
|
@@ -534,7 +534,7 @@ export var serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = funct
|
|
|
534
534
|
case 1:
|
|
535
535
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
536
536
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
537
|
-
resolvedPath = ""
|
|
537
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
538
538
|
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
539
539
|
if (input.Bucket !== undefined) {
|
|
540
540
|
labelValue = input.Bucket;
|
|
@@ -579,7 +579,7 @@ export var serializeAws_restXmlDeleteBucketPolicyCommand = function (input, cont
|
|
|
579
579
|
case 1:
|
|
580
580
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
581
581
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
582
|
-
resolvedPath = ""
|
|
582
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/policy";
|
|
583
583
|
if (input.Bucket !== undefined) {
|
|
584
584
|
labelValue = input.Bucket;
|
|
585
585
|
if (labelValue.length <= 0) {
|
|
@@ -623,7 +623,7 @@ export var serializeAws_restXmlDeleteBucketTaggingCommand = function (input, con
|
|
|
623
623
|
case 1:
|
|
624
624
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
625
625
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
626
|
-
resolvedPath = ""
|
|
626
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/tagging";
|
|
627
627
|
if (input.Bucket !== undefined) {
|
|
628
628
|
labelValue = input.Bucket;
|
|
629
629
|
if (labelValue.length <= 0) {
|
|
@@ -667,7 +667,7 @@ export var serializeAws_restXmlDeleteJobTaggingCommand = function (input, contex
|
|
|
667
667
|
case 1:
|
|
668
668
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
669
669
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
670
|
-
resolvedPath = ""
|
|
670
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}/tagging";
|
|
671
671
|
if (input.JobId !== undefined) {
|
|
672
672
|
labelValue = input.JobId;
|
|
673
673
|
if (labelValue.length <= 0) {
|
|
@@ -711,7 +711,7 @@ export var serializeAws_restXmlDeleteMultiRegionAccessPointCommand = function (i
|
|
|
711
711
|
case 1:
|
|
712
712
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
713
713
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
714
|
-
resolvedPath = ""
|
|
714
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/async-requests/mrap/delete";
|
|
715
715
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
716
716
|
bodyNode = new __XmlNode("DeleteMultiRegionAccessPointRequest");
|
|
717
717
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
@@ -762,7 +762,7 @@ export var serializeAws_restXmlDeletePublicAccessBlockCommand = function (input,
|
|
|
762
762
|
case 1:
|
|
763
763
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
764
764
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
765
|
-
resolvedPath = ""
|
|
765
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
766
766
|
"/v20180820/configuration/publicAccessBlock";
|
|
767
767
|
return [4, context.endpoint()];
|
|
768
768
|
case 2:
|
|
@@ -797,7 +797,7 @@ export var serializeAws_restXmlDeleteStorageLensConfigurationCommand = function
|
|
|
797
797
|
case 1:
|
|
798
798
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
799
799
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
800
|
-
resolvedPath = ""
|
|
800
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}";
|
|
801
801
|
if (input.ConfigId !== undefined) {
|
|
802
802
|
labelValue = input.ConfigId;
|
|
803
803
|
if (labelValue.length <= 0) {
|
|
@@ -841,7 +841,7 @@ export var serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = fu
|
|
|
841
841
|
case 1:
|
|
842
842
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
843
843
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
844
|
-
resolvedPath = ""
|
|
844
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
845
845
|
if (input.ConfigId !== undefined) {
|
|
846
846
|
labelValue = input.ConfigId;
|
|
847
847
|
if (labelValue.length <= 0) {
|
|
@@ -885,7 +885,7 @@ export var serializeAws_restXmlDescribeJobCommand = function (input, context) {
|
|
|
885
885
|
case 1:
|
|
886
886
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
887
887
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
888
|
-
resolvedPath = ""
|
|
888
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}";
|
|
889
889
|
if (input.JobId !== undefined) {
|
|
890
890
|
labelValue = input.JobId;
|
|
891
891
|
if (labelValue.length <= 0) {
|
|
@@ -929,7 +929,7 @@ export var serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand =
|
|
|
929
929
|
case 1:
|
|
930
930
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
931
931
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
932
|
-
resolvedPath = ""
|
|
932
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
933
933
|
"/v20180820/async-requests/mrap/{RequestTokenARN+}";
|
|
934
934
|
if (input.RequestTokenARN !== undefined) {
|
|
935
935
|
labelValue = input.RequestTokenARN;
|
|
@@ -977,7 +977,7 @@ export var serializeAws_restXmlGetAccessPointCommand = function (input, context)
|
|
|
977
977
|
case 1:
|
|
978
978
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
979
979
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
980
|
-
resolvedPath = ""
|
|
980
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}";
|
|
981
981
|
if (input.Name !== undefined) {
|
|
982
982
|
labelValue = input.Name;
|
|
983
983
|
if (labelValue.length <= 0) {
|
|
@@ -1021,7 +1021,7 @@ export var serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand
|
|
|
1021
1021
|
case 1:
|
|
1022
1022
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1023
1023
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1024
|
-
resolvedPath = ""
|
|
1024
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1025
1025
|
"/v20180820/accesspointforobjectlambda/{Name}/configuration";
|
|
1026
1026
|
if (input.Name !== undefined) {
|
|
1027
1027
|
labelValue = input.Name;
|
|
@@ -1066,7 +1066,7 @@ export var serializeAws_restXmlGetAccessPointForObjectLambdaCommand = function (
|
|
|
1066
1066
|
case 1:
|
|
1067
1067
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1068
1068
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1069
|
-
resolvedPath = ""
|
|
1069
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1070
1070
|
"/v20180820/accesspointforobjectlambda/{Name}";
|
|
1071
1071
|
if (input.Name !== undefined) {
|
|
1072
1072
|
labelValue = input.Name;
|
|
@@ -1111,7 +1111,7 @@ export var serializeAws_restXmlGetAccessPointPolicyCommand = function (input, co
|
|
|
1111
1111
|
case 1:
|
|
1112
1112
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1113
1113
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1114
|
-
resolvedPath = ""
|
|
1114
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}/policy";
|
|
1115
1115
|
if (input.Name !== undefined) {
|
|
1116
1116
|
labelValue = input.Name;
|
|
1117
1117
|
if (labelValue.length <= 0) {
|
|
@@ -1155,7 +1155,7 @@ export var serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = func
|
|
|
1155
1155
|
case 1:
|
|
1156
1156
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1157
1157
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1158
|
-
resolvedPath = ""
|
|
1158
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1159
1159
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
1160
1160
|
if (input.Name !== undefined) {
|
|
1161
1161
|
labelValue = input.Name;
|
|
@@ -1200,7 +1200,7 @@ export var serializeAws_restXmlGetAccessPointPolicyStatusCommand = function (inp
|
|
|
1200
1200
|
case 1:
|
|
1201
1201
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1202
1202
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1203
|
-
resolvedPath = ""
|
|
1203
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1204
1204
|
"/v20180820/accesspoint/{Name}/policyStatus";
|
|
1205
1205
|
if (input.Name !== undefined) {
|
|
1206
1206
|
labelValue = input.Name;
|
|
@@ -1245,7 +1245,7 @@ export var serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand
|
|
|
1245
1245
|
case 1:
|
|
1246
1246
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1247
1247
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1248
|
-
resolvedPath = ""
|
|
1248
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1249
1249
|
"/v20180820/accesspointforobjectlambda/{Name}/policyStatus";
|
|
1250
1250
|
if (input.Name !== undefined) {
|
|
1251
1251
|
labelValue = input.Name;
|
|
@@ -1290,7 +1290,7 @@ export var serializeAws_restXmlGetBucketCommand = function (input, context) { re
|
|
|
1290
1290
|
case 1:
|
|
1291
1291
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1292
1292
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1293
|
-
resolvedPath = ""
|
|
1293
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}";
|
|
1294
1294
|
if (input.Bucket !== undefined) {
|
|
1295
1295
|
labelValue = input.Bucket;
|
|
1296
1296
|
if (labelValue.length <= 0) {
|
|
@@ -1334,7 +1334,7 @@ export var serializeAws_restXmlGetBucketLifecycleConfigurationCommand = function
|
|
|
1334
1334
|
case 1:
|
|
1335
1335
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1336
1336
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1337
|
-
resolvedPath = ""
|
|
1337
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1338
1338
|
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
1339
1339
|
if (input.Bucket !== undefined) {
|
|
1340
1340
|
labelValue = input.Bucket;
|
|
@@ -1379,7 +1379,7 @@ export var serializeAws_restXmlGetBucketPolicyCommand = function (input, context
|
|
|
1379
1379
|
case 1:
|
|
1380
1380
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1381
1381
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1382
|
-
resolvedPath = ""
|
|
1382
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/policy";
|
|
1383
1383
|
if (input.Bucket !== undefined) {
|
|
1384
1384
|
labelValue = input.Bucket;
|
|
1385
1385
|
if (labelValue.length <= 0) {
|
|
@@ -1423,7 +1423,7 @@ export var serializeAws_restXmlGetBucketTaggingCommand = function (input, contex
|
|
|
1423
1423
|
case 1:
|
|
1424
1424
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1425
1425
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1426
|
-
resolvedPath = ""
|
|
1426
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/tagging";
|
|
1427
1427
|
if (input.Bucket !== undefined) {
|
|
1428
1428
|
labelValue = input.Bucket;
|
|
1429
1429
|
if (labelValue.length <= 0) {
|
|
@@ -1467,7 +1467,7 @@ export var serializeAws_restXmlGetJobTaggingCommand = function (input, context)
|
|
|
1467
1467
|
case 1:
|
|
1468
1468
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1469
1469
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1470
|
-
resolvedPath = ""
|
|
1470
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}/tagging";
|
|
1471
1471
|
if (input.JobId !== undefined) {
|
|
1472
1472
|
labelValue = input.JobId;
|
|
1473
1473
|
if (labelValue.length <= 0) {
|
|
@@ -1511,7 +1511,7 @@ export var serializeAws_restXmlGetMultiRegionAccessPointCommand = function (inpu
|
|
|
1511
1511
|
case 1:
|
|
1512
1512
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1513
1513
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1514
|
-
resolvedPath = ""
|
|
1514
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/mrap/instances/{Name}";
|
|
1515
1515
|
if (input.Name !== undefined) {
|
|
1516
1516
|
labelValue = input.Name;
|
|
1517
1517
|
if (labelValue.length <= 0) {
|
|
@@ -1555,7 +1555,7 @@ export var serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = function
|
|
|
1555
1555
|
case 1:
|
|
1556
1556
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1557
1557
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1558
|
-
resolvedPath = ""
|
|
1558
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/mrap/instances/{Name}/policy";
|
|
1559
1559
|
if (input.Name !== undefined) {
|
|
1560
1560
|
labelValue = input.Name;
|
|
1561
1561
|
if (labelValue.length <= 0) {
|
|
@@ -1599,7 +1599,7 @@ export var serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = fu
|
|
|
1599
1599
|
case 1:
|
|
1600
1600
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1601
1601
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1602
|
-
resolvedPath = ""
|
|
1602
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1603
1603
|
"/v20180820/mrap/instances/{Name}/policystatus";
|
|
1604
1604
|
if (input.Name !== undefined) {
|
|
1605
1605
|
labelValue = input.Name;
|
|
@@ -1644,7 +1644,7 @@ export var serializeAws_restXmlGetPublicAccessBlockCommand = function (input, co
|
|
|
1644
1644
|
case 1:
|
|
1645
1645
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1646
1646
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1647
|
-
resolvedPath = ""
|
|
1647
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1648
1648
|
"/v20180820/configuration/publicAccessBlock";
|
|
1649
1649
|
return [4, context.endpoint()];
|
|
1650
1650
|
case 2:
|
|
@@ -1679,7 +1679,7 @@ export var serializeAws_restXmlGetStorageLensConfigurationCommand = function (in
|
|
|
1679
1679
|
case 1:
|
|
1680
1680
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1681
1681
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1682
|
-
resolvedPath = ""
|
|
1682
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}";
|
|
1683
1683
|
if (input.ConfigId !== undefined) {
|
|
1684
1684
|
labelValue = input.ConfigId;
|
|
1685
1685
|
if (labelValue.length <= 0) {
|
|
@@ -1723,7 +1723,7 @@ export var serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = funct
|
|
|
1723
1723
|
case 1:
|
|
1724
1724
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1725
1725
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1726
|
-
resolvedPath = ""
|
|
1726
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
1727
1727
|
if (input.ConfigId !== undefined) {
|
|
1728
1728
|
labelValue = input.ConfigId;
|
|
1729
1729
|
if (labelValue.length <= 0) {
|
|
@@ -1767,7 +1767,7 @@ export var serializeAws_restXmlListAccessPointsCommand = function (input, contex
|
|
|
1767
1767
|
case 1:
|
|
1768
1768
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1769
1769
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1770
|
-
resolvedPath = ""
|
|
1770
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint";
|
|
1771
1771
|
query = __assign(__assign(__assign({}, (input.Bucket !== undefined && { bucket: input.Bucket })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1772
1772
|
return [4, context.endpoint()];
|
|
1773
1773
|
case 2:
|
|
@@ -1803,7 +1803,7 @@ export var serializeAws_restXmlListAccessPointsForObjectLambdaCommand = function
|
|
|
1803
1803
|
case 1:
|
|
1804
1804
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1805
1805
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1806
|
-
resolvedPath = ""
|
|
1806
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspointforobjectlambda";
|
|
1807
1807
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1808
1808
|
return [4, context.endpoint()];
|
|
1809
1809
|
case 2:
|
|
@@ -1839,7 +1839,7 @@ export var serializeAws_restXmlListJobsCommand = function (input, context) { ret
|
|
|
1839
1839
|
case 1:
|
|
1840
1840
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1841
1841
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1842
|
-
resolvedPath = ""
|
|
1842
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs";
|
|
1843
1843
|
query = __assign(__assign(__assign({}, (input.JobStatuses !== undefined && { jobStatuses: (input.JobStatuses || []).map(function (_entry) { return _entry; }) })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1844
1844
|
return [4, context.endpoint()];
|
|
1845
1845
|
case 2:
|
|
@@ -1875,7 +1875,7 @@ export var serializeAws_restXmlListMultiRegionAccessPointsCommand = function (in
|
|
|
1875
1875
|
case 1:
|
|
1876
1876
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1877
1877
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1878
|
-
resolvedPath = ""
|
|
1878
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/mrap/instances";
|
|
1879
1879
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1880
1880
|
return [4, context.endpoint()];
|
|
1881
1881
|
case 2:
|
|
@@ -1911,7 +1911,7 @@ export var serializeAws_restXmlListRegionalBucketsCommand = function (input, con
|
|
|
1911
1911
|
case 1:
|
|
1912
1912
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1913
1913
|
headers = __assign(__assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId })), (isSerializableHeaderValue(input.OutpostId) && { "x-amz-outpost-id": input.OutpostId }));
|
|
1914
|
-
resolvedPath = ""
|
|
1914
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket";
|
|
1915
1915
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1916
1916
|
return [4, context.endpoint()];
|
|
1917
1917
|
case 2:
|
|
@@ -1947,7 +1947,7 @@ export var serializeAws_restXmlListStorageLensConfigurationsCommand = function (
|
|
|
1947
1947
|
case 1:
|
|
1948
1948
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1949
1949
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1950
|
-
resolvedPath = ""
|
|
1950
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens";
|
|
1951
1951
|
query = __assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
1952
1952
|
return [4, context.endpoint()];
|
|
1953
1953
|
case 2:
|
|
@@ -1983,7 +1983,7 @@ export var serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand
|
|
|
1983
1983
|
case 1:
|
|
1984
1984
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1985
1985
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
1986
|
-
resolvedPath = ""
|
|
1986
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1987
1987
|
"/v20180820/accesspointforobjectlambda/{Name}/configuration";
|
|
1988
1988
|
if (input.Name !== undefined) {
|
|
1989
1989
|
labelValue = input.Name;
|
|
@@ -2036,7 +2036,7 @@ export var serializeAws_restXmlPutAccessPointPolicyCommand = function (input, co
|
|
|
2036
2036
|
case 1:
|
|
2037
2037
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2038
2038
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2039
|
-
resolvedPath = ""
|
|
2039
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/accesspoint/{Name}/policy";
|
|
2040
2040
|
if (input.Name !== undefined) {
|
|
2041
2041
|
labelValue = input.Name;
|
|
2042
2042
|
if (labelValue.length <= 0) {
|
|
@@ -2088,7 +2088,7 @@ export var serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = func
|
|
|
2088
2088
|
case 1:
|
|
2089
2089
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2090
2090
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2091
|
-
resolvedPath = ""
|
|
2091
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2092
2092
|
"/v20180820/accesspointforobjectlambda/{Name}/policy";
|
|
2093
2093
|
if (input.Name !== undefined) {
|
|
2094
2094
|
labelValue = input.Name;
|
|
@@ -2141,7 +2141,7 @@ export var serializeAws_restXmlPutBucketLifecycleConfigurationCommand = function
|
|
|
2141
2141
|
case 1:
|
|
2142
2142
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2143
2143
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2144
|
-
resolvedPath = ""
|
|
2144
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2145
2145
|
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
2146
2146
|
if (input.Bucket !== undefined) {
|
|
2147
2147
|
labelValue = input.Bucket;
|
|
@@ -2197,7 +2197,7 @@ export var serializeAws_restXmlPutBucketPolicyCommand = function (input, context
|
|
|
2197
2197
|
headers = __assign(__assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId })), (isSerializableHeaderValue(input.ConfirmRemoveSelfBucketAccess) && {
|
|
2198
2198
|
"x-amz-confirm-remove-self-bucket-access": input.ConfirmRemoveSelfBucketAccess.toString(),
|
|
2199
2199
|
}));
|
|
2200
|
-
resolvedPath = ""
|
|
2200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/policy";
|
|
2201
2201
|
if (input.Bucket !== undefined) {
|
|
2202
2202
|
labelValue = input.Bucket;
|
|
2203
2203
|
if (labelValue.length <= 0) {
|
|
@@ -2249,7 +2249,7 @@ export var serializeAws_restXmlPutBucketTaggingCommand = function (input, contex
|
|
|
2249
2249
|
case 1:
|
|
2250
2250
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2251
2251
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2252
|
-
resolvedPath = ""
|
|
2252
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/bucket/{Bucket}/tagging";
|
|
2253
2253
|
if (input.Bucket !== undefined) {
|
|
2254
2254
|
labelValue = input.Bucket;
|
|
2255
2255
|
if (labelValue.length <= 0) {
|
|
@@ -2302,7 +2302,7 @@ export var serializeAws_restXmlPutJobTaggingCommand = function (input, context)
|
|
|
2302
2302
|
case 1:
|
|
2303
2303
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2304
2304
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2305
|
-
resolvedPath = ""
|
|
2305
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}/tagging";
|
|
2306
2306
|
if (input.JobId !== undefined) {
|
|
2307
2307
|
labelValue = input.JobId;
|
|
2308
2308
|
if (labelValue.length <= 0) {
|
|
@@ -2358,7 +2358,7 @@ export var serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = function
|
|
|
2358
2358
|
case 1:
|
|
2359
2359
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2360
2360
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2361
|
-
resolvedPath = ""
|
|
2361
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/async-requests/mrap/put-policy";
|
|
2362
2362
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
2363
2363
|
bodyNode = new __XmlNode("PutMultiRegionAccessPointPolicyRequest");
|
|
2364
2364
|
bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
|
|
@@ -2409,7 +2409,7 @@ export var serializeAws_restXmlPutPublicAccessBlockCommand = function (input, co
|
|
|
2409
2409
|
case 1:
|
|
2410
2410
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2411
2411
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2412
|
-
resolvedPath = ""
|
|
2412
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2413
2413
|
"/v20180820/configuration/publicAccessBlock";
|
|
2414
2414
|
if (input.PublicAccessBlockConfiguration !== undefined) {
|
|
2415
2415
|
body = serializeAws_restXmlPublicAccessBlockConfiguration(input.PublicAccessBlockConfiguration, context);
|
|
@@ -2453,7 +2453,7 @@ export var serializeAws_restXmlPutStorageLensConfigurationCommand = function (in
|
|
|
2453
2453
|
case 1:
|
|
2454
2454
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2455
2455
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2456
|
-
resolvedPath = ""
|
|
2456
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}";
|
|
2457
2457
|
if (input.ConfigId !== undefined) {
|
|
2458
2458
|
labelValue = input.ConfigId;
|
|
2459
2459
|
if (labelValue.length <= 0) {
|
|
@@ -2513,7 +2513,7 @@ export var serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = funct
|
|
|
2513
2513
|
case 1:
|
|
2514
2514
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2515
2515
|
headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2516
|
-
resolvedPath = ""
|
|
2516
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/storagelens/{ConfigId}/tagging";
|
|
2517
2517
|
if (input.ConfigId !== undefined) {
|
|
2518
2518
|
labelValue = input.ConfigId;
|
|
2519
2519
|
if (labelValue.length <= 0) {
|
|
@@ -2569,7 +2569,7 @@ export var serializeAws_restXmlUpdateJobPriorityCommand = function (input, conte
|
|
|
2569
2569
|
case 1:
|
|
2570
2570
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2571
2571
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2572
|
-
resolvedPath = ""
|
|
2572
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}/priority";
|
|
2573
2573
|
if (input.JobId !== undefined) {
|
|
2574
2574
|
labelValue = input.JobId;
|
|
2575
2575
|
if (labelValue.length <= 0) {
|
|
@@ -2615,7 +2615,7 @@ export var serializeAws_restXmlUpdateJobStatusCommand = function (input, context
|
|
|
2615
2615
|
case 1:
|
|
2616
2616
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2617
2617
|
headers = __assign({}, (isSerializableHeaderValue(input.AccountId) && { "x-amz-account-id": input.AccountId }));
|
|
2618
|
-
resolvedPath = ""
|
|
2618
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v20180820/jobs/{JobId}/status";
|
|
2619
2619
|
if (input.JobId !== undefined) {
|
|
2620
2620
|
labelValue = input.JobId;
|
|
2621
2621
|
if (labelValue.length <= 0) {
|
|
@@ -7,7 +7,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
9
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { Readable } from "stream";
|
|
12
12
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
13
13
|
import { CreateAccessPointForObjectLambdaCommandInput, CreateAccessPointForObjectLambdaCommandOutput } from "./commands/CreateAccessPointForObjectLambdaCommand";
|
|
@@ -88,7 +88,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
88
88
|
* A function that can calculate the length of a request body.
|
|
89
89
|
* @internal
|
|
90
90
|
*/
|
|
91
|
-
bodyLengthChecker?:
|
|
91
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
92
92
|
/**
|
|
93
93
|
* A function that converts a stream into an array of bytes.
|
|
94
94
|
* @internal
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
9
9
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
10
10
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
11
11
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
12
|
-
bodyLengthChecker: (
|
|
12
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
13
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
14
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
15
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -10,7 +10,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
10
10
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
-
bodyLengthChecker: (
|
|
13
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
14
14
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
15
15
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
16
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
9
9
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
10
10
|
apiVersion: string;
|
|
11
11
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
|
-
bodyLengthChecker: (
|
|
12
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
14
14
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
15
15
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -22,13 +22,13 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
24
24
|
serviceId: string;
|
|
25
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
25
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
26
26
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
27
27
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
28
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
29
29
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
30
30
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
31
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
31
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
32
32
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|