@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
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { PutRegistryCatalogDataRequest, PutRegistryCatalogDataResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1PutRegistryCatalogDataCommand,
18
- serializeAws_json1_1PutRegistryCatalogDataCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface PutRegistryCatalogDataCommandInput extends PutRegistryCatalogDataRequest {}
22
- export interface PutRegistryCatalogDataCommandOutput extends PutRegistryCatalogDataResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Create or updates the catalog data for a public registry.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ECRPUBLICClient, PutRegistryCatalogDataCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
30
- * // const { ECRPUBLICClient, PutRegistryCatalogDataCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
31
- * const client = new ECRPUBLICClient(config);
32
- * const command = new PutRegistryCatalogDataCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link PutRegistryCatalogDataCommandInput} for command's `input` shape.
37
- * @see {@link PutRegistryCatalogDataCommandOutput} for command's `response` shape.
38
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class PutRegistryCatalogDataCommand extends $Command<
42
- PutRegistryCatalogDataCommandInput,
43
- PutRegistryCatalogDataCommandOutput,
44
- ECRPUBLICClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: PutRegistryCatalogDataCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ECRPUBLICClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<PutRegistryCatalogDataCommandInput, PutRegistryCatalogDataCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ECRPUBLICClient";
69
- const commandName = "PutRegistryCatalogDataCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: PutRegistryCatalogDataRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: PutRegistryCatalogDataResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: PutRegistryCatalogDataCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1PutRegistryCatalogDataCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutRegistryCatalogDataCommandOutput> {
90
- return deserializeAws_json1_1PutRegistryCatalogDataCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { PutRepositoryCatalogDataRequest, PutRepositoryCatalogDataResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1PutRepositoryCatalogDataCommand,
18
- serializeAws_json1_1PutRepositoryCatalogDataCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface PutRepositoryCatalogDataCommandInput extends PutRepositoryCatalogDataRequest {}
22
- export interface PutRepositoryCatalogDataCommandOutput extends PutRepositoryCatalogDataResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates or updates the catalog data for a repository in a public registry.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ECRPUBLICClient, PutRepositoryCatalogDataCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
30
- * // const { ECRPUBLICClient, PutRepositoryCatalogDataCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
31
- * const client = new ECRPUBLICClient(config);
32
- * const command = new PutRepositoryCatalogDataCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link PutRepositoryCatalogDataCommandInput} for command's `input` shape.
37
- * @see {@link PutRepositoryCatalogDataCommandOutput} for command's `response` shape.
38
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class PutRepositoryCatalogDataCommand extends $Command<
42
- PutRepositoryCatalogDataCommandInput,
43
- PutRepositoryCatalogDataCommandOutput,
44
- ECRPUBLICClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: PutRepositoryCatalogDataCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ECRPUBLICClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<PutRepositoryCatalogDataCommandInput, PutRepositoryCatalogDataCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ECRPUBLICClient";
69
- const commandName = "PutRepositoryCatalogDataCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: PutRepositoryCatalogDataRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: PutRepositoryCatalogDataResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: PutRepositoryCatalogDataCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1PutRepositoryCatalogDataCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutRepositoryCatalogDataCommandOutput> {
90
- return deserializeAws_json1_1PutRepositoryCatalogDataCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { SetRepositoryPolicyRequest, SetRepositoryPolicyResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1SetRepositoryPolicyCommand,
18
- serializeAws_json1_1SetRepositoryPolicyCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface SetRepositoryPolicyCommandInput extends SetRepositoryPolicyRequest {}
22
- export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Applies a repository policy to the specified public repository to control access
26
- * permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
27
- * Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { ECRPUBLICClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
32
- * // const { ECRPUBLICClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
33
- * const client = new ECRPUBLICClient(config);
34
- * const command = new SetRepositoryPolicyCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
39
- * @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
40
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class SetRepositoryPolicyCommand extends $Command<
44
- SetRepositoryPolicyCommandInput,
45
- SetRepositoryPolicyCommandOutput,
46
- ECRPUBLICClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: SetRepositoryPolicyCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: ECRPUBLICClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "ECRPUBLICClient";
71
- const commandName = "SetRepositoryPolicyCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: SetRepositoryPolicyRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: SetRepositoryPolicyResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: SetRepositoryPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1SetRepositoryPolicyCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SetRepositoryPolicyCommandOutput> {
92
- return deserializeAws_json1_1SetRepositoryPolicyCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1TagResourceCommand,
18
- serializeAws_json1_1TagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
26
- * If existing tags on a resource are not specified in the request parameters, they are not
27
- * changed. When a resource is deleted, the tags associated with that resource are deleted as
28
- * well.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { ECRPUBLICClient, TagResourceCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
33
- * // const { ECRPUBLICClient, TagResourceCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
34
- * const client = new ECRPUBLICClient(config);
35
- * const command = new TagResourceCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link TagResourceCommandInput} for command's `input` shape.
40
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
41
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class TagResourceCommand extends $Command<
45
- TagResourceCommandInput,
46
- TagResourceCommandOutput,
47
- ECRPUBLICClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: TagResourceCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: ECRPUBLICClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "ECRPUBLICClient";
72
- const commandName = "TagResourceCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_1TagResourceCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
93
- return deserializeAws_json1_1TagResourceCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UntagResourceCommand,
18
- serializeAws_json1_1UntagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes specified tags from a resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { ECRPUBLICClient, UntagResourceCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
30
- * // const { ECRPUBLICClient, UntagResourceCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
31
- * const client = new ECRPUBLICClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- ECRPUBLICClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: ECRPUBLICClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "ECRPUBLICClient";
69
- const commandName = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_json1_1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ECRPUBLICClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRPUBLICClient";
15
- import { UploadLayerPartRequest, UploadLayerPartResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UploadLayerPartCommand,
18
- serializeAws_json1_1UploadLayerPartCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UploadLayerPartCommandInput extends UploadLayerPartRequest {}
22
- export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Uploads an image layer part to Amazon ECR.</p>
26
- * <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size of
27
- * each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is
28
- * called once per each new image layer part.</p>
29
- * <note>
30
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
31
- * </note>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ECRPUBLICClient, UploadLayerPartCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
36
- * // const { ECRPUBLICClient, UploadLayerPartCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
37
- * const client = new ECRPUBLICClient(config);
38
- * const command = new UploadLayerPartCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link UploadLayerPartCommandInput} for command's `input` shape.
43
- * @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
44
- * @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class UploadLayerPartCommand extends $Command<
48
- UploadLayerPartCommandInput,
49
- UploadLayerPartCommandOutput,
50
- ECRPUBLICClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: UploadLayerPartCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: ECRPUBLICClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<UploadLayerPartCommandInput, UploadLayerPartCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "ECRPUBLICClient";
75
- const commandName = "UploadLayerPartCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: UploadLayerPartRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: UploadLayerPartResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: UploadLayerPartCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_json1_1UploadLayerPartCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UploadLayerPartCommandOutput> {
96
- return deserializeAws_json1_1UploadLayerPartCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "api.ecr-public.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "api.ecr-public.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "api.ecr-public.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "api.ecr-public.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "api.ecr-public.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "ecr-public",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,31 +0,0 @@
1
- export * from "./ECRPUBLICClient";
2
- 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";
@@ -1 +0,0 @@
1
- export * from "./models_0";