@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/ECRPUBLIC.js +0 -10
- package/dist-cjs/ECRPUBLICClient.js +0 -15
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -30
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -27
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/DescribeImageTagsCommand.js +0 -25
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -31
- package/dist-cjs/commands/DescribeRegistriesCommand.js +0 -25
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -25
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -29
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +0 -26
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -25
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +0 -25
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +26 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -31
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -256
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ECRPUBLIC.js +0 -1
- package/dist-es/ECRPUBLICClient.js +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js +0 -1
- package/dist-es/commands/DescribeImagesCommand.js +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutImageCommand.js +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js +0 -1
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -31
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +4 -30
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/ECRPUBLIC.d.ts +24 -134
- package/dist-types/ts3.4/ECRPUBLICClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/index.d.ts +4 -30
- package/dist-types/ts3.4/models/models_0.d.ts +298 -1145
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ECRPUBLIC.js.map +0 -1
- package/dist-cjs/ECRPUBLICClient.js.map +0 -1
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-cjs/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutImageCommand.js.map +0 -1
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ECRPUBLIC.js.map +0 -1
- package/dist-es/ECRPUBLICClient.js.map +0 -1
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteImageCommand.js.map +0 -1
- package/dist-es/commands/CompleteLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/CreateRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeImageTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeImagesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRegistriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeRepositoriesCommand.js.map +0 -1
- package/dist-es/commands/GetAuthorizationTokenCommand.js.map +0 -1
- package/dist-es/commands/GetRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/GetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/InitiateLayerUploadCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutImageCommand.js.map +0 -1
- package/dist-es/commands/PutRegistryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/PutRepositoryCatalogDataCommand.js.map +0 -1
- package/dist-es/commands/SetRepositoryPolicyCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UploadLayerPartCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeImageTagsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRegistriesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeRepositoriesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ECRPUBLIC.ts +0 -901
- package/src/ECRPUBLICClient.ts +0 -350
- package/src/commands/BatchCheckLayerAvailabilityCommand.ts +0 -106
- package/src/commands/BatchDeleteImageCommand.ts +0 -100
- package/src/commands/CompleteLayerUploadCommand.ts +0 -102
- package/src/commands/CreateRepositoryCommand.ts +0 -96
- package/src/commands/DeleteRepositoryCommand.ts +0 -97
- package/src/commands/DeleteRepositoryPolicyCommand.ts +0 -95
- package/src/commands/DescribeImageTagsCommand.ts +0 -95
- package/src/commands/DescribeImagesCommand.ts +0 -101
- package/src/commands/DescribeRegistriesCommand.ts +0 -95
- package/src/commands/DescribeRepositoriesCommand.ts +0 -95
- package/src/commands/GetAuthorizationTokenCommand.ts +0 -99
- package/src/commands/GetRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/GetRepositoryCatalogDataCommand.ts +0 -96
- package/src/commands/GetRepositoryPolicyCommand.ts +0 -95
- package/src/commands/InitiateLayerUploadCommand.ts +0 -101
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutImageCommand.ts +0 -99
- package/src/commands/PutRegistryCatalogDataCommand.ts +0 -95
- package/src/commands/PutRepositoryCatalogDataCommand.ts +0 -95
- package/src/commands/SetRepositoryPolicyCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UploadLayerPartCommand.ts +0 -101
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -31
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2292
- package/src/pagination/DescribeImageTagsPaginator.ts +0 -59
- package/src/pagination/DescribeImagesPaginator.ts +0 -59
- package/src/pagination/DescribeRegistriesPaginator.ts +0 -59
- package/src/pagination/DescribeRepositoriesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_json1_1.ts +0 -3913
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
|
-
export * from "./ECRPUBLICClient";
|
|
2
1
|
export * from "./ECRPUBLIC";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
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";
|
|
2
|
+
export * from "./ECRPUBLICClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -23,207 +23,97 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
23
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
24
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
25
25
|
import { ECRPUBLICClient } from "./ECRPUBLICClient";
|
|
26
|
-
|
|
27
|
-
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
28
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
29
|
-
* public and private registries to host your container images. You can use the familiar
|
|
30
|
-
* Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a
|
|
31
|
-
* secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI)
|
|
32
|
-
* images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR
|
|
33
|
-
* API for private repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
|
|
34
|
-
*/
|
|
26
|
+
|
|
35
27
|
export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
36
|
-
|
|
37
|
-
* <p>Checks the availability of one or more image layers within a repository in a public
|
|
38
|
-
* registry. When an image is pushed to a repository, each image layer is checked to verify if
|
|
39
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
40
|
-
* skipped.</p>
|
|
41
|
-
* <note>
|
|
42
|
-
* <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>
|
|
43
|
-
* </note>
|
|
44
|
-
*/
|
|
28
|
+
|
|
45
29
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<BatchCheckLayerAvailabilityCommandOutput>;
|
|
46
30
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
47
31
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
48
|
-
|
|
49
|
-
* <p>Deletes a list of specified images within a repository in a public registry. Images are
|
|
50
|
-
* specified with either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
51
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
52
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
53
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
54
|
-
* digest in your request.</p>
|
|
55
|
-
*/
|
|
32
|
+
|
|
56
33
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteImageCommandOutput>;
|
|
57
34
|
batchDeleteImage(args: BatchDeleteImageCommandInput, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
58
35
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
59
|
-
|
|
60
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified public registry,
|
|
61
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
62
|
-
* the image layer for data validation purposes.</p>
|
|
63
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
64
|
-
* layer to verify that the upload has completed.</p>
|
|
65
|
-
* <note>
|
|
66
|
-
* <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>
|
|
67
|
-
* </note>
|
|
68
|
-
*/
|
|
36
|
+
|
|
69
37
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLayerUploadCommandOutput>;
|
|
70
38
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
71
39
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
72
|
-
|
|
73
|
-
* <p>Creates a repository in a public registry. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR
|
|
74
|
-
* repositories</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
75
|
-
*/
|
|
40
|
+
|
|
76
41
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
77
42
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
78
43
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
79
|
-
|
|
80
|
-
* <p>Deletes a repository in a public registry. If the repository contains images, you must
|
|
81
|
-
* either delete all images in the repository or use the <code>force</code> option which
|
|
82
|
-
* deletes all images on your behalf before deleting the repository.</p>
|
|
83
|
-
*/
|
|
44
|
+
|
|
84
45
|
deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCommandOutput>;
|
|
85
46
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
86
47
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
87
|
-
|
|
88
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
89
|
-
*/
|
|
48
|
+
|
|
90
49
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
91
50
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
92
51
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
93
|
-
|
|
94
|
-
* <p>Returns metadata about the images in a repository in a public registry.</p>
|
|
95
|
-
* <note>
|
|
96
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
97
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
98
|
-
* command shows the uncompressed image size, so it may return a larger image size than the
|
|
99
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
100
|
-
* </note>
|
|
101
|
-
*/
|
|
52
|
+
|
|
102
53
|
describeImages(args: DescribeImagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImagesCommandOutput>;
|
|
103
54
|
describeImages(args: DescribeImagesCommandInput, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
104
55
|
describeImages(args: DescribeImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
105
|
-
|
|
106
|
-
* <p>Returns the image tag details for a repository in a public registry.</p>
|
|
107
|
-
*/
|
|
56
|
+
|
|
108
57
|
describeImageTags(args: DescribeImageTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageTagsCommandOutput>;
|
|
109
58
|
describeImageTags(args: DescribeImageTagsCommandInput, cb: (err: any, data?: DescribeImageTagsCommandOutput) => void): void;
|
|
110
59
|
describeImageTags(args: DescribeImageTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageTagsCommandOutput) => void): void;
|
|
111
|
-
|
|
112
|
-
* <p>Returns details for a public registry.</p>
|
|
113
|
-
*/
|
|
60
|
+
|
|
114
61
|
describeRegistries(args: DescribeRegistriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRegistriesCommandOutput>;
|
|
115
62
|
describeRegistries(args: DescribeRegistriesCommandInput, cb: (err: any, data?: DescribeRegistriesCommandOutput) => void): void;
|
|
116
63
|
describeRegistries(args: DescribeRegistriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegistriesCommandOutput) => void): void;
|
|
117
|
-
|
|
118
|
-
* <p>Describes repositories in a public registry.</p>
|
|
119
|
-
*/
|
|
64
|
+
|
|
120
65
|
describeRepositories(args: DescribeRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoriesCommandOutput>;
|
|
121
66
|
describeRepositories(args: DescribeRepositoriesCommandInput, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
122
67
|
describeRepositories(args: DescribeRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
123
|
-
|
|
124
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
125
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
126
|
-
* principal has access to. The authorization token is valid for 12 hours. This API requires
|
|
127
|
-
* the <code>ecr-public:GetAuthorizationToken</code> and
|
|
128
|
-
* <code>sts:GetServiceBearerToken</code> permissions.</p>
|
|
129
|
-
*/
|
|
68
|
+
|
|
130
69
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetAuthorizationTokenCommandOutput>;
|
|
131
70
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
132
71
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
133
|
-
|
|
134
|
-
* <p>Retrieves catalog metadata for a public registry.</p>
|
|
135
|
-
*/
|
|
72
|
+
|
|
136
73
|
getRegistryCatalogData(args: GetRegistryCatalogDataCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryCatalogDataCommandOutput>;
|
|
137
74
|
getRegistryCatalogData(args: GetRegistryCatalogDataCommandInput, cb: (err: any, data?: GetRegistryCatalogDataCommandOutput) => void): void;
|
|
138
75
|
getRegistryCatalogData(args: GetRegistryCatalogDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryCatalogDataCommandOutput) => void): void;
|
|
139
|
-
|
|
140
|
-
* <p>Retrieve catalog metadata for a repository in a public registry. This metadata is
|
|
141
|
-
* displayed publicly in the Amazon ECR Public Gallery.</p>
|
|
142
|
-
*/
|
|
76
|
+
|
|
143
77
|
getRepositoryCatalogData(args: GetRepositoryCatalogDataCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryCatalogDataCommandOutput>;
|
|
144
78
|
getRepositoryCatalogData(args: GetRepositoryCatalogDataCommandInput, cb: (err: any, data?: GetRepositoryCatalogDataCommandOutput) => void): void;
|
|
145
79
|
getRepositoryCatalogData(args: GetRepositoryCatalogDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryCatalogDataCommandOutput) => void): void;
|
|
146
|
-
|
|
147
|
-
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
148
|
-
*/
|
|
80
|
+
|
|
149
81
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryPolicyCommandOutput>;
|
|
150
82
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
151
83
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
152
|
-
|
|
153
|
-
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
154
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer that
|
|
155
|
-
* has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
156
|
-
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
157
|
-
* <note>
|
|
158
|
-
* <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>
|
|
159
|
-
* </note>
|
|
160
|
-
*/
|
|
84
|
+
|
|
161
85
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, options?: __HttpHandlerOptions): Promise<InitiateLayerUploadCommandOutput>;
|
|
162
86
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
163
87
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
164
|
-
|
|
165
|
-
* <p>List the tags for an Amazon ECR Public resource.</p>
|
|
166
|
-
*/
|
|
88
|
+
|
|
167
89
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
168
90
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
169
91
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
170
|
-
|
|
171
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
172
|
-
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API is
|
|
173
|
-
* called once to create or update the image manifest and the tags associated with the
|
|
174
|
-
* image.</p>
|
|
175
|
-
*
|
|
176
|
-
* <note>
|
|
177
|
-
* <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>
|
|
178
|
-
* </note>
|
|
179
|
-
*/
|
|
92
|
+
|
|
180
93
|
putImage(args: PutImageCommandInput, options?: __HttpHandlerOptions): Promise<PutImageCommandOutput>;
|
|
181
94
|
putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
182
95
|
putImage(args: PutImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
183
|
-
|
|
184
|
-
* <p>Create or updates the catalog data for a public registry.</p>
|
|
185
|
-
*/
|
|
96
|
+
|
|
186
97
|
putRegistryCatalogData(args: PutRegistryCatalogDataCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryCatalogDataCommandOutput>;
|
|
187
98
|
putRegistryCatalogData(args: PutRegistryCatalogDataCommandInput, cb: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void): void;
|
|
188
99
|
putRegistryCatalogData(args: PutRegistryCatalogDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void): void;
|
|
189
|
-
|
|
190
|
-
* <p>Creates or updates the catalog data for a repository in a public registry.</p>
|
|
191
|
-
*/
|
|
100
|
+
|
|
192
101
|
putRepositoryCatalogData(args: PutRepositoryCatalogDataCommandInput, options?: __HttpHandlerOptions): Promise<PutRepositoryCatalogDataCommandOutput>;
|
|
193
102
|
putRepositoryCatalogData(args: PutRepositoryCatalogDataCommandInput, cb: (err: any, data?: PutRepositoryCatalogDataCommandOutput) => void): void;
|
|
194
103
|
putRepositoryCatalogData(args: PutRepositoryCatalogDataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRepositoryCatalogDataCommandOutput) => void): void;
|
|
195
|
-
|
|
196
|
-
* <p>Applies a repository policy to the specified public repository to control access
|
|
197
|
-
* permissions. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
198
|
-
* Policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
199
|
-
*/
|
|
104
|
+
|
|
200
105
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<SetRepositoryPolicyCommandOutput>;
|
|
201
106
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
202
107
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
203
|
-
|
|
204
|
-
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
205
|
-
* If existing tags on a resource are not specified in the request parameters, they are not
|
|
206
|
-
* changed. When a resource is deleted, the tags associated with that resource are deleted as
|
|
207
|
-
* well.</p>
|
|
208
|
-
*/
|
|
108
|
+
|
|
209
109
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
210
110
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
211
111
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
212
|
-
|
|
213
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
214
|
-
*/
|
|
112
|
+
|
|
215
113
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
216
114
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
217
115
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
218
|
-
|
|
219
|
-
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
220
|
-
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size of
|
|
221
|
-
* each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API is
|
|
222
|
-
* called once per each new image layer part.</p>
|
|
223
|
-
* <note>
|
|
224
|
-
* <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>
|
|
225
|
-
* </note>
|
|
226
|
-
*/
|
|
116
|
+
|
|
227
117
|
uploadLayerPart(args: UploadLayerPartCommandInput, options?: __HttpHandlerOptions): Promise<UploadLayerPartCommandOutput>;
|
|
228
118
|
uploadLayerPart(args: UploadLayerPartCommandInput, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
229
119
|
uploadLayerPart(args: UploadLayerPartCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UploadLayerPartCommandOutput) => void): void;
|
|
@@ -32,130 +32,59 @@ import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./com
|
|
|
32
32
|
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageTagsCommandInput | DescribeImagesCommandInput | DescribeRegistriesCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetRegistryCatalogDataCommandInput | GetRepositoryCatalogDataCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutRegistryCatalogDataCommandInput | PutRepositoryCatalogDataCommandInput | SetRepositoryPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
33
33
|
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageTagsCommandOutput | DescribeImagesCommandOutput | DescribeRegistriesCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetRegistryCatalogDataCommandOutput | GetRepositoryCatalogDataCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutRegistryCatalogDataCommandOutput | PutRepositoryCatalogDataCommandOutput | SetRepositoryPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
34
34
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
35
|
-
|
|
36
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
37
|
-
*/
|
|
35
|
+
|
|
38
36
|
requestHandler?: __HttpHandler;
|
|
39
|
-
|
|
40
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
41
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
37
|
+
|
|
44
38
|
sha256?: __HashConstructor;
|
|
45
|
-
|
|
46
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
39
|
+
|
|
49
40
|
urlParser?: __UrlParser;
|
|
50
|
-
|
|
51
|
-
* A function that can calculate the length of a request body.
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
41
|
+
|
|
54
42
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
55
|
-
|
|
56
|
-
* A function that converts a stream into an array of bytes.
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
43
|
+
|
|
59
44
|
streamCollector?: __StreamCollector;
|
|
60
|
-
|
|
61
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
45
|
+
|
|
64
46
|
base64Decoder?: __Decoder;
|
|
65
|
-
|
|
66
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
47
|
+
|
|
69
48
|
base64Encoder?: __Encoder;
|
|
70
|
-
|
|
71
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
49
|
+
|
|
74
50
|
utf8Decoder?: __Decoder;
|
|
75
|
-
|
|
76
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
51
|
+
|
|
79
52
|
utf8Encoder?: __Encoder;
|
|
80
|
-
|
|
81
|
-
* The runtime environment.
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
53
|
+
|
|
84
54
|
runtime?: string;
|
|
85
|
-
|
|
86
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
87
|
-
* trait of an operation.
|
|
88
|
-
*/
|
|
55
|
+
|
|
89
56
|
disableHostPrefix?: boolean;
|
|
90
|
-
|
|
91
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
92
|
-
*/
|
|
57
|
+
|
|
93
58
|
maxAttempts?: number | __Provider<number>;
|
|
94
|
-
|
|
95
|
-
* Specifies which retry algorithm to use.
|
|
96
|
-
*/
|
|
59
|
+
|
|
97
60
|
retryMode?: string | __Provider<string>;
|
|
98
|
-
|
|
99
|
-
* Optional logger for logging debug/info/warn/error.
|
|
100
|
-
*/
|
|
61
|
+
|
|
101
62
|
logger?: __Logger;
|
|
102
|
-
|
|
103
|
-
* Unique service identifier.
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
63
|
+
|
|
106
64
|
serviceId?: string;
|
|
107
|
-
|
|
108
|
-
* The AWS region to which this client will send requests
|
|
109
|
-
*/
|
|
65
|
+
|
|
110
66
|
region?: string | __Provider<string>;
|
|
111
|
-
|
|
112
|
-
* Default credentials provider; Not available in browser runtime.
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
67
|
+
|
|
115
68
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
116
|
-
|
|
117
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
69
|
+
|
|
120
70
|
regionInfoProvider?: RegionInfoProvider;
|
|
121
|
-
|
|
122
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
71
|
+
|
|
125
72
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
126
73
|
}
|
|
127
74
|
declare type ECRPUBLICClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
128
|
-
|
|
129
|
-
* The configuration interface of ECRPUBLICClient class constructor that set the region, credentials and other options.
|
|
130
|
-
*/
|
|
75
|
+
|
|
131
76
|
export interface ECRPUBLICClientConfig extends ECRPUBLICClientConfigType {
|
|
132
77
|
}
|
|
133
78
|
declare type ECRPUBLICClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
134
|
-
|
|
135
|
-
* The resolved configuration interface of ECRPUBLICClient class. This is resolved and normalized from the {@link ECRPUBLICClientConfig | constructor configuration interface}.
|
|
136
|
-
*/
|
|
79
|
+
|
|
137
80
|
export interface ECRPUBLICClientResolvedConfig extends ECRPUBLICClientResolvedConfigType {
|
|
138
81
|
}
|
|
139
|
-
|
|
140
|
-
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
141
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
142
|
-
* public and private registries to host your container images. You can use the familiar
|
|
143
|
-
* Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a
|
|
144
|
-
* secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI)
|
|
145
|
-
* images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR
|
|
146
|
-
* API for private repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
|
|
147
|
-
*/
|
|
82
|
+
|
|
148
83
|
export declare class ECRPUBLICClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRPUBLICClientResolvedConfig> {
|
|
149
|
-
|
|
150
|
-
* The resolved configuration of ECRPUBLICClient class. This is resolved and normalized from the {@link ECRPUBLICClientConfig | constructor configuration interface}.
|
|
151
|
-
*/
|
|
84
|
+
|
|
152
85
|
readonly config: ECRPUBLICClientResolvedConfig;
|
|
153
86
|
constructor(configuration: ECRPUBLICClientConfig);
|
|
154
|
-
|
|
155
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
156
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
157
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
158
|
-
*/
|
|
87
|
+
|
|
159
88
|
destroy(): void;
|
|
160
89
|
}
|
|
161
90
|
export {};
|
|
@@ -6,35 +6,11 @@ export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayer
|
|
|
6
6
|
}
|
|
7
7
|
export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLayerAvailabilityResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Checks the availability of one or more image layers within a repository in a public
|
|
11
|
-
* registry. When an image is pushed to a repository, each image layer is checked to verify if
|
|
12
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
13
|
-
* skipped.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <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>
|
|
16
|
-
* </note>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { ECRPUBLICClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
21
|
-
* // const { ECRPUBLICClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
22
|
-
* const client = new ECRPUBLICClient(config);
|
|
23
|
-
* const command = new BatchCheckLayerAvailabilityCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
33
11
|
readonly input: BatchCheckLayerAvailabilityCommandInput;
|
|
34
12
|
constructor(input: BatchCheckLayerAvailabilityCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a list of specified images within a repository in a public registry. Images are
|
|
11
|
-
* specified with either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
12
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
13
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
14
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
15
|
-
* digest in your request.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ECRPUBLICClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
20
|
-
* // const { ECRPUBLICClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
21
|
-
* const client = new ECRPUBLICClient(config);
|
|
22
|
-
* const command = new BatchDeleteImageCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
32
11
|
readonly input: BatchDeleteImageCommandInput;
|
|
33
12
|
constructor(input: BatchDeleteImageCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface CompleteLayerUploadCommandInput extends CompleteLayerUploadRequ
|
|
|
6
6
|
}
|
|
7
7
|
export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified public registry,
|
|
11
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
12
|
-
* the image layer for data validation purposes.</p>
|
|
13
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
14
|
-
* layer to verify that the upload has completed.</p>
|
|
15
|
-
* <note>
|
|
16
|
-
* <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>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { ECRPUBLICClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
22
|
-
* // const { ECRPUBLICClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
23
|
-
* const client = new ECRPUBLICClient(config);
|
|
24
|
-
* const command = new CompleteLayerUploadCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
34
11
|
readonly input: CompleteLayerUploadCommandInput;
|
|
35
12
|
constructor(input: CompleteLayerUploadCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,30 +6,11 @@ export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a repository in a public registry. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR
|
|
11
|
-
* repositories</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ECRPUBLICClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
16
|
-
* // const { ECRPUBLICClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
17
|
-
* const client = new ECRPUBLICClient(config);
|
|
18
|
-
* const command = new CreateRepositoryCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateRepositoryCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
9
|
+
|
|
27
10
|
export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ECRPUBLICClientResolvedConfig> {
|
|
28
11
|
readonly input: CreateRepositoryCommandInput;
|
|
29
12
|
constructor(input: CreateRepositoryCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
13
|
+
|
|
33
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRPUBLICClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryCommandInput, CreateRepositoryCommandOutput>;
|
|
34
15
|
private serialize;
|
|
35
16
|
private deserialize;
|