@aws-sdk/client-ecr-public 3.241.0 → 3.247.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -15
- package/dist-cjs/protocols/Aws_json1_1.js +65 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +24 -12
- package/dist-es/protocols/Aws_json1_1.js +66 -1
- package/dist-types/ECRPUBLIC.d.ts +38 -36
- package/dist-types/ECRPUBLICClient.d.ts +6 -6
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +5 -4
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +3 -3
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -3
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +3 -3
- package/dist-types/commands/PutImageCommand.d.ts +3 -3
- package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UploadLayerPartCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +245 -230
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -7
- package/package.json +4 -4
|
@@ -25,18 +25,18 @@ import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./com
|
|
|
25
25
|
import { ECRPUBLICClient } from "./ECRPUBLICClient";
|
|
26
26
|
/**
|
|
27
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
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
28
|
+
* <p>Amazon Elastic Container Registry Public (Amazon ECR Public) 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 Docker CLI or
|
|
30
|
+
* your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable,
|
|
31
|
+
* and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR
|
|
32
|
+
* supports public repositories with this API. For information about the Amazon ECR API for private
|
|
33
|
+
* repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
|
|
34
34
|
*/
|
|
35
35
|
export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
36
36
|
/**
|
|
37
|
-
* <p>Checks the availability of one or more image layers within a repository in a
|
|
38
|
-
* registry. When an image is pushed to a repository, each image layer is checked to
|
|
39
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
37
|
+
* <p>Checks the availability of one or more image layers that are within a repository in a
|
|
38
|
+
* public registry. When an image is pushed to a repository, each image layer is checked to
|
|
39
|
+
* verify if it has been uploaded before. If it has been uploaded, then the image layer is
|
|
40
40
|
* skipped.</p>
|
|
41
41
|
* <note>
|
|
42
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>
|
|
@@ -46,22 +46,23 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
46
46
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
47
47
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
48
48
|
/**
|
|
49
|
-
* <p>Deletes a list of specified images within a repository in a public registry.
|
|
50
|
-
* specified with either an <code>imageTag</code> or
|
|
49
|
+
* <p>Deletes a list of specified images that are within a repository in a public registry.
|
|
50
|
+
* Images are specified with either an <code>imageTag</code> or
|
|
51
|
+
* <code>imageDigest</code>.</p>
|
|
51
52
|
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
52
53
|
* 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
|
|
54
|
-
*
|
|
54
|
+
* <p>You can completely delete an image (and all of its tags) by specifying the digest of the
|
|
55
|
+
* image in your request.</p>
|
|
55
56
|
*/
|
|
56
57
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteImageCommandOutput>;
|
|
57
58
|
batchDeleteImage(args: BatchDeleteImageCommandInput, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
58
59
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
59
60
|
/**
|
|
60
|
-
* <p>Informs Amazon ECR that the image layer upload
|
|
61
|
+
* <p>Informs Amazon ECR that the image layer upload is complete for a specified public registry,
|
|
61
62
|
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
62
63
|
* the image layer for data validation purposes.</p>
|
|
63
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once
|
|
64
|
-
* layer to verify that the upload
|
|
64
|
+
* <p>When an image is pushed, the CompleteLayerUpload API is called once for each new image
|
|
65
|
+
* layer to verify that the upload is complete.</p>
|
|
65
66
|
* <note>
|
|
66
67
|
* <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
68
|
* </note>
|
|
@@ -78,25 +79,26 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
78
79
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
79
80
|
/**
|
|
80
81
|
* <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
|
|
82
|
-
* deletes all images on your behalf before deleting the repository.</p>
|
|
82
|
+
* either manually delete all images in the repository or use the <code>force</code> option.
|
|
83
|
+
* This option deletes all images on your behalf before deleting the repository.</p>
|
|
83
84
|
*/
|
|
84
85
|
deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCommandOutput>;
|
|
85
86
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
86
87
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
87
88
|
/**
|
|
88
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
89
|
+
* <p>Deletes the repository policy that's associated with the specified repository.</p>
|
|
89
90
|
*/
|
|
90
91
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
91
92
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
92
93
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
93
94
|
/**
|
|
94
|
-
* <p>Returns metadata
|
|
95
|
+
* <p>Returns metadata that's related to the images in a repository in a public
|
|
96
|
+
* registry.</p>
|
|
95
97
|
* <note>
|
|
96
98
|
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
97
99
|
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
98
|
-
* command shows the uncompressed image size,
|
|
99
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
100
|
+
* command shows the uncompressed image size. Therefore, it might return a larger image
|
|
101
|
+
* size than the image sizes that are returned by <a>DescribeImages</a>.</p>
|
|
100
102
|
* </note>
|
|
101
103
|
*/
|
|
102
104
|
describeImages(args: DescribeImagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImagesCommandOutput>;
|
|
@@ -115,14 +117,14 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
115
117
|
describeRegistries(args: DescribeRegistriesCommandInput, cb: (err: any, data?: DescribeRegistriesCommandOutput) => void): void;
|
|
116
118
|
describeRegistries(args: DescribeRegistriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegistriesCommandOutput) => void): void;
|
|
117
119
|
/**
|
|
118
|
-
* <p>Describes repositories in a public registry.</p>
|
|
120
|
+
* <p>Describes repositories that are in a public registry.</p>
|
|
119
121
|
*/
|
|
120
122
|
describeRepositories(args: DescribeRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoriesCommandOutput>;
|
|
121
123
|
describeRepositories(args: DescribeRepositoriesCommandInput, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
122
124
|
describeRepositories(args: DescribeRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
123
125
|
/**
|
|
124
126
|
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
125
|
-
* authentication credentials
|
|
127
|
+
* authentication credentials. You can use it to access any Amazon ECR registry that your IAM
|
|
126
128
|
* principal has access to. The authorization token is valid for 12 hours. This API requires
|
|
127
129
|
* the <code>ecr-public:GetAuthorizationToken</code> and
|
|
128
130
|
* <code>sts:GetServiceBearerToken</code> permissions.</p>
|
|
@@ -151,9 +153,9 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
151
153
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
152
154
|
/**
|
|
153
155
|
* <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
|
|
155
|
-
*
|
|
156
|
-
*
|
|
156
|
+
* <p>When an image is pushed, the InitiateLayerUpload API is called once for each image layer
|
|
157
|
+
* that hasn't already been uploaded. Whether an image layer uploads is determined by the
|
|
158
|
+
* BatchCheckLayerAvailability API action.</p>
|
|
157
159
|
* <note>
|
|
158
160
|
* <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
161
|
* </note>
|
|
@@ -168,10 +170,10 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
168
170
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
169
171
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
170
172
|
/**
|
|
171
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
173
|
+
* <p>Creates or updates the image manifest and tags that are associated with an image.</p>
|
|
172
174
|
* <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
|
|
174
|
-
* image.</p>
|
|
175
|
+
* called once to create or update the image manifest and the tags that are associated with
|
|
176
|
+
* the image.</p>
|
|
175
177
|
*
|
|
176
178
|
* <note>
|
|
177
179
|
* <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>
|
|
@@ -181,7 +183,7 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
181
183
|
putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
182
184
|
putImage(args: PutImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
183
185
|
/**
|
|
184
|
-
* <p>Create or
|
|
186
|
+
* <p>Create or update the catalog data for a public registry.</p>
|
|
185
187
|
*/
|
|
186
188
|
putRegistryCatalogData(args: PutRegistryCatalogDataCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryCatalogDataCommandOutput>;
|
|
187
189
|
putRegistryCatalogData(args: PutRegistryCatalogDataCommandInput, cb: (err: any, data?: PutRegistryCatalogDataCommandOutput) => void): void;
|
|
@@ -202,9 +204,9 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
202
204
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
203
205
|
/**
|
|
204
206
|
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
205
|
-
* If existing tags on a resource
|
|
206
|
-
* changed. When a resource is deleted, the tags associated with that resource are
|
|
207
|
-
*
|
|
207
|
+
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
208
|
+
* changed. When a resource is deleted, the tags associated with that resource are also
|
|
209
|
+
* deleted.</p>
|
|
208
210
|
*/
|
|
209
211
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
210
212
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
@@ -218,8 +220,8 @@ export declare class ECRPUBLIC extends ECRPUBLICClient {
|
|
|
218
220
|
/**
|
|
219
221
|
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
220
222
|
* <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 (
|
|
222
|
-
*
|
|
223
|
+
* each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called
|
|
224
|
+
* once for each new image layer part.</p>
|
|
223
225
|
* <note>
|
|
224
226
|
* <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
227
|
* </note>
|
|
@@ -147,12 +147,12 @@ export interface ECRPUBLICClientResolvedConfig extends ECRPUBLICClientResolvedCo
|
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* <fullname>Amazon Elastic Container Registry Public</fullname>
|
|
150
|
-
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Amazon ECR provides both
|
|
151
|
-
* public and private registries to host your container images. You can use the
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
150
|
+
* <p>Amazon Elastic Container Registry Public (Amazon ECR Public) is a managed container image registry service. Amazon ECR provides both
|
|
151
|
+
* public and private registries to host your container images. You can use the Docker CLI or
|
|
152
|
+
* your preferred client to push, pull, and manage images. Amazon ECR provides a secure, scalable,
|
|
153
|
+
* and reliable registry for your Docker or Open Container Initiative (OCI) images. Amazon ECR
|
|
154
|
+
* supports public repositories with this API. For information about the Amazon ECR API for private
|
|
155
|
+
* repositories, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/APIReference/Welcome.html">Amazon Elastic Container Registry API Reference</a>.</p>
|
|
156
156
|
*/
|
|
157
157
|
export declare class ECRPUBLICClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ECRPUBLICClientResolvedConfig> {
|
|
158
158
|
/**
|
|
@@ -8,9 +8,9 @@ export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayer
|
|
|
8
8
|
export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLayerAvailabilityResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Checks the availability of one or more image layers within a repository in a
|
|
12
|
-
* registry. When an image is pushed to a repository, each image layer is checked to
|
|
13
|
-
* it has been uploaded before. If it has been uploaded, then the image layer is
|
|
11
|
+
* <p>Checks the availability of one or more image layers that are within a repository in a
|
|
12
|
+
* public registry. When an image is pushed to a repository, each image layer is checked to
|
|
13
|
+
* verify if it has been uploaded before. If it has been uploaded, then the image layer is
|
|
14
14
|
* skipped.</p>
|
|
15
15
|
* <note>
|
|
16
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>
|
|
@@ -8,12 +8,13 @@ export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {
|
|
|
8
8
|
export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Deletes a list of specified images within a repository in a public registry.
|
|
12
|
-
* specified with either an <code>imageTag</code> or
|
|
11
|
+
* <p>Deletes a list of specified images that are within a repository in a public registry.
|
|
12
|
+
* Images are specified with either an <code>imageTag</code> or
|
|
13
|
+
* <code>imageDigest</code>.</p>
|
|
13
14
|
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
14
15
|
* you remove the last tag from an image, the image is deleted from your repository.</p>
|
|
15
|
-
* <p>You can completely delete an image (and all of its tags) by specifying the
|
|
16
|
-
*
|
|
16
|
+
* <p>You can completely delete an image (and all of its tags) by specifying the digest of the
|
|
17
|
+
* image in your request.</p>
|
|
17
18
|
* @example
|
|
18
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
19
20
|
* ```javascript
|
|
@@ -8,11 +8,11 @@ export interface CompleteLayerUploadCommandInput extends CompleteLayerUploadRequ
|
|
|
8
8
|
export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Informs Amazon ECR that the image layer upload
|
|
11
|
+
* <p>Informs Amazon ECR that the image layer upload is complete for a specified public registry,
|
|
12
12
|
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest of
|
|
13
13
|
* the image layer for data validation purposes.</p>
|
|
14
|
-
* <p>When an image is pushed, the CompleteLayerUpload API is called once
|
|
15
|
-
* layer to verify that the upload
|
|
14
|
+
* <p>When an image is pushed, the CompleteLayerUpload API is called once for each new image
|
|
15
|
+
* layer to verify that the upload is complete.</p>
|
|
16
16
|
* <note>
|
|
17
17
|
* <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>
|
|
18
18
|
* </note>
|
|
@@ -9,8 +9,8 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a repository in a public registry. If the repository contains images, you must
|
|
12
|
-
* either delete all images in the repository or use the <code>force</code> option
|
|
13
|
-
* deletes all images on your behalf before deleting the repository.</p>
|
|
12
|
+
* either manually delete all images in the repository or use the <code>force</code> option.
|
|
13
|
+
* This option deletes all images on your behalf before deleting the repository.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface DeleteRepositoryPolicyCommandInput extends DeleteRepositoryPoli
|
|
|
8
8
|
export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPolicyResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
11
|
+
* <p>Deletes the repository policy that's associated with the specified repository.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -8,12 +8,13 @@ export interface DescribeImagesCommandInput extends DescribeImagesRequest {
|
|
|
8
8
|
export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns metadata
|
|
11
|
+
* <p>Returns metadata that's related to the images in a repository in a public
|
|
12
|
+
* registry.</p>
|
|
12
13
|
* <note>
|
|
13
14
|
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers before
|
|
14
15
|
* pushing them to a V2 Docker registry. The output of the <code>docker images</code>
|
|
15
|
-
* command shows the uncompressed image size,
|
|
16
|
-
* image sizes returned by <a>DescribeImages</a>.</p>
|
|
16
|
+
* command shows the uncompressed image size. Therefore, it might return a larger image
|
|
17
|
+
* size than the image sizes that are returned by <a>DescribeImages</a>.</p>
|
|
17
18
|
* </note>
|
|
18
19
|
* @example
|
|
19
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,7 +8,7 @@ export interface DescribeRepositoriesCommandInput extends DescribeRepositoriesRe
|
|
|
8
8
|
export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Describes repositories in a public registry.</p>
|
|
11
|
+
* <p>Describes repositories that are in a public registry.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
12
|
-
* authentication credentials
|
|
12
|
+
* authentication credentials. You can use it to access any Amazon ECR registry that your IAM
|
|
13
13
|
* principal has access to. The authorization token is valid for 12 hours. This API requires
|
|
14
14
|
* the <code>ecr-public:GetAuthorizationToken</code> and
|
|
15
15
|
* <code>sts:GetServiceBearerToken</code> permissions.</p>
|
|
@@ -9,9 +9,9 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
12
|
-
* <p>When an image is pushed, the InitiateLayerUpload API is called once
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* <p>When an image is pushed, the InitiateLayerUpload API is called once for each image layer
|
|
13
|
+
* that hasn't already been uploaded. Whether an image layer uploads is determined by the
|
|
14
|
+
* BatchCheckLayerAvailability API action.</p>
|
|
15
15
|
* <note>
|
|
16
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
17
|
* </note>
|
|
@@ -8,10 +8,10 @@ export interface PutImageCommandInput extends PutImageRequest {
|
|
|
8
8
|
export interface PutImageCommandOutput extends PutImageResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
11
|
+
* <p>Creates or updates the image manifest and tags that are associated with an image.</p>
|
|
12
12
|
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API is
|
|
13
|
-
* called once to create or update the image manifest and the tags associated with
|
|
14
|
-
* image.</p>
|
|
13
|
+
* called once to create or update the image manifest and the tags that are associated with
|
|
14
|
+
* the image.</p>
|
|
15
15
|
*
|
|
16
16
|
* <note>
|
|
17
17
|
* <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>
|
|
@@ -8,7 +8,7 @@ export interface PutRegistryCatalogDataCommandInput extends PutRegistryCatalogDa
|
|
|
8
8
|
export interface PutRegistryCatalogDataCommandOutput extends PutRegistryCatalogDataResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Create or
|
|
11
|
+
* <p>Create or update the catalog data for a public registry.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Associates the specified tags to a resource with the specified <code>resourceArn</code>.
|
|
12
|
-
* If existing tags on a resource
|
|
13
|
-
* changed. When a resource is deleted, the tags associated with that resource are
|
|
14
|
-
*
|
|
12
|
+
* If existing tags on a resource aren't specified in the request parameters, they aren't
|
|
13
|
+
* changed. When a resource is deleted, the tags associated with that resource are also
|
|
14
|
+
* deleted.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -10,8 +10,8 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
12
12
|
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size of
|
|
13
|
-
* each image layer part can be 20971520 bytes (
|
|
14
|
-
*
|
|
13
|
+
* each image layer part can be 20971520 bytes (about 20MB). The UploadLayerPart API is called
|
|
14
|
+
* once for each new image layer part.</p>
|
|
15
15
|
* <note>
|
|
16
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
17
|
* </note>
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|