@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
|
@@ -683,11 +683,6 @@ export interface CreatePullThroughCacheRuleRequest {
|
|
|
683
683
|
* <code><custom>.azurecr.io</code>
|
|
684
684
|
* </p>
|
|
685
685
|
* </li>
|
|
686
|
-
* <li>
|
|
687
|
-
* <p>GitLab Container Registry (<code>gitlab-container-registry</code>) -
|
|
688
|
-
* <code>registry.gitlab.com</code>
|
|
689
|
-
* </p>
|
|
690
|
-
* </li>
|
|
691
686
|
* </ul>
|
|
692
687
|
* @public
|
|
693
688
|
*/
|
|
@@ -828,7 +823,7 @@ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType
|
|
|
828
823
|
* your repository are encrypted at rest.</p>
|
|
829
824
|
* <p>By default, when no encryption configuration is set or the <code>AES256</code>
|
|
830
825
|
* encryption type is used, Amazon ECR uses server-side encryption with Amazon S3-managed encryption
|
|
831
|
-
* keys which encrypts your data at rest using an
|
|
826
|
+
* keys which encrypts your data at rest using an AES256 encryption algorithm. This does
|
|
832
827
|
* not require any action on your part.</p>
|
|
833
828
|
* <p>For more control over the encryption of the contents of your repository, you can use
|
|
834
829
|
* server-side encryption with Key Management Service key stored in Key Management Service (KMS) to encrypt your
|
|
@@ -848,7 +843,7 @@ export interface EncryptionConfiguration {
|
|
|
848
843
|
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
849
844
|
* <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
|
|
850
845
|
* with Amazon S3-managed encryption keys which encrypts the images in the repository using an
|
|
851
|
-
*
|
|
846
|
+
* AES256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
852
847
|
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
853
848
|
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
854
849
|
* @public
|
|
@@ -1054,6 +1049,226 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
1054
1049
|
*/
|
|
1055
1050
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1056
1051
|
}
|
|
1052
|
+
/**
|
|
1053
|
+
* @public
|
|
1054
|
+
* @enum
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const RCTAppliedFor: {
|
|
1057
|
+
readonly PULL_THROUGH_CACHE: "PULL_THROUGH_CACHE";
|
|
1058
|
+
readonly REPLICATION: "REPLICATION";
|
|
1059
|
+
};
|
|
1060
|
+
/**
|
|
1061
|
+
* @public
|
|
1062
|
+
*/
|
|
1063
|
+
export type RCTAppliedFor = (typeof RCTAppliedFor)[keyof typeof RCTAppliedFor];
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>The encryption configuration to associate with the repository creation
|
|
1066
|
+
* template.</p>
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
export interface EncryptionConfigurationForRepositoryCreationTemplate {
|
|
1070
|
+
/**
|
|
1071
|
+
* <p>The encryption type to use.</p>
|
|
1072
|
+
* <p>If you use the <code>KMS</code> encryption type, the contents of the repository will
|
|
1073
|
+
* be encrypted using server-side encryption with Key Management Service key stored in KMS. When you
|
|
1074
|
+
* use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key
|
|
1075
|
+
* for Amazon ECR, or specify your own KMS key, which you already created. For more
|
|
1076
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html">Protecting data using server-side
|
|
1077
|
+
* encryption with an KMS key stored in Key Management Service (SSE-KMS)</a> in the
|
|
1078
|
+
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
1079
|
+
* <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption
|
|
1080
|
+
* with Amazon S3-managed encryption keys which encrypts the images in the repository using an
|
|
1081
|
+
* AES256 encryption algorithm. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html">Protecting data using
|
|
1082
|
+
* server-side encryption with Amazon S3-managed encryption keys (SSE-S3)</a> in the
|
|
1083
|
+
* <i>Amazon Simple Storage Service Console Developer Guide</i>.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
encryptionType: EncryptionType | undefined;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>If you use the <code>KMS</code> encryption type, specify the KMS key to use for
|
|
1089
|
+
* encryption. The full ARN of the KMS key must be specified. The key must exist in the
|
|
1090
|
+
* same Region as the repository. If no key is specified, the default Amazon Web Services managed KMS
|
|
1091
|
+
* key for Amazon ECR will be used.</p>
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
kmsKey?: string;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
export interface CreateRepositoryCreationTemplateRequest {
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>The repository namespace prefix to associate with the template. All repositories
|
|
1102
|
+
* created using this namespace prefix will have the settings defined in this template
|
|
1103
|
+
* applied. For example, a prefix of <code>prod</code> would apply to all repositories
|
|
1104
|
+
* beginning with <code>prod/</code>. Similarly, a prefix of <code>prod/team</code> would
|
|
1105
|
+
* apply to all repositories beginning with <code>prod/team/</code>.</p>
|
|
1106
|
+
* <p>To apply a template to all repositories in your registry that don't have an associated
|
|
1107
|
+
* creation template, you can use <code>ROOT</code> as the prefix.</p>
|
|
1108
|
+
* <important>
|
|
1109
|
+
* <p>There is always an assumed <code>/</code> applied to the end of the prefix. If you
|
|
1110
|
+
* specify <code>ecr-public</code> as the prefix, Amazon ECR treats that as
|
|
1111
|
+
* <code>ecr-public/</code>. When using a pull through cache rule, the repository
|
|
1112
|
+
* prefix you specify during rule creation is what you should specify as your
|
|
1113
|
+
* repository creation template prefix as well.</p>
|
|
1114
|
+
* </important>
|
|
1115
|
+
* @public
|
|
1116
|
+
*/
|
|
1117
|
+
prefix: string | undefined;
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>A description for the repository creation template.</p>
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
1122
|
+
description?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* <p>The encryption configuration to use for repositories created using the
|
|
1125
|
+
* template.</p>
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>The metadata to apply to the repository to help you categorize and organize. Each tag
|
|
1131
|
+
* consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
1132
|
+
* a maximum length of 256 characters.</p>
|
|
1133
|
+
* @public
|
|
1134
|
+
*/
|
|
1135
|
+
resourceTags?: Tag[];
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>The tag mutability setting for the repository. If this parameter is omitted, the
|
|
1138
|
+
* default setting of <code>MUTABLE</code> will be used which will allow image tags to be
|
|
1139
|
+
* overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
|
|
1140
|
+
* repository will be immutable which will prevent them from being overwritten.</p>
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1143
|
+
imageTagMutability?: ImageTagMutability;
|
|
1144
|
+
/**
|
|
1145
|
+
* <p>The repository policy to apply to repositories created using the template. A
|
|
1146
|
+
* repository policy is a permissions policy associated with a repository to control access
|
|
1147
|
+
* permissions. </p>
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
repositoryPolicy?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* <p>The lifecycle policy to use for repositories created using the template.</p>
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
lifecyclePolicy?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* <p>A list of enumerable strings representing the Amazon ECR repository creation scenarios that
|
|
1158
|
+
* this template will apply towards. The two supported scenarios are
|
|
1159
|
+
* <code>PULL_THROUGH_CACHE</code> and <code>REPLICATION</code>
|
|
1160
|
+
* </p>
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
appliedFor: RCTAppliedFor[] | undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* <p>The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as
|
|
1166
|
+
* the registry that you are configuring.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
customRoleArn?: string;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* <p>The details of the repository creation template associated with the request.</p>
|
|
1173
|
+
* @public
|
|
1174
|
+
*/
|
|
1175
|
+
export interface RepositoryCreationTemplate {
|
|
1176
|
+
/**
|
|
1177
|
+
* <p>The repository namespace prefix associated with the repository creation
|
|
1178
|
+
* template.</p>
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1181
|
+
prefix?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>The description associated with the repository creation template.</p>
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
description?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>The encryption configuration associated with the repository creation template.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>The metadata to apply to the repository to help you categorize and organize. Each tag
|
|
1194
|
+
* consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
1195
|
+
* a maximum length of 256 characters.</p>
|
|
1196
|
+
* @public
|
|
1197
|
+
*/
|
|
1198
|
+
resourceTags?: Tag[];
|
|
1199
|
+
/**
|
|
1200
|
+
* <p>The tag mutability setting for the repository. If this parameter is omitted, the
|
|
1201
|
+
* default setting of MUTABLE will be used which will allow image tags to be overwritten.
|
|
1202
|
+
* If IMMUTABLE is specified, all image tags within the repository will be immutable which
|
|
1203
|
+
* will prevent them from being overwritten.</p>
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
imageTagMutability?: ImageTagMutability;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>he repository policy to apply to repositories created using the template. A repository
|
|
1209
|
+
* policy is a permissions policy associated with a repository to control access
|
|
1210
|
+
* permissions. </p>
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
repositoryPolicy?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* <p>The lifecycle policy to use for repositories created using the template.</p>
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
lifecyclePolicy?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* <p>A list of enumerable Strings representing the repository creation scenarios that this
|
|
1221
|
+
* template will apply towards. The two supported scenarios are PULL_THROUGH_CACHE and
|
|
1222
|
+
* REPLICATION</p>
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1225
|
+
appliedFor?: RCTAppliedFor[];
|
|
1226
|
+
/**
|
|
1227
|
+
* <p>The ARN of the role to be assumed by Amazon ECR.</p>
|
|
1228
|
+
* @public
|
|
1229
|
+
*/
|
|
1230
|
+
customRoleArn?: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* <p>The date and time, in JavaScript date format, when the repository creation template
|
|
1233
|
+
* was created.</p>
|
|
1234
|
+
* @public
|
|
1235
|
+
*/
|
|
1236
|
+
createdAt?: Date;
|
|
1237
|
+
/**
|
|
1238
|
+
* <p>The date and time, in JavaScript date format, when the repository creation template
|
|
1239
|
+
* was last updated.</p>
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1242
|
+
updatedAt?: Date;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1247
|
+
export interface CreateRepositoryCreationTemplateResponse {
|
|
1248
|
+
/**
|
|
1249
|
+
* <p>The registry ID associated with the request.</p>
|
|
1250
|
+
* @public
|
|
1251
|
+
*/
|
|
1252
|
+
registryId?: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* <p>The details of the repository creation template associated with the request.</p>
|
|
1255
|
+
* @public
|
|
1256
|
+
*/
|
|
1257
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>The repository creation template already exists. Specify a unique prefix and try
|
|
1261
|
+
* again.</p>
|
|
1262
|
+
* @public
|
|
1263
|
+
*/
|
|
1264
|
+
export declare class TemplateAlreadyExistsException extends __BaseException {
|
|
1265
|
+
readonly name: "TemplateAlreadyExistsException";
|
|
1266
|
+
readonly $fault: "client";
|
|
1267
|
+
/**
|
|
1268
|
+
* @internal
|
|
1269
|
+
*/
|
|
1270
|
+
constructor(opts: __ExceptionOptionType<TemplateAlreadyExistsException, __BaseException>);
|
|
1271
|
+
}
|
|
1057
1272
|
/**
|
|
1058
1273
|
* @public
|
|
1059
1274
|
*/
|
|
@@ -1246,6 +1461,45 @@ export declare class RepositoryNotEmptyException extends __BaseException {
|
|
|
1246
1461
|
*/
|
|
1247
1462
|
constructor(opts: __ExceptionOptionType<RepositoryNotEmptyException, __BaseException>);
|
|
1248
1463
|
}
|
|
1464
|
+
/**
|
|
1465
|
+
* @public
|
|
1466
|
+
*/
|
|
1467
|
+
export interface DeleteRepositoryCreationTemplateRequest {
|
|
1468
|
+
/**
|
|
1469
|
+
* <p>The repository namespace prefix associated with the repository creation
|
|
1470
|
+
* template.</p>
|
|
1471
|
+
* @public
|
|
1472
|
+
*/
|
|
1473
|
+
prefix: string | undefined;
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* @public
|
|
1477
|
+
*/
|
|
1478
|
+
export interface DeleteRepositoryCreationTemplateResponse {
|
|
1479
|
+
/**
|
|
1480
|
+
* <p>The registry ID associated with the request.</p>
|
|
1481
|
+
* @public
|
|
1482
|
+
*/
|
|
1483
|
+
registryId?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* <p>The details of the repository creation template that was deleted.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
1489
|
+
}
|
|
1490
|
+
/**
|
|
1491
|
+
* <p>The specified repository creation template can't be found. Verify the registry ID and
|
|
1492
|
+
* prefix and try again.</p>
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1495
|
+
export declare class TemplateNotFoundException extends __BaseException {
|
|
1496
|
+
readonly name: "TemplateNotFoundException";
|
|
1497
|
+
readonly $fault: "client";
|
|
1498
|
+
/**
|
|
1499
|
+
* @internal
|
|
1500
|
+
*/
|
|
1501
|
+
constructor(opts: __ExceptionOptionType<TemplateNotFoundException, __BaseException>);
|
|
1502
|
+
}
|
|
1249
1503
|
/**
|
|
1250
1504
|
* @public
|
|
1251
1505
|
*/
|
|
@@ -2385,7 +2639,7 @@ export interface ReplicationConfiguration {
|
|
|
2385
2639
|
*/
|
|
2386
2640
|
export interface DescribeRegistryResponse {
|
|
2387
2641
|
/**
|
|
2388
|
-
* <p>The ID
|
|
2642
|
+
* <p>The registry ID associated with the request.</p>
|
|
2389
2643
|
* @public
|
|
2390
2644
|
*/
|
|
2391
2645
|
registryId?: string;
|
|
@@ -2459,6 +2713,72 @@ export interface DescribeRepositoriesResponse {
|
|
|
2459
2713
|
*/
|
|
2460
2714
|
nextToken?: string;
|
|
2461
2715
|
}
|
|
2716
|
+
/**
|
|
2717
|
+
* @public
|
|
2718
|
+
*/
|
|
2719
|
+
export interface DescribeRepositoryCreationTemplatesRequest {
|
|
2720
|
+
/**
|
|
2721
|
+
* <p>The repository namespace prefixes associated with the repository creation templates to
|
|
2722
|
+
* describe. If this value is not specified, all repository creation templates are
|
|
2723
|
+
* returned.</p>
|
|
2724
|
+
* @public
|
|
2725
|
+
*/
|
|
2726
|
+
prefixes?: string[];
|
|
2727
|
+
/**
|
|
2728
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated
|
|
2729
|
+
* <code>DescribeRepositoryCreationTemplates</code> request where
|
|
2730
|
+
* <code>maxResults</code> was used and the results exceeded the value of that
|
|
2731
|
+
* parameter. Pagination continues from the end of the previous results that returned the
|
|
2732
|
+
* <code>nextToken</code> value. This value is <code>null</code> when there are no more
|
|
2733
|
+
* results to return.</p>
|
|
2734
|
+
* <note>
|
|
2735
|
+
* <p>This token should be treated as an opaque identifier that is only used to
|
|
2736
|
+
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
2737
|
+
* </note>
|
|
2738
|
+
* @public
|
|
2739
|
+
*/
|
|
2740
|
+
nextToken?: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* <p>The maximum number of repository results returned by
|
|
2743
|
+
* <code>DescribeRepositoryCreationTemplatesRequest</code> in paginated output. When
|
|
2744
|
+
* this parameter is used, <code>DescribeRepositoryCreationTemplatesRequest</code> only
|
|
2745
|
+
* returns <code>maxResults</code> results in a single page along with a
|
|
2746
|
+
* <code>nextToken</code> response element. The remaining results of the initial
|
|
2747
|
+
* request can be seen by sending another
|
|
2748
|
+
* <code>DescribeRepositoryCreationTemplatesRequest</code> request with the returned
|
|
2749
|
+
* <code>nextToken</code> value. This value can be between 1 and
|
|
2750
|
+
* 1000. If this parameter is not used, then
|
|
2751
|
+
* <code>DescribeRepositoryCreationTemplatesRequest</code> returns up to
|
|
2752
|
+
* 100 results and a <code>nextToken</code> value, if applicable.</p>
|
|
2753
|
+
* @public
|
|
2754
|
+
*/
|
|
2755
|
+
maxResults?: number;
|
|
2756
|
+
}
|
|
2757
|
+
/**
|
|
2758
|
+
* @public
|
|
2759
|
+
*/
|
|
2760
|
+
export interface DescribeRepositoryCreationTemplatesResponse {
|
|
2761
|
+
/**
|
|
2762
|
+
* <p>The registry ID associated with the request.</p>
|
|
2763
|
+
* @public
|
|
2764
|
+
*/
|
|
2765
|
+
registryId?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
* <p>The details of the repository creation templates.</p>
|
|
2768
|
+
* @public
|
|
2769
|
+
*/
|
|
2770
|
+
repositoryCreationTemplates?: RepositoryCreationTemplate[];
|
|
2771
|
+
/**
|
|
2772
|
+
* <p>The <code>nextToken</code> value to include in a future
|
|
2773
|
+
* <code>DescribeRepositoryCreationTemplates</code> request. When the results of a
|
|
2774
|
+
* <code>DescribeRepositoryCreationTemplates</code> request exceed
|
|
2775
|
+
* <code>maxResults</code>, this value can be used to retrieve the next page of
|
|
2776
|
+
* results. This value is <code>null</code> when there are no more results to
|
|
2777
|
+
* return.</p>
|
|
2778
|
+
* @public
|
|
2779
|
+
*/
|
|
2780
|
+
nextToken?: string;
|
|
2781
|
+
}
|
|
2462
2782
|
/**
|
|
2463
2783
|
* @public
|
|
2464
2784
|
*/
|
|
@@ -2845,7 +3165,7 @@ export interface GetRegistryPolicyRequest {
|
|
|
2845
3165
|
*/
|
|
2846
3166
|
export interface GetRegistryPolicyResponse {
|
|
2847
3167
|
/**
|
|
2848
|
-
* <p>The ID
|
|
3168
|
+
* <p>The registry ID associated with the request.</p>
|
|
2849
3169
|
* @public
|
|
2850
3170
|
*/
|
|
2851
3171
|
registryId?: string;
|
|
@@ -2915,7 +3235,7 @@ export interface RegistryScanningConfiguration {
|
|
|
2915
3235
|
*/
|
|
2916
3236
|
export interface GetRegistryScanningConfigurationResponse {
|
|
2917
3237
|
/**
|
|
2918
|
-
* <p>The ID
|
|
3238
|
+
* <p>The registry ID associated with the request.</p>
|
|
2919
3239
|
* @public
|
|
2920
3240
|
*/
|
|
2921
3241
|
registryId?: string;
|
|
@@ -3342,7 +3662,7 @@ export interface PutRegistryPolicyRequest {
|
|
|
3342
3662
|
*/
|
|
3343
3663
|
export interface PutRegistryPolicyResponse {
|
|
3344
3664
|
/**
|
|
3345
|
-
* <p>The registry ID.</p>
|
|
3665
|
+
* <p>The registry ID associated with the request.</p>
|
|
3346
3666
|
* @public
|
|
3347
3667
|
*/
|
|
3348
3668
|
registryId?: string;
|
|
@@ -3668,6 +3988,90 @@ export interface UpdatePullThroughCacheRuleResponse {
|
|
|
3668
3988
|
*/
|
|
3669
3989
|
credentialArn?: string;
|
|
3670
3990
|
}
|
|
3991
|
+
/**
|
|
3992
|
+
* @public
|
|
3993
|
+
*/
|
|
3994
|
+
export interface UpdateRepositoryCreationTemplateRequest {
|
|
3995
|
+
/**
|
|
3996
|
+
* <p>The repository namespace prefix that matches an existing repository creation template
|
|
3997
|
+
* in the registry. All repositories created using this namespace prefix will have the
|
|
3998
|
+
* settings defined in this template applied. For example, a prefix of <code>prod</code>
|
|
3999
|
+
* would apply to all repositories beginning with <code>prod/</code>. This includes a
|
|
4000
|
+
* repository named <code>prod/team1</code> as well as a repository named
|
|
4001
|
+
* <code>prod/repository1</code>.</p>
|
|
4002
|
+
* <p>To apply a template to all repositories in your registry that don't have an associated
|
|
4003
|
+
* creation template, you can use <code>ROOT</code> as the prefix.</p>
|
|
4004
|
+
* @public
|
|
4005
|
+
*/
|
|
4006
|
+
prefix: string | undefined;
|
|
4007
|
+
/**
|
|
4008
|
+
* <p>A description for the repository creation template.</p>
|
|
4009
|
+
* @public
|
|
4010
|
+
*/
|
|
4011
|
+
description?: string;
|
|
4012
|
+
/**
|
|
4013
|
+
* <p>The encryption configuration to associate with the repository creation
|
|
4014
|
+
* template.</p>
|
|
4015
|
+
* @public
|
|
4016
|
+
*/
|
|
4017
|
+
encryptionConfiguration?: EncryptionConfigurationForRepositoryCreationTemplate;
|
|
4018
|
+
/**
|
|
4019
|
+
* <p>The metadata to apply to the repository to help you categorize and organize. Each tag
|
|
4020
|
+
* consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
4021
|
+
* a maximum length of 256 characters.</p>
|
|
4022
|
+
* @public
|
|
4023
|
+
*/
|
|
4024
|
+
resourceTags?: Tag[];
|
|
4025
|
+
/**
|
|
4026
|
+
* <p>Updates the tag mutability setting for the repository. If this parameter is omitted,
|
|
4027
|
+
* the default setting of <code>MUTABLE</code> will be used which will allow image tags to
|
|
4028
|
+
* be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the
|
|
4029
|
+
* repository will be immutable which will prevent them from being overwritten.</p>
|
|
4030
|
+
* @public
|
|
4031
|
+
*/
|
|
4032
|
+
imageTagMutability?: ImageTagMutability;
|
|
4033
|
+
/**
|
|
4034
|
+
* <p>Updates the repository policy created using the template. A repository policy is a
|
|
4035
|
+
* permissions policy associated with a repository to control access permissions. </p>
|
|
4036
|
+
* @public
|
|
4037
|
+
*/
|
|
4038
|
+
repositoryPolicy?: string;
|
|
4039
|
+
/**
|
|
4040
|
+
* <p>Updates the lifecycle policy associated with the specified repository creation
|
|
4041
|
+
* template.</p>
|
|
4042
|
+
* @public
|
|
4043
|
+
*/
|
|
4044
|
+
lifecyclePolicy?: string;
|
|
4045
|
+
/**
|
|
4046
|
+
* <p>Updates the list of enumerable strings representing the Amazon ECR repository creation
|
|
4047
|
+
* scenarios that this template will apply towards. The two supported scenarios are
|
|
4048
|
+
* <code>PULL_THROUGH_CACHE</code> and <code>REPLICATION</code>
|
|
4049
|
+
* </p>
|
|
4050
|
+
* @public
|
|
4051
|
+
*/
|
|
4052
|
+
appliedFor?: RCTAppliedFor[];
|
|
4053
|
+
/**
|
|
4054
|
+
* <p>The ARN of the role to be assumed by Amazon ECR. This role must be in the same account as
|
|
4055
|
+
* the registry that you are configuring.</p>
|
|
4056
|
+
* @public
|
|
4057
|
+
*/
|
|
4058
|
+
customRoleArn?: string;
|
|
4059
|
+
}
|
|
4060
|
+
/**
|
|
4061
|
+
* @public
|
|
4062
|
+
*/
|
|
4063
|
+
export interface UpdateRepositoryCreationTemplateResponse {
|
|
4064
|
+
/**
|
|
4065
|
+
* <p>The registry ID associated with the request.</p>
|
|
4066
|
+
* @public
|
|
4067
|
+
*/
|
|
4068
|
+
registryId?: string;
|
|
4069
|
+
/**
|
|
4070
|
+
* <p>The details of the repository creation template associated with the request.</p>
|
|
4071
|
+
* @public
|
|
4072
|
+
*/
|
|
4073
|
+
repositoryCreationTemplate?: RepositoryCreationTemplate;
|
|
4074
|
+
}
|
|
3671
4075
|
/**
|
|
3672
4076
|
* <p>The layer part size is not valid, or the first byte specified is not consecutive to
|
|
3673
4077
|
* the last byte of a previous layer part upload.</p>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeRepositoryCreationTemplatesCommandInput, DescribeRepositoryCreationTemplatesCommandOutput } from "../commands/DescribeRepositoryCreationTemplatesCommand";
|
|
3
|
+
import { ECRPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateDescribeRepositoryCreationTemplates: (config: ECRPaginationConfiguration, input: DescribeRepositoryCreationTemplatesCommandInput, ...rest: any[]) => 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";
|
|
@@ -7,10 +7,12 @@ import { BatchGetRepositoryScanningConfigurationCommandInput, BatchGetRepository
|
|
|
7
7
|
import { CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput } from "../commands/CompleteLayerUploadCommand";
|
|
8
8
|
import { CreatePullThroughCacheRuleCommandInput, CreatePullThroughCacheRuleCommandOutput } from "../commands/CreatePullThroughCacheRuleCommand";
|
|
9
9
|
import { CreateRepositoryCommandInput, CreateRepositoryCommandOutput } from "../commands/CreateRepositoryCommand";
|
|
10
|
+
import { CreateRepositoryCreationTemplateCommandInput, CreateRepositoryCreationTemplateCommandOutput } from "../commands/CreateRepositoryCreationTemplateCommand";
|
|
10
11
|
import { DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput } from "../commands/DeleteLifecyclePolicyCommand";
|
|
11
12
|
import { DeletePullThroughCacheRuleCommandInput, DeletePullThroughCacheRuleCommandOutput } from "../commands/DeletePullThroughCacheRuleCommand";
|
|
12
13
|
import { DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput } from "../commands/DeleteRegistryPolicyCommand";
|
|
13
14
|
import { DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput } from "../commands/DeleteRepositoryCommand";
|
|
15
|
+
import { DeleteRepositoryCreationTemplateCommandInput, DeleteRepositoryCreationTemplateCommandOutput } from "../commands/DeleteRepositoryCreationTemplateCommand";
|
|
14
16
|
import { DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput } from "../commands/DeleteRepositoryPolicyCommand";
|
|
15
17
|
import { DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput } from "../commands/DescribeImageReplicationStatusCommand";
|
|
16
18
|
import { DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput } from "../commands/DescribeImageScanFindingsCommand";
|
|
@@ -18,6 +20,7 @@ import { DescribeImagesCommandInput, DescribeImagesCommandOutput } from "../comm
|
|
|
18
20
|
import { DescribePullThroughCacheRulesCommandInput, DescribePullThroughCacheRulesCommandOutput } from "../commands/DescribePullThroughCacheRulesCommand";
|
|
19
21
|
import { DescribeRegistryCommandInput, DescribeRegistryCommandOutput } from "../commands/DescribeRegistryCommand";
|
|
20
22
|
import { DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput } from "../commands/DescribeRepositoriesCommand";
|
|
23
|
+
import { DescribeRepositoryCreationTemplatesCommandInput, DescribeRepositoryCreationTemplatesCommandOutput } from "../commands/DescribeRepositoryCreationTemplatesCommand";
|
|
21
24
|
import { GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput } from "../commands/GetAuthorizationTokenCommand";
|
|
22
25
|
import { GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput } from "../commands/GetDownloadUrlForLayerCommand";
|
|
23
26
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "../commands/GetLifecyclePolicyCommand";
|
|
@@ -41,6 +44,7 @@ import { StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCom
|
|
|
41
44
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
42
45
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
43
46
|
import { UpdatePullThroughCacheRuleCommandInput, UpdatePullThroughCacheRuleCommandOutput } from "../commands/UpdatePullThroughCacheRuleCommand";
|
|
47
|
+
import { UpdateRepositoryCreationTemplateCommandInput, UpdateRepositoryCreationTemplateCommandOutput } from "../commands/UpdateRepositoryCreationTemplateCommand";
|
|
44
48
|
import { UploadLayerPartCommandInput, UploadLayerPartCommandOutput } from "../commands/UploadLayerPartCommand";
|
|
45
49
|
import { ValidatePullThroughCacheRuleCommandInput, ValidatePullThroughCacheRuleCommandOutput } from "../commands/ValidatePullThroughCacheRuleCommand";
|
|
46
50
|
/**
|
|
@@ -71,6 +75,10 @@ export declare const se_CreatePullThroughCacheRuleCommand: (input: CreatePullThr
|
|
|
71
75
|
* serializeAws_json1_1CreateRepositoryCommand
|
|
72
76
|
*/
|
|
73
77
|
export declare const se_CreateRepositoryCommand: (input: CreateRepositoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
78
|
+
/**
|
|
79
|
+
* serializeAws_json1_1CreateRepositoryCreationTemplateCommand
|
|
80
|
+
*/
|
|
81
|
+
export declare const se_CreateRepositoryCreationTemplateCommand: (input: CreateRepositoryCreationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
82
|
/**
|
|
75
83
|
* serializeAws_json1_1DeleteLifecyclePolicyCommand
|
|
76
84
|
*/
|
|
@@ -87,6 +95,10 @@ export declare const se_DeleteRegistryPolicyCommand: (input: DeleteRegistryPolic
|
|
|
87
95
|
* serializeAws_json1_1DeleteRepositoryCommand
|
|
88
96
|
*/
|
|
89
97
|
export declare const se_DeleteRepositoryCommand: (input: DeleteRepositoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
98
|
+
/**
|
|
99
|
+
* serializeAws_json1_1DeleteRepositoryCreationTemplateCommand
|
|
100
|
+
*/
|
|
101
|
+
export declare const se_DeleteRepositoryCreationTemplateCommand: (input: DeleteRepositoryCreationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
90
102
|
/**
|
|
91
103
|
* serializeAws_json1_1DeleteRepositoryPolicyCommand
|
|
92
104
|
*/
|
|
@@ -115,6 +127,10 @@ export declare const se_DescribeRegistryCommand: (input: DescribeRegistryCommand
|
|
|
115
127
|
* serializeAws_json1_1DescribeRepositoriesCommand
|
|
116
128
|
*/
|
|
117
129
|
export declare const se_DescribeRepositoriesCommand: (input: DescribeRepositoriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
130
|
+
/**
|
|
131
|
+
* serializeAws_json1_1DescribeRepositoryCreationTemplatesCommand
|
|
132
|
+
*/
|
|
133
|
+
export declare const se_DescribeRepositoryCreationTemplatesCommand: (input: DescribeRepositoryCreationTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
134
|
/**
|
|
119
135
|
* serializeAws_json1_1GetAuthorizationTokenCommand
|
|
120
136
|
*/
|
|
@@ -207,6 +223,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
|
|
|
207
223
|
* serializeAws_json1_1UpdatePullThroughCacheRuleCommand
|
|
208
224
|
*/
|
|
209
225
|
export declare const se_UpdatePullThroughCacheRuleCommand: (input: UpdatePullThroughCacheRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
226
|
+
/**
|
|
227
|
+
* serializeAws_json1_1UpdateRepositoryCreationTemplateCommand
|
|
228
|
+
*/
|
|
229
|
+
export declare const se_UpdateRepositoryCreationTemplateCommand: (input: UpdateRepositoryCreationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
210
230
|
/**
|
|
211
231
|
* serializeAws_json1_1UploadLayerPartCommand
|
|
212
232
|
*/
|
|
@@ -243,6 +263,10 @@ export declare const de_CreatePullThroughCacheRuleCommand: (output: __HttpRespon
|
|
|
243
263
|
* deserializeAws_json1_1CreateRepositoryCommand
|
|
244
264
|
*/
|
|
245
265
|
export declare const de_CreateRepositoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRepositoryCommandOutput>;
|
|
266
|
+
/**
|
|
267
|
+
* deserializeAws_json1_1CreateRepositoryCreationTemplateCommand
|
|
268
|
+
*/
|
|
269
|
+
export declare const de_CreateRepositoryCreationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRepositoryCreationTemplateCommandOutput>;
|
|
246
270
|
/**
|
|
247
271
|
* deserializeAws_json1_1DeleteLifecyclePolicyCommand
|
|
248
272
|
*/
|
|
@@ -259,6 +283,10 @@ export declare const de_DeleteRegistryPolicyCommand: (output: __HttpResponse, co
|
|
|
259
283
|
* deserializeAws_json1_1DeleteRepositoryCommand
|
|
260
284
|
*/
|
|
261
285
|
export declare const de_DeleteRepositoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRepositoryCommandOutput>;
|
|
286
|
+
/**
|
|
287
|
+
* deserializeAws_json1_1DeleteRepositoryCreationTemplateCommand
|
|
288
|
+
*/
|
|
289
|
+
export declare const de_DeleteRepositoryCreationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRepositoryCreationTemplateCommandOutput>;
|
|
262
290
|
/**
|
|
263
291
|
* deserializeAws_json1_1DeleteRepositoryPolicyCommand
|
|
264
292
|
*/
|
|
@@ -287,6 +315,10 @@ export declare const de_DescribeRegistryCommand: (output: __HttpResponse, contex
|
|
|
287
315
|
* deserializeAws_json1_1DescribeRepositoriesCommand
|
|
288
316
|
*/
|
|
289
317
|
export declare const de_DescribeRepositoriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRepositoriesCommandOutput>;
|
|
318
|
+
/**
|
|
319
|
+
* deserializeAws_json1_1DescribeRepositoryCreationTemplatesCommand
|
|
320
|
+
*/
|
|
321
|
+
export declare const de_DescribeRepositoryCreationTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRepositoryCreationTemplatesCommandOutput>;
|
|
290
322
|
/**
|
|
291
323
|
* deserializeAws_json1_1GetAuthorizationTokenCommand
|
|
292
324
|
*/
|
|
@@ -379,6 +411,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
|
|
|
379
411
|
* deserializeAws_json1_1UpdatePullThroughCacheRuleCommand
|
|
380
412
|
*/
|
|
381
413
|
export declare const de_UpdatePullThroughCacheRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePullThroughCacheRuleCommandOutput>;
|
|
414
|
+
/**
|
|
415
|
+
* deserializeAws_json1_1UpdateRepositoryCreationTemplateCommand
|
|
416
|
+
*/
|
|
417
|
+
export declare const de_UpdateRepositoryCreationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRepositoryCreationTemplateCommandOutput>;
|
|
382
418
|
/**
|
|
383
419
|
* deserializeAws_json1_1UploadLayerPartCommand
|
|
384
420
|
*/
|