@aws-sdk/client-ecr 3.40.0 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/ECR.js +90 -0
  3. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
  4. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
  5. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
  6. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
  7. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
  8. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +24 -0
  11. package/dist-cjs/models/models_0.js +238 -15
  12. package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
  15. package/dist-es/ECR.js +90 -0
  16. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
  17. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
  18. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
  19. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
  20. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
  21. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/endpoints.js +24 -0
  24. package/dist-es/models/models_0.js +164 -8
  25. package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_1.js +1204 -120
  28. package/dist-types/ECR.d.ts +43 -0
  29. package/dist-types/ECRClient.d.ts +8 -2
  30. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
  31. package/dist-types/commands/BatchDeleteImageCommand.d.ts +1 -1
  32. package/dist-types/commands/BatchGetImageCommand.d.ts +1 -1
  33. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
  34. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
  35. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
  36. package/dist-types/commands/CreateRepositoryCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
  38. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
  39. package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
  46. package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +1 -1
  48. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +1 -1
  49. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
  50. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
  51. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +1 -1
  52. package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -1
  53. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
  54. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
  55. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
  56. package/dist-types/commands/ListImagesCommand.d.ts +1 -1
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/PutImageCommand.d.ts +1 -1
  59. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +1 -1
  60. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
  61. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
  63. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
  64. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +1 -1
  65. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
  66. package/dist-types/commands/StartImageScanCommand.d.ts +1 -1
  67. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
  68. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  69. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  70. package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
  71. package/dist-types/commands/index.d.ts +6 -0
  72. package/dist-types/models/models_0.d.ts +984 -157
  73. package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  74. package/dist-types/pagination/index.d.ts +1 -0
  75. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  76. package/dist-types/ts3.4/ECR.d.ts +30 -0
  77. package/dist-types/ts3.4/ECRClient.d.ts +8 -2
  78. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +488 -24
  86. package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  88. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
  89. package/package.json +4 -4
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RepositoryPolicyNotFoundException = exports.DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyRequest = exports.RepositoryNotEmptyException = exports.DeleteRepositoryResponse = exports.DeleteRepositoryRequest = exports.ValidationException = exports.RegistryPolicyNotFoundException = exports.DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyRequest = exports.LifecyclePolicyNotFoundException = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.LimitExceededException = exports.InvalidTagParameterException = exports.CreateRepositoryResponse = exports.Repository = exports.CreateRepositoryRequest = exports.Tag = exports.ImageTagMutability = exports.ImageScanningConfiguration = exports.EncryptionConfiguration = exports.EncryptionType = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.CompleteLayerUploadResponse = exports.CompleteLayerUploadRequest = exports.BatchGetImageResponse = exports.Image = exports.BatchGetImageRequest = exports.BatchDeleteImageResponse = exports.ImageFailure = exports.ImageFailureCode = exports.BatchDeleteImageRequest = exports.ImageIdentifier = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = exports.BatchCheckLayerAvailabilityResponse = exports.Layer = exports.LayerAvailability = exports.LayerFailure = exports.LayerFailureCode = exports.BatchCheckLayerAvailabilityRequest = void 0;
4
- exports.GetRepositoryPolicyRequest = exports.GetRegistryPolicyResponse = exports.GetRegistryPolicyRequest = exports.LifecyclePolicyPreviewNotFoundException = exports.GetLifecyclePolicyPreviewResponse = exports.LifecyclePolicyPreviewSummary = exports.LifecyclePolicyPreviewStatus = exports.LifecyclePolicyPreviewResult = exports.LifecyclePolicyRuleAction = exports.ImageActionType = exports.GetLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewFilter = exports.GetLifecyclePolicyResponse = exports.GetLifecyclePolicyRequest = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerRequest = exports.GetAuthorizationTokenResponse = exports.AuthorizationData = exports.GetAuthorizationTokenRequest = exports.DescribeRepositoriesResponse = exports.DescribeRepositoriesRequest = exports.DescribeRegistryResponse = exports.ReplicationConfiguration = exports.ReplicationRule = exports.RepositoryFilter = exports.RepositoryFilterType = exports.ReplicationDestination = exports.DescribeRegistryRequest = exports.ScanNotFoundException = exports.DescribeImageScanFindingsResponse = exports.ImageScanFindings = exports.ImageScanFinding = exports.Attribute = exports.DescribeImageScanFindingsRequest = exports.DescribeImagesResponse = exports.ImageDetail = exports.ImageScanStatus = exports.ScanStatus = exports.ImageScanFindingsSummary = exports.FindingSeverity = exports.DescribeImagesRequest = exports.DescribeImagesFilter = exports.TagStatus = exports.ImageNotFoundException = exports.DescribeImageReplicationStatusResponse = exports.ImageReplicationStatus = exports.ReplicationStatus = exports.DescribeImageReplicationStatusRequest = void 0;
5
- exports.UploadLayerPartResponse = exports.UploadLayerPartRequest = exports.InvalidLayerPartException = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartLifecyclePolicyPreviewResponse = exports.StartLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.StartImageScanResponse = exports.StartImageScanRequest = exports.SetRepositoryPolicyResponse = exports.SetRepositoryPolicyRequest = exports.PutReplicationConfigurationResponse = exports.PutReplicationConfigurationRequest = exports.PutRegistryPolicyResponse = exports.PutRegistryPolicyRequest = exports.PutLifecyclePolicyResponse = exports.PutLifecyclePolicyRequest = exports.PutImageTagMutabilityResponse = exports.PutImageTagMutabilityRequest = exports.PutImageScanningConfigurationResponse = exports.PutImageScanningConfigurationRequest = exports.ReferencedImagesNotFoundException = exports.PutImageResponse = exports.PutImageRequest = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListImagesResponse = exports.ListImagesRequest = exports.ListImagesFilter = exports.InitiateLayerUploadResponse = exports.InitiateLayerUploadRequest = exports.GetRepositoryPolicyResponse = void 0;
3
+ exports.TooManyTagsException = exports.RepositoryAlreadyExistsException = exports.InvalidTagParameterException = exports.CreateRepositoryResponse = exports.Repository = exports.CreateRepositoryRequest = exports.Tag = exports.ImageTagMutability = exports.ImageScanningConfiguration = exports.EncryptionConfiguration = exports.EncryptionType = exports.UnsupportedUpstreamRegistryException = exports.PullThroughCacheRuleAlreadyExistsException = exports.LimitExceededException = exports.CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleRequest = exports.UploadNotFoundException = exports.LayerPartTooSmallException = exports.LayerAlreadyExistsException = exports.KmsException = exports.InvalidLayerException = exports.EmptyUploadException = exports.CompleteLayerUploadResponse = exports.CompleteLayerUploadRequest = exports.ValidationException = exports.BatchGetRepositoryScanningConfigurationResponse = exports.RepositoryScanningConfiguration = exports.ScanFrequency = exports.ScanningRepositoryFilter = exports.ScanningRepositoryFilterType = exports.RepositoryScanningConfigurationFailure = exports.ScanningConfigurationFailureCode = exports.BatchGetRepositoryScanningConfigurationRequest = exports.BatchGetImageResponse = exports.Image = exports.BatchGetImageRequest = exports.BatchDeleteImageResponse = exports.ImageFailure = exports.ImageFailureCode = exports.BatchDeleteImageRequest = exports.ImageIdentifier = exports.ServerException = exports.RepositoryNotFoundException = exports.InvalidParameterException = exports.BatchCheckLayerAvailabilityResponse = exports.Layer = exports.LayerAvailability = exports.LayerFailure = exports.LayerFailureCode = exports.BatchCheckLayerAvailabilityRequest = void 0;
4
+ exports.DescribePullThroughCacheRulesResponse = exports.PullThroughCacheRule = exports.DescribePullThroughCacheRulesRequest = exports.ScanNotFoundException = exports.DescribeImageScanFindingsResponse = exports.ImageScanFindings = exports.ImageScanFinding = exports.Attribute = exports.EnhancedImageScanFinding = exports.ScoreDetails = exports.CvssScoreDetails = exports.CvssScoreAdjustment = exports.Resource = exports.ResourceDetails = exports.AwsEcrContainerImageDetails = exports.Remediation = exports.Recommendation = exports.PackageVulnerabilityDetails = exports.VulnerablePackage = exports.CvssScore = exports.DescribeImageScanFindingsRequest = exports.DescribeImagesResponse = exports.ImageDetail = exports.ImageScanStatus = exports.ScanStatus = exports.ImageScanFindingsSummary = exports.FindingSeverity = exports.DescribeImagesRequest = exports.DescribeImagesFilter = exports.TagStatus = exports.ImageNotFoundException = exports.DescribeImageReplicationStatusResponse = exports.ImageReplicationStatus = exports.ReplicationStatus = exports.DescribeImageReplicationStatusRequest = exports.RepositoryPolicyNotFoundException = exports.DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyRequest = exports.RepositoryNotEmptyException = exports.DeleteRepositoryResponse = exports.DeleteRepositoryRequest = exports.RegistryPolicyNotFoundException = exports.DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyRequest = exports.PullThroughCacheRuleNotFoundException = exports.DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleRequest = exports.LifecyclePolicyNotFoundException = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = void 0;
5
+ exports.PutImageScanningConfigurationRequest = exports.ReferencedImagesNotFoundException = exports.PutImageResponse = exports.PutImageRequest = exports.ImageTagAlreadyExistsException = exports.ImageDigestDoesNotMatchException = exports.ImageAlreadyExistsException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListImagesResponse = exports.ListImagesRequest = exports.ListImagesFilter = exports.InitiateLayerUploadResponse = exports.InitiateLayerUploadRequest = exports.GetRepositoryPolicyResponse = exports.GetRepositoryPolicyRequest = exports.GetRegistryScanningConfigurationResponse = exports.RegistryScanningConfiguration = exports.ScanType = exports.RegistryScanningRule = exports.GetRegistryScanningConfigurationRequest = exports.GetRegistryPolicyResponse = exports.GetRegistryPolicyRequest = exports.LifecyclePolicyPreviewNotFoundException = exports.GetLifecyclePolicyPreviewResponse = exports.LifecyclePolicyPreviewSummary = exports.LifecyclePolicyPreviewStatus = exports.LifecyclePolicyPreviewResult = exports.LifecyclePolicyRuleAction = exports.ImageActionType = exports.GetLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewFilter = exports.GetLifecyclePolicyResponse = exports.GetLifecyclePolicyRequest = exports.LayersNotFoundException = exports.LayerInaccessibleException = exports.GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerRequest = exports.GetAuthorizationTokenResponse = exports.AuthorizationData = exports.GetAuthorizationTokenRequest = exports.DescribeRepositoriesResponse = exports.DescribeRepositoriesRequest = exports.DescribeRegistryResponse = exports.ReplicationConfiguration = exports.ReplicationRule = exports.RepositoryFilter = exports.RepositoryFilterType = exports.ReplicationDestination = exports.DescribeRegistryRequest = void 0;
6
+ exports.UploadLayerPartResponse = exports.UploadLayerPartRequest = exports.InvalidLayerPartException = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartLifecyclePolicyPreviewResponse = exports.StartLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.StartImageScanResponse = exports.StartImageScanRequest = exports.SetRepositoryPolicyResponse = exports.SetRepositoryPolicyRequest = exports.PutReplicationConfigurationResponse = exports.PutReplicationConfigurationRequest = exports.PutRegistryScanningConfigurationResponse = exports.PutRegistryScanningConfigurationRequest = exports.PutRegistryPolicyResponse = exports.PutRegistryPolicyRequest = exports.PutLifecyclePolicyResponse = exports.PutLifecyclePolicyRequest = exports.PutImageTagMutabilityResponse = exports.PutImageTagMutabilityRequest = exports.PutImageScanningConfigurationResponse = void 0;
6
7
  var BatchCheckLayerAvailabilityRequest;
7
8
  (function (BatchCheckLayerAvailabilityRequest) {
8
9
  BatchCheckLayerAvailabilityRequest.filterSensitiveLog = (obj) => ({
@@ -107,6 +108,56 @@ var BatchGetImageResponse;
107
108
  ...obj,
108
109
  });
109
110
  })(BatchGetImageResponse = exports.BatchGetImageResponse || (exports.BatchGetImageResponse = {}));
111
+ var BatchGetRepositoryScanningConfigurationRequest;
112
+ (function (BatchGetRepositoryScanningConfigurationRequest) {
113
+ BatchGetRepositoryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
114
+ ...obj,
115
+ });
116
+ })(BatchGetRepositoryScanningConfigurationRequest = exports.BatchGetRepositoryScanningConfigurationRequest || (exports.BatchGetRepositoryScanningConfigurationRequest = {}));
117
+ var ScanningConfigurationFailureCode;
118
+ (function (ScanningConfigurationFailureCode) {
119
+ ScanningConfigurationFailureCode["REPOSITORY_NOT_FOUND"] = "REPOSITORY_NOT_FOUND";
120
+ })(ScanningConfigurationFailureCode = exports.ScanningConfigurationFailureCode || (exports.ScanningConfigurationFailureCode = {}));
121
+ var RepositoryScanningConfigurationFailure;
122
+ (function (RepositoryScanningConfigurationFailure) {
123
+ RepositoryScanningConfigurationFailure.filterSensitiveLog = (obj) => ({
124
+ ...obj,
125
+ });
126
+ })(RepositoryScanningConfigurationFailure = exports.RepositoryScanningConfigurationFailure || (exports.RepositoryScanningConfigurationFailure = {}));
127
+ var ScanningRepositoryFilterType;
128
+ (function (ScanningRepositoryFilterType) {
129
+ ScanningRepositoryFilterType["WILDCARD"] = "WILDCARD";
130
+ })(ScanningRepositoryFilterType = exports.ScanningRepositoryFilterType || (exports.ScanningRepositoryFilterType = {}));
131
+ var ScanningRepositoryFilter;
132
+ (function (ScanningRepositoryFilter) {
133
+ ScanningRepositoryFilter.filterSensitiveLog = (obj) => ({
134
+ ...obj,
135
+ });
136
+ })(ScanningRepositoryFilter = exports.ScanningRepositoryFilter || (exports.ScanningRepositoryFilter = {}));
137
+ var ScanFrequency;
138
+ (function (ScanFrequency) {
139
+ ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
140
+ ScanFrequency["MANUAL"] = "MANUAL";
141
+ ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
142
+ })(ScanFrequency = exports.ScanFrequency || (exports.ScanFrequency = {}));
143
+ var RepositoryScanningConfiguration;
144
+ (function (RepositoryScanningConfiguration) {
145
+ RepositoryScanningConfiguration.filterSensitiveLog = (obj) => ({
146
+ ...obj,
147
+ });
148
+ })(RepositoryScanningConfiguration = exports.RepositoryScanningConfiguration || (exports.RepositoryScanningConfiguration = {}));
149
+ var BatchGetRepositoryScanningConfigurationResponse;
150
+ (function (BatchGetRepositoryScanningConfigurationResponse) {
151
+ BatchGetRepositoryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
152
+ ...obj,
153
+ });
154
+ })(BatchGetRepositoryScanningConfigurationResponse = exports.BatchGetRepositoryScanningConfigurationResponse || (exports.BatchGetRepositoryScanningConfigurationResponse = {}));
155
+ var ValidationException;
156
+ (function (ValidationException) {
157
+ ValidationException.filterSensitiveLog = (obj) => ({
158
+ ...obj,
159
+ });
160
+ })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
110
161
  var CompleteLayerUploadRequest;
111
162
  (function (CompleteLayerUploadRequest) {
112
163
  CompleteLayerUploadRequest.filterSensitiveLog = (obj) => ({
@@ -155,6 +206,36 @@ var UploadNotFoundException;
155
206
  ...obj,
156
207
  });
157
208
  })(UploadNotFoundException = exports.UploadNotFoundException || (exports.UploadNotFoundException = {}));
209
+ var CreatePullThroughCacheRuleRequest;
210
+ (function (CreatePullThroughCacheRuleRequest) {
211
+ CreatePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
212
+ ...obj,
213
+ });
214
+ })(CreatePullThroughCacheRuleRequest = exports.CreatePullThroughCacheRuleRequest || (exports.CreatePullThroughCacheRuleRequest = {}));
215
+ var CreatePullThroughCacheRuleResponse;
216
+ (function (CreatePullThroughCacheRuleResponse) {
217
+ CreatePullThroughCacheRuleResponse.filterSensitiveLog = (obj) => ({
218
+ ...obj,
219
+ });
220
+ })(CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleResponse || (exports.CreatePullThroughCacheRuleResponse = {}));
221
+ var LimitExceededException;
222
+ (function (LimitExceededException) {
223
+ LimitExceededException.filterSensitiveLog = (obj) => ({
224
+ ...obj,
225
+ });
226
+ })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
227
+ var PullThroughCacheRuleAlreadyExistsException;
228
+ (function (PullThroughCacheRuleAlreadyExistsException) {
229
+ PullThroughCacheRuleAlreadyExistsException.filterSensitiveLog = (obj) => ({
230
+ ...obj,
231
+ });
232
+ })(PullThroughCacheRuleAlreadyExistsException = exports.PullThroughCacheRuleAlreadyExistsException || (exports.PullThroughCacheRuleAlreadyExistsException = {}));
233
+ var UnsupportedUpstreamRegistryException;
234
+ (function (UnsupportedUpstreamRegistryException) {
235
+ UnsupportedUpstreamRegistryException.filterSensitiveLog = (obj) => ({
236
+ ...obj,
237
+ });
238
+ })(UnsupportedUpstreamRegistryException = exports.UnsupportedUpstreamRegistryException || (exports.UnsupportedUpstreamRegistryException = {}));
158
239
  var EncryptionType;
159
240
  (function (EncryptionType) {
160
241
  EncryptionType["AES256"] = "AES256";
@@ -207,12 +288,6 @@ var InvalidTagParameterException;
207
288
  ...obj,
208
289
  });
209
290
  })(InvalidTagParameterException = exports.InvalidTagParameterException || (exports.InvalidTagParameterException = {}));
210
- var LimitExceededException;
211
- (function (LimitExceededException) {
212
- LimitExceededException.filterSensitiveLog = (obj) => ({
213
- ...obj,
214
- });
215
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
216
291
  var RepositoryAlreadyExistsException;
217
292
  (function (RepositoryAlreadyExistsException) {
218
293
  RepositoryAlreadyExistsException.filterSensitiveLog = (obj) => ({
@@ -243,6 +318,24 @@ var LifecyclePolicyNotFoundException;
243
318
  ...obj,
244
319
  });
245
320
  })(LifecyclePolicyNotFoundException = exports.LifecyclePolicyNotFoundException || (exports.LifecyclePolicyNotFoundException = {}));
321
+ var DeletePullThroughCacheRuleRequest;
322
+ (function (DeletePullThroughCacheRuleRequest) {
323
+ DeletePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
324
+ ...obj,
325
+ });
326
+ })(DeletePullThroughCacheRuleRequest = exports.DeletePullThroughCacheRuleRequest || (exports.DeletePullThroughCacheRuleRequest = {}));
327
+ var DeletePullThroughCacheRuleResponse;
328
+ (function (DeletePullThroughCacheRuleResponse) {
329
+ DeletePullThroughCacheRuleResponse.filterSensitiveLog = (obj) => ({
330
+ ...obj,
331
+ });
332
+ })(DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleResponse || (exports.DeletePullThroughCacheRuleResponse = {}));
333
+ var PullThroughCacheRuleNotFoundException;
334
+ (function (PullThroughCacheRuleNotFoundException) {
335
+ PullThroughCacheRuleNotFoundException.filterSensitiveLog = (obj) => ({
336
+ ...obj,
337
+ });
338
+ })(PullThroughCacheRuleNotFoundException = exports.PullThroughCacheRuleNotFoundException || (exports.PullThroughCacheRuleNotFoundException = {}));
246
339
  var DeleteRegistryPolicyRequest;
247
340
  (function (DeleteRegistryPolicyRequest) {
248
341
  DeleteRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -261,12 +354,6 @@ var RegistryPolicyNotFoundException;
261
354
  ...obj,
262
355
  });
263
356
  })(RegistryPolicyNotFoundException = exports.RegistryPolicyNotFoundException || (exports.RegistryPolicyNotFoundException = {}));
264
- var ValidationException;
265
- (function (ValidationException) {
266
- ValidationException.filterSensitiveLog = (obj) => ({
267
- ...obj,
268
- });
269
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
270
357
  var DeleteRepositoryRequest;
271
358
  (function (DeleteRepositoryRequest) {
272
359
  DeleteRepositoryRequest.filterSensitiveLog = (obj) => ({
@@ -368,9 +455,14 @@ var ImageScanFindingsSummary;
368
455
  })(ImageScanFindingsSummary = exports.ImageScanFindingsSummary || (exports.ImageScanFindingsSummary = {}));
369
456
  var ScanStatus;
370
457
  (function (ScanStatus) {
458
+ ScanStatus["ACTIVE"] = "ACTIVE";
371
459
  ScanStatus["COMPLETE"] = "COMPLETE";
372
460
  ScanStatus["FAILED"] = "FAILED";
461
+ ScanStatus["FINDINGS_UNAVAILABLE"] = "FINDINGS_UNAVAILABLE";
373
462
  ScanStatus["IN_PROGRESS"] = "IN_PROGRESS";
463
+ ScanStatus["PENDING"] = "PENDING";
464
+ ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
465
+ ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
374
466
  })(ScanStatus = exports.ScanStatus || (exports.ScanStatus = {}));
375
467
  var ImageScanStatus;
376
468
  (function (ImageScanStatus) {
@@ -396,6 +488,78 @@ var DescribeImageScanFindingsRequest;
396
488
  ...obj,
397
489
  });
398
490
  })(DescribeImageScanFindingsRequest = exports.DescribeImageScanFindingsRequest || (exports.DescribeImageScanFindingsRequest = {}));
491
+ var CvssScore;
492
+ (function (CvssScore) {
493
+ CvssScore.filterSensitiveLog = (obj) => ({
494
+ ...obj,
495
+ });
496
+ })(CvssScore = exports.CvssScore || (exports.CvssScore = {}));
497
+ var VulnerablePackage;
498
+ (function (VulnerablePackage) {
499
+ VulnerablePackage.filterSensitiveLog = (obj) => ({
500
+ ...obj,
501
+ });
502
+ })(VulnerablePackage = exports.VulnerablePackage || (exports.VulnerablePackage = {}));
503
+ var PackageVulnerabilityDetails;
504
+ (function (PackageVulnerabilityDetails) {
505
+ PackageVulnerabilityDetails.filterSensitiveLog = (obj) => ({
506
+ ...obj,
507
+ });
508
+ })(PackageVulnerabilityDetails = exports.PackageVulnerabilityDetails || (exports.PackageVulnerabilityDetails = {}));
509
+ var Recommendation;
510
+ (function (Recommendation) {
511
+ Recommendation.filterSensitiveLog = (obj) => ({
512
+ ...obj,
513
+ });
514
+ })(Recommendation = exports.Recommendation || (exports.Recommendation = {}));
515
+ var Remediation;
516
+ (function (Remediation) {
517
+ Remediation.filterSensitiveLog = (obj) => ({
518
+ ...obj,
519
+ });
520
+ })(Remediation = exports.Remediation || (exports.Remediation = {}));
521
+ var AwsEcrContainerImageDetails;
522
+ (function (AwsEcrContainerImageDetails) {
523
+ AwsEcrContainerImageDetails.filterSensitiveLog = (obj) => ({
524
+ ...obj,
525
+ });
526
+ })(AwsEcrContainerImageDetails = exports.AwsEcrContainerImageDetails || (exports.AwsEcrContainerImageDetails = {}));
527
+ var ResourceDetails;
528
+ (function (ResourceDetails) {
529
+ ResourceDetails.filterSensitiveLog = (obj) => ({
530
+ ...obj,
531
+ });
532
+ })(ResourceDetails = exports.ResourceDetails || (exports.ResourceDetails = {}));
533
+ var Resource;
534
+ (function (Resource) {
535
+ Resource.filterSensitiveLog = (obj) => ({
536
+ ...obj,
537
+ });
538
+ })(Resource = exports.Resource || (exports.Resource = {}));
539
+ var CvssScoreAdjustment;
540
+ (function (CvssScoreAdjustment) {
541
+ CvssScoreAdjustment.filterSensitiveLog = (obj) => ({
542
+ ...obj,
543
+ });
544
+ })(CvssScoreAdjustment = exports.CvssScoreAdjustment || (exports.CvssScoreAdjustment = {}));
545
+ var CvssScoreDetails;
546
+ (function (CvssScoreDetails) {
547
+ CvssScoreDetails.filterSensitiveLog = (obj) => ({
548
+ ...obj,
549
+ });
550
+ })(CvssScoreDetails = exports.CvssScoreDetails || (exports.CvssScoreDetails = {}));
551
+ var ScoreDetails;
552
+ (function (ScoreDetails) {
553
+ ScoreDetails.filterSensitiveLog = (obj) => ({
554
+ ...obj,
555
+ });
556
+ })(ScoreDetails = exports.ScoreDetails || (exports.ScoreDetails = {}));
557
+ var EnhancedImageScanFinding;
558
+ (function (EnhancedImageScanFinding) {
559
+ EnhancedImageScanFinding.filterSensitiveLog = (obj) => ({
560
+ ...obj,
561
+ });
562
+ })(EnhancedImageScanFinding = exports.EnhancedImageScanFinding || (exports.EnhancedImageScanFinding = {}));
399
563
  var Attribute;
400
564
  (function (Attribute) {
401
565
  Attribute.filterSensitiveLog = (obj) => ({
@@ -426,6 +590,24 @@ var ScanNotFoundException;
426
590
  ...obj,
427
591
  });
428
592
  })(ScanNotFoundException = exports.ScanNotFoundException || (exports.ScanNotFoundException = {}));
593
+ var DescribePullThroughCacheRulesRequest;
594
+ (function (DescribePullThroughCacheRulesRequest) {
595
+ DescribePullThroughCacheRulesRequest.filterSensitiveLog = (obj) => ({
596
+ ...obj,
597
+ });
598
+ })(DescribePullThroughCacheRulesRequest = exports.DescribePullThroughCacheRulesRequest || (exports.DescribePullThroughCacheRulesRequest = {}));
599
+ var PullThroughCacheRule;
600
+ (function (PullThroughCacheRule) {
601
+ PullThroughCacheRule.filterSensitiveLog = (obj) => ({
602
+ ...obj,
603
+ });
604
+ })(PullThroughCacheRule = exports.PullThroughCacheRule || (exports.PullThroughCacheRule = {}));
605
+ var DescribePullThroughCacheRulesResponse;
606
+ (function (DescribePullThroughCacheRulesResponse) {
607
+ DescribePullThroughCacheRulesResponse.filterSensitiveLog = (obj) => ({
608
+ ...obj,
609
+ });
610
+ })(DescribePullThroughCacheRulesResponse = exports.DescribePullThroughCacheRulesResponse || (exports.DescribePullThroughCacheRulesResponse = {}));
429
611
  var DescribeRegistryRequest;
430
612
  (function (DescribeRegistryRequest) {
431
613
  DescribeRegistryRequest.filterSensitiveLog = (obj) => ({
@@ -597,6 +779,35 @@ var GetRegistryPolicyResponse;
597
779
  ...obj,
598
780
  });
599
781
  })(GetRegistryPolicyResponse = exports.GetRegistryPolicyResponse || (exports.GetRegistryPolicyResponse = {}));
782
+ var GetRegistryScanningConfigurationRequest;
783
+ (function (GetRegistryScanningConfigurationRequest) {
784
+ GetRegistryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
785
+ ...obj,
786
+ });
787
+ })(GetRegistryScanningConfigurationRequest = exports.GetRegistryScanningConfigurationRequest || (exports.GetRegistryScanningConfigurationRequest = {}));
788
+ var RegistryScanningRule;
789
+ (function (RegistryScanningRule) {
790
+ RegistryScanningRule.filterSensitiveLog = (obj) => ({
791
+ ...obj,
792
+ });
793
+ })(RegistryScanningRule = exports.RegistryScanningRule || (exports.RegistryScanningRule = {}));
794
+ var ScanType;
795
+ (function (ScanType) {
796
+ ScanType["BASIC"] = "BASIC";
797
+ ScanType["ENHANCED"] = "ENHANCED";
798
+ })(ScanType = exports.ScanType || (exports.ScanType = {}));
799
+ var RegistryScanningConfiguration;
800
+ (function (RegistryScanningConfiguration) {
801
+ RegistryScanningConfiguration.filterSensitiveLog = (obj) => ({
802
+ ...obj,
803
+ });
804
+ })(RegistryScanningConfiguration = exports.RegistryScanningConfiguration || (exports.RegistryScanningConfiguration = {}));
805
+ var GetRegistryScanningConfigurationResponse;
806
+ (function (GetRegistryScanningConfigurationResponse) {
807
+ GetRegistryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
808
+ ...obj,
809
+ });
810
+ })(GetRegistryScanningConfigurationResponse = exports.GetRegistryScanningConfigurationResponse || (exports.GetRegistryScanningConfigurationResponse = {}));
600
811
  var GetRepositoryPolicyRequest;
601
812
  (function (GetRepositoryPolicyRequest) {
602
813
  GetRepositoryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -735,6 +946,18 @@ var PutRegistryPolicyResponse;
735
946
  ...obj,
736
947
  });
737
948
  })(PutRegistryPolicyResponse = exports.PutRegistryPolicyResponse || (exports.PutRegistryPolicyResponse = {}));
949
+ var PutRegistryScanningConfigurationRequest;
950
+ (function (PutRegistryScanningConfigurationRequest) {
951
+ PutRegistryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
952
+ ...obj,
953
+ });
954
+ })(PutRegistryScanningConfigurationRequest = exports.PutRegistryScanningConfigurationRequest || (exports.PutRegistryScanningConfigurationRequest = {}));
955
+ var PutRegistryScanningConfigurationResponse;
956
+ (function (PutRegistryScanningConfigurationResponse) {
957
+ PutRegistryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
958
+ ...obj,
959
+ });
960
+ })(PutRegistryScanningConfigurationResponse = exports.PutRegistryScanningConfigurationResponse || (exports.PutRegistryScanningConfigurationResponse = {}));
738
961
  var PutReplicationConfigurationRequest;
739
962
  (function (PutReplicationConfigurationRequest) {
740
963
  PutReplicationConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateDescribePullThroughCacheRules = void 0;
4
+ const DescribePullThroughCacheRulesCommand_1 = require("../commands/DescribePullThroughCacheRulesCommand");
5
+ const ECR_1 = require("../ECR");
6
+ const ECRClient_1 = require("../ECRClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new DescribePullThroughCacheRulesCommand_1.DescribePullThroughCacheRulesCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.describePullThroughCacheRules(input, ...args);
12
+ };
13
+ async function* paginateDescribePullThroughCacheRules(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.nextToken = token;
19
+ input["maxResults"] = config.pageSize;
20
+ if (config.client instanceof ECR_1.ECR) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof ECRClient_1.ECRClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected ECR | ECRClient");
28
+ }
29
+ yield page;
30
+ token = page.nextToken;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateDescribePullThroughCacheRules = paginateDescribePullThroughCacheRules;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./DescribeImageScanFindingsPaginator"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeImagesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribePullThroughCacheRulesPaginator"), exports);
6
7
  tslib_1.__exportStar(require("./DescribeRepositoriesPaginator"), exports);
7
8
  tslib_1.__exportStar(require("./GetLifecyclePolicyPreviewPaginator"), exports);
8
9
  tslib_1.__exportStar(require("./Interfaces"), exports);