@aws-sdk/client-ecr-public 3.974.0 → 3.978.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/dist-cjs/index.js +15 -9
- package/dist-es/ECRPUBLIC.js +11 -1
- package/dist-types/ECRPUBLIC.d.ts +29 -1
- package/dist-types/ts3.4/ECRPUBLIC.d.ts +33 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1441,6 +1441,14 @@ class UploadLayerPartCommand extends smithyClient.Command
|
|
|
1441
1441
|
.build() {
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
+
const paginateDescribeImages = core.createPaginator(ECRPUBLICClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
1445
|
+
|
|
1446
|
+
const paginateDescribeImageTags = core.createPaginator(ECRPUBLICClient, DescribeImageTagsCommand, "nextToken", "nextToken", "maxResults");
|
|
1447
|
+
|
|
1448
|
+
const paginateDescribeRegistries = core.createPaginator(ECRPUBLICClient, DescribeRegistriesCommand, "nextToken", "nextToken", "maxResults");
|
|
1449
|
+
|
|
1450
|
+
const paginateDescribeRepositories = core.createPaginator(ECRPUBLICClient, DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
1451
|
+
|
|
1444
1452
|
const commands = {
|
|
1445
1453
|
BatchCheckLayerAvailabilityCommand,
|
|
1446
1454
|
BatchDeleteImageCommand,
|
|
@@ -1466,17 +1474,15 @@ const commands = {
|
|
|
1466
1474
|
UntagResourceCommand,
|
|
1467
1475
|
UploadLayerPartCommand,
|
|
1468
1476
|
};
|
|
1477
|
+
const paginators = {
|
|
1478
|
+
paginateDescribeImages,
|
|
1479
|
+
paginateDescribeImageTags,
|
|
1480
|
+
paginateDescribeRegistries,
|
|
1481
|
+
paginateDescribeRepositories,
|
|
1482
|
+
};
|
|
1469
1483
|
class ECRPUBLIC extends ECRPUBLICClient {
|
|
1470
1484
|
}
|
|
1471
|
-
smithyClient.createAggregatedClient(commands, ECRPUBLIC);
|
|
1472
|
-
|
|
1473
|
-
const paginateDescribeImages = core.createPaginator(ECRPUBLICClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
1474
|
-
|
|
1475
|
-
const paginateDescribeImageTags = core.createPaginator(ECRPUBLICClient, DescribeImageTagsCommand, "nextToken", "nextToken", "maxResults");
|
|
1476
|
-
|
|
1477
|
-
const paginateDescribeRegistries = core.createPaginator(ECRPUBLICClient, DescribeRegistriesCommand, "nextToken", "nextToken", "maxResults");
|
|
1478
|
-
|
|
1479
|
-
const paginateDescribeRepositories = core.createPaginator(ECRPUBLICClient, DescribeRepositoriesCommand, "nextToken", "nextToken", "maxResults");
|
|
1485
|
+
smithyClient.createAggregatedClient(commands, ECRPUBLIC, { paginators });
|
|
1480
1486
|
|
|
1481
1487
|
const LayerFailureCode = {
|
|
1482
1488
|
InvalidLayerDigest: "InvalidLayerDigest",
|
package/dist-es/ECRPUBLIC.js
CHANGED
|
@@ -23,6 +23,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
23
23
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
24
24
|
import { UploadLayerPartCommand, } from "./commands/UploadLayerPartCommand";
|
|
25
25
|
import { ECRPUBLICClient } from "./ECRPUBLICClient";
|
|
26
|
+
import { paginateDescribeImages } from "./pagination/DescribeImagesPaginator";
|
|
27
|
+
import { paginateDescribeImageTags } from "./pagination/DescribeImageTagsPaginator";
|
|
28
|
+
import { paginateDescribeRegistries } from "./pagination/DescribeRegistriesPaginator";
|
|
29
|
+
import { paginateDescribeRepositories } from "./pagination/DescribeRepositoriesPaginator";
|
|
26
30
|
const commands = {
|
|
27
31
|
BatchCheckLayerAvailabilityCommand,
|
|
28
32
|
BatchDeleteImageCommand,
|
|
@@ -48,6 +52,12 @@ const commands = {
|
|
|
48
52
|
UntagResourceCommand,
|
|
49
53
|
UploadLayerPartCommand,
|
|
50
54
|
};
|
|
55
|
+
const paginators = {
|
|
56
|
+
paginateDescribeImages,
|
|
57
|
+
paginateDescribeImageTags,
|
|
58
|
+
paginateDescribeRegistries,
|
|
59
|
+
paginateDescribeRepositories,
|
|
60
|
+
};
|
|
51
61
|
export class ECRPUBLIC extends ECRPUBLICClient {
|
|
52
62
|
}
|
|
53
|
-
createAggregatedClient(commands, ECRPUBLIC);
|
|
63
|
+
createAggregatedClient(commands, ECRPUBLIC, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
3
3
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
4
4
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
@@ -167,6 +167,34 @@ export interface ECRPUBLIC {
|
|
|
167
167
|
uploadLayerPart(args: UploadLayerPartCommandInput, options?: __HttpHandlerOptions): Promise<UploadLayerPartCommandOutput>;
|
|
168
168
|
uploadLayerPart(args: UploadLayerPartCommandInput, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
169
169
|
uploadLayerPart(args: UploadLayerPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link DescribeImagesCommand}
|
|
172
|
+
* @param args - command input.
|
|
173
|
+
* @param paginationConfig - optional pagination config.
|
|
174
|
+
* @returns AsyncIterable of {@link DescribeImagesCommandOutput}.
|
|
175
|
+
*/
|
|
176
|
+
paginateDescribeImages(args: DescribeImagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeImagesCommandOutput>;
|
|
177
|
+
/**
|
|
178
|
+
* @see {@link DescribeImageTagsCommand}
|
|
179
|
+
* @param args - command input.
|
|
180
|
+
* @param paginationConfig - optional pagination config.
|
|
181
|
+
* @returns AsyncIterable of {@link DescribeImageTagsCommandOutput}.
|
|
182
|
+
*/
|
|
183
|
+
paginateDescribeImageTags(args: DescribeImageTagsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeImageTagsCommandOutput>;
|
|
184
|
+
/**
|
|
185
|
+
* @see {@link DescribeRegistriesCommand}
|
|
186
|
+
* @param args - command input.
|
|
187
|
+
* @param paginationConfig - optional pagination config.
|
|
188
|
+
* @returns AsyncIterable of {@link DescribeRegistriesCommandOutput}.
|
|
189
|
+
*/
|
|
190
|
+
paginateDescribeRegistries(args?: DescribeRegistriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeRegistriesCommandOutput>;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link DescribeRepositoriesCommand}
|
|
193
|
+
* @param args - command input.
|
|
194
|
+
* @param paginationConfig - optional pagination config.
|
|
195
|
+
* @returns AsyncIterable of {@link DescribeRepositoriesCommandOutput}.
|
|
196
|
+
*/
|
|
197
|
+
paginateDescribeRepositories(args?: DescribeRepositoriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeRepositoriesCommandOutput>;
|
|
170
198
|
}
|
|
171
199
|
/**
|
|
172
200
|
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchCheckLayerAvailabilityCommandInput,
|
|
4
8
|
BatchCheckLayerAvailabilityCommandOutput,
|
|
@@ -397,5 +401,33 @@ export interface ECRPUBLIC {
|
|
|
397
401
|
options: __HttpHandlerOptions,
|
|
398
402
|
cb: (err: any, data?: UploadLayerPartCommandOutput) => void
|
|
399
403
|
): void;
|
|
404
|
+
paginateDescribeImages(
|
|
405
|
+
args: DescribeImagesCommandInput,
|
|
406
|
+
paginationConfig?: Pick<
|
|
407
|
+
PaginationConfiguration,
|
|
408
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
409
|
+
>
|
|
410
|
+
): Paginator<DescribeImagesCommandOutput>;
|
|
411
|
+
paginateDescribeImageTags(
|
|
412
|
+
args: DescribeImageTagsCommandInput,
|
|
413
|
+
paginationConfig?: Pick<
|
|
414
|
+
PaginationConfiguration,
|
|
415
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
416
|
+
>
|
|
417
|
+
): Paginator<DescribeImageTagsCommandOutput>;
|
|
418
|
+
paginateDescribeRegistries(
|
|
419
|
+
args?: DescribeRegistriesCommandInput,
|
|
420
|
+
paginationConfig?: Pick<
|
|
421
|
+
PaginationConfiguration,
|
|
422
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
423
|
+
>
|
|
424
|
+
): Paginator<DescribeRegistriesCommandOutput>;
|
|
425
|
+
paginateDescribeRepositories(
|
|
426
|
+
args?: DescribeRepositoriesCommandInput,
|
|
427
|
+
paginationConfig?: Pick<
|
|
428
|
+
PaginationConfiguration,
|
|
429
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
430
|
+
>
|
|
431
|
+
): Paginator<DescribeRepositoriesCommandOutput>;
|
|
400
432
|
}
|
|
401
433
|
export declare class ECRPUBLIC extends ECRPUBLICClient implements ECRPUBLIC {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr-public",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Public Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecr-public",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|