@aws-sdk/client-ecr 3.616.0 → 3.620.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +124 -0
- package/dist-types/commands/DeleteRepositoryCreationTemplateCommand.d.ts +97 -0
- package/dist-types/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +102 -0
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRepositoryCreationTemplateCommand.d.ts +115 -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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateRepositoryCreationTemplateCommand, se_CreateRepositoryCreationTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateRepositoryCreationTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerRegistry_V20150921", "CreateRepositoryCreationTemplate", {})
|
|
19
|
+
.n("ECRClient", "CreateRepositoryCreationTemplateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateRepositoryCreationTemplateCommand)
|
|
22
|
+
.de(de_CreateRepositoryCreationTemplateCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteRepositoryCreationTemplateCommand, se_DeleteRepositoryCreationTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteRepositoryCreationTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerRegistry_V20150921", "DeleteRepositoryCreationTemplate", {})
|
|
19
|
+
.n("ECRClient", "DeleteRepositoryCreationTemplateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteRepositoryCreationTemplateCommand)
|
|
22
|
+
.de(de_DeleteRepositoryCreationTemplateCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeRepositoryCreationTemplatesCommand, se_DescribeRepositoryCreationTemplatesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeRepositoryCreationTemplatesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerRegistry_V20150921", "DescribeRepositoryCreationTemplates", {})
|
|
19
|
+
.n("ECRClient", "DescribeRepositoryCreationTemplatesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeRepositoryCreationTemplatesCommand)
|
|
22
|
+
.de(de_DescribeRepositoryCreationTemplatesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateRepositoryCreationTemplateCommand, se_UpdateRepositoryCreationTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateRepositoryCreationTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonEC2ContainerRegistry_V20150921", "UpdateRepositoryCreationTemplate", {})
|
|
19
|
+
.n("ECRClient", "UpdateRepositoryCreationTemplateCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRepositoryCreationTemplateCommand)
|
|
22
|
+
.de(de_UpdateRepositoryCreationTemplateCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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";
|
|
@@ -288,6 +288,22 @@ export class TooManyTagsException extends __BaseException {
|
|
|
288
288
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
+
export const RCTAppliedFor = {
|
|
292
|
+
PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE",
|
|
293
|
+
REPLICATION: "REPLICATION",
|
|
294
|
+
};
|
|
295
|
+
export class TemplateAlreadyExistsException extends __BaseException {
|
|
296
|
+
constructor(opts) {
|
|
297
|
+
super({
|
|
298
|
+
name: "TemplateAlreadyExistsException",
|
|
299
|
+
$fault: "client",
|
|
300
|
+
...opts,
|
|
301
|
+
});
|
|
302
|
+
this.name = "TemplateAlreadyExistsException";
|
|
303
|
+
this.$fault = "client";
|
|
304
|
+
Object.setPrototypeOf(this, TemplateAlreadyExistsException.prototype);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
291
307
|
export class LifecyclePolicyNotFoundException extends __BaseException {
|
|
292
308
|
constructor(opts) {
|
|
293
309
|
super({
|
|
@@ -336,6 +352,18 @@ export class RepositoryNotEmptyException extends __BaseException {
|
|
|
336
352
|
Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
|
|
337
353
|
}
|
|
338
354
|
}
|
|
355
|
+
export class TemplateNotFoundException extends __BaseException {
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "TemplateNotFoundException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts,
|
|
361
|
+
});
|
|
362
|
+
this.name = "TemplateNotFoundException";
|
|
363
|
+
this.$fault = "client";
|
|
364
|
+
Object.setPrototypeOf(this, TemplateNotFoundException.prototype);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
339
367
|
export class RepositoryPolicyNotFoundException extends __BaseException {
|
|
340
368
|
constructor(opts) {
|
|
341
369
|
super({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { DescribeRepositoryCreationTemplatesCommand, } from "../commands/DescribeRepositoryCreationTemplatesCommand";
|
|
3
|
+
import { ECRClient } from "../ECRClient";
|
|
4
|
+
export const paginateDescribeRepositoryCreationTemplates = createPaginator(ECRClient, DescribeRepositoryCreationTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -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";
|
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ECRServiceException as __BaseException } from "../models/ECRServiceException";
|
|
5
|
-
import { EmptyUploadException, ImageAlreadyExistsException, ImageDigestDoesNotMatchException, ImageNotFoundException, ImageTagAlreadyExistsException, InvalidLayerException, InvalidLayerPartException, InvalidParameterException, InvalidTagParameterException, KmsException, LayerAlreadyExistsException, LayerInaccessibleException, LayerPartTooSmallException, LayersNotFoundException, LifecyclePolicyNotFoundException, LifecyclePolicyPreviewInProgressException, LifecyclePolicyPreviewNotFoundException, LimitExceededException, PullThroughCacheRuleAlreadyExistsException, PullThroughCacheRuleNotFoundException, ReferencedImagesNotFoundException, RegistryPolicyNotFoundException, RepositoryAlreadyExistsException, RepositoryNotEmptyException, RepositoryNotFoundException, RepositoryPolicyNotFoundException, ScanNotFoundException, SecretNotFoundException, ServerException, TooManyTagsException, UnableToAccessSecretException, UnableToDecryptSecretValueException, UnableToGetUpstreamImageException, UnableToGetUpstreamLayerException, UnsupportedImageTypeException, UnsupportedUpstreamRegistryException, UploadNotFoundException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { EmptyUploadException, ImageAlreadyExistsException, ImageDigestDoesNotMatchException, ImageNotFoundException, ImageTagAlreadyExistsException, InvalidLayerException, InvalidLayerPartException, InvalidParameterException, InvalidTagParameterException, KmsException, LayerAlreadyExistsException, LayerInaccessibleException, LayerPartTooSmallException, LayersNotFoundException, LifecyclePolicyNotFoundException, LifecyclePolicyPreviewInProgressException, LifecyclePolicyPreviewNotFoundException, LimitExceededException, PullThroughCacheRuleAlreadyExistsException, PullThroughCacheRuleNotFoundException, ReferencedImagesNotFoundException, RegistryPolicyNotFoundException, RepositoryAlreadyExistsException, RepositoryNotEmptyException, RepositoryNotFoundException, RepositoryPolicyNotFoundException, ScanNotFoundException, SecretNotFoundException, ServerException, TemplateAlreadyExistsException, TemplateNotFoundException, TooManyTagsException, UnableToAccessSecretException, UnableToDecryptSecretValueException, UnableToGetUpstreamImageException, UnableToGetUpstreamLayerException, UnsupportedImageTypeException, UnsupportedUpstreamRegistryException, UploadNotFoundException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_BatchCheckLayerAvailabilityCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("BatchCheckLayerAvailability");
|
|
8
8
|
let body;
|
|
@@ -45,6 +45,12 @@ export const se_CreateRepositoryCommand = async (input, context) => {
|
|
|
45
45
|
body = JSON.stringify(_json(input));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
|
+
export const se_CreateRepositoryCreationTemplateCommand = async (input, context) => {
|
|
49
|
+
const headers = sharedHeaders("CreateRepositoryCreationTemplate");
|
|
50
|
+
let body;
|
|
51
|
+
body = JSON.stringify(_json(input));
|
|
52
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
+
};
|
|
48
54
|
export const se_DeleteLifecyclePolicyCommand = async (input, context) => {
|
|
49
55
|
const headers = sharedHeaders("DeleteLifecyclePolicy");
|
|
50
56
|
let body;
|
|
@@ -69,6 +75,12 @@ export const se_DeleteRepositoryCommand = async (input, context) => {
|
|
|
69
75
|
body = JSON.stringify(_json(input));
|
|
70
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
77
|
};
|
|
78
|
+
export const se_DeleteRepositoryCreationTemplateCommand = async (input, context) => {
|
|
79
|
+
const headers = sharedHeaders("DeleteRepositoryCreationTemplate");
|
|
80
|
+
let body;
|
|
81
|
+
body = JSON.stringify(_json(input));
|
|
82
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
+
};
|
|
72
84
|
export const se_DeleteRepositoryPolicyCommand = async (input, context) => {
|
|
73
85
|
const headers = sharedHeaders("DeleteRepositoryPolicy");
|
|
74
86
|
let body;
|
|
@@ -111,6 +123,12 @@ export const se_DescribeRepositoriesCommand = async (input, context) => {
|
|
|
111
123
|
body = JSON.stringify(_json(input));
|
|
112
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
125
|
};
|
|
126
|
+
export const se_DescribeRepositoryCreationTemplatesCommand = async (input, context) => {
|
|
127
|
+
const headers = sharedHeaders("DescribeRepositoryCreationTemplates");
|
|
128
|
+
let body;
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
130
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
+
};
|
|
114
132
|
export const se_GetAuthorizationTokenCommand = async (input, context) => {
|
|
115
133
|
const headers = sharedHeaders("GetAuthorizationToken");
|
|
116
134
|
let body;
|
|
@@ -249,6 +267,12 @@ export const se_UpdatePullThroughCacheRuleCommand = async (input, context) => {
|
|
|
249
267
|
body = JSON.stringify(_json(input));
|
|
250
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
269
|
};
|
|
270
|
+
export const se_UpdateRepositoryCreationTemplateCommand = async (input, context) => {
|
|
271
|
+
const headers = sharedHeaders("UpdateRepositoryCreationTemplate");
|
|
272
|
+
let body;
|
|
273
|
+
body = JSON.stringify(_json(input));
|
|
274
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
+
};
|
|
252
276
|
export const se_UploadLayerPartCommand = async (input, context) => {
|
|
253
277
|
const headers = sharedHeaders("UploadLayerPart");
|
|
254
278
|
let body;
|
|
@@ -352,6 +376,19 @@ export const de_CreateRepositoryCommand = async (output, context) => {
|
|
|
352
376
|
};
|
|
353
377
|
return response;
|
|
354
378
|
};
|
|
379
|
+
export const de_CreateRepositoryCreationTemplateCommand = async (output, context) => {
|
|
380
|
+
if (output.statusCode >= 300) {
|
|
381
|
+
return de_CommandError(output, context);
|
|
382
|
+
}
|
|
383
|
+
const data = await parseBody(output.body, context);
|
|
384
|
+
let contents = {};
|
|
385
|
+
contents = de_CreateRepositoryCreationTemplateResponse(data, context);
|
|
386
|
+
const response = {
|
|
387
|
+
$metadata: deserializeMetadata(output),
|
|
388
|
+
...contents,
|
|
389
|
+
};
|
|
390
|
+
return response;
|
|
391
|
+
};
|
|
355
392
|
export const de_DeleteLifecyclePolicyCommand = async (output, context) => {
|
|
356
393
|
if (output.statusCode >= 300) {
|
|
357
394
|
return de_CommandError(output, context);
|
|
@@ -404,6 +441,19 @@ export const de_DeleteRepositoryCommand = async (output, context) => {
|
|
|
404
441
|
};
|
|
405
442
|
return response;
|
|
406
443
|
};
|
|
444
|
+
export const de_DeleteRepositoryCreationTemplateCommand = async (output, context) => {
|
|
445
|
+
if (output.statusCode >= 300) {
|
|
446
|
+
return de_CommandError(output, context);
|
|
447
|
+
}
|
|
448
|
+
const data = await parseBody(output.body, context);
|
|
449
|
+
let contents = {};
|
|
450
|
+
contents = de_DeleteRepositoryCreationTemplateResponse(data, context);
|
|
451
|
+
const response = {
|
|
452
|
+
$metadata: deserializeMetadata(output),
|
|
453
|
+
...contents,
|
|
454
|
+
};
|
|
455
|
+
return response;
|
|
456
|
+
};
|
|
407
457
|
export const de_DeleteRepositoryPolicyCommand = async (output, context) => {
|
|
408
458
|
if (output.statusCode >= 300) {
|
|
409
459
|
return de_CommandError(output, context);
|
|
@@ -495,6 +545,19 @@ export const de_DescribeRepositoriesCommand = async (output, context) => {
|
|
|
495
545
|
};
|
|
496
546
|
return response;
|
|
497
547
|
};
|
|
548
|
+
export const de_DescribeRepositoryCreationTemplatesCommand = async (output, context) => {
|
|
549
|
+
if (output.statusCode >= 300) {
|
|
550
|
+
return de_CommandError(output, context);
|
|
551
|
+
}
|
|
552
|
+
const data = await parseBody(output.body, context);
|
|
553
|
+
let contents = {};
|
|
554
|
+
contents = de_DescribeRepositoryCreationTemplatesResponse(data, context);
|
|
555
|
+
const response = {
|
|
556
|
+
$metadata: deserializeMetadata(output),
|
|
557
|
+
...contents,
|
|
558
|
+
};
|
|
559
|
+
return response;
|
|
560
|
+
};
|
|
498
561
|
export const de_GetAuthorizationTokenCommand = async (output, context) => {
|
|
499
562
|
if (output.statusCode >= 300) {
|
|
500
563
|
return de_CommandError(output, context);
|
|
@@ -794,6 +857,19 @@ export const de_UpdatePullThroughCacheRuleCommand = async (output, context) => {
|
|
|
794
857
|
};
|
|
795
858
|
return response;
|
|
796
859
|
};
|
|
860
|
+
export const de_UpdateRepositoryCreationTemplateCommand = async (output, context) => {
|
|
861
|
+
if (output.statusCode >= 300) {
|
|
862
|
+
return de_CommandError(output, context);
|
|
863
|
+
}
|
|
864
|
+
const data = await parseBody(output.body, context);
|
|
865
|
+
let contents = {};
|
|
866
|
+
contents = de_UpdateRepositoryCreationTemplateResponse(data, context);
|
|
867
|
+
const response = {
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
...contents,
|
|
870
|
+
};
|
|
871
|
+
return response;
|
|
872
|
+
};
|
|
797
873
|
export const de_UploadLayerPartCommand = async (output, context) => {
|
|
798
874
|
if (output.statusCode >= 300) {
|
|
799
875
|
return de_CommandError(output, context);
|
|
@@ -887,6 +963,9 @@ const de_CommandError = async (output, context) => {
|
|
|
887
963
|
case "TooManyTagsException":
|
|
888
964
|
case "com.amazonaws.ecr#TooManyTagsException":
|
|
889
965
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
966
|
+
case "TemplateAlreadyExistsException":
|
|
967
|
+
case "com.amazonaws.ecr#TemplateAlreadyExistsException":
|
|
968
|
+
throw await de_TemplateAlreadyExistsExceptionRes(parsedOutput, context);
|
|
890
969
|
case "LifecyclePolicyNotFoundException":
|
|
891
970
|
case "com.amazonaws.ecr#LifecyclePolicyNotFoundException":
|
|
892
971
|
throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -899,6 +978,9 @@ const de_CommandError = async (output, context) => {
|
|
|
899
978
|
case "RepositoryNotEmptyException":
|
|
900
979
|
case "com.amazonaws.ecr#RepositoryNotEmptyException":
|
|
901
980
|
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);
|
|
981
|
+
case "TemplateNotFoundException":
|
|
982
|
+
case "com.amazonaws.ecr#TemplateNotFoundException":
|
|
983
|
+
throw await de_TemplateNotFoundExceptionRes(parsedOutput, context);
|
|
902
984
|
case "RepositoryPolicyNotFoundException":
|
|
903
985
|
case "com.amazonaws.ecr#RepositoryPolicyNotFoundException":
|
|
904
986
|
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1211,6 +1293,24 @@ const de_ServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1211
1293
|
});
|
|
1212
1294
|
return __decorateServiceException(exception, body);
|
|
1213
1295
|
};
|
|
1296
|
+
const de_TemplateAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1297
|
+
const body = parsedOutput.body;
|
|
1298
|
+
const deserialized = _json(body);
|
|
1299
|
+
const exception = new TemplateAlreadyExistsException({
|
|
1300
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1301
|
+
...deserialized,
|
|
1302
|
+
});
|
|
1303
|
+
return __decorateServiceException(exception, body);
|
|
1304
|
+
};
|
|
1305
|
+
const de_TemplateNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1306
|
+
const body = parsedOutput.body;
|
|
1307
|
+
const deserialized = _json(body);
|
|
1308
|
+
const exception = new TemplateNotFoundException({
|
|
1309
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1310
|
+
...deserialized,
|
|
1311
|
+
});
|
|
1312
|
+
return __decorateServiceException(exception, body);
|
|
1313
|
+
};
|
|
1214
1314
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1215
1315
|
const body = parsedOutput.body;
|
|
1216
1316
|
const deserialized = _json(body);
|
|
@@ -1339,6 +1439,12 @@ const de_CreatePullThroughCacheRuleResponse = (output, context) => {
|
|
|
1339
1439
|
upstreamRegistryUrl: __expectString,
|
|
1340
1440
|
});
|
|
1341
1441
|
};
|
|
1442
|
+
const de_CreateRepositoryCreationTemplateResponse = (output, context) => {
|
|
1443
|
+
return take(output, {
|
|
1444
|
+
registryId: __expectString,
|
|
1445
|
+
repositoryCreationTemplate: (_) => de_RepositoryCreationTemplate(_, context),
|
|
1446
|
+
});
|
|
1447
|
+
};
|
|
1342
1448
|
const de_CreateRepositoryResponse = (output, context) => {
|
|
1343
1449
|
return take(output, {
|
|
1344
1450
|
repository: (_) => de_Repository(_, context),
|
|
@@ -1386,6 +1492,12 @@ const de_DeletePullThroughCacheRuleResponse = (output, context) => {
|
|
|
1386
1492
|
upstreamRegistryUrl: __expectString,
|
|
1387
1493
|
});
|
|
1388
1494
|
};
|
|
1495
|
+
const de_DeleteRepositoryCreationTemplateResponse = (output, context) => {
|
|
1496
|
+
return take(output, {
|
|
1497
|
+
registryId: __expectString,
|
|
1498
|
+
repositoryCreationTemplate: (_) => de_RepositoryCreationTemplate(_, context),
|
|
1499
|
+
});
|
|
1500
|
+
};
|
|
1389
1501
|
const de_DeleteRepositoryResponse = (output, context) => {
|
|
1390
1502
|
return take(output, {
|
|
1391
1503
|
repository: (_) => de_Repository(_, context),
|
|
@@ -1419,6 +1531,13 @@ const de_DescribeRepositoriesResponse = (output, context) => {
|
|
|
1419
1531
|
repositories: (_) => de_RepositoryList(_, context),
|
|
1420
1532
|
});
|
|
1421
1533
|
};
|
|
1534
|
+
const de_DescribeRepositoryCreationTemplatesResponse = (output, context) => {
|
|
1535
|
+
return take(output, {
|
|
1536
|
+
nextToken: __expectString,
|
|
1537
|
+
registryId: __expectString,
|
|
1538
|
+
repositoryCreationTemplates: (_) => de_RepositoryCreationTemplateList(_, context),
|
|
1539
|
+
});
|
|
1540
|
+
};
|
|
1422
1541
|
const de_EnhancedImageScanFinding = (output, context) => {
|
|
1423
1542
|
return take(output, {
|
|
1424
1543
|
awsAccountId: __expectString,
|
|
@@ -1571,6 +1690,29 @@ const de_Repository = (output, context) => {
|
|
|
1571
1690
|
repositoryUri: __expectString,
|
|
1572
1691
|
});
|
|
1573
1692
|
};
|
|
1693
|
+
const de_RepositoryCreationTemplate = (output, context) => {
|
|
1694
|
+
return take(output, {
|
|
1695
|
+
appliedFor: _json,
|
|
1696
|
+
createdAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1697
|
+
customRoleArn: __expectString,
|
|
1698
|
+
description: __expectString,
|
|
1699
|
+
encryptionConfiguration: _json,
|
|
1700
|
+
imageTagMutability: __expectString,
|
|
1701
|
+
lifecyclePolicy: __expectString,
|
|
1702
|
+
prefix: __expectString,
|
|
1703
|
+
repositoryPolicy: __expectString,
|
|
1704
|
+
resourceTags: _json,
|
|
1705
|
+
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1706
|
+
});
|
|
1707
|
+
};
|
|
1708
|
+
const de_RepositoryCreationTemplateList = (output, context) => {
|
|
1709
|
+
const retVal = (output || [])
|
|
1710
|
+
.filter((e) => e != null)
|
|
1711
|
+
.map((entry) => {
|
|
1712
|
+
return de_RepositoryCreationTemplate(entry, context);
|
|
1713
|
+
});
|
|
1714
|
+
return retVal;
|
|
1715
|
+
};
|
|
1574
1716
|
const de_RepositoryList = (output, context) => {
|
|
1575
1717
|
const retVal = (output || [])
|
|
1576
1718
|
.filter((e) => e != null)
|
|
@@ -1613,6 +1755,12 @@ const de_UpdatePullThroughCacheRuleResponse = (output, context) => {
|
|
|
1613
1755
|
updatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1614
1756
|
});
|
|
1615
1757
|
};
|
|
1758
|
+
const de_UpdateRepositoryCreationTemplateResponse = (output, context) => {
|
|
1759
|
+
return take(output, {
|
|
1760
|
+
registryId: __expectString,
|
|
1761
|
+
repositoryCreationTemplate: (_) => de_RepositoryCreationTemplate(_, context),
|
|
1762
|
+
});
|
|
1763
|
+
};
|
|
1616
1764
|
const deserializeMetadata = (output) => ({
|
|
1617
1765
|
httpStatusCode: output.statusCode,
|
|
1618
1766
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/dist-types/ECR.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepository
|
|
|
6
6
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
7
7
|
import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "./commands/CreatePullThroughCacheRuleCommand";
|
|
8
8
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
9
|
+
import { CreateRepositoryCreationTemplateCommandInput, CreateRepositoryCreationTemplateCommandOutput } from "./commands/CreateRepositoryCreationTemplateCommand";
|
|
9
10
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
10
11
|
import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "./commands/DeletePullThroughCacheRuleCommand";
|
|
11
12
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
12
13
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
14
|
+
import { DeleteRepositoryCreationTemplateCommandInput, DeleteRepositoryCreationTemplateCommandOutput } from "./commands/DeleteRepositoryCreationTemplateCommand";
|
|
13
15
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
14
16
|
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
15
17
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
@@ -17,6 +19,7 @@ import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./comma
|
|
|
17
19
|
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "./commands/DescribePullThroughCacheRulesCommand";
|
|
18
20
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
19
21
|
import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "./commands/DescribeRepositoriesCommand";
|
|
22
|
+
import { DescribeRepositoryCreationTemplatesCommandInput, DescribeRepositoryCreationTemplatesCommandOutput } from "./commands/DescribeRepositoryCreationTemplatesCommand";
|
|
20
23
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
21
24
|
import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput } from "./commands/GetDownloadUrlForLayerCommand";
|
|
22
25
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
@@ -40,6 +43,7 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
40
43
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
41
44
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
42
45
|
import { UpdatePullThroughCacheRuleCommandInput, UpdatePullThroughCacheRuleCommandOutput } from "./commands/UpdatePullThroughCacheRuleCommand";
|
|
46
|
+
import { UpdateRepositoryCreationTemplateCommandInput, UpdateRepositoryCreationTemplateCommandOutput } from "./commands/UpdateRepositoryCreationTemplateCommand";
|
|
43
47
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
44
48
|
import { ValidatePullThroughCacheRuleCommandInput, ValidatePullThroughCacheRuleCommandOutput } from "./commands/ValidatePullThroughCacheRuleCommand";
|
|
45
49
|
import { ECRClient } from "./ECRClient";
|
|
@@ -86,6 +90,12 @@ export interface ECR {
|
|
|
86
90
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
87
91
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
88
92
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
93
|
+
/**
|
|
94
|
+
* @see {@link CreateRepositoryCreationTemplateCommand}
|
|
95
|
+
*/
|
|
96
|
+
createRepositoryCreationTemplate(args: CreateRepositoryCreationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCreationTemplateCommandOutput>;
|
|
97
|
+
createRepositoryCreationTemplate(args: CreateRepositoryCreationTemplateCommandInput, cb: (err: any, data?: CreateRepositoryCreationTemplateCommandOutput) => void): void;
|
|
98
|
+
createRepositoryCreationTemplate(args: CreateRepositoryCreationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCreationTemplateCommandOutput) => void): void;
|
|
89
99
|
/**
|
|
90
100
|
* @see {@link DeleteLifecyclePolicyCommand}
|
|
91
101
|
*/
|
|
@@ -111,6 +121,12 @@ export interface ECR {
|
|
|
111
121
|
deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCommandOutput>;
|
|
112
122
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
113
123
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link DeleteRepositoryCreationTemplateCommand}
|
|
126
|
+
*/
|
|
127
|
+
deleteRepositoryCreationTemplate(args: DeleteRepositoryCreationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCreationTemplateCommandOutput>;
|
|
128
|
+
deleteRepositoryCreationTemplate(args: DeleteRepositoryCreationTemplateCommandInput, cb: (err: any, data?: DeleteRepositoryCreationTemplateCommandOutput) => void): void;
|
|
129
|
+
deleteRepositoryCreationTemplate(args: DeleteRepositoryCreationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCreationTemplateCommandOutput) => void): void;
|
|
114
130
|
/**
|
|
115
131
|
* @see {@link DeleteRepositoryPolicyCommand}
|
|
116
132
|
*/
|
|
@@ -156,6 +172,13 @@ export interface ECR {
|
|
|
156
172
|
describeRepositories(args: DescribeRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoriesCommandOutput>;
|
|
157
173
|
describeRepositories(args: DescribeRepositoriesCommandInput, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
158
174
|
describeRepositories(args: DescribeRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoriesCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link DescribeRepositoryCreationTemplatesCommand}
|
|
177
|
+
*/
|
|
178
|
+
describeRepositoryCreationTemplates(): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
179
|
+
describeRepositoryCreationTemplates(args: DescribeRepositoryCreationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
180
|
+
describeRepositoryCreationTemplates(args: DescribeRepositoryCreationTemplatesCommandInput, cb: (err: any, data?: DescribeRepositoryCreationTemplatesCommandOutput) => void): void;
|
|
181
|
+
describeRepositoryCreationTemplates(args: DescribeRepositoryCreationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoryCreationTemplatesCommandOutput) => void): void;
|
|
159
182
|
/**
|
|
160
183
|
* @see {@link GetAuthorizationTokenCommand}
|
|
161
184
|
*/
|
|
@@ -298,6 +321,12 @@ export interface ECR {
|
|
|
298
321
|
updatePullThroughCacheRule(args: UpdatePullThroughCacheRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullThroughCacheRuleCommandOutput>;
|
|
299
322
|
updatePullThroughCacheRule(args: UpdatePullThroughCacheRuleCommandInput, cb: (err: any, data?: UpdatePullThroughCacheRuleCommandOutput) => void): void;
|
|
300
323
|
updatePullThroughCacheRule(args: UpdatePullThroughCacheRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullThroughCacheRuleCommandOutput) => void): void;
|
|
324
|
+
/**
|
|
325
|
+
* @see {@link UpdateRepositoryCreationTemplateCommand}
|
|
326
|
+
*/
|
|
327
|
+
updateRepositoryCreationTemplate(args: UpdateRepositoryCreationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryCreationTemplateCommandOutput>;
|
|
328
|
+
updateRepositoryCreationTemplate(args: UpdateRepositoryCreationTemplateCommandInput, cb: (err: any, data?: UpdateRepositoryCreationTemplateCommandOutput) => void): void;
|
|
329
|
+
updateRepositoryCreationTemplate(args: UpdateRepositoryCreationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryCreationTemplateCommandOutput) => void): void;
|
|
301
330
|
/**
|
|
302
331
|
* @see {@link UploadLayerPartCommand}
|
|
303
332
|
*/
|
|
@@ -14,10 +14,12 @@ import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepository
|
|
|
14
14
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "./commands/CompleteLayerUploadCommand";
|
|
15
15
|
import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "./commands/CreatePullThroughCacheRuleCommand";
|
|
16
16
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "./commands/CreateRepositoryCommand";
|
|
17
|
+
import { CreateRepositoryCreationTemplateCommandInput, CreateRepositoryCreationTemplateCommandOutput } from "./commands/CreateRepositoryCreationTemplateCommand";
|
|
17
18
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "./commands/DeleteLifecyclePolicyCommand";
|
|
18
19
|
import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "./commands/DeletePullThroughCacheRuleCommand";
|
|
19
20
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "./commands/DeleteRegistryPolicyCommand";
|
|
20
21
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "./commands/DeleteRepositoryCommand";
|
|
22
|
+
import { DeleteRepositoryCreationTemplateCommandInput, DeleteRepositoryCreationTemplateCommandOutput } from "./commands/DeleteRepositoryCreationTemplateCommand";
|
|
21
23
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "./commands/DeleteRepositoryPolicyCommand";
|
|
22
24
|
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "./commands/DescribeImageReplicationStatusCommand";
|
|
23
25
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "./commands/DescribeImageScanFindingsCommand";
|
|
@@ -25,6 +27,7 @@ import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "./comma
|
|
|
25
27
|
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "./commands/DescribePullThroughCacheRulesCommand";
|
|
26
28
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "./commands/DescribeRegistryCommand";
|
|
27
29
|
import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "./commands/DescribeRepositoriesCommand";
|
|
30
|
+
import { DescribeRepositoryCreationTemplatesCommandInput, DescribeRepositoryCreationTemplatesCommandOutput } from "./commands/DescribeRepositoryCreationTemplatesCommand";
|
|
28
31
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "./commands/GetAuthorizationTokenCommand";
|
|
29
32
|
import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput } from "./commands/GetDownloadUrlForLayerCommand";
|
|
30
33
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
@@ -48,6 +51,7 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
48
51
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
52
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
53
|
import { UpdatePullThroughCacheRuleCommandInput, UpdatePullThroughCacheRuleCommandOutput } from "./commands/UpdatePullThroughCacheRuleCommand";
|
|
54
|
+
import { UpdateRepositoryCreationTemplateCommandInput, UpdateRepositoryCreationTemplateCommandOutput } from "./commands/UpdateRepositoryCreationTemplateCommand";
|
|
51
55
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "./commands/UploadLayerPartCommand";
|
|
52
56
|
import { ValidatePullThroughCacheRuleCommandInput, ValidatePullThroughCacheRuleCommandOutput } from "./commands/ValidatePullThroughCacheRuleCommand";
|
|
53
57
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -56,11 +60,11 @@ export { __Client };
|
|
|
56
60
|
/**
|
|
57
61
|
* @public
|
|
58
62
|
*/
|
|
59
|
-
export type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | BatchGetRepositoryScanningConfigurationCommandInput | CompleteLayerUploadCommandInput | CreatePullThroughCacheRuleCommandInput | CreateRepositoryCommandInput | DeleteLifecyclePolicyCommandInput | DeletePullThroughCacheRuleCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribePullThroughCacheRulesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRegistryScanningConfigurationCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutRegistryScanningConfigurationCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePullThroughCacheRuleCommandInput | UploadLayerPartCommandInput | ValidatePullThroughCacheRuleCommandInput;
|
|
63
|
+
export type ServiceInputTypes = BatchCheckLayerAvailabilityCommandInput | BatchDeleteImageCommandInput | BatchGetImageCommandInput | BatchGetRepositoryScanningConfigurationCommandInput | CompleteLayerUploadCommandInput | CreatePullThroughCacheRuleCommandInput | CreateRepositoryCommandInput | CreateRepositoryCreationTemplateCommandInput | DeleteLifecyclePolicyCommandInput | DeletePullThroughCacheRuleCommandInput | DeleteRegistryPolicyCommandInput | DeleteRepositoryCommandInput | DeleteRepositoryCreationTemplateCommandInput | DeleteRepositoryPolicyCommandInput | DescribeImageReplicationStatusCommandInput | DescribeImageScanFindingsCommandInput | DescribeImagesCommandInput | DescribePullThroughCacheRulesCommandInput | DescribeRegistryCommandInput | DescribeRepositoriesCommandInput | DescribeRepositoryCreationTemplatesCommandInput | GetAuthorizationTokenCommandInput | GetDownloadUrlForLayerCommandInput | GetLifecyclePolicyCommandInput | GetLifecyclePolicyPreviewCommandInput | GetRegistryPolicyCommandInput | GetRegistryScanningConfigurationCommandInput | GetRepositoryPolicyCommandInput | InitiateLayerUploadCommandInput | ListImagesCommandInput | ListTagsForResourceCommandInput | PutImageCommandInput | PutImageScanningConfigurationCommandInput | PutImageTagMutabilityCommandInput | PutLifecyclePolicyCommandInput | PutRegistryPolicyCommandInput | PutRegistryScanningConfigurationCommandInput | PutReplicationConfigurationCommandInput | SetRepositoryPolicyCommandInput | StartImageScanCommandInput | StartLifecyclePolicyPreviewCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePullThroughCacheRuleCommandInput | UpdateRepositoryCreationTemplateCommandInput | UploadLayerPartCommandInput | ValidatePullThroughCacheRuleCommandInput;
|
|
60
64
|
/**
|
|
61
65
|
* @public
|
|
62
66
|
*/
|
|
63
|
-
export type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | BatchGetRepositoryScanningConfigurationCommandOutput | CompleteLayerUploadCommandOutput | CreatePullThroughCacheRuleCommandOutput | CreateRepositoryCommandOutput | DeleteLifecyclePolicyCommandOutput | DeletePullThroughCacheRuleCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribePullThroughCacheRulesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRegistryScanningConfigurationCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutRegistryScanningConfigurationCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePullThroughCacheRuleCommandOutput | UploadLayerPartCommandOutput | ValidatePullThroughCacheRuleCommandOutput;
|
|
67
|
+
export type ServiceOutputTypes = BatchCheckLayerAvailabilityCommandOutput | BatchDeleteImageCommandOutput | BatchGetImageCommandOutput | BatchGetRepositoryScanningConfigurationCommandOutput | CompleteLayerUploadCommandOutput | CreatePullThroughCacheRuleCommandOutput | CreateRepositoryCommandOutput | CreateRepositoryCreationTemplateCommandOutput | DeleteLifecyclePolicyCommandOutput | DeletePullThroughCacheRuleCommandOutput | DeleteRegistryPolicyCommandOutput | DeleteRepositoryCommandOutput | DeleteRepositoryCreationTemplateCommandOutput | DeleteRepositoryPolicyCommandOutput | DescribeImageReplicationStatusCommandOutput | DescribeImageScanFindingsCommandOutput | DescribeImagesCommandOutput | DescribePullThroughCacheRulesCommandOutput | DescribeRegistryCommandOutput | DescribeRepositoriesCommandOutput | DescribeRepositoryCreationTemplatesCommandOutput | GetAuthorizationTokenCommandOutput | GetDownloadUrlForLayerCommandOutput | GetLifecyclePolicyCommandOutput | GetLifecyclePolicyPreviewCommandOutput | GetRegistryPolicyCommandOutput | GetRegistryScanningConfigurationCommandOutput | GetRepositoryPolicyCommandOutput | InitiateLayerUploadCommandOutput | ListImagesCommandOutput | ListTagsForResourceCommandOutput | PutImageCommandOutput | PutImageScanningConfigurationCommandOutput | PutImageTagMutabilityCommandOutput | PutLifecyclePolicyCommandOutput | PutRegistryPolicyCommandOutput | PutRegistryScanningConfigurationCommandOutput | PutReplicationConfigurationCommandOutput | SetRepositoryPolicyCommandOutput | StartImageScanCommandOutput | StartLifecyclePolicyPreviewCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePullThroughCacheRuleCommandOutput | UpdateRepositoryCreationTemplateCommandOutput | UploadLayerPartCommandOutput | ValidatePullThroughCacheRuleCommandOutput;
|
|
64
68
|
/**
|
|
65
69
|
* @public
|
|
66
70
|
*/
|