@aws-sdk/client-ecr 3.616.0 → 3.620.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist-cjs/index.js +272 -0
- package/dist-es/ECR.js +8 -0
- package/dist-es/commands/CreateRepositoryCreationTemplateCommand.js +24 -0
- package/dist-es/commands/DeleteRepositoryCreationTemplateCommand.js +24 -0
- package/dist-es/commands/DescribeRepositoryCreationTemplatesCommand.js +24 -0
- package/dist-es/commands/UpdateRepositoryCreationTemplateCommand.js +24 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/DescribeRepositoryCreationTemplatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +149 -1
- package/dist-types/ECR.d.ts +29 -0
- package/dist-types/ECRClient.d.ts +6 -2
- package/dist-types/commands/CreateRepositoryCreationTemplateCommand.d.ts +179 -0
- package/dist-types/commands/DeleteRepositoryCreationTemplateCommand.d.ts +122 -0
- package/dist-types/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +150 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRepositoryCreationTemplateCommand.d.ts +161 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +415 -11
- package/dist-types/pagination/DescribeRepositoryCreationTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/ECR.d.ts +75 -0
- package/dist-types/ts3.4/ECRClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateRepositoryCreationTemplateCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryCreationTemplateCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryCreationTemplateCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +83 -0
- package/dist-types/ts3.4/pagination/DescribeRepositoryCreationTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +18 -18
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
CreateRepositoryCommandInput,
|
|
28
28
|
CreateRepositoryCommandOutput,
|
|
29
29
|
} from "./commands/CreateRepositoryCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateRepositoryCreationTemplateCommandInput,
|
|
32
|
+
CreateRepositoryCreationTemplateCommandOutput,
|
|
33
|
+
} from "./commands/CreateRepositoryCreationTemplateCommand";
|
|
30
34
|
import {
|
|
31
35
|
DeleteLifecyclePolicyCommandInput,
|
|
32
36
|
DeleteLifecyclePolicyCommandOutput,
|
|
@@ -43,6 +47,10 @@ import {
|
|
|
43
47
|
DeleteRepositoryCommandInput,
|
|
44
48
|
DeleteRepositoryCommandOutput,
|
|
45
49
|
} from "./commands/DeleteRepositoryCommand";
|
|
50
|
+
import {
|
|
51
|
+
DeleteRepositoryCreationTemplateCommandInput,
|
|
52
|
+
DeleteRepositoryCreationTemplateCommandOutput,
|
|
53
|
+
} from "./commands/DeleteRepositoryCreationTemplateCommand";
|
|
46
54
|
import {
|
|
47
55
|
DeleteRepositoryPolicyCommandInput,
|
|
48
56
|
DeleteRepositoryPolicyCommandOutput,
|
|
@@ -71,6 +79,10 @@ import {
|
|
|
71
79
|
DescribeRepositoriesCommandInput,
|
|
72
80
|
DescribeRepositoriesCommandOutput,
|
|
73
81
|
} from "./commands/DescribeRepositoriesCommand";
|
|
82
|
+
import {
|
|
83
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
84
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
85
|
+
} from "./commands/DescribeRepositoryCreationTemplatesCommand";
|
|
74
86
|
import {
|
|
75
87
|
GetAuthorizationTokenCommandInput,
|
|
76
88
|
GetAuthorizationTokenCommandOutput,
|
|
@@ -163,6 +175,10 @@ import {
|
|
|
163
175
|
UpdatePullThroughCacheRuleCommandInput,
|
|
164
176
|
UpdatePullThroughCacheRuleCommandOutput,
|
|
165
177
|
} from "./commands/UpdatePullThroughCacheRuleCommand";
|
|
178
|
+
import {
|
|
179
|
+
UpdateRepositoryCreationTemplateCommandInput,
|
|
180
|
+
UpdateRepositoryCreationTemplateCommandOutput,
|
|
181
|
+
} from "./commands/UpdateRepositoryCreationTemplateCommand";
|
|
166
182
|
import {
|
|
167
183
|
UploadLayerPartCommandInput,
|
|
168
184
|
UploadLayerPartCommandOutput,
|
|
@@ -270,6 +286,19 @@ export interface ECR {
|
|
|
270
286
|
options: __HttpHandlerOptions,
|
|
271
287
|
cb: (err: any, data?: CreateRepositoryCommandOutput) => void
|
|
272
288
|
): void;
|
|
289
|
+
createRepositoryCreationTemplate(
|
|
290
|
+
args: CreateRepositoryCreationTemplateCommandInput,
|
|
291
|
+
options?: __HttpHandlerOptions
|
|
292
|
+
): Promise<CreateRepositoryCreationTemplateCommandOutput>;
|
|
293
|
+
createRepositoryCreationTemplate(
|
|
294
|
+
args: CreateRepositoryCreationTemplateCommandInput,
|
|
295
|
+
cb: (err: any, data?: CreateRepositoryCreationTemplateCommandOutput) => void
|
|
296
|
+
): void;
|
|
297
|
+
createRepositoryCreationTemplate(
|
|
298
|
+
args: CreateRepositoryCreationTemplateCommandInput,
|
|
299
|
+
options: __HttpHandlerOptions,
|
|
300
|
+
cb: (err: any, data?: CreateRepositoryCreationTemplateCommandOutput) => void
|
|
301
|
+
): void;
|
|
273
302
|
deleteLifecyclePolicy(
|
|
274
303
|
args: DeleteLifecyclePolicyCommandInput,
|
|
275
304
|
options?: __HttpHandlerOptions
|
|
@@ -323,6 +352,19 @@ export interface ECR {
|
|
|
323
352
|
options: __HttpHandlerOptions,
|
|
324
353
|
cb: (err: any, data?: DeleteRepositoryCommandOutput) => void
|
|
325
354
|
): void;
|
|
355
|
+
deleteRepositoryCreationTemplate(
|
|
356
|
+
args: DeleteRepositoryCreationTemplateCommandInput,
|
|
357
|
+
options?: __HttpHandlerOptions
|
|
358
|
+
): Promise<DeleteRepositoryCreationTemplateCommandOutput>;
|
|
359
|
+
deleteRepositoryCreationTemplate(
|
|
360
|
+
args: DeleteRepositoryCreationTemplateCommandInput,
|
|
361
|
+
cb: (err: any, data?: DeleteRepositoryCreationTemplateCommandOutput) => void
|
|
362
|
+
): void;
|
|
363
|
+
deleteRepositoryCreationTemplate(
|
|
364
|
+
args: DeleteRepositoryCreationTemplateCommandInput,
|
|
365
|
+
options: __HttpHandlerOptions,
|
|
366
|
+
cb: (err: any, data?: DeleteRepositoryCreationTemplateCommandOutput) => void
|
|
367
|
+
): void;
|
|
326
368
|
deleteRepositoryPolicy(
|
|
327
369
|
args: DeleteRepositoryPolicyCommandInput,
|
|
328
370
|
options?: __HttpHandlerOptions
|
|
@@ -417,6 +459,26 @@ export interface ECR {
|
|
|
417
459
|
options: __HttpHandlerOptions,
|
|
418
460
|
cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void
|
|
419
461
|
): void;
|
|
462
|
+
describeRepositoryCreationTemplates(): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
463
|
+
describeRepositoryCreationTemplates(
|
|
464
|
+
args: DescribeRepositoryCreationTemplatesCommandInput,
|
|
465
|
+
options?: __HttpHandlerOptions
|
|
466
|
+
): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
467
|
+
describeRepositoryCreationTemplates(
|
|
468
|
+
args: DescribeRepositoryCreationTemplatesCommandInput,
|
|
469
|
+
cb: (
|
|
470
|
+
err: any,
|
|
471
|
+
data?: DescribeRepositoryCreationTemplatesCommandOutput
|
|
472
|
+
) => void
|
|
473
|
+
): void;
|
|
474
|
+
describeRepositoryCreationTemplates(
|
|
475
|
+
args: DescribeRepositoryCreationTemplatesCommandInput,
|
|
476
|
+
options: __HttpHandlerOptions,
|
|
477
|
+
cb: (
|
|
478
|
+
err: any,
|
|
479
|
+
data?: DescribeRepositoryCreationTemplatesCommandOutput
|
|
480
|
+
) => void
|
|
481
|
+
): void;
|
|
420
482
|
getAuthorizationToken(): Promise<GetAuthorizationTokenCommandOutput>;
|
|
421
483
|
getAuthorizationToken(
|
|
422
484
|
args: GetAuthorizationTokenCommandInput,
|
|
@@ -720,6 +782,19 @@ export interface ECR {
|
|
|
720
782
|
options: __HttpHandlerOptions,
|
|
721
783
|
cb: (err: any, data?: UpdatePullThroughCacheRuleCommandOutput) => void
|
|
722
784
|
): void;
|
|
785
|
+
updateRepositoryCreationTemplate(
|
|
786
|
+
args: UpdateRepositoryCreationTemplateCommandInput,
|
|
787
|
+
options?: __HttpHandlerOptions
|
|
788
|
+
): Promise<UpdateRepositoryCreationTemplateCommandOutput>;
|
|
789
|
+
updateRepositoryCreationTemplate(
|
|
790
|
+
args: UpdateRepositoryCreationTemplateCommandInput,
|
|
791
|
+
cb: (err: any, data?: UpdateRepositoryCreationTemplateCommandOutput) => void
|
|
792
|
+
): void;
|
|
793
|
+
updateRepositoryCreationTemplate(
|
|
794
|
+
args: UpdateRepositoryCreationTemplateCommandInput,
|
|
795
|
+
options: __HttpHandlerOptions,
|
|
796
|
+
cb: (err: any, data?: UpdateRepositoryCreationTemplateCommandOutput) => void
|
|
797
|
+
): void;
|
|
723
798
|
uploadLayerPart(
|
|
724
799
|
args: UploadLayerPartCommandInput,
|
|
725
800
|
options?: __HttpHandlerOptions
|
|
@@ -73,6 +73,10 @@ import {
|
|
|
73
73
|
CreateRepositoryCommandInput,
|
|
74
74
|
CreateRepositoryCommandOutput,
|
|
75
75
|
} from "./commands/CreateRepositoryCommand";
|
|
76
|
+
import {
|
|
77
|
+
CreateRepositoryCreationTemplateCommandInput,
|
|
78
|
+
CreateRepositoryCreationTemplateCommandOutput,
|
|
79
|
+
} from "./commands/CreateRepositoryCreationTemplateCommand";
|
|
76
80
|
import {
|
|
77
81
|
DeleteLifecyclePolicyCommandInput,
|
|
78
82
|
DeleteLifecyclePolicyCommandOutput,
|
|
@@ -89,6 +93,10 @@ import {
|
|
|
89
93
|
DeleteRepositoryCommandInput,
|
|
90
94
|
DeleteRepositoryCommandOutput,
|
|
91
95
|
} from "./commands/DeleteRepositoryCommand";
|
|
96
|
+
import {
|
|
97
|
+
DeleteRepositoryCreationTemplateCommandInput,
|
|
98
|
+
DeleteRepositoryCreationTemplateCommandOutput,
|
|
99
|
+
} from "./commands/DeleteRepositoryCreationTemplateCommand";
|
|
92
100
|
import {
|
|
93
101
|
DeleteRepositoryPolicyCommandInput,
|
|
94
102
|
DeleteRepositoryPolicyCommandOutput,
|
|
@@ -117,6 +125,10 @@ import {
|
|
|
117
125
|
DescribeRepositoriesCommandInput,
|
|
118
126
|
DescribeRepositoriesCommandOutput,
|
|
119
127
|
} from "./commands/DescribeRepositoriesCommand";
|
|
128
|
+
import {
|
|
129
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
130
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
131
|
+
} from "./commands/DescribeRepositoryCreationTemplatesCommand";
|
|
120
132
|
import {
|
|
121
133
|
GetAuthorizationTokenCommandInput,
|
|
122
134
|
GetAuthorizationTokenCommandOutput,
|
|
@@ -209,6 +221,10 @@ import {
|
|
|
209
221
|
UpdatePullThroughCacheRuleCommandInput,
|
|
210
222
|
UpdatePullThroughCacheRuleCommandOutput,
|
|
211
223
|
} from "./commands/UpdatePullThroughCacheRuleCommand";
|
|
224
|
+
import {
|
|
225
|
+
UpdateRepositoryCreationTemplateCommandInput,
|
|
226
|
+
UpdateRepositoryCreationTemplateCommandOutput,
|
|
227
|
+
} from "./commands/UpdateRepositoryCreationTemplateCommand";
|
|
212
228
|
import {
|
|
213
229
|
UploadLayerPartCommandInput,
|
|
214
230
|
UploadLayerPartCommandOutput,
|
|
@@ -232,10 +248,12 @@ export type ServiceInputTypes =
|
|
|
232
248
|
| CompleteLayerUploadCommandInput
|
|
233
249
|
| CreatePullThroughCacheRuleCommandInput
|
|
234
250
|
| CreateRepositoryCommandInput
|
|
251
|
+
| CreateRepositoryCreationTemplateCommandInput
|
|
235
252
|
| DeleteLifecyclePolicyCommandInput
|
|
236
253
|
| DeletePullThroughCacheRuleCommandInput
|
|
237
254
|
| DeleteRegistryPolicyCommandInput
|
|
238
255
|
| DeleteRepositoryCommandInput
|
|
256
|
+
| DeleteRepositoryCreationTemplateCommandInput
|
|
239
257
|
| DeleteRepositoryPolicyCommandInput
|
|
240
258
|
| DescribeImageReplicationStatusCommandInput
|
|
241
259
|
| DescribeImageScanFindingsCommandInput
|
|
@@ -243,6 +261,7 @@ export type ServiceInputTypes =
|
|
|
243
261
|
| DescribePullThroughCacheRulesCommandInput
|
|
244
262
|
| DescribeRegistryCommandInput
|
|
245
263
|
| DescribeRepositoriesCommandInput
|
|
264
|
+
| DescribeRepositoryCreationTemplatesCommandInput
|
|
246
265
|
| GetAuthorizationTokenCommandInput
|
|
247
266
|
| GetDownloadUrlForLayerCommandInput
|
|
248
267
|
| GetLifecyclePolicyCommandInput
|
|
@@ -266,6 +285,7 @@ export type ServiceInputTypes =
|
|
|
266
285
|
| TagResourceCommandInput
|
|
267
286
|
| UntagResourceCommandInput
|
|
268
287
|
| UpdatePullThroughCacheRuleCommandInput
|
|
288
|
+
| UpdateRepositoryCreationTemplateCommandInput
|
|
269
289
|
| UploadLayerPartCommandInput
|
|
270
290
|
| ValidatePullThroughCacheRuleCommandInput;
|
|
271
291
|
export type ServiceOutputTypes =
|
|
@@ -276,10 +296,12 @@ export type ServiceOutputTypes =
|
|
|
276
296
|
| CompleteLayerUploadCommandOutput
|
|
277
297
|
| CreatePullThroughCacheRuleCommandOutput
|
|
278
298
|
| CreateRepositoryCommandOutput
|
|
299
|
+
| CreateRepositoryCreationTemplateCommandOutput
|
|
279
300
|
| DeleteLifecyclePolicyCommandOutput
|
|
280
301
|
| DeletePullThroughCacheRuleCommandOutput
|
|
281
302
|
| DeleteRegistryPolicyCommandOutput
|
|
282
303
|
| DeleteRepositoryCommandOutput
|
|
304
|
+
| DeleteRepositoryCreationTemplateCommandOutput
|
|
283
305
|
| DeleteRepositoryPolicyCommandOutput
|
|
284
306
|
| DescribeImageReplicationStatusCommandOutput
|
|
285
307
|
| DescribeImageScanFindingsCommandOutput
|
|
@@ -287,6 +309,7 @@ export type ServiceOutputTypes =
|
|
|
287
309
|
| DescribePullThroughCacheRulesCommandOutput
|
|
288
310
|
| DescribeRegistryCommandOutput
|
|
289
311
|
| DescribeRepositoriesCommandOutput
|
|
312
|
+
| DescribeRepositoryCreationTemplatesCommandOutput
|
|
290
313
|
| GetAuthorizationTokenCommandOutput
|
|
291
314
|
| GetDownloadUrlForLayerCommandOutput
|
|
292
315
|
| GetLifecyclePolicyCommandOutput
|
|
@@ -310,6 +333,7 @@ export type ServiceOutputTypes =
|
|
|
310
333
|
| TagResourceCommandOutput
|
|
311
334
|
| UntagResourceCommandOutput
|
|
312
335
|
| UpdatePullThroughCacheRuleCommandOutput
|
|
336
|
+
| UpdateRepositoryCreationTemplateCommandOutput
|
|
313
337
|
| UploadLayerPartCommandOutput
|
|
314
338
|
| ValidatePullThroughCacheRuleCommandOutput;
|
|
315
339
|
export interface ClientDefaults
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECRClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECRClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateRepositoryCreationTemplateRequest,
|
|
10
|
+
CreateRepositoryCreationTemplateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateRepositoryCreationTemplateCommandInput
|
|
15
|
+
extends CreateRepositoryCreationTemplateRequest {}
|
|
16
|
+
export interface CreateRepositoryCreationTemplateCommandOutput
|
|
17
|
+
extends CreateRepositoryCreationTemplateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateRepositoryCreationTemplateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateRepositoryCreationTemplateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateRepositoryCreationTemplateCommandInput,
|
|
24
|
+
CreateRepositoryCreationTemplateCommandOutput,
|
|
25
|
+
ECRClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CreateRepositoryCreationTemplateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateRepositoryCreationTemplateCommandInput,
|
|
33
|
+
CreateRepositoryCreationTemplateCommandOutput,
|
|
34
|
+
ECRClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateRepositoryCreationTemplateCommand extends CreateRepositoryCreationTemplateCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECRClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECRClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteRepositoryCreationTemplateRequest,
|
|
10
|
+
DeleteRepositoryCreationTemplateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteRepositoryCreationTemplateCommandInput
|
|
15
|
+
extends DeleteRepositoryCreationTemplateRequest {}
|
|
16
|
+
export interface DeleteRepositoryCreationTemplateCommandOutput
|
|
17
|
+
extends DeleteRepositoryCreationTemplateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteRepositoryCreationTemplateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteRepositoryCreationTemplateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteRepositoryCreationTemplateCommandInput,
|
|
24
|
+
DeleteRepositoryCreationTemplateCommandOutput,
|
|
25
|
+
ECRClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: DeleteRepositoryCreationTemplateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteRepositoryCreationTemplateCommandInput,
|
|
33
|
+
DeleteRepositoryCreationTemplateCommandOutput,
|
|
34
|
+
ECRClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteRepositoryCreationTemplateCommand extends DeleteRepositoryCreationTemplateCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECRClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECRClient";
|
|
8
|
+
import {
|
|
9
|
+
DescribeRepositoryCreationTemplatesRequest,
|
|
10
|
+
DescribeRepositoryCreationTemplatesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DescribeRepositoryCreationTemplatesCommandInput
|
|
15
|
+
extends DescribeRepositoryCreationTemplatesRequest {}
|
|
16
|
+
export interface DescribeRepositoryCreationTemplatesCommandOutput
|
|
17
|
+
extends DescribeRepositoryCreationTemplatesResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DescribeRepositoryCreationTemplatesCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DescribeRepositoryCreationTemplatesCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
24
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
25
|
+
ECRClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [DescribeRepositoryCreationTemplatesCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
33
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
34
|
+
ECRClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DescribeRepositoryCreationTemplatesCommand extends DescribeRepositoryCreationTemplatesCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ECRClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ECRClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateRepositoryCreationTemplateRequest,
|
|
10
|
+
UpdateRepositoryCreationTemplateResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateRepositoryCreationTemplateCommandInput
|
|
15
|
+
extends UpdateRepositoryCreationTemplateRequest {}
|
|
16
|
+
export interface UpdateRepositoryCreationTemplateCommandOutput
|
|
17
|
+
extends UpdateRepositoryCreationTemplateResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateRepositoryCreationTemplateCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateRepositoryCreationTemplateCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateRepositoryCreationTemplateCommandInput,
|
|
24
|
+
UpdateRepositoryCreationTemplateCommandOutput,
|
|
25
|
+
ECRClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateRepositoryCreationTemplateCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateRepositoryCreationTemplateCommandInput,
|
|
33
|
+
UpdateRepositoryCreationTemplateCommandOutput,
|
|
34
|
+
ECRClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateRepositoryCreationTemplateCommand extends UpdateRepositoryCreationTemplateCommand_base {}
|
|
@@ -5,10 +5,12 @@ export * from "./BatchGetRepositoryScanningConfigurationCommand";
|
|
|
5
5
|
export * from "./CompleteLayerUploadCommand";
|
|
6
6
|
export * from "./CreatePullThroughCacheRuleCommand";
|
|
7
7
|
export * from "./CreateRepositoryCommand";
|
|
8
|
+
export * from "./CreateRepositoryCreationTemplateCommand";
|
|
8
9
|
export * from "./DeleteLifecyclePolicyCommand";
|
|
9
10
|
export * from "./DeletePullThroughCacheRuleCommand";
|
|
10
11
|
export * from "./DeleteRegistryPolicyCommand";
|
|
11
12
|
export * from "./DeleteRepositoryCommand";
|
|
13
|
+
export * from "./DeleteRepositoryCreationTemplateCommand";
|
|
12
14
|
export * from "./DeleteRepositoryPolicyCommand";
|
|
13
15
|
export * from "./DescribeImageReplicationStatusCommand";
|
|
14
16
|
export * from "./DescribeImageScanFindingsCommand";
|
|
@@ -16,6 +18,7 @@ export * from "./DescribeImagesCommand";
|
|
|
16
18
|
export * from "./DescribePullThroughCacheRulesCommand";
|
|
17
19
|
export * from "./DescribeRegistryCommand";
|
|
18
20
|
export * from "./DescribeRepositoriesCommand";
|
|
21
|
+
export * from "./DescribeRepositoryCreationTemplatesCommand";
|
|
19
22
|
export * from "./GetAuthorizationTokenCommand";
|
|
20
23
|
export * from "./GetDownloadUrlForLayerCommand";
|
|
21
24
|
export * from "./GetLifecyclePolicyCommand";
|
|
@@ -39,5 +42,6 @@ export * from "./StartLifecyclePolicyPreviewCommand";
|
|
|
39
42
|
export * from "./TagResourceCommand";
|
|
40
43
|
export * from "./UntagResourceCommand";
|
|
41
44
|
export * from "./UpdatePullThroughCacheRuleCommand";
|
|
45
|
+
export * from "./UpdateRepositoryCreationTemplateCommand";
|
|
42
46
|
export * from "./UploadLayerPartCommand";
|
|
43
47
|
export * from "./ValidatePullThroughCacheRuleCommand";
|
|
@@ -354,6 +354,50 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
354
354
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
|
+
export declare const RCTAppliedFor: {
|
|
358
|
+
readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
|
|
359
|
+
readonly REPLICATION: "REPLICATION";
|
|
360
|
+
};
|
|
361
|
+
export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
|
|
362
|
+
export interface EncryptionConfigurationForRepositoryCreationTemplate {
|
|
363
|
+
encryptionType: EncryptionType | undefined;
|
|
364
|
+
kmsKey?: string;
|
|
365
|
+
}
|
|
366
|
+
export interface CreateRepositoryCreationTemplateRequest {
|
|
367
|
+
prefix: string | undefined;
|
|
368
|
+
description?: string;
|
|
369
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
370
|
+
resourceTags?: Tag[];
|
|
371
|
+
imageTagMutability?: ImageTagMutability;
|
|
372
|
+
repositoryPolicy?: string;
|
|
373
|
+
lifecyclePolicy?: string;
|
|
374
|
+
appliedFor: RCTAppliedFor[] | undefined;
|
|
375
|
+
customRoleArn?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface RepositoryCreationTemplate {
|
|
378
|
+
prefix?: string;
|
|
379
|
+
description?: string;
|
|
380
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
381
|
+
resourceTags?: Tag[];
|
|
382
|
+
imageTagMutability?: ImageTagMutability;
|
|
383
|
+
repositoryPolicy?: string;
|
|
384
|
+
lifecyclePolicy?: string;
|
|
385
|
+
appliedFor?: RCTAppliedFor[];
|
|
386
|
+
customRoleArn?: string;
|
|
387
|
+
createdAt?: Date;
|
|
388
|
+
updatedAt?: Date;
|
|
389
|
+
}
|
|
390
|
+
export interface CreateRepositoryCreationTemplateResponse {
|
|
391
|
+
registryId?: string;
|
|
392
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
393
|
+
}
|
|
394
|
+
export declare class TemplateAlreadyExistsException extends __BaseException {
|
|
395
|
+
readonly name: "TemplateAlreadyExistsException";
|
|
396
|
+
readonly $fault: "client";
|
|
397
|
+
constructor(
|
|
398
|
+
opts: __ExceptionOptionType<TemplateAlreadyExistsException, __BaseException>
|
|
399
|
+
);
|
|
400
|
+
}
|
|
357
401
|
export interface DeleteLifecyclePolicyRequest {
|
|
358
402
|
registryId?: string;
|
|
359
403
|
repositoryName: string | undefined;
|
|
@@ -425,6 +469,20 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
425
469
|
opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>
|
|
426
470
|
);
|
|
427
471
|
}
|
|
472
|
+
export interface DeleteRepositoryCreationTemplateRequest {
|
|
473
|
+
prefix: string | undefined;
|
|
474
|
+
}
|
|
475
|
+
export interface DeleteRepositoryCreationTemplateResponse {
|
|
476
|
+
registryId?: string;
|
|
477
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
478
|
+
}
|
|
479
|
+
export declare class TemplateNotFoundException extends __BaseException {
|
|
480
|
+
readonly name: "TemplateNotFoundException";
|
|
481
|
+
readonly $fault: "client";
|
|
482
|
+
constructor(
|
|
483
|
+
opts: __ExceptionOptionType<TemplateNotFoundException, __BaseException>
|
|
484
|
+
);
|
|
485
|
+
}
|
|
428
486
|
export interface DeleteRepositoryPolicyRequest {
|
|
429
487
|
registryId?: string;
|
|
430
488
|
repositoryName: string | undefined;
|
|
@@ -717,6 +775,16 @@ export interface DescribeRepositoriesResponse {
|
|
|
717
775
|
repositories?: Repository[];
|
|
718
776
|
nextToken?: string;
|
|
719
777
|
}
|
|
778
|
+
export interface DescribeRepositoryCreationTemplatesRequest {
|
|
779
|
+
prefixes?: string[];
|
|
780
|
+
nextToken?: string;
|
|
781
|
+
maxResults?: number;
|
|
782
|
+
}
|
|
783
|
+
export interface DescribeRepositoryCreationTemplatesResponse {
|
|
784
|
+
registryId?: string;
|
|
785
|
+
repositoryCreationTemplates?: RepositoryCreationTemplate[];
|
|
786
|
+
nextToken?: string;
|
|
787
|
+
}
|
|
720
788
|
export interface GetAuthorizationTokenRequest {
|
|
721
789
|
registryIds?: string[];
|
|
722
790
|
}
|
|
@@ -1053,6 +1121,21 @@ export interface UpdatePullThroughCacheRuleResponse {
|
|
|
1053
1121
|
updatedAt?: Date;
|
|
1054
1122
|
credentialArn?: string;
|
|
1055
1123
|
}
|
|
1124
|
+
export interface UpdateRepositoryCreationTemplateRequest {
|
|
1125
|
+
prefix: string | undefined;
|
|
1126
|
+
description?: string;
|
|
1127
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
1128
|
+
resourceTags?: Tag[];
|
|
1129
|
+
imageTagMutability?: ImageTagMutability;
|
|
1130
|
+
repositoryPolicy?: string;
|
|
1131
|
+
lifecyclePolicy?: string;
|
|
1132
|
+
appliedFor?: RCTAppliedFor[];
|
|
1133
|
+
customRoleArn?: string;
|
|
1134
|
+
}
|
|
1135
|
+
export interface UpdateRepositoryCreationTemplateResponse {
|
|
1136
|
+
registryId?: string;
|
|
1137
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
1138
|
+
}
|
|
1056
1139
|
export declare class InvalidLayerPartException extends __BaseException {
|
|
1057
1140
|
readonly name: "InvalidLayerPartException";
|
|
1058
1141
|
readonly $fault: "client";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
4
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
5
|
+
} from "../commands/DescribeRepositoryCreationTemplatesCommand";
|
|
6
|
+
import { ECRPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateDescribeRepositoryCreationTemplates: (
|
|
8
|
+
config: ECRPaginationConfiguration,
|
|
9
|
+
input: DescribeRepositoryCreationTemplatesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
@@ -2,6 +2,7 @@ export * from "./DescribeImageScanFindingsPaginator";
|
|
|
2
2
|
export * from "./DescribeImagesPaginator";
|
|
3
3
|
export * from "./DescribePullThroughCacheRulesPaginator";
|
|
4
4
|
export * from "./DescribeRepositoriesPaginator";
|
|
5
|
+
export * from "./DescribeRepositoryCreationTemplatesPaginator";
|
|
5
6
|
export * from "./GetLifecyclePolicyPreviewPaginator";
|
|
6
7
|
export * from "./Interfaces";
|
|
7
8
|
export * from "./ListImagesPaginator";
|
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
CreateRepositoryCommandInput,
|
|
32
32
|
CreateRepositoryCommandOutput,
|
|
33
33
|
} from "../commands/CreateRepositoryCommand";
|
|
34
|
+
import {
|
|
35
|
+
CreateRepositoryCreationTemplateCommandInput,
|
|
36
|
+
CreateRepositoryCreationTemplateCommandOutput,
|
|
37
|
+
} from "../commands/CreateRepositoryCreationTemplateCommand";
|
|
34
38
|
import {
|
|
35
39
|
DeleteLifecyclePolicyCommandInput,
|
|
36
40
|
DeleteLifecyclePolicyCommandOutput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
DeleteRepositoryCommandInput,
|
|
48
52
|
DeleteRepositoryCommandOutput,
|
|
49
53
|
} from "../commands/DeleteRepositoryCommand";
|
|
54
|
+
import {
|
|
55
|
+
DeleteRepositoryCreationTemplateCommandInput,
|
|
56
|
+
DeleteRepositoryCreationTemplateCommandOutput,
|
|
57
|
+
} from "../commands/DeleteRepositoryCreationTemplateCommand";
|
|
50
58
|
import {
|
|
51
59
|
DeleteRepositoryPolicyCommandInput,
|
|
52
60
|
DeleteRepositoryPolicyCommandOutput,
|
|
@@ -75,6 +83,10 @@ import {
|
|
|
75
83
|
DescribeRepositoriesCommandInput,
|
|
76
84
|
DescribeRepositoriesCommandOutput,
|
|
77
85
|
} from "../commands/DescribeRepositoriesCommand";
|
|
86
|
+
import {
|
|
87
|
+
DescribeRepositoryCreationTemplatesCommandInput,
|
|
88
|
+
DescribeRepositoryCreationTemplatesCommandOutput,
|
|
89
|
+
} from "../commands/DescribeRepositoryCreationTemplatesCommand";
|
|
78
90
|
import {
|
|
79
91
|
GetAuthorizationTokenCommandInput,
|
|
80
92
|
GetAuthorizationTokenCommandOutput,
|
|
@@ -167,6 +179,10 @@ import {
|
|
|
167
179
|
UpdatePullThroughCacheRuleCommandInput,
|
|
168
180
|
UpdatePullThroughCacheRuleCommandOutput,
|
|
169
181
|
} from "../commands/UpdatePullThroughCacheRuleCommand";
|
|
182
|
+
import {
|
|
183
|
+
UpdateRepositoryCreationTemplateCommandInput,
|
|
184
|
+
UpdateRepositoryCreationTemplateCommandOutput,
|
|
185
|
+
} from "../commands/UpdateRepositoryCreationTemplateCommand";
|
|
170
186
|
import {
|
|
171
187
|
UploadLayerPartCommandInput,
|
|
172
188
|
UploadLayerPartCommandOutput,
|
|
@@ -203,6 +219,10 @@ export declare const se_CreateRepositoryCommand: (
|
|
|
203
219
|
input: CreateRepositoryCommandInput,
|
|
204
220
|
context: __SerdeContext
|
|
205
221
|
) => Promise<__HttpRequest>;
|
|
222
|
+
export declare const se_CreateRepositoryCreationTemplateCommand: (
|
|
223
|
+
input: CreateRepositoryCreationTemplateCommandInput,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<__HttpRequest>;
|
|
206
226
|
export declare const se_DeleteLifecyclePolicyCommand: (
|
|
207
227
|
input: DeleteLifecyclePolicyCommandInput,
|
|
208
228
|
context: __SerdeContext
|
|
@@ -219,6 +239,10 @@ export declare const se_DeleteRepositoryCommand: (
|
|
|
219
239
|
input: DeleteRepositoryCommandInput,
|
|
220
240
|
context: __SerdeContext
|
|
221
241
|
) => Promise<__HttpRequest>;
|
|
242
|
+
export declare const se_DeleteRepositoryCreationTemplateCommand: (
|
|
243
|
+
input: DeleteRepositoryCreationTemplateCommandInput,
|
|
244
|
+
context: __SerdeContext
|
|
245
|
+
) => Promise<__HttpRequest>;
|
|
222
246
|
export declare const se_DeleteRepositoryPolicyCommand: (
|
|
223
247
|
input: DeleteRepositoryPolicyCommandInput,
|
|
224
248
|
context: __SerdeContext
|
|
@@ -247,6 +271,10 @@ export declare const se_DescribeRepositoriesCommand: (
|
|
|
247
271
|
input: DescribeRepositoriesCommandInput,
|
|
248
272
|
context: __SerdeContext
|
|
249
273
|
) => Promise<__HttpRequest>;
|
|
274
|
+
export declare const se_DescribeRepositoryCreationTemplatesCommand: (
|
|
275
|
+
input: DescribeRepositoryCreationTemplatesCommandInput,
|
|
276
|
+
context: __SerdeContext
|
|
277
|
+
) => Promise<__HttpRequest>;
|
|
250
278
|
export declare const se_GetAuthorizationTokenCommand: (
|
|
251
279
|
input: GetAuthorizationTokenCommandInput,
|
|
252
280
|
context: __SerdeContext
|
|
@@ -339,6 +367,10 @@ export declare const se_UpdatePullThroughCacheRuleCommand: (
|
|
|
339
367
|
input: UpdatePullThroughCacheRuleCommandInput,
|
|
340
368
|
context: __SerdeContext
|
|
341
369
|
) => Promise<__HttpRequest>;
|
|
370
|
+
export declare const se_UpdateRepositoryCreationTemplateCommand: (
|
|
371
|
+
input: UpdateRepositoryCreationTemplateCommandInput,
|
|
372
|
+
context: __SerdeContext
|
|
373
|
+
) => Promise<__HttpRequest>;
|
|
342
374
|
export declare const se_UploadLayerPartCommand: (
|
|
343
375
|
input: UploadLayerPartCommandInput,
|
|
344
376
|
context: __SerdeContext
|
|
@@ -375,6 +407,10 @@ export declare const de_CreateRepositoryCommand: (
|
|
|
375
407
|
output: __HttpResponse,
|
|
376
408
|
context: __SerdeContext
|
|
377
409
|
) => Promise<CreateRepositoryCommandOutput>;
|
|
410
|
+
export declare const de_CreateRepositoryCreationTemplateCommand: (
|
|
411
|
+
output: __HttpResponse,
|
|
412
|
+
context: __SerdeContext
|
|
413
|
+
) => Promise<CreateRepositoryCreationTemplateCommandOutput>;
|
|
378
414
|
export declare const de_DeleteLifecyclePolicyCommand: (
|
|
379
415
|
output: __HttpResponse,
|
|
380
416
|
context: __SerdeContext
|
|
@@ -391,6 +427,10 @@ export declare const de_DeleteRepositoryCommand: (
|
|
|
391
427
|
output: __HttpResponse,
|
|
392
428
|
context: __SerdeContext
|
|
393
429
|
) => Promise<DeleteRepositoryCommandOutput>;
|
|
430
|
+
export declare const de_DeleteRepositoryCreationTemplateCommand: (
|
|
431
|
+
output: __HttpResponse,
|
|
432
|
+
context: __SerdeContext
|
|
433
|
+
) => Promise<DeleteRepositoryCreationTemplateCommandOutput>;
|
|
394
434
|
export declare const de_DeleteRepositoryPolicyCommand: (
|
|
395
435
|
output: __HttpResponse,
|
|
396
436
|
context: __SerdeContext
|
|
@@ -419,6 +459,10 @@ export declare const de_DescribeRepositoriesCommand: (
|
|
|
419
459
|
output: __HttpResponse,
|
|
420
460
|
context: __SerdeContext
|
|
421
461
|
) => Promise<DescribeRepositoriesCommandOutput>;
|
|
462
|
+
export declare const de_DescribeRepositoryCreationTemplatesCommand: (
|
|
463
|
+
output: __HttpResponse,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
422
466
|
export declare const de_GetAuthorizationTokenCommand: (
|
|
423
467
|
output: __HttpResponse,
|
|
424
468
|
context: __SerdeContext
|
|
@@ -511,6 +555,10 @@ export declare const de_UpdatePullThroughCacheRuleCommand: (
|
|
|
511
555
|
output: __HttpResponse,
|
|
512
556
|
context: __SerdeContext
|
|
513
557
|
) => Promise<UpdatePullThroughCacheRuleCommandOutput>;
|
|
558
|
+
export declare const de_UpdateRepositoryCreationTemplateCommand: (
|
|
559
|
+
output: __HttpResponse,
|
|
560
|
+
context: __SerdeContext
|
|
561
|
+
) => Promise<UpdateRepositoryCreationTemplateCommandOutput>;
|
|
514
562
|
export declare const de_UploadLayerPartCommand: (
|
|
515
563
|
output: __HttpResponse,
|
|
516
564
|
context: __SerdeContext
|