@aws-sdk/client-ecr 3.40.0 → 3.44.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 +41 -0
- package/dist-cjs/ECR.js +90 -0
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +24 -0
- package/dist-cjs/models/models_0.js +238 -15
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
- package/dist-es/ECR.js +90 -0
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +24 -0
- package/dist-es/models/models_0.js +164 -8
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1204 -120
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +8 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +984 -157
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +488 -24
- package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/package.json +4 -4
package/dist-types/ECR.d.ts
CHANGED
|
@@ -2,15 +2,19 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
3
3
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
4
4
|
import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
|
|
5
|
+
import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput } from "./commands/BatchGetRepositoryScanningConfigurationCommand";
|
|
5
6
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
7
|
+
import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "./commands/CreatePullThroughCacheRuleCommand";
|
|
6
8
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
7
9
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
10
|
+
import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "./commands/DeletePullThroughCacheRuleCommand";
|
|
8
11
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
9
12
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
10
13
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
11
14
|
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
12
15
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
13
16
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
17
|
+
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "./commands/DescribePullThroughCacheRulesCommand";
|
|
14
18
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
15
19
|
import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "./commands/DescribeRepositoriesCommand";
|
|
16
20
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
@@ -18,6 +22,7 @@ import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput
|
|
|
18
22
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
19
23
|
import { GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput } from "./commands/GetLifecyclePolicyPreviewCommand";
|
|
20
24
|
import { GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput } from "./commands/GetRegistryPolicyCommand";
|
|
25
|
+
import { GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput } from "./commands/GetRegistryScanningConfigurationCommand";
|
|
21
26
|
import { GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput } from "./commands/GetRepositoryPolicyCommand";
|
|
22
27
|
import { InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput } from "./commands/InitiateLayerUploadCommand";
|
|
23
28
|
import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
|
|
@@ -27,6 +32,7 @@ import { PutImageScanningConfigurationCommandInput, PutImageScanningConfiguratio
|
|
|
27
32
|
import { PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput } from "./commands/PutImageTagMutabilityCommand";
|
|
28
33
|
import { PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput } from "./commands/PutLifecyclePolicyCommand";
|
|
29
34
|
import { PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput } from "./commands/PutRegistryPolicyCommand";
|
|
35
|
+
import { PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput } from "./commands/PutRegistryScanningConfigurationCommand";
|
|
30
36
|
import { PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput } from "./commands/PutReplicationConfigurationCommand";
|
|
31
37
|
import { SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput } from "./commands/SetRepositoryPolicyCommand";
|
|
32
38
|
import { StartImageScanCommandInput, StartImageScanCommandOutput } from "./commands/StartImageScanCommand";
|
|
@@ -80,6 +86,12 @@ export declare class ECR extends ECRClient {
|
|
|
80
86
|
batchGetImage(args: BatchGetImageCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetImageCommandOutput>;
|
|
81
87
|
batchGetImage(args: BatchGetImageCommandInput, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
82
88
|
batchGetImage(args: BatchGetImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetImageCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Gets the scanning configuration for one or more repositories.</p>
|
|
91
|
+
*/
|
|
92
|
+
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRepositoryScanningConfigurationCommandOutput>;
|
|
93
|
+
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, cb: (err: any, data?: BatchGetRepositoryScanningConfigurationCommandOutput) => void): void;
|
|
94
|
+
batchGetRepositoryScanningConfiguration(args: BatchGetRepositoryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRepositoryScanningConfigurationCommandOutput) => void): void;
|
|
83
95
|
/**
|
|
84
96
|
* <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
|
|
85
97
|
* repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
|
|
@@ -94,6 +106,13 @@ export declare class ECR extends ECRClient {
|
|
|
94
106
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options?: __HttpHandlerOptions): Promise<CompleteLayerUploadCommandOutput>;
|
|
95
107
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
96
108
|
completeLayerUpload(args: CompleteLayerUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteLayerUploadCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Creates a pull through cache rule. A pull through cache rule provides a way to cache
|
|
111
|
+
* images from an external public registry in your Amazon ECR private registry.</p>
|
|
112
|
+
*/
|
|
113
|
+
createPullThroughCacheRule(args: CreatePullThroughCacheRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePullThroughCacheRuleCommandOutput>;
|
|
114
|
+
createPullThroughCacheRule(args: CreatePullThroughCacheRuleCommandInput, cb: (err: any, data?: CreatePullThroughCacheRuleCommandOutput) => void): void;
|
|
115
|
+
createPullThroughCacheRule(args: CreatePullThroughCacheRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullThroughCacheRuleCommandOutput) => void): void;
|
|
97
116
|
/**
|
|
98
117
|
* <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
|
|
99
118
|
* <i>Amazon Elastic Container Registry User Guide</i>.</p>
|
|
@@ -107,6 +126,12 @@ export declare class ECR extends ECRClient {
|
|
|
107
126
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLifecyclePolicyCommandOutput>;
|
|
108
127
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
109
128
|
deleteLifecyclePolicy(args: DeleteLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLifecyclePolicyCommandOutput) => void): void;
|
|
129
|
+
/**
|
|
130
|
+
* <p>Deletes a pull through cache rule.</p>
|
|
131
|
+
*/
|
|
132
|
+
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePullThroughCacheRuleCommandOutput>;
|
|
133
|
+
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, cb: (err: any, data?: DeletePullThroughCacheRuleCommandOutput) => void): void;
|
|
134
|
+
deletePullThroughCacheRule(args: DeletePullThroughCacheRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePullThroughCacheRuleCommandOutput) => void): void;
|
|
110
135
|
/**
|
|
111
136
|
* <p>Deletes the registry permissions policy.</p>
|
|
112
137
|
*/
|
|
@@ -151,6 +176,12 @@ export declare class ECR extends ECRClient {
|
|
|
151
176
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageScanFindingsCommandOutput>;
|
|
152
177
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
153
178
|
describeImageScanFindings(args: DescribeImageScanFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageScanFindingsCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Returns the pull through cache rules for a registry.</p>
|
|
181
|
+
*/
|
|
182
|
+
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, options?: __HttpHandlerOptions): Promise<DescribePullThroughCacheRulesCommandOutput>;
|
|
183
|
+
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, cb: (err: any, data?: DescribePullThroughCacheRulesCommandOutput) => void): void;
|
|
184
|
+
describePullThroughCacheRules(args: DescribePullThroughCacheRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePullThroughCacheRulesCommandOutput) => void): void;
|
|
154
185
|
/**
|
|
155
186
|
* <p>Describes the settings for a registry. The replication configuration for a repository
|
|
156
187
|
* can be created or updated with the <a>PutReplicationConfiguration</a> API
|
|
@@ -210,6 +241,12 @@ export declare class ECR extends ECRClient {
|
|
|
210
241
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryPolicyCommandOutput>;
|
|
211
242
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
212
243
|
getRegistryPolicy(args: GetRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryPolicyCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* <p>Retrieves the scanning configuration for a registry.</p>
|
|
246
|
+
*/
|
|
247
|
+
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetRegistryScanningConfigurationCommandOutput>;
|
|
248
|
+
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, cb: (err: any, data?: GetRegistryScanningConfigurationCommandOutput) => void): void;
|
|
249
|
+
getRegistryScanningConfiguration(args: GetRegistryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegistryScanningConfigurationCommandOutput) => void): void;
|
|
213
250
|
/**
|
|
214
251
|
* <p>Retrieves the repository policy for the specified repository.</p>
|
|
215
252
|
*/
|
|
@@ -291,6 +328,12 @@ export declare class ECR extends ECRClient {
|
|
|
291
328
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryPolicyCommandOutput>;
|
|
292
329
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
293
330
|
putRegistryPolicy(args: PutRegistryPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryPolicyCommandOutput) => void): void;
|
|
331
|
+
/**
|
|
332
|
+
* <p>Creates or updates the scanning configuration for your private registry.</p>
|
|
333
|
+
*/
|
|
334
|
+
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutRegistryScanningConfigurationCommandOutput>;
|
|
335
|
+
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, cb: (err: any, data?: PutRegistryScanningConfigurationCommandOutput) => void): void;
|
|
336
|
+
putRegistryScanningConfiguration(args: PutRegistryScanningConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRegistryScanningConfigurationCommandOutput) => void): void;
|
|
294
337
|
/**
|
|
295
338
|
* <p>Creates or updates the replication configuration for a registry. The existing
|
|
296
339
|
* replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
|
|
@@ -9,15 +9,19 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
|
|
|
9
9
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
10
10
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
11
11
|
import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
|
|
12
|
+
import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput } from "./commands/BatchGetRepositoryScanningConfigurationCommand";
|
|
12
13
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
14
|
+
import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "./commands/CreatePullThroughCacheRuleCommand";
|
|
13
15
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
14
16
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
17
|
+
import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "./commands/DeletePullThroughCacheRuleCommand";
|
|
15
18
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
16
19
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
17
20
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
18
21
|
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
19
22
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
20
23
|
import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./commands/DescribeImagesCommand";
|
|
24
|
+
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "./commands/DescribePullThroughCacheRulesCommand";
|
|
21
25
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
22
26
|
import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "./commands/DescribeRepositoriesCommand";
|
|
23
27
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
@@ -25,6 +29,7 @@ import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput
|
|
|
25
29
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
26
30
|
import { GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput } from "./commands/GetLifecyclePolicyPreviewCommand";
|
|
27
31
|
import { GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput } from "./commands/GetRegistryPolicyCommand";
|
|
32
|
+
import { GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput } from "./commands/GetRegistryScanningConfigurationCommand";
|
|
28
33
|
import { GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput } from "./commands/GetRepositoryPolicyCommand";
|
|
29
34
|
import { InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput } from "./commands/InitiateLayerUploadCommand";
|
|
30
35
|
import { ListImagesCommandInput, ListImagesCommandOutput } from "./commands/ListImagesCommand";
|
|
@@ -34,6 +39,7 @@ import { PutImageScanningConfigurationCommandInput, PutImageScanningConfiguratio
|
|
|
34
39
|
import { PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput } from "./commands/PutImageTagMutabilityCommand";
|
|
35
40
|
import { PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput } from "./commands/PutLifecyclePolicyCommand";
|
|
36
41
|
import { PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput } from "./commands/PutRegistryPolicyCommand";
|
|
42
|
+
import { PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput } from "./commands/PutRegistryScanningConfigurationCommand";
|
|
37
43
|
import { PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput } from "./commands/PutReplicationConfigurationCommand";
|
|
38
44
|
import { SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput } from "./commands/SetRepositoryPolicyCommand";
|
|
39
45
|
import { StartImageScanCommandInput, StartImageScanCommandOutput } from "./commands/StartImageScanCommand";
|
|
@@ -41,8 +47,8 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
41
47
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
48
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
49
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
44
|
-
export declare type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | CompleteLayerUploadCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UploadLayerPartCommandInput;
|
|
45
|
-
export declare type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | CompleteLayerUploadCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UploadLayerPartCommandOutput;
|
|
50
|
+
export declare 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;
|
|
51
|
+
export declare 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;
|
|
46
52
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
47
53
|
/**
|
|
48
54
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -27,7 +27,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link BatchCheckLayerAvailabilityCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link BatchCheckLayerAvailabilityCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class BatchCheckLayerAvailabilityCommand extends $Command<BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -25,7 +25,7 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
25
25
|
*
|
|
26
26
|
* @see {@link BatchDeleteImageCommandInput} for command's `input` shape.
|
|
27
27
|
* @see {@link BatchDeleteImageCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
28
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
export declare class BatchDeleteImageCommand extends $Command<BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link BatchGetImageCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link BatchGetImageCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class BatchGetImageCommand extends $Command<BatchGetImageCommandInput, BatchGetImageCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { BatchGetRepositoryScanningConfigurationRequest, BatchGetRepositoryScanningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface BatchGetRepositoryScanningConfigurationCommandInput extends BatchGetRepositoryScanningConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface BatchGetRepositoryScanningConfigurationCommandOutput extends BatchGetRepositoryScanningConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets the scanning configuration for one or more repositories.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, BatchGetRepositoryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, BatchGetRepositoryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new BatchGetRepositoryScanningConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link BatchGetRepositoryScanningConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link BatchGetRepositoryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class BatchGetRepositoryScanningConfigurationCommand extends $Command<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: BatchGetRepositoryScanningConfigurationCommandInput;
|
|
28
|
+
constructor(input: BatchGetRepositoryScanningConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepositoryScanningConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -28,7 +28,7 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
28
28
|
*
|
|
29
29
|
* @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
|
|
30
30
|
* @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
31
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { CreatePullThroughCacheRuleRequest, CreatePullThroughCacheRuleResponse } from "../models/models_0";
|
|
5
|
+
export interface CreatePullThroughCacheRuleCommandInput extends CreatePullThroughCacheRuleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThroughCacheRuleResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a pull through cache rule. A pull through cache rule provides a way to cache
|
|
11
|
+
* images from an external public registry in your Amazon ECR private registry.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { ECRClient, CreatePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
16
|
+
* // const { ECRClient, CreatePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
17
|
+
* const client = new ECRClient(config);
|
|
18
|
+
* const command = new CreatePullThroughCacheRuleCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link CreatePullThroughCacheRuleCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link CreatePullThroughCacheRuleCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class CreatePullThroughCacheRuleCommand extends $Command<CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
|
|
28
|
+
readonly input: CreatePullThroughCacheRuleCommandInput;
|
|
29
|
+
constructor(input: CreatePullThroughCacheRuleCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateRepositoryCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { DeletePullThroughCacheRuleRequest, DeletePullThroughCacheRuleResponse } from "../models/models_0";
|
|
5
|
+
export interface DeletePullThroughCacheRuleCommandInput extends DeletePullThroughCacheRuleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThroughCacheRuleResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a pull through cache rule.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, DeletePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, DeletePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new DeletePullThroughCacheRuleCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeletePullThroughCacheRuleCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeletePullThroughCacheRuleCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeletePullThroughCacheRuleCommand extends $Command<DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: DeletePullThroughCacheRuleCommandInput;
|
|
28
|
+
constructor(input: DeletePullThroughCacheRuleCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyR
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteRegistryPolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteRegistryPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteRegistryPolicyCommand extends $Command<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteRepositoryPolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteRepositoryPolicyCommand extends $Command<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeImageReplicationStatusCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeImageReplicationStatusCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeImageReplicationStatusCommand extends $Command<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeImageScanFindingsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeImageScanFindingsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeImageScanFindingsCommand extends $Command<DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link DescribeImagesCommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link DescribeImagesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { DescribePullThroughCacheRulesRequest, DescribePullThroughCacheRulesResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribePullThroughCacheRulesCommandInput extends DescribePullThroughCacheRulesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribePullThroughCacheRulesCommandOutput extends DescribePullThroughCacheRulesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the pull through cache rules for a registry.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, DescribePullThroughCacheRulesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, DescribePullThroughCacheRulesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new DescribePullThroughCacheRulesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribePullThroughCacheRulesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribePullThroughCacheRulesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribePullThroughCacheRulesCommand extends $Command<DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribePullThroughCacheRulesCommandInput;
|
|
28
|
+
constructor(input: DescribePullThroughCacheRulesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -22,7 +22,7 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DescribeRegistryCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DescribeRegistryCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeRepositoriesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeRepositoriesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeRepositoriesCommand extends $Command<DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link GetAuthorizationTokenCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link GetDownloadUrlForLayerCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link GetDownloadUrlForLayerCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class GetDownloadUrlForLayerCommand extends $Command<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetLifecyclePolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link GetLifecyclePolicyPreviewCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link GetLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class GetLifecyclePolicyPreviewCommand extends $Command<GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetRegistryPolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetRegistryPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetRegistryPolicyCommand extends $Command<GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ECRClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ECRClient";
|
|
4
|
+
import { GetRegistryScanningConfigurationRequest, GetRegistryScanningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetRegistryScanningConfigurationCommandInput extends GetRegistryScanningConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetRegistryScanningConfigurationCommandOutput extends GetRegistryScanningConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves the scanning configuration for a registry.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { ECRClient, GetRegistryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, GetRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new GetRegistryScanningConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetRegistryScanningConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetRegistryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetRegistryScanningConfigurationCommand extends $Command<GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: GetRegistryScanningConfigurationCommandInput;
|
|
28
|
+
constructor(input: GetRegistryScanningConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRegistryScanningConfigurationCommandInput, GetRegistryScanningConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetRepositoryPolicyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetRepositoryPolicyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetRepositoryPolicyCommand extends $Command<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link InitiateLayerUploadCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link InitiateLayerUploadCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link ListImagesCommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link ListImagesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class ListImagesCommand extends $Command<ListImagesCommandInput, ListImagesCommandOutput, ECRClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ECRClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRClientResolvedConfig> {
|