@aws-sdk/client-ecr 3.43.0 → 3.47.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 (64) hide show
  1. package/CHANGELOG.md +50 -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 +10 -0
  11. package/dist-cjs/models/models_0.js +199 -175
  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-cjs/runtimeConfig.browser.js +7 -2
  16. package/dist-cjs/runtimeConfig.js +9 -3
  17. package/dist-es/ECR.js +90 -0
  18. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
  19. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
  20. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
  21. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
  22. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
  23. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
  24. package/dist-es/commands/index.js +6 -0
  25. package/dist-es/endpoints.js +10 -0
  26. package/dist-es/models/models_0.js +144 -120
  27. package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
  28. package/dist-es/pagination/index.js +1 -0
  29. package/dist-es/protocols/Aws_json1_1.js +1204 -120
  30. package/dist-es/runtimeConfig.browser.js +12 -3
  31. package/dist-es/runtimeConfig.js +13 -6
  32. package/dist-types/ECR.d.ts +43 -0
  33. package/dist-types/ECRClient.d.ts +13 -3
  34. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
  35. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
  36. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
  37. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
  38. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
  39. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
  40. package/dist-types/commands/index.d.ts +6 -0
  41. package/dist-types/models/models_0.d.ts +912 -283
  42. package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  43. package/dist-types/pagination/index.d.ts +1 -0
  44. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  46. package/dist-types/runtimeConfig.d.ts +4 -3
  47. package/dist-types/runtimeConfig.native.d.ts +1 -0
  48. package/dist-types/ts3.4/ECR.d.ts +30 -0
  49. package/dist-types/ts3.4/ECRClient.d.ts +11 -3
  50. package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +462 -130
  58. package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
  59. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  60. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  64. package/package.json +39 -46
@@ -1,8 +1,8 @@
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.DescribeImagesFilter = exports.TagStatus = exports.DescribeImageReplicationStatusResponse = exports.ImageReplicationStatus = exports.ReplicationStatus = exports.DescribeImageReplicationStatusRequest = exports.DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyRequest = exports.DeleteRepositoryResponse = exports.DeleteRepositoryRequest = exports.DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyRequest = exports.DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleRequest = exports.DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyRequest = exports.CreateRepositoryResponse = exports.Repository = exports.CreateRepositoryRequest = exports.Tag = exports.ImageTagMutability = exports.ImageScanningConfiguration = exports.EncryptionConfiguration = exports.EncryptionType = exports.CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleRequest = exports.CompleteLayerUploadResponse = exports.CompleteLayerUploadRequest = 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.BatchCheckLayerAvailabilityResponse = exports.Layer = exports.LayerAvailability = exports.LayerFailure = exports.LayerFailureCode = exports.BatchCheckLayerAvailabilityRequest = void 0;
4
+ exports.LifecyclePolicyPreviewSummary = exports.LifecyclePolicyPreviewStatus = exports.LifecyclePolicyPreviewResult = exports.LifecyclePolicyRuleAction = exports.ImageActionType = exports.GetLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewFilter = exports.GetLifecyclePolicyResponse = exports.GetLifecyclePolicyRequest = 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.DescribePullThroughCacheRulesResponse = exports.PullThroughCacheRule = exports.DescribePullThroughCacheRulesRequest = 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 = void 0;
5
+ exports.UploadLayerPartResponse = exports.UploadLayerPartRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartLifecyclePolicyPreviewResponse = exports.StartLifecyclePolicyPreviewRequest = 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 = exports.PutImageScanningConfigurationRequest = exports.PutImageResponse = exports.PutImageRequest = 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.GetLifecyclePolicyPreviewResponse = void 0;
6
6
  var BatchCheckLayerAvailabilityRequest;
7
7
  (function (BatchCheckLayerAvailabilityRequest) {
8
8
  BatchCheckLayerAvailabilityRequest.filterSensitiveLog = (obj) => ({
@@ -37,24 +37,6 @@ var BatchCheckLayerAvailabilityResponse;
37
37
  ...obj,
38
38
  });
39
39
  })(BatchCheckLayerAvailabilityResponse = exports.BatchCheckLayerAvailabilityResponse || (exports.BatchCheckLayerAvailabilityResponse = {}));
40
- var InvalidParameterException;
41
- (function (InvalidParameterException) {
42
- InvalidParameterException.filterSensitiveLog = (obj) => ({
43
- ...obj,
44
- });
45
- })(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
46
- var RepositoryNotFoundException;
47
- (function (RepositoryNotFoundException) {
48
- RepositoryNotFoundException.filterSensitiveLog = (obj) => ({
49
- ...obj,
50
- });
51
- })(RepositoryNotFoundException = exports.RepositoryNotFoundException || (exports.RepositoryNotFoundException = {}));
52
- var ServerException;
53
- (function (ServerException) {
54
- ServerException.filterSensitiveLog = (obj) => ({
55
- ...obj,
56
- });
57
- })(ServerException = exports.ServerException || (exports.ServerException = {}));
58
40
  var ImageIdentifier;
59
41
  (function (ImageIdentifier) {
60
42
  ImageIdentifier.filterSensitiveLog = (obj) => ({
@@ -107,6 +89,50 @@ var BatchGetImageResponse;
107
89
  ...obj,
108
90
  });
109
91
  })(BatchGetImageResponse = exports.BatchGetImageResponse || (exports.BatchGetImageResponse = {}));
92
+ var BatchGetRepositoryScanningConfigurationRequest;
93
+ (function (BatchGetRepositoryScanningConfigurationRequest) {
94
+ BatchGetRepositoryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
95
+ ...obj,
96
+ });
97
+ })(BatchGetRepositoryScanningConfigurationRequest = exports.BatchGetRepositoryScanningConfigurationRequest || (exports.BatchGetRepositoryScanningConfigurationRequest = {}));
98
+ var ScanningConfigurationFailureCode;
99
+ (function (ScanningConfigurationFailureCode) {
100
+ ScanningConfigurationFailureCode["REPOSITORY_NOT_FOUND"] = "REPOSITORY_NOT_FOUND";
101
+ })(ScanningConfigurationFailureCode = exports.ScanningConfigurationFailureCode || (exports.ScanningConfigurationFailureCode = {}));
102
+ var RepositoryScanningConfigurationFailure;
103
+ (function (RepositoryScanningConfigurationFailure) {
104
+ RepositoryScanningConfigurationFailure.filterSensitiveLog = (obj) => ({
105
+ ...obj,
106
+ });
107
+ })(RepositoryScanningConfigurationFailure = exports.RepositoryScanningConfigurationFailure || (exports.RepositoryScanningConfigurationFailure = {}));
108
+ var ScanningRepositoryFilterType;
109
+ (function (ScanningRepositoryFilterType) {
110
+ ScanningRepositoryFilterType["WILDCARD"] = "WILDCARD";
111
+ })(ScanningRepositoryFilterType = exports.ScanningRepositoryFilterType || (exports.ScanningRepositoryFilterType = {}));
112
+ var ScanningRepositoryFilter;
113
+ (function (ScanningRepositoryFilter) {
114
+ ScanningRepositoryFilter.filterSensitiveLog = (obj) => ({
115
+ ...obj,
116
+ });
117
+ })(ScanningRepositoryFilter = exports.ScanningRepositoryFilter || (exports.ScanningRepositoryFilter = {}));
118
+ var ScanFrequency;
119
+ (function (ScanFrequency) {
120
+ ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
121
+ ScanFrequency["MANUAL"] = "MANUAL";
122
+ ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
123
+ })(ScanFrequency = exports.ScanFrequency || (exports.ScanFrequency = {}));
124
+ var RepositoryScanningConfiguration;
125
+ (function (RepositoryScanningConfiguration) {
126
+ RepositoryScanningConfiguration.filterSensitiveLog = (obj) => ({
127
+ ...obj,
128
+ });
129
+ })(RepositoryScanningConfiguration = exports.RepositoryScanningConfiguration || (exports.RepositoryScanningConfiguration = {}));
130
+ var BatchGetRepositoryScanningConfigurationResponse;
131
+ (function (BatchGetRepositoryScanningConfigurationResponse) {
132
+ BatchGetRepositoryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ });
135
+ })(BatchGetRepositoryScanningConfigurationResponse = exports.BatchGetRepositoryScanningConfigurationResponse || (exports.BatchGetRepositoryScanningConfigurationResponse = {}));
110
136
  var CompleteLayerUploadRequest;
111
137
  (function (CompleteLayerUploadRequest) {
112
138
  CompleteLayerUploadRequest.filterSensitiveLog = (obj) => ({
@@ -119,42 +145,18 @@ var CompleteLayerUploadResponse;
119
145
  ...obj,
120
146
  });
121
147
  })(CompleteLayerUploadResponse = exports.CompleteLayerUploadResponse || (exports.CompleteLayerUploadResponse = {}));
122
- var EmptyUploadException;
123
- (function (EmptyUploadException) {
124
- EmptyUploadException.filterSensitiveLog = (obj) => ({
125
- ...obj,
126
- });
127
- })(EmptyUploadException = exports.EmptyUploadException || (exports.EmptyUploadException = {}));
128
- var InvalidLayerException;
129
- (function (InvalidLayerException) {
130
- InvalidLayerException.filterSensitiveLog = (obj) => ({
131
- ...obj,
132
- });
133
- })(InvalidLayerException = exports.InvalidLayerException || (exports.InvalidLayerException = {}));
134
- var KmsException;
135
- (function (KmsException) {
136
- KmsException.filterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- })(KmsException = exports.KmsException || (exports.KmsException = {}));
140
- var LayerAlreadyExistsException;
141
- (function (LayerAlreadyExistsException) {
142
- LayerAlreadyExistsException.filterSensitiveLog = (obj) => ({
148
+ var CreatePullThroughCacheRuleRequest;
149
+ (function (CreatePullThroughCacheRuleRequest) {
150
+ CreatePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
143
151
  ...obj,
144
152
  });
145
- })(LayerAlreadyExistsException = exports.LayerAlreadyExistsException || (exports.LayerAlreadyExistsException = {}));
146
- var LayerPartTooSmallException;
147
- (function (LayerPartTooSmallException) {
148
- LayerPartTooSmallException.filterSensitiveLog = (obj) => ({
153
+ })(CreatePullThroughCacheRuleRequest = exports.CreatePullThroughCacheRuleRequest || (exports.CreatePullThroughCacheRuleRequest = {}));
154
+ var CreatePullThroughCacheRuleResponse;
155
+ (function (CreatePullThroughCacheRuleResponse) {
156
+ CreatePullThroughCacheRuleResponse.filterSensitiveLog = (obj) => ({
149
157
  ...obj,
150
158
  });
151
- })(LayerPartTooSmallException = exports.LayerPartTooSmallException || (exports.LayerPartTooSmallException = {}));
152
- var UploadNotFoundException;
153
- (function (UploadNotFoundException) {
154
- UploadNotFoundException.filterSensitiveLog = (obj) => ({
155
- ...obj,
156
- });
157
- })(UploadNotFoundException = exports.UploadNotFoundException || (exports.UploadNotFoundException = {}));
159
+ })(CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleResponse || (exports.CreatePullThroughCacheRuleResponse = {}));
158
160
  var EncryptionType;
159
161
  (function (EncryptionType) {
160
162
  EncryptionType["AES256"] = "AES256";
@@ -201,30 +203,6 @@ var CreateRepositoryResponse;
201
203
  ...obj,
202
204
  });
203
205
  })(CreateRepositoryResponse = exports.CreateRepositoryResponse || (exports.CreateRepositoryResponse = {}));
204
- var InvalidTagParameterException;
205
- (function (InvalidTagParameterException) {
206
- InvalidTagParameterException.filterSensitiveLog = (obj) => ({
207
- ...obj,
208
- });
209
- })(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
- var RepositoryAlreadyExistsException;
217
- (function (RepositoryAlreadyExistsException) {
218
- RepositoryAlreadyExistsException.filterSensitiveLog = (obj) => ({
219
- ...obj,
220
- });
221
- })(RepositoryAlreadyExistsException = exports.RepositoryAlreadyExistsException || (exports.RepositoryAlreadyExistsException = {}));
222
- var TooManyTagsException;
223
- (function (TooManyTagsException) {
224
- TooManyTagsException.filterSensitiveLog = (obj) => ({
225
- ...obj,
226
- });
227
- })(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
228
206
  var DeleteLifecyclePolicyRequest;
229
207
  (function (DeleteLifecyclePolicyRequest) {
230
208
  DeleteLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
@@ -237,12 +215,18 @@ var DeleteLifecyclePolicyResponse;
237
215
  ...obj,
238
216
  });
239
217
  })(DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyResponse || (exports.DeleteLifecyclePolicyResponse = {}));
240
- var LifecyclePolicyNotFoundException;
241
- (function (LifecyclePolicyNotFoundException) {
242
- LifecyclePolicyNotFoundException.filterSensitiveLog = (obj) => ({
218
+ var DeletePullThroughCacheRuleRequest;
219
+ (function (DeletePullThroughCacheRuleRequest) {
220
+ DeletePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
221
+ ...obj,
222
+ });
223
+ })(DeletePullThroughCacheRuleRequest = exports.DeletePullThroughCacheRuleRequest || (exports.DeletePullThroughCacheRuleRequest = {}));
224
+ var DeletePullThroughCacheRuleResponse;
225
+ (function (DeletePullThroughCacheRuleResponse) {
226
+ DeletePullThroughCacheRuleResponse.filterSensitiveLog = (obj) => ({
243
227
  ...obj,
244
228
  });
245
- })(LifecyclePolicyNotFoundException = exports.LifecyclePolicyNotFoundException || (exports.LifecyclePolicyNotFoundException = {}));
229
+ })(DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleResponse || (exports.DeletePullThroughCacheRuleResponse = {}));
246
230
  var DeleteRegistryPolicyRequest;
247
231
  (function (DeleteRegistryPolicyRequest) {
248
232
  DeleteRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -255,18 +239,6 @@ var DeleteRegistryPolicyResponse;
255
239
  ...obj,
256
240
  });
257
241
  })(DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyResponse || (exports.DeleteRegistryPolicyResponse = {}));
258
- var RegistryPolicyNotFoundException;
259
- (function (RegistryPolicyNotFoundException) {
260
- RegistryPolicyNotFoundException.filterSensitiveLog = (obj) => ({
261
- ...obj,
262
- });
263
- })(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
242
  var DeleteRepositoryRequest;
271
243
  (function (DeleteRepositoryRequest) {
272
244
  DeleteRepositoryRequest.filterSensitiveLog = (obj) => ({
@@ -279,12 +251,6 @@ var DeleteRepositoryResponse;
279
251
  ...obj,
280
252
  });
281
253
  })(DeleteRepositoryResponse = exports.DeleteRepositoryResponse || (exports.DeleteRepositoryResponse = {}));
282
- var RepositoryNotEmptyException;
283
- (function (RepositoryNotEmptyException) {
284
- RepositoryNotEmptyException.filterSensitiveLog = (obj) => ({
285
- ...obj,
286
- });
287
- })(RepositoryNotEmptyException = exports.RepositoryNotEmptyException || (exports.RepositoryNotEmptyException = {}));
288
254
  var DeleteRepositoryPolicyRequest;
289
255
  (function (DeleteRepositoryPolicyRequest) {
290
256
  DeleteRepositoryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -297,12 +263,6 @@ var DeleteRepositoryPolicyResponse;
297
263
  ...obj,
298
264
  });
299
265
  })(DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyResponse || (exports.DeleteRepositoryPolicyResponse = {}));
300
- var RepositoryPolicyNotFoundException;
301
- (function (RepositoryPolicyNotFoundException) {
302
- RepositoryPolicyNotFoundException.filterSensitiveLog = (obj) => ({
303
- ...obj,
304
- });
305
- })(RepositoryPolicyNotFoundException = exports.RepositoryPolicyNotFoundException || (exports.RepositoryPolicyNotFoundException = {}));
306
266
  var DescribeImageReplicationStatusRequest;
307
267
  (function (DescribeImageReplicationStatusRequest) {
308
268
  DescribeImageReplicationStatusRequest.filterSensitiveLog = (obj) => ({
@@ -327,12 +287,6 @@ var DescribeImageReplicationStatusResponse;
327
287
  ...obj,
328
288
  });
329
289
  })(DescribeImageReplicationStatusResponse = exports.DescribeImageReplicationStatusResponse || (exports.DescribeImageReplicationStatusResponse = {}));
330
- var ImageNotFoundException;
331
- (function (ImageNotFoundException) {
332
- ImageNotFoundException.filterSensitiveLog = (obj) => ({
333
- ...obj,
334
- });
335
- })(ImageNotFoundException = exports.ImageNotFoundException || (exports.ImageNotFoundException = {}));
336
290
  var TagStatus;
337
291
  (function (TagStatus) {
338
292
  TagStatus["ANY"] = "ANY";
@@ -368,9 +322,14 @@ var ImageScanFindingsSummary;
368
322
  })(ImageScanFindingsSummary = exports.ImageScanFindingsSummary || (exports.ImageScanFindingsSummary = {}));
369
323
  var ScanStatus;
370
324
  (function (ScanStatus) {
325
+ ScanStatus["ACTIVE"] = "ACTIVE";
371
326
  ScanStatus["COMPLETE"] = "COMPLETE";
372
327
  ScanStatus["FAILED"] = "FAILED";
328
+ ScanStatus["FINDINGS_UNAVAILABLE"] = "FINDINGS_UNAVAILABLE";
373
329
  ScanStatus["IN_PROGRESS"] = "IN_PROGRESS";
330
+ ScanStatus["PENDING"] = "PENDING";
331
+ ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
332
+ ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
374
333
  })(ScanStatus = exports.ScanStatus || (exports.ScanStatus = {}));
375
334
  var ImageScanStatus;
376
335
  (function (ImageScanStatus) {
@@ -396,6 +355,78 @@ var DescribeImageScanFindingsRequest;
396
355
  ...obj,
397
356
  });
398
357
  })(DescribeImageScanFindingsRequest = exports.DescribeImageScanFindingsRequest || (exports.DescribeImageScanFindingsRequest = {}));
358
+ var CvssScore;
359
+ (function (CvssScore) {
360
+ CvssScore.filterSensitiveLog = (obj) => ({
361
+ ...obj,
362
+ });
363
+ })(CvssScore = exports.CvssScore || (exports.CvssScore = {}));
364
+ var VulnerablePackage;
365
+ (function (VulnerablePackage) {
366
+ VulnerablePackage.filterSensitiveLog = (obj) => ({
367
+ ...obj,
368
+ });
369
+ })(VulnerablePackage = exports.VulnerablePackage || (exports.VulnerablePackage = {}));
370
+ var PackageVulnerabilityDetails;
371
+ (function (PackageVulnerabilityDetails) {
372
+ PackageVulnerabilityDetails.filterSensitiveLog = (obj) => ({
373
+ ...obj,
374
+ });
375
+ })(PackageVulnerabilityDetails = exports.PackageVulnerabilityDetails || (exports.PackageVulnerabilityDetails = {}));
376
+ var Recommendation;
377
+ (function (Recommendation) {
378
+ Recommendation.filterSensitiveLog = (obj) => ({
379
+ ...obj,
380
+ });
381
+ })(Recommendation = exports.Recommendation || (exports.Recommendation = {}));
382
+ var Remediation;
383
+ (function (Remediation) {
384
+ Remediation.filterSensitiveLog = (obj) => ({
385
+ ...obj,
386
+ });
387
+ })(Remediation = exports.Remediation || (exports.Remediation = {}));
388
+ var AwsEcrContainerImageDetails;
389
+ (function (AwsEcrContainerImageDetails) {
390
+ AwsEcrContainerImageDetails.filterSensitiveLog = (obj) => ({
391
+ ...obj,
392
+ });
393
+ })(AwsEcrContainerImageDetails = exports.AwsEcrContainerImageDetails || (exports.AwsEcrContainerImageDetails = {}));
394
+ var ResourceDetails;
395
+ (function (ResourceDetails) {
396
+ ResourceDetails.filterSensitiveLog = (obj) => ({
397
+ ...obj,
398
+ });
399
+ })(ResourceDetails = exports.ResourceDetails || (exports.ResourceDetails = {}));
400
+ var Resource;
401
+ (function (Resource) {
402
+ Resource.filterSensitiveLog = (obj) => ({
403
+ ...obj,
404
+ });
405
+ })(Resource = exports.Resource || (exports.Resource = {}));
406
+ var CvssScoreAdjustment;
407
+ (function (CvssScoreAdjustment) {
408
+ CvssScoreAdjustment.filterSensitiveLog = (obj) => ({
409
+ ...obj,
410
+ });
411
+ })(CvssScoreAdjustment = exports.CvssScoreAdjustment || (exports.CvssScoreAdjustment = {}));
412
+ var CvssScoreDetails;
413
+ (function (CvssScoreDetails) {
414
+ CvssScoreDetails.filterSensitiveLog = (obj) => ({
415
+ ...obj,
416
+ });
417
+ })(CvssScoreDetails = exports.CvssScoreDetails || (exports.CvssScoreDetails = {}));
418
+ var ScoreDetails;
419
+ (function (ScoreDetails) {
420
+ ScoreDetails.filterSensitiveLog = (obj) => ({
421
+ ...obj,
422
+ });
423
+ })(ScoreDetails = exports.ScoreDetails || (exports.ScoreDetails = {}));
424
+ var EnhancedImageScanFinding;
425
+ (function (EnhancedImageScanFinding) {
426
+ EnhancedImageScanFinding.filterSensitiveLog = (obj) => ({
427
+ ...obj,
428
+ });
429
+ })(EnhancedImageScanFinding = exports.EnhancedImageScanFinding || (exports.EnhancedImageScanFinding = {}));
399
430
  var Attribute;
400
431
  (function (Attribute) {
401
432
  Attribute.filterSensitiveLog = (obj) => ({
@@ -420,12 +451,24 @@ var DescribeImageScanFindingsResponse;
420
451
  ...obj,
421
452
  });
422
453
  })(DescribeImageScanFindingsResponse = exports.DescribeImageScanFindingsResponse || (exports.DescribeImageScanFindingsResponse = {}));
423
- var ScanNotFoundException;
424
- (function (ScanNotFoundException) {
425
- ScanNotFoundException.filterSensitiveLog = (obj) => ({
454
+ var DescribePullThroughCacheRulesRequest;
455
+ (function (DescribePullThroughCacheRulesRequest) {
456
+ DescribePullThroughCacheRulesRequest.filterSensitiveLog = (obj) => ({
457
+ ...obj,
458
+ });
459
+ })(DescribePullThroughCacheRulesRequest = exports.DescribePullThroughCacheRulesRequest || (exports.DescribePullThroughCacheRulesRequest = {}));
460
+ var PullThroughCacheRule;
461
+ (function (PullThroughCacheRule) {
462
+ PullThroughCacheRule.filterSensitiveLog = (obj) => ({
463
+ ...obj,
464
+ });
465
+ })(PullThroughCacheRule = exports.PullThroughCacheRule || (exports.PullThroughCacheRule = {}));
466
+ var DescribePullThroughCacheRulesResponse;
467
+ (function (DescribePullThroughCacheRulesResponse) {
468
+ DescribePullThroughCacheRulesResponse.filterSensitiveLog = (obj) => ({
426
469
  ...obj,
427
470
  });
428
- })(ScanNotFoundException = exports.ScanNotFoundException || (exports.ScanNotFoundException = {}));
471
+ })(DescribePullThroughCacheRulesResponse = exports.DescribePullThroughCacheRulesResponse || (exports.DescribePullThroughCacheRulesResponse = {}));
429
472
  var DescribeRegistryRequest;
430
473
  (function (DescribeRegistryRequest) {
431
474
  DescribeRegistryRequest.filterSensitiveLog = (obj) => ({
@@ -508,18 +551,6 @@ var GetDownloadUrlForLayerResponse;
508
551
  ...obj,
509
552
  });
510
553
  })(GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerResponse || (exports.GetDownloadUrlForLayerResponse = {}));
511
- var LayerInaccessibleException;
512
- (function (LayerInaccessibleException) {
513
- LayerInaccessibleException.filterSensitiveLog = (obj) => ({
514
- ...obj,
515
- });
516
- })(LayerInaccessibleException = exports.LayerInaccessibleException || (exports.LayerInaccessibleException = {}));
517
- var LayersNotFoundException;
518
- (function (LayersNotFoundException) {
519
- LayersNotFoundException.filterSensitiveLog = (obj) => ({
520
- ...obj,
521
- });
522
- })(LayersNotFoundException = exports.LayersNotFoundException || (exports.LayersNotFoundException = {}));
523
554
  var GetLifecyclePolicyRequest;
524
555
  (function (GetLifecyclePolicyRequest) {
525
556
  GetLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
@@ -579,12 +610,6 @@ var GetLifecyclePolicyPreviewResponse;
579
610
  ...obj,
580
611
  });
581
612
  })(GetLifecyclePolicyPreviewResponse = exports.GetLifecyclePolicyPreviewResponse || (exports.GetLifecyclePolicyPreviewResponse = {}));
582
- var LifecyclePolicyPreviewNotFoundException;
583
- (function (LifecyclePolicyPreviewNotFoundException) {
584
- LifecyclePolicyPreviewNotFoundException.filterSensitiveLog = (obj) => ({
585
- ...obj,
586
- });
587
- })(LifecyclePolicyPreviewNotFoundException = exports.LifecyclePolicyPreviewNotFoundException || (exports.LifecyclePolicyPreviewNotFoundException = {}));
588
613
  var GetRegistryPolicyRequest;
589
614
  (function (GetRegistryPolicyRequest) {
590
615
  GetRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -597,6 +622,35 @@ var GetRegistryPolicyResponse;
597
622
  ...obj,
598
623
  });
599
624
  })(GetRegistryPolicyResponse = exports.GetRegistryPolicyResponse || (exports.GetRegistryPolicyResponse = {}));
625
+ var GetRegistryScanningConfigurationRequest;
626
+ (function (GetRegistryScanningConfigurationRequest) {
627
+ GetRegistryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
628
+ ...obj,
629
+ });
630
+ })(GetRegistryScanningConfigurationRequest = exports.GetRegistryScanningConfigurationRequest || (exports.GetRegistryScanningConfigurationRequest = {}));
631
+ var RegistryScanningRule;
632
+ (function (RegistryScanningRule) {
633
+ RegistryScanningRule.filterSensitiveLog = (obj) => ({
634
+ ...obj,
635
+ });
636
+ })(RegistryScanningRule = exports.RegistryScanningRule || (exports.RegistryScanningRule = {}));
637
+ var ScanType;
638
+ (function (ScanType) {
639
+ ScanType["BASIC"] = "BASIC";
640
+ ScanType["ENHANCED"] = "ENHANCED";
641
+ })(ScanType = exports.ScanType || (exports.ScanType = {}));
642
+ var RegistryScanningConfiguration;
643
+ (function (RegistryScanningConfiguration) {
644
+ RegistryScanningConfiguration.filterSensitiveLog = (obj) => ({
645
+ ...obj,
646
+ });
647
+ })(RegistryScanningConfiguration = exports.RegistryScanningConfiguration || (exports.RegistryScanningConfiguration = {}));
648
+ var GetRegistryScanningConfigurationResponse;
649
+ (function (GetRegistryScanningConfigurationResponse) {
650
+ GetRegistryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
651
+ ...obj,
652
+ });
653
+ })(GetRegistryScanningConfigurationResponse = exports.GetRegistryScanningConfigurationResponse || (exports.GetRegistryScanningConfigurationResponse = {}));
600
654
  var GetRepositoryPolicyRequest;
601
655
  (function (GetRepositoryPolicyRequest) {
602
656
  GetRepositoryPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -651,24 +705,6 @@ var ListTagsForResourceResponse;
651
705
  ...obj,
652
706
  });
653
707
  })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
654
- var ImageAlreadyExistsException;
655
- (function (ImageAlreadyExistsException) {
656
- ImageAlreadyExistsException.filterSensitiveLog = (obj) => ({
657
- ...obj,
658
- });
659
- })(ImageAlreadyExistsException = exports.ImageAlreadyExistsException || (exports.ImageAlreadyExistsException = {}));
660
- var ImageDigestDoesNotMatchException;
661
- (function (ImageDigestDoesNotMatchException) {
662
- ImageDigestDoesNotMatchException.filterSensitiveLog = (obj) => ({
663
- ...obj,
664
- });
665
- })(ImageDigestDoesNotMatchException = exports.ImageDigestDoesNotMatchException || (exports.ImageDigestDoesNotMatchException = {}));
666
- var ImageTagAlreadyExistsException;
667
- (function (ImageTagAlreadyExistsException) {
668
- ImageTagAlreadyExistsException.filterSensitiveLog = (obj) => ({
669
- ...obj,
670
- });
671
- })(ImageTagAlreadyExistsException = exports.ImageTagAlreadyExistsException || (exports.ImageTagAlreadyExistsException = {}));
672
708
  var PutImageRequest;
673
709
  (function (PutImageRequest) {
674
710
  PutImageRequest.filterSensitiveLog = (obj) => ({
@@ -681,12 +717,6 @@ var PutImageResponse;
681
717
  ...obj,
682
718
  });
683
719
  })(PutImageResponse = exports.PutImageResponse || (exports.PutImageResponse = {}));
684
- var ReferencedImagesNotFoundException;
685
- (function (ReferencedImagesNotFoundException) {
686
- ReferencedImagesNotFoundException.filterSensitiveLog = (obj) => ({
687
- ...obj,
688
- });
689
- })(ReferencedImagesNotFoundException = exports.ReferencedImagesNotFoundException || (exports.ReferencedImagesNotFoundException = {}));
690
720
  var PutImageScanningConfigurationRequest;
691
721
  (function (PutImageScanningConfigurationRequest) {
692
722
  PutImageScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -735,6 +765,18 @@ var PutRegistryPolicyResponse;
735
765
  ...obj,
736
766
  });
737
767
  })(PutRegistryPolicyResponse = exports.PutRegistryPolicyResponse || (exports.PutRegistryPolicyResponse = {}));
768
+ var PutRegistryScanningConfigurationRequest;
769
+ (function (PutRegistryScanningConfigurationRequest) {
770
+ PutRegistryScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
771
+ ...obj,
772
+ });
773
+ })(PutRegistryScanningConfigurationRequest = exports.PutRegistryScanningConfigurationRequest || (exports.PutRegistryScanningConfigurationRequest = {}));
774
+ var PutRegistryScanningConfigurationResponse;
775
+ (function (PutRegistryScanningConfigurationResponse) {
776
+ PutRegistryScanningConfigurationResponse.filterSensitiveLog = (obj) => ({
777
+ ...obj,
778
+ });
779
+ })(PutRegistryScanningConfigurationResponse = exports.PutRegistryScanningConfigurationResponse || (exports.PutRegistryScanningConfigurationResponse = {}));
738
780
  var PutReplicationConfigurationRequest;
739
781
  (function (PutReplicationConfigurationRequest) {
740
782
  PutReplicationConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -771,18 +813,6 @@ var StartImageScanResponse;
771
813
  ...obj,
772
814
  });
773
815
  })(StartImageScanResponse = exports.StartImageScanResponse || (exports.StartImageScanResponse = {}));
774
- var UnsupportedImageTypeException;
775
- (function (UnsupportedImageTypeException) {
776
- UnsupportedImageTypeException.filterSensitiveLog = (obj) => ({
777
- ...obj,
778
- });
779
- })(UnsupportedImageTypeException = exports.UnsupportedImageTypeException || (exports.UnsupportedImageTypeException = {}));
780
- var LifecyclePolicyPreviewInProgressException;
781
- (function (LifecyclePolicyPreviewInProgressException) {
782
- LifecyclePolicyPreviewInProgressException.filterSensitiveLog = (obj) => ({
783
- ...obj,
784
- });
785
- })(LifecyclePolicyPreviewInProgressException = exports.LifecyclePolicyPreviewInProgressException || (exports.LifecyclePolicyPreviewInProgressException = {}));
786
816
  var StartLifecyclePolicyPreviewRequest;
787
817
  (function (StartLifecyclePolicyPreviewRequest) {
788
818
  StartLifecyclePolicyPreviewRequest.filterSensitiveLog = (obj) => ({
@@ -819,12 +849,6 @@ var UntagResourceResponse;
819
849
  ...obj,
820
850
  });
821
851
  })(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
822
- var InvalidLayerPartException;
823
- (function (InvalidLayerPartException) {
824
- InvalidLayerPartException.filterSensitiveLog = (obj) => ({
825
- ...obj,
826
- });
827
- })(InvalidLayerPartException = exports.InvalidLayerPartException || (exports.InvalidLayerPartException = {}));
828
852
  var UploadLayerPartRequest;
829
853
  (function (UploadLayerPartRequest) {
830
854
  UploadLayerPartRequest.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);