@aws-sdk/client-s3-control 3.190.0 → 3.193.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 (270) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/S3ControlClient.js +12 -9
  3. package/dist-cjs/commands/CreateAccessPointCommand.js +13 -0
  4. package/dist-cjs/commands/CreateAccessPointForObjectLambdaCommand.js +12 -0
  5. package/dist-cjs/commands/CreateBucketCommand.js +13 -0
  6. package/dist-cjs/commands/CreateJobCommand.js +12 -0
  7. package/dist-cjs/commands/CreateMultiRegionAccessPointCommand.js +12 -0
  8. package/dist-cjs/commands/DeleteAccessPointCommand.js +13 -0
  9. package/dist-cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +12 -0
  10. package/dist-cjs/commands/DeleteAccessPointPolicyCommand.js +13 -0
  11. package/dist-cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +12 -0
  12. package/dist-cjs/commands/DeleteBucketCommand.js +13 -0
  13. package/dist-cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +13 -0
  14. package/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -0
  15. package/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -0
  16. package/dist-cjs/commands/DeleteJobTaggingCommand.js +12 -0
  17. package/dist-cjs/commands/DeleteMultiRegionAccessPointCommand.js +12 -0
  18. package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +12 -0
  19. package/dist-cjs/commands/DeleteStorageLensConfigurationCommand.js +12 -0
  20. package/dist-cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +12 -0
  21. package/dist-cjs/commands/DescribeJobCommand.js +12 -0
  22. package/dist-cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +12 -0
  23. package/dist-cjs/commands/GetAccessPointCommand.js +13 -0
  24. package/dist-cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +12 -0
  25. package/dist-cjs/commands/GetAccessPointForObjectLambdaCommand.js +12 -0
  26. package/dist-cjs/commands/GetAccessPointPolicyCommand.js +13 -0
  27. package/dist-cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +12 -0
  28. package/dist-cjs/commands/GetAccessPointPolicyStatusCommand.js +13 -0
  29. package/dist-cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +12 -0
  30. package/dist-cjs/commands/GetBucketCommand.js +13 -0
  31. package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -0
  32. package/dist-cjs/commands/GetBucketPolicyCommand.js +13 -0
  33. package/dist-cjs/commands/GetBucketTaggingCommand.js +13 -0
  34. package/dist-cjs/commands/GetBucketVersioningCommand.js +11 -0
  35. package/dist-cjs/commands/GetJobTaggingCommand.js +12 -0
  36. package/dist-cjs/commands/GetMultiRegionAccessPointCommand.js +12 -0
  37. package/dist-cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +12 -0
  38. package/dist-cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +12 -0
  39. package/dist-cjs/commands/GetPublicAccessBlockCommand.js +12 -0
  40. package/dist-cjs/commands/GetStorageLensConfigurationCommand.js +12 -0
  41. package/dist-cjs/commands/GetStorageLensConfigurationTaggingCommand.js +12 -0
  42. package/dist-cjs/commands/ListAccessPointsCommand.js +13 -0
  43. package/dist-cjs/commands/ListAccessPointsForObjectLambdaCommand.js +12 -0
  44. package/dist-cjs/commands/ListJobsCommand.js +12 -0
  45. package/dist-cjs/commands/ListMultiRegionAccessPointsCommand.js +12 -0
  46. package/dist-cjs/commands/ListRegionalBucketsCommand.js +13 -0
  47. package/dist-cjs/commands/ListStorageLensConfigurationsCommand.js +12 -0
  48. package/dist-cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +12 -0
  49. package/dist-cjs/commands/PutAccessPointPolicyCommand.js +13 -0
  50. package/dist-cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +12 -0
  51. package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -0
  52. package/dist-cjs/commands/PutBucketPolicyCommand.js +13 -0
  53. package/dist-cjs/commands/PutBucketTaggingCommand.js +13 -0
  54. package/dist-cjs/commands/PutBucketVersioningCommand.js +11 -0
  55. package/dist-cjs/commands/PutJobTaggingCommand.js +12 -0
  56. package/dist-cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +12 -0
  57. package/dist-cjs/commands/PutPublicAccessBlockCommand.js +12 -0
  58. package/dist-cjs/commands/PutStorageLensConfigurationCommand.js +12 -0
  59. package/dist-cjs/commands/PutStorageLensConfigurationTaggingCommand.js +12 -0
  60. package/dist-cjs/commands/UpdateJobPriorityCommand.js +12 -0
  61. package/dist-cjs/commands/UpdateJobStatusCommand.js +12 -0
  62. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  63. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  64. package/dist-cjs/endpoint/ruleset.js +2354 -0
  65. package/dist-cjs/protocols/Aws_restXml.js +12 -15
  66. package/dist-cjs/runtimeConfig.shared.js +3 -3
  67. package/dist-es/S3ControlClient.js +13 -10
  68. package/dist-es/commands/CreateAccessPointCommand.js +13 -0
  69. package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +12 -0
  70. package/dist-es/commands/CreateBucketCommand.js +13 -0
  71. package/dist-es/commands/CreateJobCommand.js +12 -0
  72. package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +12 -0
  73. package/dist-es/commands/DeleteAccessPointCommand.js +13 -0
  74. package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +12 -0
  75. package/dist-es/commands/DeleteAccessPointPolicyCommand.js +13 -0
  76. package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +12 -0
  77. package/dist-es/commands/DeleteBucketCommand.js +13 -0
  78. package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +13 -0
  79. package/dist-es/commands/DeleteBucketPolicyCommand.js +13 -0
  80. package/dist-es/commands/DeleteBucketTaggingCommand.js +13 -0
  81. package/dist-es/commands/DeleteJobTaggingCommand.js +12 -0
  82. package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +12 -0
  83. package/dist-es/commands/DeletePublicAccessBlockCommand.js +12 -0
  84. package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +12 -0
  85. package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +12 -0
  86. package/dist-es/commands/DescribeJobCommand.js +12 -0
  87. package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +12 -0
  88. package/dist-es/commands/GetAccessPointCommand.js +13 -0
  89. package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +12 -0
  90. package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +12 -0
  91. package/dist-es/commands/GetAccessPointPolicyCommand.js +13 -0
  92. package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +12 -0
  93. package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +13 -0
  94. package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +12 -0
  95. package/dist-es/commands/GetBucketCommand.js +13 -0
  96. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -0
  97. package/dist-es/commands/GetBucketPolicyCommand.js +13 -0
  98. package/dist-es/commands/GetBucketTaggingCommand.js +13 -0
  99. package/dist-es/commands/GetBucketVersioningCommand.js +11 -0
  100. package/dist-es/commands/GetJobTaggingCommand.js +12 -0
  101. package/dist-es/commands/GetMultiRegionAccessPointCommand.js +12 -0
  102. package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +12 -0
  103. package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +12 -0
  104. package/dist-es/commands/GetPublicAccessBlockCommand.js +12 -0
  105. package/dist-es/commands/GetStorageLensConfigurationCommand.js +12 -0
  106. package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +12 -0
  107. package/dist-es/commands/ListAccessPointsCommand.js +13 -0
  108. package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +12 -0
  109. package/dist-es/commands/ListJobsCommand.js +12 -0
  110. package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +12 -0
  111. package/dist-es/commands/ListRegionalBucketsCommand.js +13 -0
  112. package/dist-es/commands/ListStorageLensConfigurationsCommand.js +12 -0
  113. package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +12 -0
  114. package/dist-es/commands/PutAccessPointPolicyCommand.js +13 -0
  115. package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +12 -0
  116. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -0
  117. package/dist-es/commands/PutBucketPolicyCommand.js +13 -0
  118. package/dist-es/commands/PutBucketTaggingCommand.js +13 -0
  119. package/dist-es/commands/PutBucketVersioningCommand.js +11 -0
  120. package/dist-es/commands/PutJobTaggingCommand.js +12 -0
  121. package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +12 -0
  122. package/dist-es/commands/PutPublicAccessBlockCommand.js +12 -0
  123. package/dist-es/commands/PutStorageLensConfigurationCommand.js +12 -0
  124. package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +12 -0
  125. package/dist-es/commands/UpdateJobPriorityCommand.js +12 -0
  126. package/dist-es/commands/UpdateJobStatusCommand.js +12 -0
  127. package/dist-es/endpoint/EndpointParameters.js +8 -0
  128. package/dist-es/endpoint/endpointResolver.js +8 -0
  129. package/dist-es/endpoint/ruleset.js +2351 -0
  130. package/dist-es/protocols/Aws_restXml.js +12 -15
  131. package/dist-es/runtimeConfig.shared.js +2 -2
  132. package/dist-types/S3ControlClient.d.ts +6 -9
  133. package/dist-types/commands/CreateAccessPointCommand.d.ts +2 -0
  134. package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +2 -0
  135. package/dist-types/commands/CreateBucketCommand.d.ts +2 -0
  136. package/dist-types/commands/CreateJobCommand.d.ts +2 -0
  137. package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +2 -0
  138. package/dist-types/commands/DeleteAccessPointCommand.d.ts +2 -0
  139. package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +2 -0
  140. package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +2 -0
  141. package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  142. package/dist-types/commands/DeleteBucketCommand.d.ts +2 -0
  143. package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +2 -0
  144. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -0
  145. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -0
  146. package/dist-types/commands/DeleteJobTaggingCommand.d.ts +2 -0
  147. package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +2 -0
  148. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
  149. package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +2 -0
  150. package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +2 -0
  151. package/dist-types/commands/DescribeJobCommand.d.ts +2 -0
  152. package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +2 -0
  153. package/dist-types/commands/GetAccessPointCommand.d.ts +2 -0
  154. package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
  155. package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +2 -0
  156. package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +2 -0
  157. package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  158. package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +2 -0
  159. package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +2 -0
  160. package/dist-types/commands/GetBucketCommand.d.ts +2 -0
  161. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
  162. package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -0
  163. package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -0
  164. package/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -0
  165. package/dist-types/commands/GetJobTaggingCommand.d.ts +2 -0
  166. package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +2 -0
  167. package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +2 -0
  168. package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +2 -0
  169. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -0
  170. package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -0
  171. package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +2 -0
  172. package/dist-types/commands/ListAccessPointsCommand.d.ts +2 -0
  173. package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +2 -0
  174. package/dist-types/commands/ListJobsCommand.d.ts +2 -0
  175. package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +2 -0
  176. package/dist-types/commands/ListRegionalBucketsCommand.d.ts +2 -0
  177. package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +2 -0
  178. package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
  179. package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +2 -0
  180. package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  181. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
  182. package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -0
  183. package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -0
  184. package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -0
  185. package/dist-types/commands/PutJobTaggingCommand.d.ts +2 -0
  186. package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +2 -0
  187. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -0
  188. package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -0
  189. package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +2 -0
  190. package/dist-types/commands/UpdateJobPriorityCommand.d.ts +2 -0
  191. package/dist-types/commands/UpdateJobStatusCommand.d.ts +2 -0
  192. package/dist-types/endpoint/EndpointParameters.d.ts +26 -0
  193. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  194. package/dist-types/endpoint/ruleset.d.ts +2 -0
  195. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  196. package/dist-types/runtimeConfig.d.ts +4 -2
  197. package/dist-types/runtimeConfig.native.d.ts +4 -2
  198. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  199. package/dist-types/ts3.4/S3ControlClient.d.ts +15 -8
  200. package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/CreateAccessPointForObjectLambdaCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/CreateMultiRegionAccessPointCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/DeleteAccessPointPolicyCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/DeleteJobTaggingCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/DeleteMultiRegionAccessPointCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/DeleteStorageLensConfigurationCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/GetAccessPointCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/GetAccessPointForObjectLambdaCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/GetAccessPointPolicyCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/GetAccessPointPolicyStatusCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/GetBucketCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +2 -0
  231. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +2 -0
  232. package/dist-types/ts3.4/commands/GetJobTaggingCommand.d.ts +2 -0
  233. package/dist-types/ts3.4/commands/GetMultiRegionAccessPointCommand.d.ts +2 -0
  234. package/dist-types/ts3.4/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +2 -0
  235. package/dist-types/ts3.4/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +2 -0
  236. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -0
  237. package/dist-types/ts3.4/commands/GetStorageLensConfigurationCommand.d.ts +2 -0
  238. package/dist-types/ts3.4/commands/GetStorageLensConfigurationTaggingCommand.d.ts +2 -0
  239. package/dist-types/ts3.4/commands/ListAccessPointsCommand.d.ts +2 -0
  240. package/dist-types/ts3.4/commands/ListAccessPointsForObjectLambdaCommand.d.ts +2 -0
  241. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -0
  242. package/dist-types/ts3.4/commands/ListMultiRegionAccessPointsCommand.d.ts +2 -0
  243. package/dist-types/ts3.4/commands/ListRegionalBucketsCommand.d.ts +2 -0
  244. package/dist-types/ts3.4/commands/ListStorageLensConfigurationsCommand.d.ts +2 -0
  245. package/dist-types/ts3.4/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
  246. package/dist-types/ts3.4/commands/PutAccessPointPolicyCommand.d.ts +2 -0
  247. package/dist-types/ts3.4/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
  248. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
  249. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -0
  250. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -0
  251. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +2 -0
  252. package/dist-types/ts3.4/commands/PutJobTaggingCommand.d.ts +2 -0
  253. package/dist-types/ts3.4/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +2 -0
  254. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -0
  255. package/dist-types/ts3.4/commands/PutStorageLensConfigurationCommand.d.ts +2 -0
  256. package/dist-types/ts3.4/commands/PutStorageLensConfigurationTaggingCommand.d.ts +2 -0
  257. package/dist-types/ts3.4/commands/UpdateJobPriorityCommand.d.ts +2 -0
  258. package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +2 -0
  259. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  260. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  261. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  262. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  263. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  264. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  265. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  266. package/package.json +33 -31
  267. package/dist-cjs/endpoints.js +0 -467
  268. package/dist-es/endpoints.js +0 -463
  269. package/dist-types/endpoints.d.ts +0 -2
  270. package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.193.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.192.0...v3.193.0) (2022-10-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** add @aws-sdk/util-endpoints dependency ([#4058](https://github.com/aws/aws-sdk-js-v3/issues/4058)) ([e8d7c68](https://github.com/aws/aws-sdk-js-v3/commit/e8d7c68b427897188cdc8de20d502cb0b26fbe9a))
12
+ * **endpoint:** s3 control tests to unblock CI ([#4063](https://github.com/aws/aws-sdk-js-v3/issues/4063)) ([0090e1c](https://github.com/aws/aws-sdk-js-v3/commit/0090e1cd8806239d9ff842105939e8e022a98f2b))
13
+ * **endpoint:** test fixes for s3-control related to endpoints 2.0 ([#4065](https://github.com/aws/aws-sdk-js-v3/issues/4065)) ([25af672](https://github.com/aws/aws-sdk-js-v3/commit/25af672e313406dcc331e154c385fc325b93a4a2))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.192.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.191.0...v3.192.0) (2022-10-19)
20
+
21
+
22
+ ### Features
23
+
24
+ * **client-s3-control:** Updates internal logic for constructing API endpoints. We have added rule-based endpoints and internal model parameters. ([3aad5b0](https://github.com/aws/aws-sdk-js-v3/commit/3aad5b064347f18803810f5009f0784875dc69d6))
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-s3-control
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.S3ControlClient = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
6
7
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
8
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
9
  const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
@@ -11,19 +12,21 @@ const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control"
11
12
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
12
13
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
13
14
  const smithy_client_1 = require("@aws-sdk/smithy-client");
15
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
14
16
  const runtimeConfig_1 = require("./runtimeConfig");
15
17
  class S3ControlClient extends smithy_client_1.Client {
16
18
  constructor(configuration) {
17
19
  const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
18
- const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
19
- const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
20
- const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
21
- const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
22
- const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
23
- const _config_6 = (0, middleware_sdk_s3_control_1.resolveS3ControlConfig)(_config_5);
24
- const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
25
- super(_config_7);
26
- this.config = _config_7;
20
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
21
+ const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
22
+ const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
23
+ const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
24
+ const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
25
+ const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
26
+ const _config_7 = (0, middleware_sdk_s3_control_1.resolveS3ControlConfig)(_config_6);
27
+ const _config_8 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_7);
28
+ super(_config_8);
29
+ this.config = _config_8;
27
30
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
28
31
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
29
32
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAccessPointCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class CreateAccessPointCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ Bucket: { type: "contextParams", name: "Bucket" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAccessPointCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAccessPointForObjectLambdaCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class CreateAccessPointForObjectLambdaCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAccessPointForObjectLambdaCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateBucketCommand = void 0;
4
4
  const middleware_apply_body_checksum_1 = require("@aws-sdk/middleware-apply-body-checksum");
5
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
6
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
6
7
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -12,8 +13,20 @@ class CreateBucketCommand extends smithy_client_1.Command {
12
13
  super();
13
14
  this.input = input;
14
15
  }
16
+ static getEndpointParameterInstructions() {
17
+ return {
18
+ OutpostId: { type: "contextParams", name: "OutpostId" },
19
+ Bucket: { type: "contextParams", name: "Bucket" },
20
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
21
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
22
+ Endpoint: { type: "builtInParams", name: "endpoint" },
23
+ Region: { type: "builtInParams", name: "region" },
24
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
25
+ };
26
+ }
15
27
  resolveMiddleware(clientStack, configuration, options) {
16
28
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
29
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateBucketCommand.getEndpointParameterInstructions()));
17
30
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getRedirectFromPostIdPlugin)(configuration));
18
31
  this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
19
32
  const stack = clientStack.concat(this.middlewareStack);
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateJobCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class CreateJobCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateJobCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateMultiRegionAccessPointCommand = void 0;
4
4
  const middleware_apply_body_checksum_1 = require("@aws-sdk/middleware-apply-body-checksum");
5
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
6
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
6
7
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -12,8 +13,19 @@ class CreateMultiRegionAccessPointCommand extends smithy_client_1.Command {
12
13
  super();
13
14
  this.input = input;
14
15
  }
16
+ static getEndpointParameterInstructions() {
17
+ return {
18
+ AccountId: { type: "contextParams", name: "AccountId" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
15
26
  resolveMiddleware(clientStack, configuration, options) {
16
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateMultiRegionAccessPointCommand.getEndpointParameterInstructions()));
17
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
18
30
  this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
19
31
  const stack = clientStack.concat(this.middlewareStack);
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAccessPointCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteAccessPointCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccessPointName: { type: "contextParams", name: "AccessPointName" },
18
+ AccountId: { type: "contextParams", name: "AccountId" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAccessPointCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAccessPointForObjectLambdaCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeleteAccessPointForObjectLambdaCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAccessPointForObjectLambdaCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAccessPointPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteAccessPointPolicyCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccessPointName: { type: "contextParams", name: "AccessPointName" },
18
+ AccountId: { type: "contextParams", name: "AccountId" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAccessPointPolicyCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteAccessPointPolicyForObjectLambdaCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeleteAccessPointPolicyForObjectLambdaCommand extends smithy_client_1.Comm
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAccessPointPolicyForObjectLambdaCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteBucketCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteBucketCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ Bucket: { type: "contextParams", name: "Bucket" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteBucketLifecycleConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteBucketLifecycleConfigurationCommand extends smithy_client_1.Command
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ Bucket: { type: "contextParams", name: "Bucket" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketLifecycleConfigurationCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteBucketPolicyCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteBucketPolicyCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ Bucket: { type: "contextParams", name: "Bucket" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketPolicyCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteBucketTaggingCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,20 @@ class DeleteBucketTaggingCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ Bucket: { type: "contextParams", name: "Bucket" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
14
26
  resolveMiddleware(clientStack, configuration, options) {
15
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketTaggingCommand.getEndpointParameterInstructions()));
16
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
30
  const stack = clientStack.concat(this.middlewareStack);
18
31
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteJobTaggingCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeleteJobTaggingCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteJobTaggingCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteMultiRegionAccessPointCommand = void 0;
4
4
  const middleware_apply_body_checksum_1 = require("@aws-sdk/middleware-apply-body-checksum");
5
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
6
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
6
7
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -12,8 +13,19 @@ class DeleteMultiRegionAccessPointCommand extends smithy_client_1.Command {
12
13
  super();
13
14
  this.input = input;
14
15
  }
16
+ static getEndpointParameterInstructions() {
17
+ return {
18
+ AccountId: { type: "contextParams", name: "AccountId" },
19
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
20
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
21
+ Endpoint: { type: "builtInParams", name: "endpoint" },
22
+ Region: { type: "builtInParams", name: "region" },
23
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
24
+ };
25
+ }
15
26
  resolveMiddleware(clientStack, configuration, options) {
16
27
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
28
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteMultiRegionAccessPointCommand.getEndpointParameterInstructions()));
17
29
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
18
30
  this.middlewareStack.use((0, middleware_apply_body_checksum_1.getApplyMd5BodyChecksumPlugin)(configuration));
19
31
  const stack = clientStack.concat(this.middlewareStack);
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeletePublicAccessBlockCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeletePublicAccessBlockCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeletePublicAccessBlockCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteStorageLensConfigurationCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeleteStorageLensConfigurationCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteStorageLensConfigurationCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteStorageLensConfigurationTaggingCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DeleteStorageLensConfigurationTaggingCommand extends smithy_client_1.Comma
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteStorageLensConfigurationTaggingCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeJobCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_sdk_s3_control_1 = require("@aws-sdk/middleware-sdk-s3-control");
5
6
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
@@ -11,8 +12,19 @@ class DescribeJobCommand extends smithy_client_1.Command {
11
12
  super();
12
13
  this.input = input;
13
14
  }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ AccountId: { type: "contextParams", name: "AccountId" },
18
+ UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
19
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
20
+ Endpoint: { type: "builtInParams", name: "endpoint" },
21
+ Region: { type: "builtInParams", name: "region" },
22
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
23
+ };
24
+ }
14
25
  resolveMiddleware(clientStack, configuration, options) {
15
26
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
27
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeJobCommand.getEndpointParameterInstructions()));
16
28
  this.middlewareStack.use((0, middleware_sdk_s3_control_1.getProcessArnablesPlugin)(configuration));
17
29
  const stack = clientStack.concat(this.middlewareStack);
18
30
  const { logger } = configuration;