@aws-sdk/client-ecr 3.848.0 → 3.851.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +10 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +14 -2
- package/dist-types/commands/CreateRepositoryCreationTemplateCommand.d.ts +14 -2
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +7 -1
- package/dist-types/commands/DeleteRepositoryCreationTemplateCommand.d.ts +7 -1
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +7 -1
- package/dist-types/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +7 -1
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +14 -2
- package/dist-types/commands/UpdateRepositoryCreationTemplateCommand.d.ts +14 -2
- package/dist-types/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -63,6 +63,7 @@ __export(index_exports, {
|
|
|
63
63
|
ImageNotFoundException: () => ImageNotFoundException,
|
|
64
64
|
ImageTagAlreadyExistsException: () => ImageTagAlreadyExistsException,
|
|
65
65
|
ImageTagMutability: () => ImageTagMutability,
|
|
66
|
+
ImageTagMutabilityExclusionFilterType: () => ImageTagMutabilityExclusionFilterType,
|
|
66
67
|
InitiateLayerUploadCommand: () => InitiateLayerUploadCommand,
|
|
67
68
|
InvalidLayerException: () => InvalidLayerException,
|
|
68
69
|
InvalidLayerPartException: () => InvalidLayerPartException,
|
|
@@ -676,7 +677,12 @@ var EncryptionType = {
|
|
|
676
677
|
};
|
|
677
678
|
var ImageTagMutability = {
|
|
678
679
|
IMMUTABLE: "IMMUTABLE",
|
|
679
|
-
|
|
680
|
+
IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION",
|
|
681
|
+
MUTABLE: "MUTABLE",
|
|
682
|
+
MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION"
|
|
683
|
+
};
|
|
684
|
+
var ImageTagMutabilityExclusionFilterType = {
|
|
685
|
+
WILDCARD: "WILDCARD"
|
|
680
686
|
};
|
|
681
687
|
var InvalidTagParameterException = class _InvalidTagParameterException extends ECRServiceException {
|
|
682
688
|
static {
|
|
@@ -2885,6 +2891,7 @@ var de_Repository = /* @__PURE__ */ __name((output, context) => {
|
|
|
2885
2891
|
encryptionConfiguration: import_smithy_client._json,
|
|
2886
2892
|
imageScanningConfiguration: import_smithy_client._json,
|
|
2887
2893
|
imageTagMutability: import_smithy_client.expectString,
|
|
2894
|
+
imageTagMutabilityExclusionFilters: import_smithy_client._json,
|
|
2888
2895
|
registryId: import_smithy_client.expectString,
|
|
2889
2896
|
repositoryArn: import_smithy_client.expectString,
|
|
2890
2897
|
repositoryName: import_smithy_client.expectString,
|
|
@@ -2899,6 +2906,7 @@ var de_RepositoryCreationTemplate = /* @__PURE__ */ __name((output, context) =>
|
|
|
2899
2906
|
description: import_smithy_client.expectString,
|
|
2900
2907
|
encryptionConfiguration: import_smithy_client._json,
|
|
2901
2908
|
imageTagMutability: import_smithy_client.expectString,
|
|
2909
|
+
imageTagMutabilityExclusionFilters: import_smithy_client._json,
|
|
2902
2910
|
lifecyclePolicy: import_smithy_client.expectString,
|
|
2903
2911
|
prefix: import_smithy_client.expectString,
|
|
2904
2912
|
repositoryPolicy: import_smithy_client.expectString,
|
|
@@ -3983,6 +3991,7 @@ var waitUntilLifecyclePolicyPreviewComplete = /* @__PURE__ */ __name(async (para
|
|
|
3983
3991
|
UnsupportedUpstreamRegistryException,
|
|
3984
3992
|
EncryptionType,
|
|
3985
3993
|
ImageTagMutability,
|
|
3994
|
+
ImageTagMutabilityExclusionFilterType,
|
|
3986
3995
|
InvalidTagParameterException,
|
|
3987
3996
|
RepositoryAlreadyExistsException,
|
|
3988
3997
|
TooManyTagsException,
|
|
@@ -253,7 +253,12 @@ export const EncryptionType = {
|
|
|
253
253
|
};
|
|
254
254
|
export const ImageTagMutability = {
|
|
255
255
|
IMMUTABLE: "IMMUTABLE",
|
|
256
|
+
IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION",
|
|
256
257
|
MUTABLE: "MUTABLE",
|
|
258
|
+
MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION",
|
|
259
|
+
};
|
|
260
|
+
export const ImageTagMutabilityExclusionFilterType = {
|
|
261
|
+
WILDCARD: "WILDCARD",
|
|
257
262
|
};
|
|
258
263
|
export class InvalidTagParameterException extends __BaseException {
|
|
259
264
|
name = "InvalidTagParameterException";
|
|
@@ -1732,6 +1732,7 @@ const de_Repository = (output, context) => {
|
|
|
1732
1732
|
encryptionConfiguration: _json,
|
|
1733
1733
|
imageScanningConfiguration: _json,
|
|
1734
1734
|
imageTagMutability: __expectString,
|
|
1735
|
+
imageTagMutabilityExclusionFilters: _json,
|
|
1735
1736
|
registryId: __expectString,
|
|
1736
1737
|
repositoryArn: __expectString,
|
|
1737
1738
|
repositoryName: __expectString,
|
|
@@ -1746,6 +1747,7 @@ const de_RepositoryCreationTemplate = (output, context) => {
|
|
|
1746
1747
|
description: __expectString,
|
|
1747
1748
|
encryptionConfiguration: _json,
|
|
1748
1749
|
imageTagMutability: __expectString,
|
|
1750
|
+
imageTagMutabilityExclusionFilters: _json,
|
|
1749
1751
|
lifecyclePolicy: __expectString,
|
|
1750
1752
|
prefix: __expectString,
|
|
1751
1753
|
repositoryPolicy: __expectString,
|
|
@@ -44,7 +44,13 @@ declare const CreateRepositoryCommand_base: {
|
|
|
44
44
|
* Value: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
47
|
+
* imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
48
|
+
* imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
49
|
+
* { // ImageTagMutabilityExclusionFilter
|
|
50
|
+
* filterType: "WILDCARD", // required
|
|
51
|
+
* filter: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
48
54
|
* imageScanningConfiguration: { // ImageScanningConfiguration
|
|
49
55
|
* scanOnPush: true || false,
|
|
50
56
|
* },
|
|
@@ -62,7 +68,13 @@ declare const CreateRepositoryCommand_base: {
|
|
|
62
68
|
* // repositoryName: "STRING_VALUE",
|
|
63
69
|
* // repositoryUri: "STRING_VALUE",
|
|
64
70
|
* // createdAt: new Date("TIMESTAMP"),
|
|
65
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
71
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
72
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
73
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
74
|
+
* // filterType: "WILDCARD", // required
|
|
75
|
+
* // filter: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
66
78
|
* // imageScanningConfiguration: { // ImageScanningConfiguration
|
|
67
79
|
* // scanOnPush: true || false,
|
|
68
80
|
* // },
|
|
@@ -51,7 +51,13 @@ declare const CreateRepositoryCreationTemplateCommand_base: {
|
|
|
51
51
|
* Value: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
53
|
* ],
|
|
54
|
-
* imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
54
|
+
* imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
55
|
+
* imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
56
|
+
* { // ImageTagMutabilityExclusionFilter
|
|
57
|
+
* filterType: "WILDCARD", // required
|
|
58
|
+
* filter: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
55
61
|
* repositoryPolicy: "STRING_VALUE",
|
|
56
62
|
* lifecyclePolicy: "STRING_VALUE",
|
|
57
63
|
* appliedFor: [ // RCTAppliedForList // required
|
|
@@ -76,7 +82,13 @@ declare const CreateRepositoryCreationTemplateCommand_base: {
|
|
|
76
82
|
* // Value: "STRING_VALUE", // required
|
|
77
83
|
* // },
|
|
78
84
|
* // ],
|
|
79
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
85
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
86
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
87
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
88
|
+
* // filterType: "WILDCARD", // required
|
|
89
|
+
* // filter: "STRING_VALUE", // required
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
80
92
|
* // repositoryPolicy: "STRING_VALUE",
|
|
81
93
|
* // lifecyclePolicy: "STRING_VALUE",
|
|
82
94
|
* // appliedFor: [ // RCTAppliedForList
|
|
@@ -50,7 +50,13 @@ declare const DeleteRepositoryCommand_base: {
|
|
|
50
50
|
* // repositoryName: "STRING_VALUE",
|
|
51
51
|
* // repositoryUri: "STRING_VALUE",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
53
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
54
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
55
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
56
|
+
* // filterType: "WILDCARD", // required
|
|
57
|
+
* // filter: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
54
60
|
* // imageScanningConfiguration: { // ImageScanningConfiguration
|
|
55
61
|
* // scanOnPush: true || false,
|
|
56
62
|
* // },
|
|
@@ -54,7 +54,13 @@ declare const DeleteRepositoryCreationTemplateCommand_base: {
|
|
|
54
54
|
* // Value: "STRING_VALUE", // required
|
|
55
55
|
* // },
|
|
56
56
|
* // ],
|
|
57
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
57
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
58
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
59
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
60
|
+
* // filterType: "WILDCARD", // required
|
|
61
|
+
* // filter: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
58
64
|
* // repositoryPolicy: "STRING_VALUE",
|
|
59
65
|
* // lifecyclePolicy: "STRING_VALUE",
|
|
60
66
|
* // appliedFor: [ // RCTAppliedForList
|
|
@@ -52,7 +52,13 @@ declare const DescribeRepositoriesCommand_base: {
|
|
|
52
52
|
* // repositoryName: "STRING_VALUE",
|
|
53
53
|
* // repositoryUri: "STRING_VALUE",
|
|
54
54
|
* // createdAt: new Date("TIMESTAMP"),
|
|
55
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
55
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
56
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
57
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
58
|
+
* // filterType: "WILDCARD", // required
|
|
59
|
+
* // filter: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
56
62
|
* // imageScanningConfiguration: { // ImageScanningConfiguration
|
|
57
63
|
* // scanOnPush: true || false,
|
|
58
64
|
* // },
|
|
@@ -61,7 +61,13 @@ declare const DescribeRepositoryCreationTemplatesCommand_base: {
|
|
|
61
61
|
* // Value: "STRING_VALUE", // required
|
|
62
62
|
* // },
|
|
63
63
|
* // ],
|
|
64
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
64
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
65
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
66
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
67
|
+
* // filterType: "WILDCARD", // required
|
|
68
|
+
* // filter: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
65
71
|
* // repositoryPolicy: "STRING_VALUE",
|
|
66
72
|
* // lifecyclePolicy: "STRING_VALUE",
|
|
67
73
|
* // appliedFor: [ // RCTAppliedForList
|
|
@@ -39,14 +39,26 @@ declare const PutImageTagMutabilityCommand_base: {
|
|
|
39
39
|
* const input = { // PutImageTagMutabilityRequest
|
|
40
40
|
* registryId: "STRING_VALUE",
|
|
41
41
|
* repositoryName: "STRING_VALUE", // required
|
|
42
|
-
* imageTagMutability: "MUTABLE" || "IMMUTABLE", // required
|
|
42
|
+
* imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION", // required
|
|
43
|
+
* imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
44
|
+
* { // ImageTagMutabilityExclusionFilter
|
|
45
|
+
* filterType: "WILDCARD", // required
|
|
46
|
+
* filter: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
43
49
|
* };
|
|
44
50
|
* const command = new PutImageTagMutabilityCommand(input);
|
|
45
51
|
* const response = await client.send(command);
|
|
46
52
|
* // { // PutImageTagMutabilityResponse
|
|
47
53
|
* // registryId: "STRING_VALUE",
|
|
48
54
|
* // repositoryName: "STRING_VALUE",
|
|
49
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
55
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
56
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
57
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
58
|
+
* // filterType: "WILDCARD", // required
|
|
59
|
+
* // filter: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
50
62
|
* // };
|
|
51
63
|
*
|
|
52
64
|
* ```
|
|
@@ -47,7 +47,13 @@ declare const UpdateRepositoryCreationTemplateCommand_base: {
|
|
|
47
47
|
* Value: "STRING_VALUE", // required
|
|
48
48
|
* },
|
|
49
49
|
* ],
|
|
50
|
-
* imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
50
|
+
* imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
51
|
+
* imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
52
|
+
* { // ImageTagMutabilityExclusionFilter
|
|
53
|
+
* filterType: "WILDCARD", // required
|
|
54
|
+
* filter: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
51
57
|
* repositoryPolicy: "STRING_VALUE",
|
|
52
58
|
* lifecyclePolicy: "STRING_VALUE",
|
|
53
59
|
* appliedFor: [ // RCTAppliedForList
|
|
@@ -72,7 +78,13 @@ declare const UpdateRepositoryCreationTemplateCommand_base: {
|
|
|
72
78
|
* // Value: "STRING_VALUE", // required
|
|
73
79
|
* // },
|
|
74
80
|
* // ],
|
|
75
|
-
* // imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
81
|
+
* // imageTagMutability: "MUTABLE" || "IMMUTABLE" || "IMMUTABLE_WITH_EXCLUSION" || "MUTABLE_WITH_EXCLUSION",
|
|
82
|
+
* // imageTagMutabilityExclusionFilters: [ // ImageTagMutabilityExclusionFilters
|
|
83
|
+
* // { // ImageTagMutabilityExclusionFilter
|
|
84
|
+
* // filterType: "WILDCARD", // required
|
|
85
|
+
* // filter: "STRING_VALUE", // required
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
76
88
|
* // repositoryPolicy: "STRING_VALUE",
|
|
77
89
|
* // lifecyclePolicy: "STRING_VALUE",
|
|
78
90
|
* // appliedFor: [ // RCTAppliedForList
|
|
@@ -921,12 +921,41 @@ export interface ImageScanningConfiguration {
|
|
|
921
921
|
*/
|
|
922
922
|
export declare const ImageTagMutability: {
|
|
923
923
|
readonly IMMUTABLE: "IMMUTABLE";
|
|
924
|
+
readonly IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION";
|
|
924
925
|
readonly MUTABLE: "MUTABLE";
|
|
926
|
+
readonly MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION";
|
|
925
927
|
};
|
|
926
928
|
/**
|
|
927
929
|
* @public
|
|
928
930
|
*/
|
|
929
931
|
export type ImageTagMutability = (typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
932
|
+
/**
|
|
933
|
+
* @public
|
|
934
|
+
* @enum
|
|
935
|
+
*/
|
|
936
|
+
export declare const ImageTagMutabilityExclusionFilterType: {
|
|
937
|
+
readonly WILDCARD: "WILDCARD";
|
|
938
|
+
};
|
|
939
|
+
/**
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
export type ImageTagMutabilityExclusionFilterType = (typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
|
|
943
|
+
/**
|
|
944
|
+
* <p>Overrides the default image tag mutability setting of the repository for image tags that match the specified filters.</p>
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
export interface ImageTagMutabilityExclusionFilter {
|
|
948
|
+
/**
|
|
949
|
+
* <p>Specifies the type of filter to use for excluding image tags from the repository's mutability setting.</p>
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
filterType: ImageTagMutabilityExclusionFilterType | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* <p>The value to use when filtering image tags. Must be either a regular expression pattern or a tag prefix value based on the specified filter type.</p>
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
filter: string | undefined;
|
|
958
|
+
}
|
|
930
959
|
/**
|
|
931
960
|
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
932
961
|
* consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
@@ -981,6 +1010,11 @@ export interface CreateRepositoryRequest {
|
|
|
981
1010
|
* @public
|
|
982
1011
|
*/
|
|
983
1012
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* <p>Creates a repository with a list of filters that define which image tags can override the default image tag mutability setting.</p>
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
984
1018
|
/**
|
|
985
1019
|
* <p>The image scanning configuration for the repository. This determines whether images
|
|
986
1020
|
* are scanned for known vulnerabilities after being pushed to the repository.</p>
|
|
@@ -1032,6 +1066,11 @@ export interface Repository {
|
|
|
1032
1066
|
* @public
|
|
1033
1067
|
*/
|
|
1034
1068
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting.</p>
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
1035
1074
|
/**
|
|
1036
1075
|
* <p>The image scanning configuration for a repository.</p>
|
|
1037
1076
|
* @public
|
|
@@ -1184,6 +1223,11 @@ export interface CreateRepositoryCreationTemplateRequest {
|
|
|
1184
1223
|
* @public
|
|
1185
1224
|
*/
|
|
1186
1225
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1226
|
+
/**
|
|
1227
|
+
* <p>Creates a repository creation template with a list of filters that define which image tags can override the default image tag mutability setting.</p>
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
1187
1231
|
/**
|
|
1188
1232
|
* <p>The repository policy to apply to repositories created using the template. A
|
|
1189
1233
|
* repository policy is a permissions policy associated with a repository to control access
|
|
@@ -1249,6 +1293,11 @@ export interface RepositoryCreationTemplate {
|
|
|
1249
1293
|
* @public
|
|
1250
1294
|
*/
|
|
1251
1295
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1296
|
+
/**
|
|
1297
|
+
* <p>Defines the image tag mutability exclusion filters to apply when creating repositories from this template. These filters specify which image tags can override the repository's default image tag mutability setting.</p>
|
|
1298
|
+
* @public
|
|
1299
|
+
*/
|
|
1300
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
1252
1301
|
/**
|
|
1253
1302
|
* <p>The repository policy to apply to repositories created using the template. A
|
|
1254
1303
|
* repository policy is a permissions policy associated with a repository to control access
|
|
@@ -3746,6 +3795,11 @@ export interface PutImageTagMutabilityRequest {
|
|
|
3746
3795
|
* @public
|
|
3747
3796
|
*/
|
|
3748
3797
|
imageTagMutability: ImageTagMutability | undefined;
|
|
3798
|
+
/**
|
|
3799
|
+
* <p>Creates or updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>
|
|
3800
|
+
* @public
|
|
3801
|
+
*/
|
|
3802
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
3749
3803
|
}
|
|
3750
3804
|
/**
|
|
3751
3805
|
* @public
|
|
@@ -3766,6 +3820,11 @@ export interface PutImageTagMutabilityResponse {
|
|
|
3766
3820
|
* @public
|
|
3767
3821
|
*/
|
|
3768
3822
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
3823
|
+
/**
|
|
3824
|
+
* <p>Returns a list of filters that were defined for a repository. These filters determine which image tags can override the default image tag mutability setting of the repository.</p>
|
|
3825
|
+
* @public
|
|
3826
|
+
*/
|
|
3827
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
3769
3828
|
}
|
|
3770
3829
|
/**
|
|
3771
3830
|
* @public
|
|
@@ -4211,6 +4270,11 @@ export interface UpdateRepositoryCreationTemplateRequest {
|
|
|
4211
4270
|
* @public
|
|
4212
4271
|
*/
|
|
4213
4272
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
4273
|
+
/**
|
|
4274
|
+
* <p>Updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>
|
|
4275
|
+
* @public
|
|
4276
|
+
*/
|
|
4277
|
+
imageTagMutabilityExclusionFilters?: ImageTagMutabilityExclusionFilter[] | undefined;
|
|
4214
4278
|
/**
|
|
4215
4279
|
* <p>Updates the repository policy created using the template. A repository policy is a
|
|
4216
4280
|
* permissions policy associated with a repository to control access permissions. </p>
|
|
@@ -307,10 +307,21 @@ export interface ImageScanningConfiguration {
|
|
|
307
307
|
}
|
|
308
308
|
export declare const ImageTagMutability: {
|
|
309
309
|
readonly IMMUTABLE: "IMMUTABLE";
|
|
310
|
+
readonly IMMUTABLE_WITH_EXCLUSION: "IMMUTABLE_WITH_EXCLUSION";
|
|
310
311
|
readonly MUTABLE: "MUTABLE";
|
|
312
|
+
readonly MUTABLE_WITH_EXCLUSION: "MUTABLE_WITH_EXCLUSION";
|
|
311
313
|
};
|
|
312
314
|
export type ImageTagMutability =
|
|
313
315
|
(typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
316
|
+
export declare const ImageTagMutabilityExclusionFilterType: {
|
|
317
|
+
readonly WILDCARD: "WILDCARD";
|
|
318
|
+
};
|
|
319
|
+
export type ImageTagMutabilityExclusionFilterType =
|
|
320
|
+
(typeof ImageTagMutabilityExclusionFilterType)[keyof typeof ImageTagMutabilityExclusionFilterType];
|
|
321
|
+
export interface ImageTagMutabilityExclusionFilter {
|
|
322
|
+
filterType: ImageTagMutabilityExclusionFilterType | undefined;
|
|
323
|
+
filter: string | undefined;
|
|
324
|
+
}
|
|
314
325
|
export interface Tag {
|
|
315
326
|
Key: string | undefined;
|
|
316
327
|
Value: string | undefined;
|
|
@@ -320,6 +331,9 @@ export interface CreateRepositoryRequest {
|
|
|
320
331
|
repositoryName: string | undefined;
|
|
321
332
|
tags?: Tag[] | undefined;
|
|
322
333
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
334
|
+
imageTagMutabilityExclusionFilters?:
|
|
335
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
336
|
+
| undefined;
|
|
323
337
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
324
338
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
325
339
|
}
|
|
@@ -330,6 +344,9 @@ export interface Repository {
|
|
|
330
344
|
repositoryUri?: string | undefined;
|
|
331
345
|
createdAt?: Date | undefined;
|
|
332
346
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
347
|
+
imageTagMutabilityExclusionFilters?:
|
|
348
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
349
|
+
| undefined;
|
|
333
350
|
imageScanningConfiguration?: ImageScanningConfiguration | undefined;
|
|
334
351
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
335
352
|
}
|
|
@@ -377,6 +394,9 @@ export interface CreateRepositoryCreationTemplateRequest {
|
|
|
377
394
|
| undefined;
|
|
378
395
|
resourceTags?: Tag[] | undefined;
|
|
379
396
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
397
|
+
imageTagMutabilityExclusionFilters?:
|
|
398
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
399
|
+
| undefined;
|
|
380
400
|
repositoryPolicy?: string | undefined;
|
|
381
401
|
lifecyclePolicy?: string | undefined;
|
|
382
402
|
appliedFor: RCTAppliedFor[] | undefined;
|
|
@@ -390,6 +410,9 @@ export interface RepositoryCreationTemplate {
|
|
|
390
410
|
| undefined;
|
|
391
411
|
resourceTags?: Tag[] | undefined;
|
|
392
412
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
413
|
+
imageTagMutabilityExclusionFilters?:
|
|
414
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
415
|
+
| undefined;
|
|
393
416
|
repositoryPolicy?: string | undefined;
|
|
394
417
|
lifecyclePolicy?: string | undefined;
|
|
395
418
|
appliedFor?: RCTAppliedFor[] | undefined;
|
|
@@ -1049,11 +1072,17 @@ export interface PutImageTagMutabilityRequest {
|
|
|
1049
1072
|
registryId?: string | undefined;
|
|
1050
1073
|
repositoryName: string | undefined;
|
|
1051
1074
|
imageTagMutability: ImageTagMutability | undefined;
|
|
1075
|
+
imageTagMutabilityExclusionFilters?:
|
|
1076
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
1077
|
+
| undefined;
|
|
1052
1078
|
}
|
|
1053
1079
|
export interface PutImageTagMutabilityResponse {
|
|
1054
1080
|
registryId?: string | undefined;
|
|
1055
1081
|
repositoryName?: string | undefined;
|
|
1056
1082
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1083
|
+
imageTagMutabilityExclusionFilters?:
|
|
1084
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
1085
|
+
| undefined;
|
|
1057
1086
|
}
|
|
1058
1087
|
export interface PutLifecyclePolicyRequest {
|
|
1059
1088
|
registryId?: string | undefined;
|
|
@@ -1167,6 +1196,9 @@ export interface UpdateRepositoryCreationTemplateRequest {
|
|
|
1167
1196
|
| undefined;
|
|
1168
1197
|
resourceTags?: Tag[] | undefined;
|
|
1169
1198
|
imageTagMutability?: ImageTagMutability | undefined;
|
|
1199
|
+
imageTagMutabilityExclusionFilters?:
|
|
1200
|
+
| ImageTagMutabilityExclusionFilter[]
|
|
1201
|
+
| undefined;
|
|
1170
1202
|
repositoryPolicy?: string | undefined;
|
|
1171
1203
|
lifecyclePolicy?: string | undefined;
|
|
1172
1204
|
appliedFor?: RCTAppliedFor[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.851.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecr",
|