@aws-sdk/client-ecr-public 3.957.0 → 3.962.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,6 @@
7
7
  AWS SDK for JavaScript ECRPUBLIC Client for Node.js, Browser and React Native.
8
8
 
9
9
  <fullname>Amazon Elastic Container Registry Public</fullname>
10
-
11
10
  <p>Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both
12
11
  public and private registries to host your container images. You can use the Docker CLI or
13
12
  your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable,
@@ -16,10 +15,8 @@ supports public repositories with this API. For information about the Amazon ECR
16
15
  repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
17
16
 
18
17
  ## Installing
19
-
20
18
  To install this package, simply type add or install @aws-sdk/client-ecr-public
21
19
  using your favorite package manager:
22
-
23
20
  - `npm install @aws-sdk/client-ecr-public`
24
21
  - `yarn add @aws-sdk/client-ecr-public`
25
22
  - `pnpm add @aws-sdk/client-ecr-public`
@@ -55,9 +52,7 @@ To send a request, you:
55
52
  // a client can be shared by different commands.
56
53
  const client = new ECRPUBLICClient({ region: "REGION" });
57
54
 
58
- const params = {
59
- /** input parameters */
60
- };
55
+ const params = { /** input parameters */ };
61
56
  const command = new ListTagsForResourceCommand(params);
62
57
  ```
63
58
 
@@ -216,7 +211,6 @@ BatchCheckLayerAvailability
216
211
  </summary>
217
212
 
218
213
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/BatchCheckLayerAvailabilityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/BatchCheckLayerAvailabilityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/BatchCheckLayerAvailabilityCommandOutput/)
219
-
220
214
  </details>
221
215
  <details>
222
216
  <summary>
@@ -224,7 +218,6 @@ BatchDeleteImage
224
218
  </summary>
225
219
 
226
220
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/BatchDeleteImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/BatchDeleteImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/BatchDeleteImageCommandOutput/)
227
-
228
221
  </details>
229
222
  <details>
230
223
  <summary>
@@ -232,7 +225,6 @@ CompleteLayerUpload
232
225
  </summary>
233
226
 
234
227
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/CompleteLayerUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/CompleteLayerUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/CompleteLayerUploadCommandOutput/)
235
-
236
228
  </details>
237
229
  <details>
238
230
  <summary>
@@ -240,7 +232,6 @@ CreateRepository
240
232
  </summary>
241
233
 
242
234
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/CreateRepositoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/CreateRepositoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/CreateRepositoryCommandOutput/)
243
-
244
235
  </details>
245
236
  <details>
246
237
  <summary>
@@ -248,7 +239,6 @@ DeleteRepository
248
239
  </summary>
249
240
 
250
241
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DeleteRepositoryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DeleteRepositoryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DeleteRepositoryCommandOutput/)
251
-
252
242
  </details>
253
243
  <details>
254
244
  <summary>
@@ -256,7 +246,6 @@ DeleteRepositoryPolicy
256
246
  </summary>
257
247
 
258
248
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DeleteRepositoryPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DeleteRepositoryPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DeleteRepositoryPolicyCommandOutput/)
259
-
260
249
  </details>
261
250
  <details>
262
251
  <summary>
@@ -264,7 +253,6 @@ DescribeImages
264
253
  </summary>
265
254
 
266
255
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DescribeImagesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeImagesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeImagesCommandOutput/)
267
-
268
256
  </details>
269
257
  <details>
270
258
  <summary>
@@ -272,7 +260,6 @@ DescribeImageTags
272
260
  </summary>
273
261
 
274
262
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DescribeImageTagsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeImageTagsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeImageTagsCommandOutput/)
275
-
276
263
  </details>
277
264
  <details>
278
265
  <summary>
@@ -280,7 +267,6 @@ DescribeRegistries
280
267
  </summary>
281
268
 
282
269
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DescribeRegistriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeRegistriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeRegistriesCommandOutput/)
283
-
284
270
  </details>
285
271
  <details>
286
272
  <summary>
@@ -288,7 +274,6 @@ DescribeRepositories
288
274
  </summary>
289
275
 
290
276
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/DescribeRepositoriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeRepositoriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/DescribeRepositoriesCommandOutput/)
291
-
292
277
  </details>
293
278
  <details>
294
279
  <summary>
@@ -296,7 +281,6 @@ GetAuthorizationToken
296
281
  </summary>
297
282
 
298
283
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/GetAuthorizationTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetAuthorizationTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetAuthorizationTokenCommandOutput/)
299
-
300
284
  </details>
301
285
  <details>
302
286
  <summary>
@@ -304,7 +288,6 @@ GetRegistryCatalogData
304
288
  </summary>
305
289
 
306
290
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/GetRegistryCatalogDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRegistryCatalogDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRegistryCatalogDataCommandOutput/)
307
-
308
291
  </details>
309
292
  <details>
310
293
  <summary>
@@ -312,7 +295,6 @@ GetRepositoryCatalogData
312
295
  </summary>
313
296
 
314
297
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/GetRepositoryCatalogDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRepositoryCatalogDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRepositoryCatalogDataCommandOutput/)
315
-
316
298
  </details>
317
299
  <details>
318
300
  <summary>
@@ -320,7 +302,6 @@ GetRepositoryPolicy
320
302
  </summary>
321
303
 
322
304
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/GetRepositoryPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRepositoryPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/GetRepositoryPolicyCommandOutput/)
323
-
324
305
  </details>
325
306
  <details>
326
307
  <summary>
@@ -328,7 +309,6 @@ InitiateLayerUpload
328
309
  </summary>
329
310
 
330
311
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/InitiateLayerUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/InitiateLayerUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/InitiateLayerUploadCommandOutput/)
331
-
332
312
  </details>
333
313
  <details>
334
314
  <summary>
@@ -336,7 +316,6 @@ ListTagsForResource
336
316
  </summary>
337
317
 
338
318
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/ListTagsForResourceCommandOutput/)
339
-
340
319
  </details>
341
320
  <details>
342
321
  <summary>
@@ -344,7 +323,6 @@ PutImage
344
323
  </summary>
345
324
 
346
325
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/PutImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutImageCommandOutput/)
347
-
348
326
  </details>
349
327
  <details>
350
328
  <summary>
@@ -352,7 +330,6 @@ PutRegistryCatalogData
352
330
  </summary>
353
331
 
354
332
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/PutRegistryCatalogDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutRegistryCatalogDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutRegistryCatalogDataCommandOutput/)
355
-
356
333
  </details>
357
334
  <details>
358
335
  <summary>
@@ -360,7 +337,6 @@ PutRepositoryCatalogData
360
337
  </summary>
361
338
 
362
339
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/PutRepositoryCatalogDataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutRepositoryCatalogDataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/PutRepositoryCatalogDataCommandOutput/)
363
-
364
340
  </details>
365
341
  <details>
366
342
  <summary>
@@ -368,7 +344,6 @@ SetRepositoryPolicy
368
344
  </summary>
369
345
 
370
346
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/SetRepositoryPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/SetRepositoryPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/SetRepositoryPolicyCommandOutput/)
371
-
372
347
  </details>
373
348
  <details>
374
349
  <summary>
@@ -376,7 +351,6 @@ TagResource
376
351
  </summary>
377
352
 
378
353
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/TagResourceCommandOutput/)
379
-
380
354
  </details>
381
355
  <details>
382
356
  <summary>
@@ -384,7 +358,6 @@ UntagResource
384
358
  </summary>
385
359
 
386
360
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/UntagResourceCommandOutput/)
387
-
388
361
  </details>
389
362
  <details>
390
363
  <summary>
@@ -392,5 +365,4 @@ UploadLayerPart
392
365
  </summary>
393
366
 
394
367
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ecr-public/command/UploadLayerPartCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/UploadLayerPartCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ecr-public/Interface/UploadLayerPartCommandOutput/)
395
-
396
368
  </details>
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
6
6
  const defaultECRPUBLICHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
7
  return {
8
8
  operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
- region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
- (() => {
11
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
- })(),
9
+ region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
10
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
+ })(),
13
12
  };
14
13
  };
15
14
  exports.defaultECRPUBLICHttpAuthSchemeParametersProvider = defaultECRPUBLICHttpAuthSchemeParametersProvider;