@aws-sdk/client-ecr-public 3.35.0 → 3.38.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 (241) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ECRPUBLIC.js +0 -10
  3. package/dist-cjs/ECRPUBLICClient.js +0 -15
  4. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
  5. package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -30
  6. package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
  7. package/dist-cjs/commands/CreateRepositoryCommand.js +0 -26
  8. package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
  9. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -25
  10. package/dist-cjs/commands/DescribeImageTagsCommand.js +0 -25
  11. package/dist-cjs/commands/DescribeImagesCommand.js +0 -31
  12. package/dist-cjs/commands/DescribeRegistriesCommand.js +0 -25
  13. package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -25
  14. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -29
  15. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +0 -25
  16. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +0 -26
  17. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -25
  18. package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  20. package/dist-cjs/commands/PutImageCommand.js +0 -32
  21. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +0 -25
  22. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +0 -25
  23. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -27
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -28
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  26. package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
  27. package/dist-cjs/commands/index.js +26 -0
  28. package/dist-cjs/endpoints.js +1 -2
  29. package/dist-cjs/index.js +4 -31
  30. package/dist-cjs/models/index.js +0 -1
  31. package/dist-cjs/models/models_0.js +0 -256
  32. package/dist-cjs/pagination/DescribeImageTagsPaginator.js +0 -11
  33. package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -11
  34. package/dist-cjs/pagination/DescribeRegistriesPaginator.js +0 -11
  35. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -11
  36. package/dist-cjs/pagination/Interfaces.js +0 -1
  37. package/dist-cjs/pagination/index.js +8 -0
  38. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  39. package/dist-cjs/runtimeConfig.browser.js +1 -6
  40. package/dist-cjs/runtimeConfig.js +2 -7
  41. package/dist-cjs/runtimeConfig.native.js +0 -4
  42. package/dist-cjs/runtimeConfig.shared.js +0 -4
  43. package/dist-es/ECRPUBLIC.js +0 -1
  44. package/dist-es/ECRPUBLICClient.js +0 -1
  45. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +0 -1
  46. package/dist-es/commands/BatchDeleteImageCommand.js +0 -1
  47. package/dist-es/commands/CompleteLayerUploadCommand.js +0 -1
  48. package/dist-es/commands/CreateRepositoryCommand.js +0 -1
  49. package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
  50. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +0 -1
  51. package/dist-es/commands/DescribeImageTagsCommand.js +0 -1
  52. package/dist-es/commands/DescribeImagesCommand.js +0 -1
  53. package/dist-es/commands/DescribeRegistriesCommand.js +0 -1
  54. package/dist-es/commands/DescribeRepositoriesCommand.js +0 -1
  55. package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
  56. package/dist-es/commands/GetRegistryCatalogDataCommand.js +0 -1
  57. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +0 -1
  58. package/dist-es/commands/GetRepositoryPolicyCommand.js +0 -1
  59. package/dist-es/commands/InitiateLayerUploadCommand.js +0 -1
  60. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  61. package/dist-es/commands/PutImageCommand.js +0 -1
  62. package/dist-es/commands/PutRegistryCatalogDataCommand.js +0 -1
  63. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +0 -1
  64. package/dist-es/commands/SetRepositoryPolicyCommand.js +0 -1
  65. package/dist-es/commands/TagResourceCommand.js +0 -1
  66. package/dist-es/commands/UntagResourceCommand.js +0 -1
  67. package/dist-es/commands/UploadLayerPartCommand.js +0 -1
  68. package/dist-es/commands/index.js +23 -0
  69. package/dist-es/endpoints.js +1 -2
  70. package/dist-es/index.js +4 -31
  71. package/dist-es/models/index.js +0 -1
  72. package/dist-es/models/models_0.js +0 -1
  73. package/dist-es/pagination/DescribeImageTagsPaginator.js +0 -1
  74. package/dist-es/pagination/DescribeImagesPaginator.js +0 -1
  75. package/dist-es/pagination/DescribeRegistriesPaginator.js +0 -1
  76. package/dist-es/pagination/DescribeRepositoriesPaginator.js +0 -1
  77. package/dist-es/pagination/Interfaces.js +0 -1
  78. package/dist-es/pagination/index.js +5 -0
  79. package/dist-es/protocols/Aws_json1_1.js +0 -1
  80. package/dist-es/runtimeConfig.browser.js +1 -2
  81. package/dist-es/runtimeConfig.js +2 -3
  82. package/dist-es/runtimeConfig.native.js +0 -1
  83. package/dist-es/runtimeConfig.shared.js +0 -1
  84. package/dist-types/commands/index.d.ts +23 -0
  85. package/dist-types/index.d.ts +4 -30
  86. package/dist-types/pagination/index.d.ts +5 -0
  87. package/dist-types/ts3.4/ECRPUBLIC.d.ts +24 -134
  88. package/dist-types/ts3.4/ECRPUBLICClient.d.ts +24 -95
  89. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -26
  90. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
  91. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -27
  92. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
  93. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
  97. package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -24
  100. package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -21
  102. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -26
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -27
  106. package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -26
  112. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  113. package/dist-types/ts3.4/index.d.ts +4 -30
  114. package/dist-types/ts3.4/models/models_0.d.ts +298 -1145
  115. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  116. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  117. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  118. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  119. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  120. package/package.json +33 -30
  121. package/dist-cjs/ECRPUBLIC.js.map +0 -1
  122. package/dist-cjs/ECRPUBLICClient.js.map +0 -1
  123. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  124. package/dist-cjs/commands/BatchDeleteImageCommand.js.map +0 -1
  125. package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
  126. package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
  127. package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  129. package/dist-cjs/commands/DescribeImageTagsCommand.js.map +0 -1
  130. package/dist-cjs/commands/DescribeImagesCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeRegistriesCommand.js.map +0 -1
  132. package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
  133. package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
  134. package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  135. package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  136. package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
  137. package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
  138. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  139. package/dist-cjs/commands/PutImageCommand.js.map +0 -1
  140. package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  141. package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  142. package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
  143. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  144. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  145. package/dist-cjs/commands/UploadLayerPartCommand.js.map +0 -1
  146. package/dist-cjs/endpoints.js.map +0 -1
  147. package/dist-cjs/index.js.map +0 -1
  148. package/dist-cjs/models/index.js.map +0 -1
  149. package/dist-cjs/models/models_0.js.map +0 -1
  150. package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
  151. package/dist-cjs/pagination/DescribeImagesPaginator.js.map +0 -1
  152. package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
  153. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  154. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  155. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  156. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  157. package/dist-cjs/runtimeConfig.js.map +0 -1
  158. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  159. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  160. package/dist-es/ECRPUBLIC.js.map +0 -1
  161. package/dist-es/ECRPUBLICClient.js.map +0 -1
  162. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
  163. package/dist-es/commands/BatchDeleteImageCommand.js.map +0 -1
  164. package/dist-es/commands/CompleteLayerUploadCommand.js.map +0 -1
  165. package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
  166. package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
  167. package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
  168. package/dist-es/commands/DescribeImageTagsCommand.js.map +0 -1
  169. package/dist-es/commands/DescribeImagesCommand.js.map +0 -1
  170. package/dist-es/commands/DescribeRegistriesCommand.js.map +0 -1
  171. package/dist-es/commands/DescribeRepositoriesCommand.js.map +0 -1
  172. package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
  173. package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
  174. package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
  175. package/dist-es/commands/GetRepositoryPolicyCommand.js.map +0 -1
  176. package/dist-es/commands/InitiateLayerUploadCommand.js.map +0 -1
  177. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  178. package/dist-es/commands/PutImageCommand.js.map +0 -1
  179. package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
  180. package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
  181. package/dist-es/commands/SetRepositoryPolicyCommand.js.map +0 -1
  182. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  183. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  184. package/dist-es/commands/UploadLayerPartCommand.js.map +0 -1
  185. package/dist-es/endpoints.js.map +0 -1
  186. package/dist-es/index.js.map +0 -1
  187. package/dist-es/models/index.js.map +0 -1
  188. package/dist-es/models/models_0.js.map +0 -1
  189. package/dist-es/pagination/DescribeImageTagsPaginator.js.map +0 -1
  190. package/dist-es/pagination/DescribeImagesPaginator.js.map +0 -1
  191. package/dist-es/pagination/DescribeRegistriesPaginator.js.map +0 -1
  192. package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
  193. package/dist-es/pagination/Interfaces.js.map +0 -1
  194. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  195. package/dist-es/runtimeConfig.browser.js.map +0 -1
  196. package/dist-es/runtimeConfig.js.map +0 -1
  197. package/dist-es/runtimeConfig.native.js.map +0 -1
  198. package/dist-es/runtimeConfig.shared.js.map +0 -1
  199. package/jest.config.js +0 -4
  200. package/src/ECRPUBLIC.ts +0 -901
  201. package/src/ECRPUBLICClient.ts +0 -350
  202. package/src/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
  203. package/src/commands/BatchDeleteImageCommand.ts +0 -100
  204. package/src/commands/CompleteLayerUploadCommand.ts +0 -102
  205. package/src/commands/CreateRepositoryCommand.ts +0 -96
  206. package/src/commands/DeleteRepositoryCommand.ts +0 -97
  207. package/src/commands/DeleteRepositoryPolicyCommand.ts +0 -95
  208. package/src/commands/DescribeImageTagsCommand.ts +0 -95
  209. package/src/commands/DescribeImagesCommand.ts +0 -101
  210. package/src/commands/DescribeRegistriesCommand.ts +0 -95
  211. package/src/commands/DescribeRepositoriesCommand.ts +0 -95
  212. package/src/commands/GetAuthorizationTokenCommand.ts +0 -99
  213. package/src/commands/GetRegistryCatalogDataCommand.ts +0 -95
  214. package/src/commands/GetRepositoryCatalogDataCommand.ts +0 -96
  215. package/src/commands/GetRepositoryPolicyCommand.ts +0 -95
  216. package/src/commands/InitiateLayerUploadCommand.ts +0 -101
  217. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  218. package/src/commands/PutImageCommand.ts +0 -99
  219. package/src/commands/PutRegistryCatalogDataCommand.ts +0 -95
  220. package/src/commands/PutRepositoryCatalogDataCommand.ts +0 -95
  221. package/src/commands/SetRepositoryPolicyCommand.ts +0 -97
  222. package/src/commands/TagResourceCommand.ts +0 -98
  223. package/src/commands/UntagResourceCommand.ts +0 -95
  224. package/src/commands/UploadLayerPartCommand.ts +0 -101
  225. package/src/endpoints.ts +0 -57
  226. package/src/index.ts +0 -31
  227. package/src/models/index.ts +0 -1
  228. package/src/models/models_0.ts +0 -2292
  229. package/src/pagination/DescribeImageTagsPaginator.ts +0 -59
  230. package/src/pagination/DescribeImagesPaginator.ts +0 -59
  231. package/src/pagination/DescribeRegistriesPaginator.ts +0 -59
  232. package/src/pagination/DescribeRepositoriesPaginator.ts +0 -59
  233. package/src/pagination/Interfaces.ts +0 -8
  234. package/src/protocols/Aws_json1_1.ts +0 -3913
  235. package/src/runtimeConfig.browser.ts +0 -41
  236. package/src/runtimeConfig.native.ts +0 -17
  237. package/src/runtimeConfig.shared.ts +0 -17
  238. package/src/runtimeConfig.ts +0 -46
  239. package/tsconfig.es.json +0 -10
  240. package/tsconfig.json +0 -33
  241. package/tsconfig.types.json +0 -9
@@ -4,22 +4,13 @@ exports.paginateDescribeImageTags = void 0;
4
4
  const DescribeImageTagsCommand_1 = require("../commands/DescribeImageTagsCommand");
5
5
  const ECRPUBLIC_1 = require("../ECRPUBLIC");
6
6
  const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeImageTagsCommand_1.DescribeImageTagsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeImageTags(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeImageTags(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeImageTags(config, input, ...additionalArguments)
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeImageTags = paginateDescribeImageTags;
46
- //# sourceMappingURL=DescribeImageTagsPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeImages = void 0;
4
4
  const DescribeImagesCommand_1 = require("../commands/DescribeImagesCommand");
5
5
  const ECRPUBLIC_1 = require("../ECRPUBLIC");
6
6
  const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeImagesCommand_1.DescribeImagesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeImages(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeImages(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeImages(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeImages = paginateDescribeImages;
46
- //# sourceMappingURL=DescribeImagesPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeRegistries = void 0;
4
4
  const DescribeRegistriesCommand_1 = require("../commands/DescribeRegistriesCommand");
5
5
  const ECRPUBLIC_1 = require("../ECRPUBLIC");
6
6
  const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeRegistriesCommand_1.DescribeRegistriesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeRegistries(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeRegistries(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeRegistries(config, input, ...additionalArguments
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeRegistries = paginateDescribeRegistries;
46
- //# sourceMappingURL=DescribeRegistriesPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeRepositories = void 0;
4
4
  const DescribeRepositoriesCommand_1 = require("../commands/DescribeRepositoriesCommand");
5
5
  const ECRPUBLIC_1 = require("../ECRPUBLIC");
6
6
  const ECRPUBLICClient_1 = require("../ECRPUBLICClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeRepositoriesCommand_1.DescribeRepositoriesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeRepositories(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeRepositories(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeRepositories(config, input, ...additionalArgumen
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeRepositories = paginateDescribeRepositories;
46
- //# sourceMappingURL=DescribeRepositoriesPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeImageTagsPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeImagesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeRegistriesPaginator"), exports);
7
+ tslib_1.__exportStar(require("./DescribeRepositoriesPaginator"), exports);
8
+ tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -3057,14 +3057,12 @@ const deserializeMetadata = (output) => {
3057
3057
  cfId: output.headers["x-amz-cf-id"],
3058
3058
  });
3059
3059
  };
3060
- // Collect low-level response body stream to Uint8Array.
3061
3060
  const collectBody = (streamBody = new Uint8Array(), context) => {
3062
3061
  if (streamBody instanceof Uint8Array) {
3063
3062
  return Promise.resolve(streamBody);
3064
3063
  }
3065
3064
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
3066
3065
  };
3067
- // Encode Uint8Array data into string with utf-8.
3068
3066
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3069
3067
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
3070
3068
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -3090,9 +3088,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3090
3088
  }
3091
3089
  return {};
3092
3090
  });
3093
- /**
3094
- * Load an error code for the aws.rest-json-1.1 protocol.
3095
- */
3096
3091
  const loadRestJsonErrorCode = (output, data) => {
3097
3092
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
3098
3093
  const sanitizeErrorCode = (rawValue) => {
@@ -3117,4 +3112,3 @@ const loadRestJsonErrorCode = (output, data) => {
3117
3112
  }
3118
3113
  return "";
3119
3114
  };
3120
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
6
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
7
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
10
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
12
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
13
- // @ts-ignore: package.json will be imported from dist folders
14
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
39
35
  };
40
36
  };
41
37
  exports.getRuntimeConfig = getRuntimeConfig;
42
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const client_sts_1 = require("@aws-sdk/client-sts");
6
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
11
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
12
- const smithy_client_1 = require("@aws-sdk/smithy-client");
13
13
  const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
14
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
- // @ts-ignore: package.json will be imported from dist folders
18
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
19
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
- /**
21
- * @internal
22
- */
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
44
40
  };
45
41
  };
46
42
  exports.getRuntimeConfig = getRuntimeConfig;
47
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -353,4 +353,3 @@ var ECRPUBLIC = (function (_super) {
353
353
  return ECRPUBLIC;
354
354
  }(ECRPUBLICClient));
355
355
  export { ECRPUBLIC };
356
- //# sourceMappingURL=ECRPUBLIC.js.map
@@ -35,4 +35,3 @@ var ECRPUBLICClient = (function (_super) {
35
35
  return ECRPUBLICClient;
36
36
  }(__Client));
37
37
  export { ECRPUBLICClient };
38
- //# sourceMappingURL=ECRPUBLICClient.js.map
@@ -37,4 +37,3 @@ var BatchCheckLayerAvailabilityCommand = (function (_super) {
37
37
  return BatchCheckLayerAvailabilityCommand;
38
38
  }($Command));
39
39
  export { BatchCheckLayerAvailabilityCommand };
40
- //# sourceMappingURL=BatchCheckLayerAvailabilityCommand.js.map
@@ -37,4 +37,3 @@ var BatchDeleteImageCommand = (function (_super) {
37
37
  return BatchDeleteImageCommand;
38
38
  }($Command));
39
39
  export { BatchDeleteImageCommand };
40
- //# sourceMappingURL=BatchDeleteImageCommand.js.map
@@ -37,4 +37,3 @@ var CompleteLayerUploadCommand = (function (_super) {
37
37
  return CompleteLayerUploadCommand;
38
38
  }($Command));
39
39
  export { CompleteLayerUploadCommand };
40
- //# sourceMappingURL=CompleteLayerUploadCommand.js.map
@@ -37,4 +37,3 @@ var CreateRepositoryCommand = (function (_super) {
37
37
  return CreateRepositoryCommand;
38
38
  }($Command));
39
39
  export { CreateRepositoryCommand };
40
- //# sourceMappingURL=CreateRepositoryCommand.js.map
@@ -37,4 +37,3 @@ var DeleteRepositoryCommand = (function (_super) {
37
37
  return DeleteRepositoryCommand;
38
38
  }($Command));
39
39
  export { DeleteRepositoryCommand };
40
- //# sourceMappingURL=DeleteRepositoryCommand.js.map
@@ -37,4 +37,3 @@ var DeleteRepositoryPolicyCommand = (function (_super) {
37
37
  return DeleteRepositoryPolicyCommand;
38
38
  }($Command));
39
39
  export { DeleteRepositoryPolicyCommand };
40
- //# sourceMappingURL=DeleteRepositoryPolicyCommand.js.map
@@ -37,4 +37,3 @@ var DescribeImageTagsCommand = (function (_super) {
37
37
  return DescribeImageTagsCommand;
38
38
  }($Command));
39
39
  export { DescribeImageTagsCommand };
40
- //# sourceMappingURL=DescribeImageTagsCommand.js.map
@@ -37,4 +37,3 @@ var DescribeImagesCommand = (function (_super) {
37
37
  return DescribeImagesCommand;
38
38
  }($Command));
39
39
  export { DescribeImagesCommand };
40
- //# sourceMappingURL=DescribeImagesCommand.js.map
@@ -37,4 +37,3 @@ var DescribeRegistriesCommand = (function (_super) {
37
37
  return DescribeRegistriesCommand;
38
38
  }($Command));
39
39
  export { DescribeRegistriesCommand };
40
- //# sourceMappingURL=DescribeRegistriesCommand.js.map
@@ -37,4 +37,3 @@ var DescribeRepositoriesCommand = (function (_super) {
37
37
  return DescribeRepositoriesCommand;
38
38
  }($Command));
39
39
  export { DescribeRepositoriesCommand };
40
- //# sourceMappingURL=DescribeRepositoriesCommand.js.map
@@ -37,4 +37,3 @@ var GetAuthorizationTokenCommand = (function (_super) {
37
37
  return GetAuthorizationTokenCommand;
38
38
  }($Command));
39
39
  export { GetAuthorizationTokenCommand };
40
- //# sourceMappingURL=GetAuthorizationTokenCommand.js.map
@@ -37,4 +37,3 @@ var GetRegistryCatalogDataCommand = (function (_super) {
37
37
  return GetRegistryCatalogDataCommand;
38
38
  }($Command));
39
39
  export { GetRegistryCatalogDataCommand };
40
- //# sourceMappingURL=GetRegistryCatalogDataCommand.js.map
@@ -37,4 +37,3 @@ var GetRepositoryCatalogDataCommand = (function (_super) {
37
37
  return GetRepositoryCatalogDataCommand;
38
38
  }($Command));
39
39
  export { GetRepositoryCatalogDataCommand };
40
- //# sourceMappingURL=GetRepositoryCatalogDataCommand.js.map
@@ -37,4 +37,3 @@ var GetRepositoryPolicyCommand = (function (_super) {
37
37
  return GetRepositoryPolicyCommand;
38
38
  }($Command));
39
39
  export { GetRepositoryPolicyCommand };
40
- //# sourceMappingURL=GetRepositoryPolicyCommand.js.map
@@ -37,4 +37,3 @@ var InitiateLayerUploadCommand = (function (_super) {
37
37
  return InitiateLayerUploadCommand;
38
38
  }($Command));
39
39
  export { InitiateLayerUploadCommand };
40
- //# sourceMappingURL=InitiateLayerUploadCommand.js.map
@@ -37,4 +37,3 @@ var ListTagsForResourceCommand = (function (_super) {
37
37
  return ListTagsForResourceCommand;
38
38
  }($Command));
39
39
  export { ListTagsForResourceCommand };
40
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -37,4 +37,3 @@ var PutImageCommand = (function (_super) {
37
37
  return PutImageCommand;
38
38
  }($Command));
39
39
  export { PutImageCommand };
40
- //# sourceMappingURL=PutImageCommand.js.map
@@ -37,4 +37,3 @@ var PutRegistryCatalogDataCommand = (function (_super) {
37
37
  return PutRegistryCatalogDataCommand;
38
38
  }($Command));
39
39
  export { PutRegistryCatalogDataCommand };
40
- //# sourceMappingURL=PutRegistryCatalogDataCommand.js.map
@@ -37,4 +37,3 @@ var PutRepositoryCatalogDataCommand = (function (_super) {
37
37
  return PutRepositoryCatalogDataCommand;
38
38
  }($Command));
39
39
  export { PutRepositoryCatalogDataCommand };
40
- //# sourceMappingURL=PutRepositoryCatalogDataCommand.js.map
@@ -37,4 +37,3 @@ var SetRepositoryPolicyCommand = (function (_super) {
37
37
  return SetRepositoryPolicyCommand;
38
38
  }($Command));
39
39
  export { SetRepositoryPolicyCommand };
40
- //# sourceMappingURL=SetRepositoryPolicyCommand.js.map
@@ -37,4 +37,3 @@ var TagResourceCommand = (function (_super) {
37
37
  return TagResourceCommand;
38
38
  }($Command));
39
39
  export { TagResourceCommand };
40
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UntagResourceCommand = (function (_super) {
37
37
  return UntagResourceCommand;
38
38
  }($Command));
39
39
  export { UntagResourceCommand };
40
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UploadLayerPartCommand = (function (_super) {
37
37
  return UploadLayerPartCommand;
38
38
  }($Command));
39
39
  export { UploadLayerPartCommand };
40
- //# sourceMappingURL=UploadLayerPartCommand.js.map
@@ -0,0 +1,23 @@
1
+ export * from "./BatchCheckLayerAvailabilityCommand";
2
+ export * from "./BatchDeleteImageCommand";
3
+ export * from "./CompleteLayerUploadCommand";
4
+ export * from "./CreateRepositoryCommand";
5
+ export * from "./DeleteRepositoryCommand";
6
+ export * from "./DeleteRepositoryPolicyCommand";
7
+ export * from "./DescribeImageTagsCommand";
8
+ export * from "./DescribeImagesCommand";
9
+ export * from "./DescribeRegistriesCommand";
10
+ export * from "./DescribeRepositoriesCommand";
11
+ export * from "./GetAuthorizationTokenCommand";
12
+ export * from "./GetRegistryCatalogDataCommand";
13
+ export * from "./GetRepositoryCatalogDataCommand";
14
+ export * from "./GetRepositoryPolicyCommand";
15
+ export * from "./InitiateLayerUploadCommand";
16
+ export * from "./ListTagsForResourceCommand";
17
+ export * from "./PutImageCommand";
18
+ export * from "./PutRegistryCatalogDataCommand";
19
+ export * from "./PutRepositoryCatalogDataCommand";
20
+ export * from "./SetRepositoryPolicyCommand";
21
+ export * from "./TagResourceCommand";
22
+ export * from "./UntagResourceCommand";
23
+ export * from "./UploadLayerPartCommand";
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "api.ecr-public.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "api.ecr-public.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ecr-public", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
package/dist-es/index.js CHANGED
@@ -1,32 +1,5 @@
1
- export * from "./ECRPUBLICClient";
2
1
  export * from "./ECRPUBLIC";
3
- export * from "./commands/BatchCheckLayerAvailabilityCommand";
4
- export * from "./commands/BatchDeleteImageCommand";
5
- export * from "./commands/CompleteLayerUploadCommand";
6
- export * from "./commands/CreateRepositoryCommand";
7
- export * from "./commands/DeleteRepositoryCommand";
8
- export * from "./commands/DeleteRepositoryPolicyCommand";
9
- export * from "./commands/DescribeImagesCommand";
10
- export * from "./pagination/DescribeImagesPaginator";
11
- export * from "./commands/DescribeImageTagsCommand";
12
- export * from "./pagination/DescribeImageTagsPaginator";
13
- export * from "./commands/DescribeRegistriesCommand";
14
- export * from "./pagination/DescribeRegistriesPaginator";
15
- export * from "./commands/DescribeRepositoriesCommand";
16
- export * from "./pagination/DescribeRepositoriesPaginator";
17
- export * from "./commands/GetAuthorizationTokenCommand";
18
- export * from "./commands/GetRegistryCatalogDataCommand";
19
- export * from "./commands/GetRepositoryCatalogDataCommand";
20
- export * from "./commands/GetRepositoryPolicyCommand";
21
- export * from "./commands/InitiateLayerUploadCommand";
22
- export * from "./commands/ListTagsForResourceCommand";
23
- export * from "./commands/PutImageCommand";
24
- export * from "./commands/PutRegistryCatalogDataCommand";
25
- export * from "./commands/PutRepositoryCatalogDataCommand";
26
- export * from "./commands/SetRepositoryPolicyCommand";
27
- export * from "./commands/TagResourceCommand";
28
- export * from "./commands/UntagResourceCommand";
29
- export * from "./commands/UploadLayerPartCommand";
30
- export * from "./pagination/Interfaces";
31
- export * from "./models/index";
32
- //# sourceMappingURL=index.js.map
2
+ export * from "./ECRPUBLICClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1 @@
1
1
  export * from "./models_0";
2
- //# sourceMappingURL=index.js.map
@@ -365,4 +365,3 @@ export var UploadLayerPartResponse;
365
365
  (function (UploadLayerPartResponse) {
366
366
  UploadLayerPartResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
367
367
  })(UploadLayerPartResponse || (UploadLayerPartResponse = {}));
368
- //# sourceMappingURL=models_0.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeImageTags(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeImageTagsPaginator.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeImages(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeImagesPaginator.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeRegistries(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeRegistriesPaginator.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeRepositories(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeRepositoriesPaginator.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=Interfaces.js.map
@@ -0,0 +1,5 @@
1
+ export * from "./DescribeImageTagsPaginator";
2
+ export * from "./DescribeImagesPaginator";
3
+ export * from "./DescribeRegistriesPaginator";
4
+ export * from "./DescribeRepositoriesPaginator";
5
+ export * from "./Interfaces";
@@ -3208,4 +3208,3 @@ var loadRestJsonErrorCode = function (output, data) {
3208
3208
  }
3209
3209
  return "";
3210
3210
  };
3211
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
6
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
9
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
- import packageInfo from "../package.json";
15
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map