@aws-sdk/client-ecr 3.296.0 → 3.298.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +2 -3
- package/dist-cjs/commands/BatchDeleteImageCommand.js +2 -3
- package/dist-cjs/commands/BatchGetImageCommand.js +2 -3
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +2 -3
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +2 -3
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +2 -3
- package/dist-cjs/commands/CreateRepositoryCommand.js +2 -3
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +2 -3
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +2 -3
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +2 -3
- package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -3
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +2 -3
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +2 -3
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +2 -3
- package/dist-cjs/commands/DescribeImagesCommand.js +2 -3
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +2 -3
- package/dist-cjs/commands/DescribeRegistryCommand.js +2 -3
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +2 -3
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +2 -3
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +2 -3
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +2 -3
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +2 -3
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +2 -3
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +2 -3
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +2 -3
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +2 -3
- package/dist-cjs/commands/ListImagesCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/PutImageCommand.js +2 -3
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +2 -3
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +2 -3
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +2 -3
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +2 -3
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +2 -3
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +2 -3
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +2 -3
- package/dist-cjs/commands/StartImageScanCommand.js +2 -3
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UploadLayerPartCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -512
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +2 -3
- package/dist-es/commands/BatchDeleteImageCommand.js +2 -3
- package/dist-es/commands/BatchGetImageCommand.js +2 -3
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +2 -3
- package/dist-es/commands/CompleteLayerUploadCommand.js +2 -3
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +2 -3
- package/dist-es/commands/CreateRepositoryCommand.js +2 -3
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -3
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +2 -3
- package/dist-es/commands/DeleteRegistryPolicyCommand.js +2 -3
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -3
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +2 -3
- package/dist-es/commands/DescribeImageReplicationStatusCommand.js +2 -3
- package/dist-es/commands/DescribeImageScanFindingsCommand.js +2 -3
- package/dist-es/commands/DescribeImagesCommand.js +2 -3
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +2 -3
- package/dist-es/commands/DescribeRegistryCommand.js +2 -3
- package/dist-es/commands/DescribeRepositoriesCommand.js +2 -3
- package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -3
- package/dist-es/commands/GetDownloadUrlForLayerCommand.js +2 -3
- package/dist-es/commands/GetLifecyclePolicyCommand.js +2 -3
- package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +2 -3
- package/dist-es/commands/GetRegistryPolicyCommand.js +2 -3
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +2 -3
- package/dist-es/commands/GetRepositoryPolicyCommand.js +2 -3
- package/dist-es/commands/InitiateLayerUploadCommand.js +2 -3
- package/dist-es/commands/ListImagesCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/PutImageCommand.js +2 -3
- package/dist-es/commands/PutImageScanningConfigurationCommand.js +2 -3
- package/dist-es/commands/PutImageTagMutabilityCommand.js +2 -3
- package/dist-es/commands/PutLifecyclePolicyCommand.js +2 -3
- package/dist-es/commands/PutRegistryPolicyCommand.js +2 -3
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +2 -3
- package/dist-es/commands/PutReplicationConfigurationCommand.js +2 -3
- package/dist-es/commands/SetRepositoryPolicyCommand.js +2 -3
- package/dist-es/commands/StartImageScanCommand.js +2 -3
- package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UploadLayerPartCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -381
- package/dist-types/ECR.d.ts +42 -0
- package/dist-types/ECRClient.d.ts +24 -4
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +16 -0
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetImageCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImagesCommand.d.ts +16 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +16 -0
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +16 -0
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +16 -0
- package/dist-types/commands/ListImagesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/PutImageCommand.d.ts +16 -0
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +16 -0
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +16 -0
- package/dist-types/commands/StartImageScanCommand.d.ts +16 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UploadLayerPartCommand.d.ts +16 -0
- package/dist-types/models/ECRServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +370 -508
- package/dist-types/pagination/DescribeImageScanFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeImagesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRepositoriesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetLifecyclePolicyPreviewPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListImagesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -357
- package/package.json +4 -3
package/dist-types/ECR.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
42
42
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
43
43
|
import { ECRClient } from "./ECRClient";
|
|
44
44
|
/**
|
|
45
|
+
* @public
|
|
45
46
|
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
46
47
|
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
|
|
47
48
|
* familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
|
|
@@ -54,6 +55,7 @@ import { ECRClient } from "./ECRClient";
|
|
|
54
55
|
*/
|
|
55
56
|
export declare class ECR extends ECRClient {
|
|
56
57
|
/**
|
|
58
|
+
* @public
|
|
57
59
|
* <p>Checks the availability of one or more image layers in a repository.</p>
|
|
58
60
|
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
59
61
|
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
@@ -67,6 +69,7 @@ export declare class ECR extends ECRClient {
|
|
|
67
69
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
68
70
|
batchCheckLayerAvailability(args: BatchCheckLayerAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCheckLayerAvailabilityCommandOutput) => void): void;
|
|
69
71
|
/**
|
|
72
|
+
* @public
|
|
70
73
|
* <p>Deletes a list of specified images within a repository. Images are specified with
|
|
71
74
|
* either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
72
75
|
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
@@ -78,6 +81,7 @@ export declare class ECR extends ECRClient {
|
|
|
78
81
|
batchDeleteImage(args: BatchDeleteImageCommandInput, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
79
82
|
batchDeleteImage(args: BatchDeleteImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteImageCommandOutput) => void): void;
|
|
80
83
|
/**
|
|
84
|
+
* @public
|
|
81
85
|
* <p>Gets detailed information for an image. Images are specified with either an
|
|
82
86
|
* <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
83
87
|
* <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
|
|
@@ -87,12 +91,14 @@ export declare class ECR extends ECRClient {
|
|
|
87
91
|
batchGetImage(args: BatchGetImageCommandInput, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
88
92
|
batchGetImage(args: BatchGetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
89
93
|
/**
|
|
94
|
+
* @public
|
|
90
95
|
* <p>Gets the scanning configuration for one or more repositories.</p>
|
|
91
96
|
*/
|
|
92
97
|
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRepositoryScanningConfigurationCommandOutput>;
|
|
93
98
|
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, cb: (err: any, data?: BatchGetRepositoryScanningConfigurationCommandOutput) => void): void;
|
|
94
99
|
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRepositoryScanningConfigurationCommandOutput) => void): void;
|
|
95
100
|
/**
|
|
101
|
+
* @public
|
|
96
102
|
* <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
|
|
97
103
|
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
|
|
98
104
|
* of the image layer for data validation purposes.</p>
|
|
@@ -107,6 +113,7 @@ export declare class ECR extends ECRClient {
|
|
|
107
113
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
108
114
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
109
115
|
/**
|
|
116
|
+
* @public
|
|
110
117
|
* <p>Creates a pull through cache rule. A pull through cache rule provides a way to cache
|
|
111
118
|
* images from an external public registry in your Amazon ECR private registry.</p>
|
|
112
119
|
*/
|
|
@@ -114,6 +121,7 @@ export declare class ECR extends ECRClient {
|
|
|
114
121
|
createPullThroughCacheRule(args: CreatePullThroughCacheRuleCommandInput, cb: (err: any, data?: CreatePullThroughCacheRuleCommandOutput) => void): void;
|
|
115
122
|
createPullThroughCacheRule(args: CreatePullThroughCacheRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullThroughCacheRuleCommandOutput) => void): void;
|
|
116
123
|
/**
|
|
124
|
+
* @public
|
|
117
125
|
* <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
|
|
118
126
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
119
127
|
*/
|
|
@@ -121,24 +129,28 @@ export declare class ECR extends ECRClient {
|
|
|
121
129
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
122
130
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
123
131
|
/**
|
|
132
|
+
* @public
|
|
124
133
|
* <p>Deletes the lifecycle policy associated with the specified repository.</p>
|
|
125
134
|
*/
|
|
126
135
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
127
136
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
128
137
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
129
138
|
/**
|
|
139
|
+
* @public
|
|
130
140
|
* <p>Deletes a pull through cache rule.</p>
|
|
131
141
|
*/
|
|
132
142
|
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePullThroughCacheRuleCommandOutput>;
|
|
133
143
|
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, cb: (err: any, data?: DeletePullThroughCacheRuleCommandOutput) => void): void;
|
|
134
144
|
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePullThroughCacheRuleCommandOutput) => void): void;
|
|
135
145
|
/**
|
|
146
|
+
* @public
|
|
136
147
|
* <p>Deletes the registry permissions policy.</p>
|
|
137
148
|
*/
|
|
138
149
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRegistryPolicyCommandOutput>;
|
|
139
150
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void): void;
|
|
140
151
|
deleteRegistryPolicy(args: DeleteRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRegistryPolicyCommandOutput) => void): void;
|
|
141
152
|
/**
|
|
153
|
+
* @public
|
|
142
154
|
* <p>Deletes a repository. If the repository contains images, you must either delete all
|
|
143
155
|
* images in the repository or use the <code>force</code> option to delete the
|
|
144
156
|
* repository.</p>
|
|
@@ -147,18 +159,21 @@ export declare class ECR extends ECRClient {
|
|
|
147
159
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
148
160
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
149
161
|
/**
|
|
162
|
+
* @public
|
|
150
163
|
* <p>Deletes the repository policy associated with the specified repository.</p>
|
|
151
164
|
*/
|
|
152
165
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryPolicyCommandOutput>;
|
|
153
166
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
154
167
|
deleteRepositoryPolicy(args: DeleteRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryPolicyCommandOutput) => void): void;
|
|
155
168
|
/**
|
|
169
|
+
* @public
|
|
156
170
|
* <p>Returns the replication status for a specified image.</p>
|
|
157
171
|
*/
|
|
158
172
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageReplicationStatusCommandOutput>;
|
|
159
173
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
160
174
|
describeImageReplicationStatus(args: DescribeImageReplicationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageReplicationStatusCommandOutput) => void): void;
|
|
161
175
|
/**
|
|
176
|
+
* @public
|
|
162
177
|
* <p>Returns metadata about the images in a repository.</p>
|
|
163
178
|
* <note>
|
|
164
179
|
* <p>Beginning with Docker version 1.9, the Docker client compresses image layers
|
|
@@ -171,18 +186,21 @@ export declare class ECR extends ECRClient {
|
|
|
171
186
|
describeImages(args: DescribeImagesCommandInput, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
172
187
|
describeImages(args: DescribeImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImagesCommandOutput) => void): void;
|
|
173
188
|
/**
|
|
189
|
+
* @public
|
|
174
190
|
* <p>Returns the scan findings for the specified image.</p>
|
|
175
191
|
*/
|
|
176
192
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageScanFindingsCommandOutput>;
|
|
177
193
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
178
194
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
179
195
|
/**
|
|
196
|
+
* @public
|
|
180
197
|
* <p>Returns the pull through cache rules for a registry.</p>
|
|
181
198
|
*/
|
|
182
199
|
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribePullThroughCacheRulesCommandOutput>;
|
|
183
200
|
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, cb: (err: any, data?: DescribePullThroughCacheRulesCommandOutput) => void): void;
|
|
184
201
|
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePullThroughCacheRulesCommandOutput) => void): void;
|
|
185
202
|
/**
|
|
203
|
+
* @public
|
|
186
204
|
* <p>Describes the settings for a registry. The replication configuration for a repository
|
|
187
205
|
* can be created or updated with the <a>PutReplicationConfiguration</a> API
|
|
188
206
|
* action.</p>
|
|
@@ -191,12 +209,14 @@ export declare class ECR extends ECRClient {
|
|
|
191
209
|
describeRegistry(args: DescribeRegistryCommandInput, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
|
|
192
210
|
describeRegistry(args: DescribeRegistryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegistryCommandOutput) => void): void;
|
|
193
211
|
/**
|
|
212
|
+
* @public
|
|
194
213
|
* <p>Describes image repositories in a registry.</p>
|
|
195
214
|
*/
|
|
196
215
|
describeRepositories(args: DescribeRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoriesCommandOutput>;
|
|
197
216
|
describeRepositories(args: DescribeRepositoriesCommandInput, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
198
217
|
describeRepositories(args: DescribeRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
199
218
|
/**
|
|
219
|
+
* @public
|
|
200
220
|
* <p>Retrieves an authorization token. An authorization token represents your IAM
|
|
201
221
|
* authentication credentials and can be used to access any Amazon ECR registry that your IAM
|
|
202
222
|
* principal has access to. The authorization token is valid for 12 hours.</p>
|
|
@@ -210,6 +230,7 @@ export declare class ECR extends ECRClient {
|
|
|
210
230
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
211
231
|
getAuthorizationToken(args: GetAuthorizationTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAuthorizationTokenCommandOutput) => void): void;
|
|
212
232
|
/**
|
|
233
|
+
* @public
|
|
213
234
|
* <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
|
|
214
235
|
* only get URLs for image layers that are referenced in an image.</p>
|
|
215
236
|
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
@@ -223,12 +244,14 @@ export declare class ECR extends ECRClient {
|
|
|
223
244
|
getDownloadUrlForLayer(args: GetDownloadUrlForLayerCommandInput, cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void): void;
|
|
224
245
|
getDownloadUrlForLayer(args: GetDownloadUrlForLayerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDownloadUrlForLayerCommandOutput) => void): void;
|
|
225
246
|
/**
|
|
247
|
+
* @public
|
|
226
248
|
* <p>Retrieves the lifecycle policy for the specified repository.</p>
|
|
227
249
|
*/
|
|
228
250
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
229
251
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
230
252
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
231
253
|
/**
|
|
254
|
+
* @public
|
|
232
255
|
* <p>Retrieves the results of the lifecycle policy preview request for the specified
|
|
233
256
|
* repository.</p>
|
|
234
257
|
*/
|
|
@@ -236,24 +259,28 @@ export declare class ECR extends ECRClient {
|
|
|
236
259
|
getLifecyclePolicyPreview(args: GetLifecyclePolicyPreviewCommandInput, cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
237
260
|
getLifecyclePolicyPreview(args: GetLifecyclePolicyPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
238
261
|
/**
|
|
262
|
+
* @public
|
|
239
263
|
* <p>Retrieves the permissions policy for a registry.</p>
|
|
240
264
|
*/
|
|
241
265
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryPolicyCommandOutput>;
|
|
242
266
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
243
267
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
244
268
|
/**
|
|
269
|
+
* @public
|
|
245
270
|
* <p>Retrieves the scanning configuration for a registry.</p>
|
|
246
271
|
*/
|
|
247
272
|
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryScanningConfigurationCommandOutput>;
|
|
248
273
|
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, cb: (err: any, data?: GetRegistryScanningConfigurationCommandOutput) => void): void;
|
|
249
274
|
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryScanningConfigurationCommandOutput) => void): void;
|
|
250
275
|
/**
|
|
276
|
+
* @public
|
|
251
277
|
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
252
278
|
*/
|
|
253
279
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryPolicyCommandOutput>;
|
|
254
280
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
255
281
|
getRepositoryPolicy(args: GetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryPolicyCommandOutput) => void): void;
|
|
256
282
|
/**
|
|
283
|
+
* @public
|
|
257
284
|
* <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
|
|
258
285
|
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
259
286
|
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
@@ -267,6 +294,7 @@ export declare class ECR extends ECRClient {
|
|
|
267
294
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
268
295
|
initiateLayerUpload(args: InitiateLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateLayerUploadCommandOutput) => void): void;
|
|
269
296
|
/**
|
|
297
|
+
* @public
|
|
270
298
|
* <p>Lists all the image IDs for the specified repository.</p>
|
|
271
299
|
* <p>You can filter images based on whether or not they are tagged by using the
|
|
272
300
|
* <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
|
|
@@ -279,12 +307,14 @@ export declare class ECR extends ECRClient {
|
|
|
279
307
|
listImages(args: ListImagesCommandInput, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
|
|
280
308
|
listImages(args: ListImagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImagesCommandOutput) => void): void;
|
|
281
309
|
/**
|
|
310
|
+
* @public
|
|
282
311
|
* <p>List the tags for an Amazon ECR resource.</p>
|
|
283
312
|
*/
|
|
284
313
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
285
314
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
286
315
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
287
316
|
/**
|
|
317
|
+
* @public
|
|
288
318
|
* <p>Creates or updates the image manifest and tags associated with an image.</p>
|
|
289
319
|
* <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
|
|
290
320
|
* is called once to create or update the image manifest and the tags associated with the
|
|
@@ -299,6 +329,7 @@ export declare class ECR extends ECRClient {
|
|
|
299
329
|
putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
300
330
|
putImage(args: PutImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
301
331
|
/**
|
|
332
|
+
* @public
|
|
302
333
|
* <important>
|
|
303
334
|
* <p>The <code>PutImageScanningConfiguration</code> API is being deprecated, in favor
|
|
304
335
|
* of specifying the image scanning configuration at the registry level. For more
|
|
@@ -310,6 +341,7 @@ export declare class ECR extends ECRClient {
|
|
|
310
341
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
311
342
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
312
343
|
/**
|
|
344
|
+
* @public
|
|
313
345
|
* <p>Updates the image tag mutability settings for the specified repository. For more
|
|
314
346
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
|
|
315
347
|
* mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -318,6 +350,7 @@ export declare class ECR extends ECRClient {
|
|
|
318
350
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
319
351
|
putImageTagMutability(args: PutImageTagMutabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageTagMutabilityCommandOutput) => void): void;
|
|
320
352
|
/**
|
|
353
|
+
* @public
|
|
321
354
|
* <p>Creates or updates the lifecycle policy for the specified repository. For more
|
|
322
355
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
|
|
323
356
|
* template</a>.</p>
|
|
@@ -326,6 +359,7 @@ export declare class ECR extends ECRClient {
|
|
|
326
359
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
327
360
|
putLifecyclePolicy(args: PutLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutLifecyclePolicyCommandOutput) => void): void;
|
|
328
361
|
/**
|
|
362
|
+
* @public
|
|
329
363
|
* <p>Creates or updates the permissions policy for your registry.</p>
|
|
330
364
|
* <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
|
|
331
365
|
* when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -334,12 +368,14 @@ export declare class ECR extends ECRClient {
|
|
|
334
368
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
335
369
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
336
370
|
/**
|
|
371
|
+
* @public
|
|
337
372
|
* <p>Creates or updates the scanning configuration for your private registry.</p>
|
|
338
373
|
*/
|
|
339
374
|
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryScanningConfigurationCommandOutput>;
|
|
340
375
|
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, cb: (err: any, data?: PutRegistryScanningConfigurationCommandOutput) => void): void;
|
|
341
376
|
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryScanningConfigurationCommandOutput) => void): void;
|
|
342
377
|
/**
|
|
378
|
+
* @public
|
|
343
379
|
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
344
380
|
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
345
381
|
* PutReplicationConfiguration API is called, a service-linked IAM role is created in
|
|
@@ -356,6 +392,7 @@ export declare class ECR extends ECRClient {
|
|
|
356
392
|
putReplicationConfiguration(args: PutReplicationConfigurationCommandInput, cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void): void;
|
|
357
393
|
putReplicationConfiguration(args: PutReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutReplicationConfigurationCommandOutput) => void): void;
|
|
358
394
|
/**
|
|
395
|
+
* @public
|
|
359
396
|
* <p>Applies a repository policy to the specified repository to control access permissions.
|
|
360
397
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
|
|
361
398
|
* policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -364,6 +401,7 @@ export declare class ECR extends ECRClient {
|
|
|
364
401
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
365
402
|
setRepositoryPolicy(args: SetRepositoryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetRepositoryPolicyCommandOutput) => void): void;
|
|
366
403
|
/**
|
|
404
|
+
* @public
|
|
367
405
|
* <p>Starts an image vulnerability scan. An image scan can only be started once per 24
|
|
368
406
|
* hours on an individual image. This limit includes if an image was scanned on initial
|
|
369
407
|
* push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
|
|
@@ -373,6 +411,7 @@ export declare class ECR extends ECRClient {
|
|
|
373
411
|
startImageScan(args: StartImageScanCommandInput, cb: (err: any, data?: StartImageScanCommandOutput) => void): void;
|
|
374
412
|
startImageScan(args: StartImageScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImageScanCommandOutput) => void): void;
|
|
375
413
|
/**
|
|
414
|
+
* @public
|
|
376
415
|
* <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
|
|
377
416
|
* to see the results before associating the lifecycle policy with the repository.</p>
|
|
378
417
|
*/
|
|
@@ -380,6 +419,7 @@ export declare class ECR extends ECRClient {
|
|
|
380
419
|
startLifecyclePolicyPreview(args: StartLifecyclePolicyPreviewCommandInput, cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
381
420
|
startLifecyclePolicyPreview(args: StartLifecyclePolicyPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLifecyclePolicyPreviewCommandOutput) => void): void;
|
|
382
421
|
/**
|
|
422
|
+
* @public
|
|
383
423
|
* <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
|
|
384
424
|
* are not changed if they are not specified in the request parameters.</p>
|
|
385
425
|
*/
|
|
@@ -387,12 +427,14 @@ export declare class ECR extends ECRClient {
|
|
|
387
427
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
388
428
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
389
429
|
/**
|
|
430
|
+
* @public
|
|
390
431
|
* <p>Deletes specified tags from a resource.</p>
|
|
391
432
|
*/
|
|
392
433
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
393
434
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
394
435
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
395
436
|
/**
|
|
437
|
+
* @public
|
|
396
438
|
* <p>Uploads an image layer part to Amazon ECR.</p>
|
|
397
439
|
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
398
440
|
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
@@ -49,15 +49,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
49
49
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
50
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
51
51
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
52
55
|
export type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | BatchGetRepositoryScanningConfigurationCommandInput | CompleteLayerUploadCommandInput | CreatePullThroughCacheRuleCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeletePullThroughCacheRuleCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribePullThroughCacheRulesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRegistryScanningConfigurationCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutRegistryScanningConfigurationCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
53
59
|
export type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | BatchGetRepositoryScanningConfigurationCommandOutput | CompleteLayerUploadCommandOutput | CreatePullThroughCacheRuleCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeletePullThroughCacheRuleCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribePullThroughCacheRulesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRegistryScanningConfigurationCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutRegistryScanningConfigurationCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
54
63
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
55
64
|
/**
|
|
56
65
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
57
66
|
*/
|
|
58
67
|
requestHandler?: __HttpHandler;
|
|
59
68
|
/**
|
|
60
|
-
* A constructor for a class implementing the {@link
|
|
69
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
61
70
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
62
71
|
* @internal
|
|
63
72
|
*/
|
|
@@ -147,23 +156,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
147
156
|
*/
|
|
148
157
|
logger?: __Logger;
|
|
149
158
|
/**
|
|
150
|
-
* The {@link
|
|
159
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
151
160
|
*/
|
|
152
161
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
153
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
154
166
|
type ECRClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
155
167
|
/**
|
|
156
|
-
*
|
|
168
|
+
* @public
|
|
169
|
+
*
|
|
170
|
+
* The configuration interface of ECRClient class constructor that set the region, credentials and other options.
|
|
157
171
|
*/
|
|
158
172
|
export interface ECRClientConfig extends ECRClientConfigType {
|
|
159
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
160
177
|
type ECRClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
161
178
|
/**
|
|
162
|
-
*
|
|
179
|
+
* @public
|
|
180
|
+
*
|
|
181
|
+
* The resolved configuration interface of ECRClient class. This is resolved and normalized from the {@link ECRClientConfig | constructor configuration interface}.
|
|
163
182
|
*/
|
|
164
183
|
export interface ECRClientResolvedConfig extends ECRClientResolvedConfigType {
|
|
165
184
|
}
|
|
166
185
|
/**
|
|
186
|
+
* @public
|
|
167
187
|
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
168
188
|
* <p>Amazon Elastic Container Registry (Amazon ECR) is a managed container image registry service. Customers can use the
|
|
169
189
|
* familiar Docker CLI, or their preferred client, to push, pull, and manage images. Amazon ECR
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { BatchCheckLayerAvailabilityRequest, BatchCheckLayerAvailabilityResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link BatchCheckLayerAvailabilityCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface BatchCheckLayerAvailabilityCommandInput extends BatchCheckLayerAvailabilityRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link BatchCheckLayerAvailabilityCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLayerAvailabilityResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Checks the availability of one or more image layers in a repository.</p>
|
|
18
23
|
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
19
24
|
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
@@ -32,6 +37,8 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param BatchCheckLayerAvailabilityCommandInput - {@link BatchCheckLayerAvailabilityCommandInput}
|
|
41
|
+
* @returns {@link BatchCheckLayerAvailabilityCommandOutput}
|
|
35
42
|
* @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
52
59
|
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
|
|
53
60
|
readonly input: BatchCheckLayerAvailabilityCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: BatchCheckLayerAvailabilityCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { BatchDeleteImageRequest, BatchDeleteImageResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link BatchDeleteImageCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface BatchDeleteImageCommandInput extends BatchDeleteImageRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link BatchDeleteImageCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a list of specified images within a repository. Images are specified with
|
|
18
23
|
* either an <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
19
24
|
* <p>You can remove a tag from an image by specifying the image's tag in your request. When
|
|
@@ -30,6 +35,8 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param BatchDeleteImageCommandInput - {@link BatchDeleteImageCommandInput}
|
|
39
|
+
* @returns {@link BatchDeleteImageCommandOutput}
|
|
33
40
|
* @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -77,11 +84,20 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
77
84
|
export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRClientResolvedConfig> {
|
|
78
85
|
readonly input: BatchDeleteImageCommandInput;
|
|
79
86
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
80
90
|
constructor(input: BatchDeleteImageCommandInput);
|
|
81
91
|
/**
|
|
82
92
|
* @internal
|
|
83
93
|
*/
|
|
84
94
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
85
98
|
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
86
102
|
private deserialize;
|
|
87
103
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { BatchGetImageRequest, BatchGetImageResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link BatchGetImageCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface BatchGetImageCommandInput extends BatchGetImageRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link BatchGetImageCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets detailed information for an image. Images are specified with either an
|
|
18
23
|
* <code>imageTag</code> or <code>imageDigest</code>.</p>
|
|
19
24
|
* <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
|
|
@@ -28,6 +33,8 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param BatchGetImageCommandInput - {@link BatchGetImageCommandInput}
|
|
37
|
+
* @returns {@link BatchGetImageCommandOutput}
|
|
31
38
|
* @see {@link BatchGetImageCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link BatchGetImageCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -80,11 +87,20 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
80
87
|
export declare class BatchGetImageCommand extends $Command<BatchGetImageCommandInput, BatchGetImageCommandOutput, ECRClientResolvedConfig> {
|
|
81
88
|
readonly input: BatchGetImageCommandInput;
|
|
82
89
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
83
93
|
constructor(input: BatchGetImageCommandInput);
|
|
84
94
|
/**
|
|
85
95
|
* @internal
|
|
86
96
|
*/
|
|
87
97
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetImageCommandInput, BatchGetImageCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
88
101
|
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
89
105
|
private deserialize;
|
|
90
106
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { BatchGetRepositoryScanningConfigurationRequest, BatchGetRepositoryScanningConfigurationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link BatchGetRepositoryScanningConfigurationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface BatchGetRepositoryScanningConfigurationCommandInput extends BatchGetRepositoryScanningConfigurationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link BatchGetRepositoryScanningConfigurationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface BatchGetRepositoryScanningConfigurationCommandOutput extends BatchGetRepositoryScanningConfigurationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the scanning configuration for one or more repositories.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param BatchGetRepositoryScanningConfigurationCommandInput - {@link BatchGetRepositoryScanningConfigurationCommandInput}
|
|
34
|
+
* @returns {@link BatchGetRepositoryScanningConfigurationCommandOutput}
|
|
28
35
|
* @see {@link BatchGetRepositoryScanningConfigurationCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link BatchGetRepositoryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -48,11 +55,20 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
48
55
|
export declare class BatchGetRepositoryScanningConfigurationCommand extends $Command<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
49
56
|
readonly input: BatchGetRepositoryScanningConfigurationCommandInput;
|
|
50
57
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
51
61
|
constructor(input: BatchGetRepositoryScanningConfigurationCommandInput);
|
|
52
62
|
/**
|
|
53
63
|
* @internal
|
|
54
64
|
*/
|
|
55
65
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
56
69
|
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
57
73
|
private deserialize;
|
|
58
74
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
5
5
|
import { CompleteLayerUploadRequest, CompleteLayerUploadResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CompleteLayerUploadCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CompleteLayerUploadCommandInput extends CompleteLayerUploadRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CompleteLayerUploadCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
|
|
18
23
|
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
|
|
19
24
|
* of the image layer for data validation purposes.</p>
|
|
@@ -33,6 +38,8 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param CompleteLayerUploadCommandInput - {@link CompleteLayerUploadCommandInput}
|
|
42
|
+
* @returns {@link CompleteLayerUploadCommandOutput}
|
|
36
43
|
* @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
@@ -73,11 +80,20 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
73
80
|
export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRClientResolvedConfig> {
|
|
74
81
|
readonly input: CompleteLayerUploadCommandInput;
|
|
75
82
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
76
86
|
constructor(input: CompleteLayerUploadCommandInput);
|
|
77
87
|
/**
|
|
78
88
|
* @internal
|
|
79
89
|
*/
|
|
80
90
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
81
94
|
private serialize;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
82
98
|
private deserialize;
|
|
83
99
|
}
|