@aws-sdk/client-s3 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.
Files changed (117) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/S3Client.js +18 -18
  3. package/dist-cjs/commands/AbortMultipartUploadCommand.js +4 -4
  4. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +6 -6
  5. package/dist-cjs/commands/CopyObjectCommand.js +6 -6
  6. package/dist-cjs/commands/CreateBucketCommand.js +4 -4
  7. package/dist-cjs/commands/CreateMultipartUploadCommand.js +5 -5
  8. package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteBucketCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteBucketCorsCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +4 -4
  14. package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +4 -4
  15. package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +4 -4
  16. package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
  18. package/dist-cjs/commands/DeleteBucketReplicationCommand.js +4 -4
  19. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
  20. package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +4 -4
  21. package/dist-cjs/commands/DeleteObjectCommand.js +4 -4
  22. package/dist-cjs/commands/DeleteObjectTaggingCommand.js +4 -4
  23. package/dist-cjs/commands/DeleteObjectsCommand.js +5 -5
  24. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
  25. package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +4 -4
  26. package/dist-cjs/commands/GetBucketAclCommand.js +4 -4
  27. package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +4 -4
  28. package/dist-cjs/commands/GetBucketCorsCommand.js +4 -4
  29. package/dist-cjs/commands/GetBucketEncryptionCommand.js +4 -4
  30. package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -4
  31. package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +4 -4
  32. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
  33. package/dist-cjs/commands/GetBucketLocationCommand.js +4 -4
  34. package/dist-cjs/commands/GetBucketLoggingCommand.js +4 -4
  35. package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +4 -4
  36. package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +4 -4
  37. package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +4 -4
  38. package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
  39. package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +4 -4
  40. package/dist-cjs/commands/GetBucketReplicationCommand.js +4 -4
  41. package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +4 -4
  42. package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
  43. package/dist-cjs/commands/GetBucketVersioningCommand.js +4 -4
  44. package/dist-cjs/commands/GetBucketWebsiteCommand.js +4 -4
  45. package/dist-cjs/commands/GetObjectAclCommand.js +4 -4
  46. package/dist-cjs/commands/GetObjectAttributesCommand.js +5 -5
  47. package/dist-cjs/commands/GetObjectCommand.js +6 -6
  48. package/dist-cjs/commands/GetObjectLegalHoldCommand.js +4 -4
  49. package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +4 -4
  50. package/dist-cjs/commands/GetObjectRetentionCommand.js +4 -4
  51. package/dist-cjs/commands/GetObjectTaggingCommand.js +4 -4
  52. package/dist-cjs/commands/GetObjectTorrentCommand.js +4 -4
  53. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
  54. package/dist-cjs/commands/HeadBucketCommand.js +4 -4
  55. package/dist-cjs/commands/HeadObjectCommand.js +5 -5
  56. package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -4
  57. package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -4
  58. package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +4 -4
  59. package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +4 -4
  60. package/dist-cjs/commands/ListBucketsCommand.js +3 -3
  61. package/dist-cjs/commands/ListMultipartUploadsCommand.js +4 -4
  62. package/dist-cjs/commands/ListObjectVersionsCommand.js +4 -4
  63. package/dist-cjs/commands/ListObjectsCommand.js +4 -4
  64. package/dist-cjs/commands/ListObjectsV2Command.js +4 -4
  65. package/dist-cjs/commands/ListPartsCommand.js +5 -5
  66. package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +5 -5
  67. package/dist-cjs/commands/PutBucketAclCommand.js +5 -5
  68. package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +4 -4
  69. package/dist-cjs/commands/PutBucketCorsCommand.js +5 -5
  70. package/dist-cjs/commands/PutBucketEncryptionCommand.js +5 -5
  71. package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +4 -4
  72. package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +4 -4
  73. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
  74. package/dist-cjs/commands/PutBucketLoggingCommand.js +5 -5
  75. package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +4 -4
  76. package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +4 -4
  77. package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +5 -5
  78. package/dist-cjs/commands/PutBucketPolicyCommand.js +5 -5
  79. package/dist-cjs/commands/PutBucketReplicationCommand.js +5 -5
  80. package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +5 -5
  81. package/dist-cjs/commands/PutBucketTaggingCommand.js +5 -5
  82. package/dist-cjs/commands/PutBucketVersioningCommand.js +5 -5
  83. package/dist-cjs/commands/PutBucketWebsiteCommand.js +5 -5
  84. package/dist-cjs/commands/PutObjectAclCommand.js +5 -5
  85. package/dist-cjs/commands/PutObjectCommand.js +6 -6
  86. package/dist-cjs/commands/PutObjectLegalHoldCommand.js +5 -5
  87. package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +5 -5
  88. package/dist-cjs/commands/PutObjectRetentionCommand.js +5 -5
  89. package/dist-cjs/commands/PutObjectTaggingCommand.js +5 -5
  90. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +5 -5
  91. package/dist-cjs/commands/RestoreObjectCommand.js +5 -5
  92. package/dist-cjs/commands/SelectObjectContentCommand.js +5 -5
  93. package/dist-cjs/commands/UploadPartCommand.js +6 -6
  94. package/dist-cjs/commands/UploadPartCopyCommand.js +6 -6
  95. package/dist-cjs/commands/WriteGetObjectResponseCommand.js +3 -3
  96. package/dist-cjs/endpoints.js +1 -1
  97. package/dist-cjs/protocols/Aws_restXml.js +641 -641
  98. package/dist-cjs/runtimeConfig.browser.js +4 -4
  99. package/dist-cjs/runtimeConfig.js +10 -10
  100. package/dist-cjs/runtimeConfig.native.js +1 -1
  101. package/dist-cjs/waiters/waitForBucketExists.js +3 -3
  102. package/dist-cjs/waiters/waitForBucketNotExists.js +3 -3
  103. package/dist-cjs/waiters/waitForObjectExists.js +3 -3
  104. package/dist-cjs/waiters/waitForObjectNotExists.js +3 -3
  105. package/dist-es/S3.js +93 -93
  106. package/dist-es/pagination/ListObjectsV2Paginator.js +4 -4
  107. package/dist-es/pagination/ListPartsPaginator.js +4 -4
  108. package/dist-es/protocols/Aws_restXml.js +97 -97
  109. package/dist-types/S3Client.d.ts +2 -2
  110. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  111. package/dist-types/runtimeConfig.d.ts +1 -1
  112. package/dist-types/runtimeConfig.native.d.ts +3 -3
  113. package/dist-types/ts3.4/S3Client.d.ts +2 -2
  114. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  115. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  116. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  117. package/package.json +50 -50
@@ -17,7 +17,7 @@ export var serializeAws_restXmlAbortMultipartUploadCommand = function (input, co
17
17
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
18
18
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
19
19
  }));
20
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
20
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
21
21
  if (input.Bucket !== undefined) {
22
22
  labelValue = input.Bucket;
23
23
  if (labelValue.length <= 0) {
@@ -71,7 +71,7 @@ export var serializeAws_restXmlCompleteMultipartUploadCommand = function (input,
71
71
  })), (isSerializableHeaderValue(input.SSECustomerKeyMD5) && {
72
72
  "x-amz-server-side-encryption-customer-key-md5": input.SSECustomerKeyMD5,
73
73
  }));
74
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
74
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
75
75
  if (input.Bucket !== undefined) {
76
76
  labelValue = input.Bucket;
77
77
  if (labelValue.length <= 0) {
@@ -167,9 +167,9 @@ export var serializeAws_restXmlCopyObjectCommand = function (input, context) { r
167
167
  })), (input.Metadata !== undefined &&
168
168
  Object.keys(input.Metadata).reduce(function (acc, suffix) {
169
169
  var _a;
170
- return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-" + suffix.toLowerCase()] = input.Metadata[suffix], _a)));
170
+ return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-".concat(suffix.toLowerCase())] = input.Metadata[suffix], _a)));
171
171
  }, {})));
172
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
172
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
173
173
  if (input.Bucket !== undefined) {
174
174
  labelValue = input.Bucket;
175
175
  if (labelValue.length <= 0) {
@@ -219,7 +219,7 @@ export var serializeAws_restXmlCreateBucketCommand = function (input, context) {
219
219
  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) && {
220
220
  "x-amz-bucket-object-lock-enabled": input.ObjectLockEnabledForBucket.toString(),
221
221
  })), (isSerializableHeaderValue(input.ObjectOwnership) && { "x-amz-object-ownership": input.ObjectOwnership }));
222
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
222
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
223
223
  if (input.Bucket !== undefined) {
224
224
  labelValue = input.Bucket;
225
225
  if (labelValue.length <= 0) {
@@ -283,9 +283,9 @@ export var serializeAws_restXmlCreateMultipartUploadCommand = function (input, c
283
283
  })), (isSerializableHeaderValue(input.ChecksumAlgorithm) && { "x-amz-checksum-algorithm": input.ChecksumAlgorithm })), (input.Metadata !== undefined &&
284
284
  Object.keys(input.Metadata).reduce(function (acc, suffix) {
285
285
  var _a;
286
- return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-" + suffix.toLowerCase()] = input.Metadata[suffix], _a)));
286
+ return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-".concat(suffix.toLowerCase())] = input.Metadata[suffix], _a)));
287
287
  }, {})));
288
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
288
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
289
289
  if (input.Bucket !== undefined) {
290
290
  labelValue = input.Bucket;
291
291
  if (labelValue.length <= 0) {
@@ -336,7 +336,7 @@ export var serializeAws_restXmlDeleteBucketCommand = function (input, context) {
336
336
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
337
337
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
338
338
  }));
339
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
339
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
340
340
  if (input.Bucket !== undefined) {
341
341
  labelValue = input.Bucket;
342
342
  if (labelValue.length <= 0) {
@@ -369,7 +369,7 @@ export var serializeAws_restXmlDeleteBucketAnalyticsConfigurationCommand = funct
369
369
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
370
370
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
371
371
  }));
372
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
372
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
373
373
  if (input.Bucket !== undefined) {
374
374
  labelValue = input.Bucket;
375
375
  if (labelValue.length <= 0) {
@@ -404,7 +404,7 @@ export var serializeAws_restXmlDeleteBucketCorsCommand = function (input, contex
404
404
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
405
405
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
406
406
  }));
407
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
407
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
408
408
  if (input.Bucket !== undefined) {
409
409
  labelValue = input.Bucket;
410
410
  if (labelValue.length <= 0) {
@@ -441,7 +441,7 @@ export var serializeAws_restXmlDeleteBucketEncryptionCommand = function (input,
441
441
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
442
442
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
443
443
  }));
444
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
444
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
445
445
  if (input.Bucket !== undefined) {
446
446
  labelValue = input.Bucket;
447
447
  if (labelValue.length <= 0) {
@@ -476,7 +476,7 @@ export var serializeAws_restXmlDeleteBucketIntelligentTieringConfigurationComman
476
476
  case 1:
477
477
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
478
478
  headers = {};
479
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
479
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
480
480
  if (input.Bucket !== undefined) {
481
481
  labelValue = input.Bucket;
482
482
  if (labelValue.length <= 0) {
@@ -511,7 +511,7 @@ export var serializeAws_restXmlDeleteBucketInventoryConfigurationCommand = funct
511
511
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
512
512
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
513
513
  }));
514
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
514
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
515
515
  if (input.Bucket !== undefined) {
516
516
  labelValue = input.Bucket;
517
517
  if (labelValue.length <= 0) {
@@ -546,7 +546,7 @@ export var serializeAws_restXmlDeleteBucketLifecycleCommand = function (input, c
546
546
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
547
547
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
548
548
  }));
549
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
549
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
550
550
  if (input.Bucket !== undefined) {
551
551
  labelValue = input.Bucket;
552
552
  if (labelValue.length <= 0) {
@@ -583,7 +583,7 @@ export var serializeAws_restXmlDeleteBucketMetricsConfigurationCommand = functio
583
583
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
584
584
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
585
585
  }));
586
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
586
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
587
587
  if (input.Bucket !== undefined) {
588
588
  labelValue = input.Bucket;
589
589
  if (labelValue.length <= 0) {
@@ -618,7 +618,7 @@ export var serializeAws_restXmlDeleteBucketOwnershipControlsCommand = function (
618
618
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
619
619
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
620
620
  }));
621
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
621
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
622
622
  if (input.Bucket !== undefined) {
623
623
  labelValue = input.Bucket;
624
624
  if (labelValue.length <= 0) {
@@ -655,7 +655,7 @@ export var serializeAws_restXmlDeleteBucketPolicyCommand = function (input, cont
655
655
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
656
656
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
657
657
  }));
658
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
658
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
659
659
  if (input.Bucket !== undefined) {
660
660
  labelValue = input.Bucket;
661
661
  if (labelValue.length <= 0) {
@@ -692,7 +692,7 @@ export var serializeAws_restXmlDeleteBucketReplicationCommand = function (input,
692
692
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
693
693
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
694
694
  }));
695
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
695
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
696
696
  if (input.Bucket !== undefined) {
697
697
  labelValue = input.Bucket;
698
698
  if (labelValue.length <= 0) {
@@ -729,7 +729,7 @@ export var serializeAws_restXmlDeleteBucketTaggingCommand = function (input, con
729
729
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
730
730
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
731
731
  }));
732
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
732
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
733
733
  if (input.Bucket !== undefined) {
734
734
  labelValue = input.Bucket;
735
735
  if (labelValue.length <= 0) {
@@ -766,7 +766,7 @@ export var serializeAws_restXmlDeleteBucketWebsiteCommand = function (input, con
766
766
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
767
767
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
768
768
  }));
769
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
769
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
770
770
  if (input.Bucket !== undefined) {
771
771
  labelValue = input.Bucket;
772
772
  if (labelValue.length <= 0) {
@@ -805,7 +805,7 @@ export var serializeAws_restXmlDeleteObjectCommand = function (input, context) {
805
805
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
806
806
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
807
807
  }));
808
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
808
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
809
809
  if (input.Bucket !== undefined) {
810
810
  labelValue = input.Bucket;
811
811
  if (labelValue.length <= 0) {
@@ -857,7 +857,7 @@ export var serializeAws_restXmlDeleteObjectsCommand = function (input, context)
857
857
  })), (isSerializableHeaderValue(input.ChecksumAlgorithm) && {
858
858
  "x-amz-sdk-checksum-algorithm": input.ChecksumAlgorithm,
859
859
  }));
860
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
860
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
861
861
  if (input.Bucket !== undefined) {
862
862
  labelValue = input.Bucket;
863
863
  if (labelValue.length <= 0) {
@@ -904,7 +904,7 @@ export var serializeAws_restXmlDeleteObjectTaggingCommand = function (input, con
904
904
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
905
905
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
906
906
  }));
907
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
907
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
908
908
  if (input.Bucket !== undefined) {
909
909
  labelValue = input.Bucket;
910
910
  if (labelValue.length <= 0) {
@@ -952,7 +952,7 @@ export var serializeAws_restXmlDeletePublicAccessBlockCommand = function (input,
952
952
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
953
953
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
954
954
  }));
955
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
955
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
956
956
  if (input.Bucket !== undefined) {
957
957
  labelValue = input.Bucket;
958
958
  if (labelValue.length <= 0) {
@@ -989,7 +989,7 @@ export var serializeAws_restXmlGetBucketAccelerateConfigurationCommand = functio
989
989
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
990
990
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
991
991
  }));
992
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
992
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
993
993
  if (input.Bucket !== undefined) {
994
994
  labelValue = input.Bucket;
995
995
  if (labelValue.length <= 0) {
@@ -1026,7 +1026,7 @@ export var serializeAws_restXmlGetBucketAclCommand = function (input, context) {
1026
1026
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1027
1027
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1028
1028
  }));
1029
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1029
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1030
1030
  if (input.Bucket !== undefined) {
1031
1031
  labelValue = input.Bucket;
1032
1032
  if (labelValue.length <= 0) {
@@ -1063,7 +1063,7 @@ export var serializeAws_restXmlGetBucketAnalyticsConfigurationCommand = function
1063
1063
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1064
1064
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1065
1065
  }));
1066
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1066
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1067
1067
  if (input.Bucket !== undefined) {
1068
1068
  labelValue = input.Bucket;
1069
1069
  if (labelValue.length <= 0) {
@@ -1098,7 +1098,7 @@ export var serializeAws_restXmlGetBucketCorsCommand = function (input, context)
1098
1098
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1099
1099
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1100
1100
  }));
1101
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1101
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1102
1102
  if (input.Bucket !== undefined) {
1103
1103
  labelValue = input.Bucket;
1104
1104
  if (labelValue.length <= 0) {
@@ -1135,7 +1135,7 @@ export var serializeAws_restXmlGetBucketEncryptionCommand = function (input, con
1135
1135
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1136
1136
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1137
1137
  }));
1138
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1138
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1139
1139
  if (input.Bucket !== undefined) {
1140
1140
  labelValue = input.Bucket;
1141
1141
  if (labelValue.length <= 0) {
@@ -1170,7 +1170,7 @@ export var serializeAws_restXmlGetBucketIntelligentTieringConfigurationCommand =
1170
1170
  case 1:
1171
1171
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
1172
1172
  headers = {};
1173
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1173
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1174
1174
  if (input.Bucket !== undefined) {
1175
1175
  labelValue = input.Bucket;
1176
1176
  if (labelValue.length <= 0) {
@@ -1205,7 +1205,7 @@ export var serializeAws_restXmlGetBucketInventoryConfigurationCommand = function
1205
1205
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1206
1206
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1207
1207
  }));
1208
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1208
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1209
1209
  if (input.Bucket !== undefined) {
1210
1210
  labelValue = input.Bucket;
1211
1211
  if (labelValue.length <= 0) {
@@ -1240,7 +1240,7 @@ export var serializeAws_restXmlGetBucketLifecycleConfigurationCommand = function
1240
1240
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1241
1241
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1242
1242
  }));
1243
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1243
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1244
1244
  if (input.Bucket !== undefined) {
1245
1245
  labelValue = input.Bucket;
1246
1246
  if (labelValue.length <= 0) {
@@ -1277,7 +1277,7 @@ export var serializeAws_restXmlGetBucketLocationCommand = function (input, conte
1277
1277
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1278
1278
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1279
1279
  }));
1280
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1280
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1281
1281
  if (input.Bucket !== undefined) {
1282
1282
  labelValue = input.Bucket;
1283
1283
  if (labelValue.length <= 0) {
@@ -1314,7 +1314,7 @@ export var serializeAws_restXmlGetBucketLoggingCommand = function (input, contex
1314
1314
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1315
1315
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1316
1316
  }));
1317
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1317
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1318
1318
  if (input.Bucket !== undefined) {
1319
1319
  labelValue = input.Bucket;
1320
1320
  if (labelValue.length <= 0) {
@@ -1351,7 +1351,7 @@ export var serializeAws_restXmlGetBucketMetricsConfigurationCommand = function (
1351
1351
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1352
1352
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1353
1353
  }));
1354
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1354
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1355
1355
  if (input.Bucket !== undefined) {
1356
1356
  labelValue = input.Bucket;
1357
1357
  if (labelValue.length <= 0) {
@@ -1386,7 +1386,7 @@ export var serializeAws_restXmlGetBucketNotificationConfigurationCommand = funct
1386
1386
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1387
1387
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1388
1388
  }));
1389
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1389
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1390
1390
  if (input.Bucket !== undefined) {
1391
1391
  labelValue = input.Bucket;
1392
1392
  if (labelValue.length <= 0) {
@@ -1423,7 +1423,7 @@ export var serializeAws_restXmlGetBucketOwnershipControlsCommand = function (inp
1423
1423
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1424
1424
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1425
1425
  }));
1426
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1426
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1427
1427
  if (input.Bucket !== undefined) {
1428
1428
  labelValue = input.Bucket;
1429
1429
  if (labelValue.length <= 0) {
@@ -1460,7 +1460,7 @@ export var serializeAws_restXmlGetBucketPolicyCommand = function (input, context
1460
1460
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1461
1461
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1462
1462
  }));
1463
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1463
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1464
1464
  if (input.Bucket !== undefined) {
1465
1465
  labelValue = input.Bucket;
1466
1466
  if (labelValue.length <= 0) {
@@ -1497,7 +1497,7 @@ export var serializeAws_restXmlGetBucketPolicyStatusCommand = function (input, c
1497
1497
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1498
1498
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1499
1499
  }));
1500
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1500
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1501
1501
  if (input.Bucket !== undefined) {
1502
1502
  labelValue = input.Bucket;
1503
1503
  if (labelValue.length <= 0) {
@@ -1534,7 +1534,7 @@ export var serializeAws_restXmlGetBucketReplicationCommand = function (input, co
1534
1534
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1535
1535
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1536
1536
  }));
1537
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1537
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1538
1538
  if (input.Bucket !== undefined) {
1539
1539
  labelValue = input.Bucket;
1540
1540
  if (labelValue.length <= 0) {
@@ -1571,7 +1571,7 @@ export var serializeAws_restXmlGetBucketRequestPaymentCommand = function (input,
1571
1571
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1572
1572
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1573
1573
  }));
1574
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1574
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1575
1575
  if (input.Bucket !== undefined) {
1576
1576
  labelValue = input.Bucket;
1577
1577
  if (labelValue.length <= 0) {
@@ -1608,7 +1608,7 @@ export var serializeAws_restXmlGetBucketTaggingCommand = function (input, contex
1608
1608
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1609
1609
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1610
1610
  }));
1611
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1611
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1612
1612
  if (input.Bucket !== undefined) {
1613
1613
  labelValue = input.Bucket;
1614
1614
  if (labelValue.length <= 0) {
@@ -1645,7 +1645,7 @@ export var serializeAws_restXmlGetBucketVersioningCommand = function (input, con
1645
1645
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1646
1646
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1647
1647
  }));
1648
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1648
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1649
1649
  if (input.Bucket !== undefined) {
1650
1650
  labelValue = input.Bucket;
1651
1651
  if (labelValue.length <= 0) {
@@ -1682,7 +1682,7 @@ export var serializeAws_restXmlGetBucketWebsiteCommand = function (input, contex
1682
1682
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1683
1683
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1684
1684
  }));
1685
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1685
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1686
1686
  if (input.Bucket !== undefined) {
1687
1687
  labelValue = input.Bucket;
1688
1688
  if (labelValue.length <= 0) {
@@ -1729,7 +1729,7 @@ export var serializeAws_restXmlGetObjectCommand = function (input, context) { re
1729
1729
  })), (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1730
1730
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1731
1731
  })), (isSerializableHeaderValue(input.ChecksumMode) && { "x-amz-checksum-mode": input.ChecksumMode }));
1732
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1732
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1733
1733
  if (input.Bucket !== undefined) {
1734
1734
  labelValue = input.Bucket;
1735
1735
  if (labelValue.length <= 0) {
@@ -1781,7 +1781,7 @@ export var serializeAws_restXmlGetObjectAclCommand = function (input, context) {
1781
1781
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1782
1782
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1783
1783
  }));
1784
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1784
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1785
1785
  if (input.Bucket !== undefined) {
1786
1786
  labelValue = input.Bucket;
1787
1787
  if (labelValue.length <= 0) {
@@ -1837,7 +1837,7 @@ export var serializeAws_restXmlGetObjectAttributesCommand = function (input, con
1837
1837
  })), (isSerializableHeaderValue(input.ObjectAttributes) && {
1838
1838
  "x-amz-object-attributes": (input.ObjectAttributes || []).map(function (_entry) { return _entry; }).join(", "),
1839
1839
  }));
1840
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1840
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1841
1841
  if (input.Bucket !== undefined) {
1842
1842
  labelValue = input.Bucket;
1843
1843
  if (labelValue.length <= 0) {
@@ -1885,7 +1885,7 @@ export var serializeAws_restXmlGetObjectLegalHoldCommand = function (input, cont
1885
1885
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1886
1886
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1887
1887
  }));
1888
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1888
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1889
1889
  if (input.Bucket !== undefined) {
1890
1890
  labelValue = input.Bucket;
1891
1891
  if (labelValue.length <= 0) {
@@ -1933,7 +1933,7 @@ export var serializeAws_restXmlGetObjectLockConfigurationCommand = function (inp
1933
1933
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1934
1934
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1935
1935
  }));
1936
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1936
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
1937
1937
  if (input.Bucket !== undefined) {
1938
1938
  labelValue = input.Bucket;
1939
1939
  if (labelValue.length <= 0) {
@@ -1970,7 +1970,7 @@ export var serializeAws_restXmlGetObjectRetentionCommand = function (input, cont
1970
1970
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
1971
1971
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
1972
1972
  }));
1973
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1973
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
1974
1974
  if (input.Bucket !== undefined) {
1975
1975
  labelValue = input.Bucket;
1976
1976
  if (labelValue.length <= 0) {
@@ -2018,7 +2018,7 @@ export var serializeAws_restXmlGetObjectTaggingCommand = function (input, contex
2018
2018
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2019
2019
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2020
2020
  })), (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer }));
2021
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2021
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2022
2022
  if (input.Bucket !== undefined) {
2023
2023
  labelValue = input.Bucket;
2024
2024
  if (labelValue.length <= 0) {
@@ -2066,7 +2066,7 @@ export var serializeAws_restXmlGetObjectTorrentCommand = function (input, contex
2066
2066
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2067
2067
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2068
2068
  }));
2069
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2069
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2070
2070
  if (input.Bucket !== undefined) {
2071
2071
  labelValue = input.Bucket;
2072
2072
  if (labelValue.length <= 0) {
@@ -2116,7 +2116,7 @@ export var serializeAws_restXmlGetPublicAccessBlockCommand = function (input, co
2116
2116
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2117
2117
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2118
2118
  }));
2119
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2119
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2120
2120
  if (input.Bucket !== undefined) {
2121
2121
  labelValue = input.Bucket;
2122
2122
  if (labelValue.length <= 0) {
@@ -2153,7 +2153,7 @@ export var serializeAws_restXmlHeadBucketCommand = function (input, context) { r
2153
2153
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2154
2154
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2155
2155
  }));
2156
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2156
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2157
2157
  if (input.Bucket !== undefined) {
2158
2158
  labelValue = input.Bucket;
2159
2159
  if (labelValue.length <= 0) {
@@ -2196,7 +2196,7 @@ export var serializeAws_restXmlHeadObjectCommand = function (input, context) { r
2196
2196
  })), (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2197
2197
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2198
2198
  })), (isSerializableHeaderValue(input.ChecksumMode) && { "x-amz-checksum-mode": input.ChecksumMode }));
2199
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2199
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2200
2200
  if (input.Bucket !== undefined) {
2201
2201
  labelValue = input.Bucket;
2202
2202
  if (labelValue.length <= 0) {
@@ -2244,7 +2244,7 @@ export var serializeAws_restXmlListBucketAnalyticsConfigurationsCommand = functi
2244
2244
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2245
2245
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2246
2246
  }));
2247
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2247
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2248
2248
  if (input.Bucket !== undefined) {
2249
2249
  labelValue = input.Bucket;
2250
2250
  if (labelValue.length <= 0) {
@@ -2277,7 +2277,7 @@ export var serializeAws_restXmlListBucketIntelligentTieringConfigurationsCommand
2277
2277
  case 1:
2278
2278
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
2279
2279
  headers = {};
2280
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2280
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2281
2281
  if (input.Bucket !== undefined) {
2282
2282
  labelValue = input.Bucket;
2283
2283
  if (labelValue.length <= 0) {
@@ -2312,7 +2312,7 @@ export var serializeAws_restXmlListBucketInventoryConfigurationsCommand = functi
2312
2312
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2313
2313
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2314
2314
  }));
2315
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2315
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2316
2316
  if (input.Bucket !== undefined) {
2317
2317
  labelValue = input.Bucket;
2318
2318
  if (labelValue.length <= 0) {
@@ -2347,7 +2347,7 @@ export var serializeAws_restXmlListBucketMetricsConfigurationsCommand = function
2347
2347
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2348
2348
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2349
2349
  }));
2350
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2350
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2351
2351
  if (input.Bucket !== undefined) {
2352
2352
  labelValue = input.Bucket;
2353
2353
  if (labelValue.length <= 0) {
@@ -2382,7 +2382,7 @@ export var serializeAws_restXmlListBucketsCommand = function (input, context) {
2382
2382
  headers = {
2383
2383
  "content-type": "application/xml",
2384
2384
  };
2385
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/";
2385
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/";
2386
2386
  body = "";
2387
2387
  return [2, new __HttpRequest({
2388
2388
  protocol: protocol,
@@ -2406,7 +2406,7 @@ export var serializeAws_restXmlListMultipartUploadsCommand = function (input, co
2406
2406
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2407
2407
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2408
2408
  }));
2409
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2409
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2410
2410
  if (input.Bucket !== undefined) {
2411
2411
  labelValue = input.Bucket;
2412
2412
  if (labelValue.length <= 0) {
@@ -2441,7 +2441,7 @@ export var serializeAws_restXmlListObjectsCommand = function (input, context) {
2441
2441
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2442
2442
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2443
2443
  }));
2444
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2444
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2445
2445
  if (input.Bucket !== undefined) {
2446
2446
  labelValue = input.Bucket;
2447
2447
  if (labelValue.length <= 0) {
@@ -2476,7 +2476,7 @@ export var serializeAws_restXmlListObjectsV2Command = function (input, context)
2476
2476
  headers = __assign(__assign({}, (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2477
2477
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2478
2478
  }));
2479
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2479
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2480
2480
  if (input.Bucket !== undefined) {
2481
2481
  labelValue = input.Bucket;
2482
2482
  if (labelValue.length <= 0) {
@@ -2511,7 +2511,7 @@ export var serializeAws_restXmlListObjectVersionsCommand = function (input, cont
2511
2511
  headers = __assign({}, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2512
2512
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2513
2513
  }));
2514
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2514
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2515
2515
  if (input.Bucket !== undefined) {
2516
2516
  labelValue = input.Bucket;
2517
2517
  if (labelValue.length <= 0) {
@@ -2552,7 +2552,7 @@ export var serializeAws_restXmlListPartsCommand = function (input, context) { re
2552
2552
  })), (isSerializableHeaderValue(input.SSECustomerKeyMD5) && {
2553
2553
  "x-amz-server-side-encryption-customer-key-md5": input.SSECustomerKeyMD5,
2554
2554
  }));
2555
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2555
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
2556
2556
  if (input.Bucket !== undefined) {
2557
2557
  labelValue = input.Bucket;
2558
2558
  if (labelValue.length <= 0) {
@@ -2602,7 +2602,7 @@ export var serializeAws_restXmlPutBucketAccelerateConfigurationCommand = functio
2602
2602
  })), (isSerializableHeaderValue(input.ChecksumAlgorithm) && {
2603
2603
  "x-amz-sdk-checksum-algorithm": input.ChecksumAlgorithm,
2604
2604
  }));
2605
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2605
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2606
2606
  if (input.Bucket !== undefined) {
2607
2607
  labelValue = input.Bucket;
2608
2608
  if (labelValue.length <= 0) {
@@ -2650,7 +2650,7 @@ export var serializeAws_restXmlPutBucketAclCommand = function (input, context) {
2650
2650
  })), (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.ExpectedBucketOwner) && {
2651
2651
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2652
2652
  }));
2653
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2653
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2654
2654
  if (input.Bucket !== undefined) {
2655
2655
  labelValue = input.Bucket;
2656
2656
  if (labelValue.length <= 0) {
@@ -2696,7 +2696,7 @@ export var serializeAws_restXmlPutBucketAnalyticsConfigurationCommand = function
2696
2696
  headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2697
2697
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2698
2698
  }));
2699
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2699
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2700
2700
  if (input.Bucket !== undefined) {
2701
2701
  labelValue = input.Bucket;
2702
2702
  if (labelValue.length <= 0) {
@@ -2742,7 +2742,7 @@ export var serializeAws_restXmlPutBucketCorsCommand = function (input, context)
2742
2742
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2743
2743
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2744
2744
  }));
2745
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2745
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2746
2746
  if (input.Bucket !== undefined) {
2747
2747
  labelValue = input.Bucket;
2748
2748
  if (labelValue.length <= 0) {
@@ -2790,7 +2790,7 @@ export var serializeAws_restXmlPutBucketEncryptionCommand = function (input, con
2790
2790
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2791
2791
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2792
2792
  }));
2793
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2793
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2794
2794
  if (input.Bucket !== undefined) {
2795
2795
  labelValue = input.Bucket;
2796
2796
  if (labelValue.length <= 0) {
@@ -2836,7 +2836,7 @@ export var serializeAws_restXmlPutBucketIntelligentTieringConfigurationCommand =
2836
2836
  headers = {
2837
2837
  "content-type": "application/xml",
2838
2838
  };
2839
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2839
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2840
2840
  if (input.Bucket !== undefined) {
2841
2841
  labelValue = input.Bucket;
2842
2842
  if (labelValue.length <= 0) {
@@ -2880,7 +2880,7 @@ export var serializeAws_restXmlPutBucketInventoryConfigurationCommand = function
2880
2880
  headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2881
2881
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2882
2882
  }));
2883
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2883
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2884
2884
  if (input.Bucket !== undefined) {
2885
2885
  labelValue = input.Bucket;
2886
2886
  if (labelValue.length <= 0) {
@@ -2926,7 +2926,7 @@ export var serializeAws_restXmlPutBucketLifecycleConfigurationCommand = function
2926
2926
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2927
2927
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2928
2928
  }));
2929
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2929
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2930
2930
  if (input.Bucket !== undefined) {
2931
2931
  labelValue = input.Bucket;
2932
2932
  if (labelValue.length <= 0) {
@@ -2975,7 +2975,7 @@ export var serializeAws_restXmlPutBucketLoggingCommand = function (input, contex
2975
2975
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
2976
2976
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
2977
2977
  }));
2978
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2978
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
2979
2979
  if (input.Bucket !== undefined) {
2980
2980
  labelValue = input.Bucket;
2981
2981
  if (labelValue.length <= 0) {
@@ -3021,7 +3021,7 @@ export var serializeAws_restXmlPutBucketMetricsConfigurationCommand = function (
3021
3021
  headers = __assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3022
3022
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3023
3023
  }));
3024
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3024
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3025
3025
  if (input.Bucket !== undefined) {
3026
3026
  labelValue = input.Bucket;
3027
3027
  if (labelValue.length <= 0) {
@@ -3067,7 +3067,7 @@ export var serializeAws_restXmlPutBucketNotificationConfigurationCommand = funct
3067
3067
  })), (isSerializableHeaderValue(input.SkipDestinationValidation) && {
3068
3068
  "x-amz-skip-destination-validation": input.SkipDestinationValidation.toString(),
3069
3069
  }));
3070
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3070
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3071
3071
  if (input.Bucket !== undefined) {
3072
3072
  labelValue = input.Bucket;
3073
3073
  if (labelValue.length <= 0) {
@@ -3113,7 +3113,7 @@ export var serializeAws_restXmlPutBucketOwnershipControlsCommand = function (inp
3113
3113
  headers = __assign(__assign({ "content-type": "application/xml" }, (isSerializableHeaderValue(input.ContentMD5) && { "content-md5": input.ContentMD5 })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3114
3114
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3115
3115
  }));
3116
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3116
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3117
3117
  if (input.Bucket !== undefined) {
3118
3118
  labelValue = input.Bucket;
3119
3119
  if (labelValue.length <= 0) {
@@ -3163,7 +3163,7 @@ export var serializeAws_restXmlPutBucketPolicyCommand = function (input, context
3163
3163
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3164
3164
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3165
3165
  }));
3166
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3166
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3167
3167
  if (input.Bucket !== undefined) {
3168
3168
  labelValue = input.Bucket;
3169
3169
  if (labelValue.length <= 0) {
@@ -3209,7 +3209,7 @@ export var serializeAws_restXmlPutBucketReplicationCommand = function (input, co
3209
3209
  })), (isSerializableHeaderValue(input.Token) && { "x-amz-bucket-object-lock-token": input.Token })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3210
3210
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3211
3211
  }));
3212
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3212
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3213
3213
  if (input.Bucket !== undefined) {
3214
3214
  labelValue = input.Bucket;
3215
3215
  if (labelValue.length <= 0) {
@@ -3257,7 +3257,7 @@ export var serializeAws_restXmlPutBucketRequestPaymentCommand = function (input,
3257
3257
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3258
3258
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3259
3259
  }));
3260
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3260
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3261
3261
  if (input.Bucket !== undefined) {
3262
3262
  labelValue = input.Bucket;
3263
3263
  if (labelValue.length <= 0) {
@@ -3305,7 +3305,7 @@ export var serializeAws_restXmlPutBucketTaggingCommand = function (input, contex
3305
3305
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3306
3306
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3307
3307
  }));
3308
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3308
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3309
3309
  if (input.Bucket !== undefined) {
3310
3310
  labelValue = input.Bucket;
3311
3311
  if (labelValue.length <= 0) {
@@ -3353,7 +3353,7 @@ export var serializeAws_restXmlPutBucketVersioningCommand = function (input, con
3353
3353
  })), (isSerializableHeaderValue(input.MFA) && { "x-amz-mfa": input.MFA })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3354
3354
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3355
3355
  }));
3356
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3356
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3357
3357
  if (input.Bucket !== undefined) {
3358
3358
  labelValue = input.Bucket;
3359
3359
  if (labelValue.length <= 0) {
@@ -3401,7 +3401,7 @@ export var serializeAws_restXmlPutBucketWebsiteCommand = function (input, contex
3401
3401
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3402
3402
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3403
3403
  }));
3404
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3404
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3405
3405
  if (input.Bucket !== undefined) {
3406
3406
  labelValue = input.Bucket;
3407
3407
  if (labelValue.length <= 0) {
@@ -3471,9 +3471,9 @@ export var serializeAws_restXmlPutObjectCommand = function (input, context) { re
3471
3471
  })), (input.Metadata !== undefined &&
3472
3472
  Object.keys(input.Metadata).reduce(function (acc, suffix) {
3473
3473
  var _a;
3474
- return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-" + suffix.toLowerCase()] = input.Metadata[suffix], _a)));
3474
+ return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-".concat(suffix.toLowerCase())] = input.Metadata[suffix], _a)));
3475
3475
  }, {})));
3476
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3476
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3477
3477
  if (input.Bucket !== undefined) {
3478
3478
  labelValue = input.Bucket;
3479
3479
  if (labelValue.length <= 0) {
@@ -3532,7 +3532,7 @@ export var serializeAws_restXmlPutObjectAclCommand = function (input, context) {
3532
3532
  })), (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.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3533
3533
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3534
3534
  }));
3535
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3535
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3536
3536
  if (input.Bucket !== undefined) {
3537
3537
  labelValue = input.Bucket;
3538
3538
  if (labelValue.length <= 0) {
@@ -3591,7 +3591,7 @@ export var serializeAws_restXmlPutObjectLegalHoldCommand = function (input, cont
3591
3591
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3592
3592
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3593
3593
  }));
3594
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3594
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3595
3595
  if (input.Bucket !== undefined) {
3596
3596
  labelValue = input.Bucket;
3597
3597
  if (labelValue.length <= 0) {
@@ -3651,7 +3651,7 @@ export var serializeAws_restXmlPutObjectLockConfigurationCommand = function (inp
3651
3651
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3652
3652
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3653
3653
  }));
3654
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3654
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3655
3655
  if (input.Bucket !== undefined) {
3656
3656
  labelValue = input.Bucket;
3657
3657
  if (labelValue.length <= 0) {
@@ -3701,7 +3701,7 @@ export var serializeAws_restXmlPutObjectRetentionCommand = function (input, cont
3701
3701
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3702
3702
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3703
3703
  }));
3704
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3704
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3705
3705
  if (input.Bucket !== undefined) {
3706
3706
  labelValue = input.Bucket;
3707
3707
  if (labelValue.length <= 0) {
@@ -3761,7 +3761,7 @@ export var serializeAws_restXmlPutObjectTaggingCommand = function (input, contex
3761
3761
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3762
3762
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3763
3763
  })), (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer }));
3764
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3764
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3765
3765
  if (input.Bucket !== undefined) {
3766
3766
  labelValue = input.Bucket;
3767
3767
  if (labelValue.length <= 0) {
@@ -3820,7 +3820,7 @@ export var serializeAws_restXmlPutPublicAccessBlockCommand = function (input, co
3820
3820
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3821
3821
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3822
3822
  }));
3823
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3823
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}";
3824
3824
  if (input.Bucket !== undefined) {
3825
3825
  labelValue = input.Bucket;
3826
3826
  if (labelValue.length <= 0) {
@@ -3868,7 +3868,7 @@ export var serializeAws_restXmlRestoreObjectCommand = function (input, context)
3868
3868
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3869
3869
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3870
3870
  }));
3871
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3871
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3872
3872
  if (input.Bucket !== undefined) {
3873
3873
  labelValue = input.Bucket;
3874
3874
  if (labelValue.length <= 0) {
@@ -3931,7 +3931,7 @@ export var serializeAws_restXmlSelectObjectContentCommand = function (input, con
3931
3931
  })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
3932
3932
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
3933
3933
  }));
3934
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3934
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
3935
3935
  if (input.Bucket !== undefined) {
3936
3936
  labelValue = input.Bucket;
3937
3937
  if (labelValue.length <= 0) {
@@ -4021,7 +4021,7 @@ export var serializeAws_restXmlUploadPartCommand = function (input, context) { r
4021
4021
  })), (isSerializableHeaderValue(input.RequestPayer) && { "x-amz-request-payer": input.RequestPayer })), (isSerializableHeaderValue(input.ExpectedBucketOwner) && {
4022
4022
  "x-amz-expected-bucket-owner": input.ExpectedBucketOwner,
4023
4023
  }));
4024
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
4024
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
4025
4025
  if (input.Bucket !== undefined) {
4026
4026
  labelValue = input.Bucket;
4027
4027
  if (labelValue.length <= 0) {
@@ -4098,7 +4098,7 @@ export var serializeAws_restXmlUploadPartCopyCommand = function (input, context)
4098
4098
  })), (isSerializableHeaderValue(input.ExpectedSourceBucketOwner) && {
4099
4099
  "x-amz-source-expected-bucket-owner": input.ExpectedSourceBucketOwner,
4100
4100
  }));
4101
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
4101
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/{Bucket}/{Key+}";
4102
4102
  if (input.Bucket !== undefined) {
4103
4103
  labelValue = input.Bucket;
4104
4104
  if (labelValue.length <= 0) {
@@ -4194,9 +4194,9 @@ export var serializeAws_restXmlWriteGetObjectResponseCommand = function (input,
4194
4194
  })), (input.Metadata !== undefined &&
4195
4195
  Object.keys(input.Metadata).reduce(function (acc, suffix) {
4196
4196
  var _a;
4197
- return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-" + suffix.toLowerCase()] = input.Metadata[suffix], _a)));
4197
+ return (__assign(__assign({}, acc), (_a = {}, _a["x-amz-meta-".concat(suffix.toLowerCase())] = input.Metadata[suffix], _a)));
4198
4198
  }, {})));
4199
- resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/WriteGetObjectResponse";
4199
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/WriteGetObjectResponse";
4200
4200
  query = {
4201
4201
  "x-id": "WriteGetObjectResponse",
4202
4202
  };