@aws-sdk/client-ecr 3.43.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 +11 -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/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/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/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- 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 +1 -1
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.
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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 { PutRegistryScanningConfigurationRequest, PutRegistryScanningConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface PutRegistryScanningConfigurationCommandInput extends PutRegistryScanningConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutRegistryScanningConfigurationCommandOutput extends PutRegistryScanningConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates or updates the scanning configuration for your private 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, PutRegistryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
15
|
+
* // const { ECRClient, PutRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
16
|
+
* const client = new ECRClient(config);
|
|
17
|
+
* const command = new PutRegistryScanningConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link PutRegistryScanningConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link PutRegistryScanningConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link ECRClientResolvedConfig | config} for ECRClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class PutRegistryScanningConfigurationCommand extends $Command<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
|
|
27
|
+
readonly input: PutRegistryScanningConfigurationCommandInput;
|
|
28
|
+
constructor(input: PutRegistryScanningConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryScanningConfigurationCommandInput, PutRegistryScanningConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
export * from "./BatchCheckLayerAvailabilityCommand";
|
|
2
2
|
export * from "./BatchDeleteImageCommand";
|
|
3
3
|
export * from "./BatchGetImageCommand";
|
|
4
|
+
export * from "./BatchGetRepositoryScanningConfigurationCommand";
|
|
4
5
|
export * from "./CompleteLayerUploadCommand";
|
|
6
|
+
export * from "./CreatePullThroughCacheRuleCommand";
|
|
5
7
|
export * from "./CreateRepositoryCommand";
|
|
6
8
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
9
|
+
export * from "./DeletePullThroughCacheRuleCommand";
|
|
7
10
|
export * from "./DeleteRegistryPolicyCommand";
|
|
8
11
|
export * from "./DeleteRepositoryCommand";
|
|
9
12
|
export * from "./DeleteRepositoryPolicyCommand";
|
|
10
13
|
export * from "./DescribeImageReplicationStatusCommand";
|
|
11
14
|
export * from "./DescribeImageScanFindingsCommand";
|
|
12
15
|
export * from "./DescribeImagesCommand";
|
|
16
|
+
export * from "./DescribePullThroughCacheRulesCommand";
|
|
13
17
|
export * from "./DescribeRegistryCommand";
|
|
14
18
|
export * from "./DescribeRepositoriesCommand";
|
|
15
19
|
export * from "./GetAuthorizationTokenCommand";
|
|
@@ -17,6 +21,7 @@ export * from "./GetDownloadUrlForLayerCommand";
|
|
|
17
21
|
export * from "./GetLifecyclePolicyCommand";
|
|
18
22
|
export * from "./GetLifecyclePolicyPreviewCommand";
|
|
19
23
|
export * from "./GetRegistryPolicyCommand";
|
|
24
|
+
export * from "./GetRegistryScanningConfigurationCommand";
|
|
20
25
|
export * from "./GetRepositoryPolicyCommand";
|
|
21
26
|
export * from "./InitiateLayerUploadCommand";
|
|
22
27
|
export * from "./ListImagesCommand";
|
|
@@ -26,6 +31,7 @@ export * from "./PutImageScanningConfigurationCommand";
|
|
|
26
31
|
export * from "./PutImageTagMutabilityCommand";
|
|
27
32
|
export * from "./PutLifecyclePolicyCommand";
|
|
28
33
|
export * from "./PutRegistryPolicyCommand";
|
|
34
|
+
export * from "./PutRegistryScanningConfigurationCommand";
|
|
29
35
|
export * from "./PutReplicationConfigurationCommand";
|
|
30
36
|
export * from "./SetRepositoryPolicyCommand";
|
|
31
37
|
export * from "./StartImageScanCommand";
|