@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/ECRPUBLIC.js
CHANGED
|
@@ -25,15 +25,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
25
25
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
26
26
|
const UploadLayerPartCommand_1 = require("./commands/UploadLayerPartCommand");
|
|
27
27
|
const ECRPUBLICClient_1 = require("./ECRPUBLICClient");
|
|
28
|
-
/**
|
|
29
|
-
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
30
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
31
|
-
* public and private registries to host your container images. You can use the familiar
|
|
32
|
-
* Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a
|
|
33
|
-
* secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI)
|
|
34
|
-
* images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR
|
|
35
|
-
* 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>
|
|
36
|
-
*/
|
|
37
28
|
class ECRPUBLIC extends ECRPUBLICClient_1.ECRPUBLICClient {
|
|
38
29
|
batchCheckLayerAvailability(args, optionsOrCb, cb) {
|
|
39
30
|
const command = new BatchCheckLayerAvailabilityCommand_1.BatchCheckLayerAvailabilityCommand(args);
|
|
@@ -359,4 +350,3 @@ class ECRPUBLIC extends ECRPUBLICClient_1.ECRPUBLICClient {
|
|
|
359
350
|
}
|
|
360
351
|
}
|
|
361
352
|
exports.ECRPUBLIC = ECRPUBLIC;
|
|
362
|
-
//# sourceMappingURL=ECRPUBLIC.js.map
|
|
@@ -10,15 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
15
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
16
|
-
* public and private registries to host your container images. You can use the familiar
|
|
17
|
-
* Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR provides a
|
|
18
|
-
* secure, scalable, and reliable registry for your Docker or Open Container Initiative (OCI)
|
|
19
|
-
* images. Amazon ECR supports public repositories with this API. For information about the Amazon ECR
|
|
20
|
-
* 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>
|
|
21
|
-
*/
|
|
22
13
|
class ECRPUBLICClient extends smithy_client_1.Client {
|
|
23
14
|
constructor(configuration) {
|
|
24
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -37,14 +28,8 @@ class ECRPUBLICClient extends smithy_client_1.Client {
|
|
|
37
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
38
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
39
30
|
}
|
|
40
|
-
/**
|
|
41
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
42
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
43
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
44
|
-
*/
|
|
45
31
|
destroy() {
|
|
46
32
|
super.destroy();
|
|
47
33
|
}
|
|
48
34
|
}
|
|
49
35
|
exports.ECRPUBLICClient = ECRPUBLICClient;
|
|
50
|
-
//# sourceMappingURL=ECRPUBLICClient.js.map
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Checks the availability of one or more image layers within a repository in a public
|
|
10
|
-
* registry. When an image is pushed to a repository, each image layer is checked to verify if
|
|
11
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
12
|
-
* skipped.</p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <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>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ECRPUBLICClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
20
|
-
* // const { ECRPUBLICClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
21
|
-
* const client = new ECRPUBLICClient(config);
|
|
22
|
-
* const command = new BatchCheckLayerAvailabilityCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class BatchCheckLayerAvailabilityCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +34,3 @@ class BatchCheckLayerAvailabilityCommand extends smithy_client_1.Command {
|
|
|
64
34
|
}
|
|
65
35
|
}
|
|
66
36
|
exports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;
|
|
67
|
-
//# sourceMappingURL=BatchCheckLayerAvailabilityCommand.js.map
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a list of specified images within a repository in a public registry. Images are
|
|
10
|
-
* specified with either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
11
|
-
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
12
|
-
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
13
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the image's
|
|
14
|
-
* digest in your request.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ECRPUBLICClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
19
|
-
* // const { ECRPUBLICClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
20
|
-
* const client = new ECRPUBLICClient(config);
|
|
21
|
-
* const command = new BatchDeleteImageCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class BatchDeleteImageCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +34,3 @@ class BatchDeleteImageCommand extends smithy_client_1.Command {
|
|
|
63
34
|
}
|
|
64
35
|
}
|
|
65
36
|
exports.BatchDeleteImageCommand = BatchDeleteImageCommand;
|
|
66
|
-
//# sourceMappingURL=BatchDeleteImageCommand.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Informs Amazon ECR that the image layer upload has completed for a specified public registry,
|
|
10
|
-
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
11
|
-
* the image layer for data validation purposes.</p>
|
|
12
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
13
|
-
* layer to verify that the upload has completed.</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, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
21
|
-
* // const { ECRPUBLICClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
22
|
-
* const client = new ECRPUBLICClient(config);
|
|
23
|
-
* const command = new CompleteLayerUploadCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class CompleteLayerUploadCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class CompleteLayerUploadCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;
|
|
68
|
-
//# sourceMappingURL=CompleteLayerUploadCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <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
|
|
10
|
-
* repositories</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ECRPUBLICClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
15
|
-
* // const { ECRPUBLICClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
16
|
-
* const client = new ECRPUBLICClient(config);
|
|
17
|
-
* const command = new CreateRepositoryCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateRepositoryCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateRepositoryCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class CreateRepositoryCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.CreateRepositoryCommand = CreateRepositoryCommand;
|
|
62
|
-
//# sourceMappingURL=CreateRepositoryCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a repository in a public registry. If the repository contains images, you must
|
|
10
|
-
* either delete all images in the repository or use the <code>force</code> option which
|
|
11
|
-
* deletes all images on your behalf before deleting the repository.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ECRPUBLICClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
16
|
-
* // const { ECRPUBLICClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
17
|
-
* const client = new ECRPUBLICClient(config);
|
|
18
|
-
* const command = new DeleteRepositoryCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteRepositoryCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class DeleteRepositoryCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
|
|
63
|
-
//# sourceMappingURL=DeleteRepositoryCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRPUBLICClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
14
|
-
* // const { ECRPUBLICClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
15
|
-
* const client = new ECRPUBLICClient(config);
|
|
16
|
-
* const command = new DeleteRepositoryPolicyCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteRepositoryPolicyCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteRepositoryPolicyCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DeleteRepositoryPolicyCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;
|
|
61
|
-
//# sourceMappingURL=DeleteRepositoryPolicyCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns the image tag details for a repository in a public registry.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRPUBLICClient, DescribeImageTagsCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
14
|
-
* // const { ECRPUBLICClient, DescribeImageTagsCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
15
|
-
* const client = new ECRPUBLICClient(config);
|
|
16
|
-
* const command = new DescribeImageTagsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeImageTagsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeImageTagsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeImageTagsCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DescribeImageTagsCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeImageTagsCommand = DescribeImageTagsCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeImageTagsCommand.js.map
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns metadata about the images in a repository in a public registry.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
12
|
-
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
13
|
-
* command shows the uncompressed image size, so it may return a larger image size than the
|
|
14
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ECRPUBLICClient, DescribeImagesCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
20
|
-
* // const { ECRPUBLICClient, DescribeImagesCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
21
|
-
* const client = new ECRPUBLICClient(config);
|
|
22
|
-
* const command = new DescribeImagesCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DescribeImagesCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DescribeImagesCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DescribeImagesCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -64,4 +34,3 @@ class DescribeImagesCommand extends smithy_client_1.Command {
|
|
|
64
34
|
}
|
|
65
35
|
}
|
|
66
36
|
exports.DescribeImagesCommand = DescribeImagesCommand;
|
|
67
|
-
//# sourceMappingURL=DescribeImagesCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Returns details for a public registry.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRPUBLICClient, DescribeRegistriesCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
14
|
-
* // const { ECRPUBLICClient, DescribeRegistriesCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
15
|
-
* const client = new ECRPUBLICClient(config);
|
|
16
|
-
* const command = new DescribeRegistriesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeRegistriesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeRegistriesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeRegistriesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DescribeRegistriesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeRegistriesCommand = DescribeRegistriesCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeRegistriesCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describes repositories in a public registry.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRPUBLICClient, DescribeRepositoriesCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
14
|
-
* // const { ECRPUBLICClient, DescribeRepositoriesCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
15
|
-
* const client = new ECRPUBLICClient(config);
|
|
16
|
-
* const command = new DescribeRepositoriesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeRepositoriesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeRepositoriesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeRepositoriesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class DescribeRepositoriesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;
|
|
61
|
-
//# sourceMappingURL=DescribeRepositoriesCommand.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
10
|
-
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
11
|
-
* principal has access to. The authorization token is valid for 12 hours. This API requires
|
|
12
|
-
* the <code>ecr-public:GetAuthorizationToken</code> and
|
|
13
|
-
* <code>sts:GetServiceBearerToken</code> permissions.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ECRPUBLICClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
18
|
-
* // const { ECRPUBLICClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
19
|
-
* const client = new ECRPUBLICClient(config);
|
|
20
|
-
* const command = new GetAuthorizationTokenCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link GetAuthorizationTokenCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class GetAuthorizationTokenCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class GetAuthorizationTokenCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;
|
|
65
|
-
//# sourceMappingURL=GetAuthorizationTokenCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves catalog metadata for a public registry.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ECRPUBLICClient, GetRegistryCatalogDataCommand } from "@aws-sdk/client-ecr-public"; // ES Modules import
|
|
14
|
-
* // const { ECRPUBLICClient, GetRegistryCatalogDataCommand } = require("@aws-sdk/client-ecr-public"); // CommonJS import
|
|
15
|
-
* const client = new ECRPUBLICClient(config);
|
|
16
|
-
* const command = new GetRegistryCatalogDataCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetRegistryCatalogDataCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetRegistryCatalogDataCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ECRPUBLICClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetRegistryCatalogDataCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetRegistryCatalogDataCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetRegistryCatalogDataCommand = GetRegistryCatalogDataCommand;
|
|
61
|
-
//# sourceMappingURL=GetRegistryCatalogDataCommand.js.map
|