@aws-sdk/client-ecr 3.42.0 → 3.46.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/CHANGELOG.md +47 -0
- package/dist-cjs/ECR.js +90 -0
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +36 -0
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +36 -0
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +10 -0
- package/dist-cjs/models/models_0.js +238 -15
- package/dist-cjs/pagination/DescribePullThroughCacheRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1070 -16
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/ECR.js +90 -0
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +39 -0
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +39 -0
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +10 -0
- package/dist-es/models/models_0.js +164 -8
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1204 -120
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +8 -2
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +36 -0
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +35 -0
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +35 -0
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +984 -157
- package/dist-types/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +488 -24
- package/dist-types/ts3.4/pagination/DescribePullThroughCacheRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +18 -0
- package/package.json +37 -44
|
@@ -75,6 +75,44 @@ export var BatchGetImageResponse;
|
|
|
75
75
|
(function (BatchGetImageResponse) {
|
|
76
76
|
BatchGetImageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
77
|
})(BatchGetImageResponse || (BatchGetImageResponse = {}));
|
|
78
|
+
export var BatchGetRepositoryScanningConfigurationRequest;
|
|
79
|
+
(function (BatchGetRepositoryScanningConfigurationRequest) {
|
|
80
|
+
BatchGetRepositoryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
+
})(BatchGetRepositoryScanningConfigurationRequest || (BatchGetRepositoryScanningConfigurationRequest = {}));
|
|
82
|
+
export var ScanningConfigurationFailureCode;
|
|
83
|
+
(function (ScanningConfigurationFailureCode) {
|
|
84
|
+
ScanningConfigurationFailureCode["REPOSITORY_NOT_FOUND"] = "REPOSITORY_NOT_FOUND";
|
|
85
|
+
})(ScanningConfigurationFailureCode || (ScanningConfigurationFailureCode = {}));
|
|
86
|
+
export var RepositoryScanningConfigurationFailure;
|
|
87
|
+
(function (RepositoryScanningConfigurationFailure) {
|
|
88
|
+
RepositoryScanningConfigurationFailure.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
})(RepositoryScanningConfigurationFailure || (RepositoryScanningConfigurationFailure = {}));
|
|
90
|
+
export var ScanningRepositoryFilterType;
|
|
91
|
+
(function (ScanningRepositoryFilterType) {
|
|
92
|
+
ScanningRepositoryFilterType["WILDCARD"] = "WILDCARD";
|
|
93
|
+
})(ScanningRepositoryFilterType || (ScanningRepositoryFilterType = {}));
|
|
94
|
+
export var ScanningRepositoryFilter;
|
|
95
|
+
(function (ScanningRepositoryFilter) {
|
|
96
|
+
ScanningRepositoryFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
})(ScanningRepositoryFilter || (ScanningRepositoryFilter = {}));
|
|
98
|
+
export var ScanFrequency;
|
|
99
|
+
(function (ScanFrequency) {
|
|
100
|
+
ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
|
|
101
|
+
ScanFrequency["MANUAL"] = "MANUAL";
|
|
102
|
+
ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
|
|
103
|
+
})(ScanFrequency || (ScanFrequency = {}));
|
|
104
|
+
export var RepositoryScanningConfiguration;
|
|
105
|
+
(function (RepositoryScanningConfiguration) {
|
|
106
|
+
RepositoryScanningConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
|
+
})(RepositoryScanningConfiguration || (RepositoryScanningConfiguration = {}));
|
|
108
|
+
export var BatchGetRepositoryScanningConfigurationResponse;
|
|
109
|
+
(function (BatchGetRepositoryScanningConfigurationResponse) {
|
|
110
|
+
BatchGetRepositoryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
+
})(BatchGetRepositoryScanningConfigurationResponse || (BatchGetRepositoryScanningConfigurationResponse = {}));
|
|
112
|
+
export var ValidationException;
|
|
113
|
+
(function (ValidationException) {
|
|
114
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
})(ValidationException || (ValidationException = {}));
|
|
78
116
|
export var CompleteLayerUploadRequest;
|
|
79
117
|
(function (CompleteLayerUploadRequest) {
|
|
80
118
|
CompleteLayerUploadRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -107,6 +145,26 @@ export var UploadNotFoundException;
|
|
|
107
145
|
(function (UploadNotFoundException) {
|
|
108
146
|
UploadNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
147
|
})(UploadNotFoundException || (UploadNotFoundException = {}));
|
|
148
|
+
export var CreatePullThroughCacheRuleRequest;
|
|
149
|
+
(function (CreatePullThroughCacheRuleRequest) {
|
|
150
|
+
CreatePullThroughCacheRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
})(CreatePullThroughCacheRuleRequest || (CreatePullThroughCacheRuleRequest = {}));
|
|
152
|
+
export var CreatePullThroughCacheRuleResponse;
|
|
153
|
+
(function (CreatePullThroughCacheRuleResponse) {
|
|
154
|
+
CreatePullThroughCacheRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
+
})(CreatePullThroughCacheRuleResponse || (CreatePullThroughCacheRuleResponse = {}));
|
|
156
|
+
export var LimitExceededException;
|
|
157
|
+
(function (LimitExceededException) {
|
|
158
|
+
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
+
})(LimitExceededException || (LimitExceededException = {}));
|
|
160
|
+
export var PullThroughCacheRuleAlreadyExistsException;
|
|
161
|
+
(function (PullThroughCacheRuleAlreadyExistsException) {
|
|
162
|
+
PullThroughCacheRuleAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
})(PullThroughCacheRuleAlreadyExistsException || (PullThroughCacheRuleAlreadyExistsException = {}));
|
|
164
|
+
export var UnsupportedUpstreamRegistryException;
|
|
165
|
+
(function (UnsupportedUpstreamRegistryException) {
|
|
166
|
+
UnsupportedUpstreamRegistryException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
})(UnsupportedUpstreamRegistryException || (UnsupportedUpstreamRegistryException = {}));
|
|
110
168
|
export var EncryptionType;
|
|
111
169
|
(function (EncryptionType) {
|
|
112
170
|
EncryptionType["AES256"] = "AES256";
|
|
@@ -145,10 +203,6 @@ export var InvalidTagParameterException;
|
|
|
145
203
|
(function (InvalidTagParameterException) {
|
|
146
204
|
InvalidTagParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
205
|
})(InvalidTagParameterException || (InvalidTagParameterException = {}));
|
|
148
|
-
export var LimitExceededException;
|
|
149
|
-
(function (LimitExceededException) {
|
|
150
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
152
206
|
export var RepositoryAlreadyExistsException;
|
|
153
207
|
(function (RepositoryAlreadyExistsException) {
|
|
154
208
|
RepositoryAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -169,6 +223,18 @@ export var LifecyclePolicyNotFoundException;
|
|
|
169
223
|
(function (LifecyclePolicyNotFoundException) {
|
|
170
224
|
LifecyclePolicyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
225
|
})(LifecyclePolicyNotFoundException || (LifecyclePolicyNotFoundException = {}));
|
|
226
|
+
export var DeletePullThroughCacheRuleRequest;
|
|
227
|
+
(function (DeletePullThroughCacheRuleRequest) {
|
|
228
|
+
DeletePullThroughCacheRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
})(DeletePullThroughCacheRuleRequest || (DeletePullThroughCacheRuleRequest = {}));
|
|
230
|
+
export var DeletePullThroughCacheRuleResponse;
|
|
231
|
+
(function (DeletePullThroughCacheRuleResponse) {
|
|
232
|
+
DeletePullThroughCacheRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
})(DeletePullThroughCacheRuleResponse || (DeletePullThroughCacheRuleResponse = {}));
|
|
234
|
+
export var PullThroughCacheRuleNotFoundException;
|
|
235
|
+
(function (PullThroughCacheRuleNotFoundException) {
|
|
236
|
+
PullThroughCacheRuleNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
})(PullThroughCacheRuleNotFoundException || (PullThroughCacheRuleNotFoundException = {}));
|
|
172
238
|
export var DeleteRegistryPolicyRequest;
|
|
173
239
|
(function (DeleteRegistryPolicyRequest) {
|
|
174
240
|
DeleteRegistryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -181,10 +247,6 @@ export var RegistryPolicyNotFoundException;
|
|
|
181
247
|
(function (RegistryPolicyNotFoundException) {
|
|
182
248
|
RegistryPolicyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
249
|
})(RegistryPolicyNotFoundException || (RegistryPolicyNotFoundException = {}));
|
|
184
|
-
export var ValidationException;
|
|
185
|
-
(function (ValidationException) {
|
|
186
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
-
})(ValidationException || (ValidationException = {}));
|
|
188
250
|
export var DeleteRepositoryRequest;
|
|
189
251
|
(function (DeleteRepositoryRequest) {
|
|
190
252
|
DeleteRepositoryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -260,9 +322,14 @@ export var ImageScanFindingsSummary;
|
|
|
260
322
|
})(ImageScanFindingsSummary || (ImageScanFindingsSummary = {}));
|
|
261
323
|
export var ScanStatus;
|
|
262
324
|
(function (ScanStatus) {
|
|
325
|
+
ScanStatus["ACTIVE"] = "ACTIVE";
|
|
263
326
|
ScanStatus["COMPLETE"] = "COMPLETE";
|
|
264
327
|
ScanStatus["FAILED"] = "FAILED";
|
|
328
|
+
ScanStatus["FINDINGS_UNAVAILABLE"] = "FINDINGS_UNAVAILABLE";
|
|
265
329
|
ScanStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
330
|
+
ScanStatus["PENDING"] = "PENDING";
|
|
331
|
+
ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
|
|
332
|
+
ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
|
|
266
333
|
})(ScanStatus || (ScanStatus = {}));
|
|
267
334
|
export var ImageScanStatus;
|
|
268
335
|
(function (ImageScanStatus) {
|
|
@@ -280,6 +347,54 @@ export var DescribeImageScanFindingsRequest;
|
|
|
280
347
|
(function (DescribeImageScanFindingsRequest) {
|
|
281
348
|
DescribeImageScanFindingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
349
|
})(DescribeImageScanFindingsRequest || (DescribeImageScanFindingsRequest = {}));
|
|
350
|
+
export var CvssScore;
|
|
351
|
+
(function (CvssScore) {
|
|
352
|
+
CvssScore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
353
|
+
})(CvssScore || (CvssScore = {}));
|
|
354
|
+
export var VulnerablePackage;
|
|
355
|
+
(function (VulnerablePackage) {
|
|
356
|
+
VulnerablePackage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
357
|
+
})(VulnerablePackage || (VulnerablePackage = {}));
|
|
358
|
+
export var PackageVulnerabilityDetails;
|
|
359
|
+
(function (PackageVulnerabilityDetails) {
|
|
360
|
+
PackageVulnerabilityDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
361
|
+
})(PackageVulnerabilityDetails || (PackageVulnerabilityDetails = {}));
|
|
362
|
+
export var Recommendation;
|
|
363
|
+
(function (Recommendation) {
|
|
364
|
+
Recommendation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
365
|
+
})(Recommendation || (Recommendation = {}));
|
|
366
|
+
export var Remediation;
|
|
367
|
+
(function (Remediation) {
|
|
368
|
+
Remediation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
369
|
+
})(Remediation || (Remediation = {}));
|
|
370
|
+
export var AwsEcrContainerImageDetails;
|
|
371
|
+
(function (AwsEcrContainerImageDetails) {
|
|
372
|
+
AwsEcrContainerImageDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
373
|
+
})(AwsEcrContainerImageDetails || (AwsEcrContainerImageDetails = {}));
|
|
374
|
+
export var ResourceDetails;
|
|
375
|
+
(function (ResourceDetails) {
|
|
376
|
+
ResourceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
|
+
})(ResourceDetails || (ResourceDetails = {}));
|
|
378
|
+
export var Resource;
|
|
379
|
+
(function (Resource) {
|
|
380
|
+
Resource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
|
+
})(Resource || (Resource = {}));
|
|
382
|
+
export var CvssScoreAdjustment;
|
|
383
|
+
(function (CvssScoreAdjustment) {
|
|
384
|
+
CvssScoreAdjustment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
385
|
+
})(CvssScoreAdjustment || (CvssScoreAdjustment = {}));
|
|
386
|
+
export var CvssScoreDetails;
|
|
387
|
+
(function (CvssScoreDetails) {
|
|
388
|
+
CvssScoreDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
389
|
+
})(CvssScoreDetails || (CvssScoreDetails = {}));
|
|
390
|
+
export var ScoreDetails;
|
|
391
|
+
(function (ScoreDetails) {
|
|
392
|
+
ScoreDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
393
|
+
})(ScoreDetails || (ScoreDetails = {}));
|
|
394
|
+
export var EnhancedImageScanFinding;
|
|
395
|
+
(function (EnhancedImageScanFinding) {
|
|
396
|
+
EnhancedImageScanFinding.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
397
|
+
})(EnhancedImageScanFinding || (EnhancedImageScanFinding = {}));
|
|
283
398
|
export var Attribute;
|
|
284
399
|
(function (Attribute) {
|
|
285
400
|
Attribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -300,6 +415,18 @@ export var ScanNotFoundException;
|
|
|
300
415
|
(function (ScanNotFoundException) {
|
|
301
416
|
ScanNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
302
417
|
})(ScanNotFoundException || (ScanNotFoundException = {}));
|
|
418
|
+
export var DescribePullThroughCacheRulesRequest;
|
|
419
|
+
(function (DescribePullThroughCacheRulesRequest) {
|
|
420
|
+
DescribePullThroughCacheRulesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
|
+
})(DescribePullThroughCacheRulesRequest || (DescribePullThroughCacheRulesRequest = {}));
|
|
422
|
+
export var PullThroughCacheRule;
|
|
423
|
+
(function (PullThroughCacheRule) {
|
|
424
|
+
PullThroughCacheRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
425
|
+
})(PullThroughCacheRule || (PullThroughCacheRule = {}));
|
|
426
|
+
export var DescribePullThroughCacheRulesResponse;
|
|
427
|
+
(function (DescribePullThroughCacheRulesResponse) {
|
|
428
|
+
DescribePullThroughCacheRulesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
|
+
})(DescribePullThroughCacheRulesResponse || (DescribePullThroughCacheRulesResponse = {}));
|
|
303
430
|
export var DescribeRegistryRequest;
|
|
304
431
|
(function (DescribeRegistryRequest) {
|
|
305
432
|
DescribeRegistryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -419,6 +546,27 @@ export var GetRegistryPolicyResponse;
|
|
|
419
546
|
(function (GetRegistryPolicyResponse) {
|
|
420
547
|
GetRegistryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
548
|
})(GetRegistryPolicyResponse || (GetRegistryPolicyResponse = {}));
|
|
549
|
+
export var GetRegistryScanningConfigurationRequest;
|
|
550
|
+
(function (GetRegistryScanningConfigurationRequest) {
|
|
551
|
+
GetRegistryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
552
|
+
})(GetRegistryScanningConfigurationRequest || (GetRegistryScanningConfigurationRequest = {}));
|
|
553
|
+
export var RegistryScanningRule;
|
|
554
|
+
(function (RegistryScanningRule) {
|
|
555
|
+
RegistryScanningRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
556
|
+
})(RegistryScanningRule || (RegistryScanningRule = {}));
|
|
557
|
+
export var ScanType;
|
|
558
|
+
(function (ScanType) {
|
|
559
|
+
ScanType["BASIC"] = "BASIC";
|
|
560
|
+
ScanType["ENHANCED"] = "ENHANCED";
|
|
561
|
+
})(ScanType || (ScanType = {}));
|
|
562
|
+
export var RegistryScanningConfiguration;
|
|
563
|
+
(function (RegistryScanningConfiguration) {
|
|
564
|
+
RegistryScanningConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
565
|
+
})(RegistryScanningConfiguration || (RegistryScanningConfiguration = {}));
|
|
566
|
+
export var GetRegistryScanningConfigurationResponse;
|
|
567
|
+
(function (GetRegistryScanningConfigurationResponse) {
|
|
568
|
+
GetRegistryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
569
|
+
})(GetRegistryScanningConfigurationResponse || (GetRegistryScanningConfigurationResponse = {}));
|
|
422
570
|
export var GetRepositoryPolicyRequest;
|
|
423
571
|
(function (GetRepositoryPolicyRequest) {
|
|
424
572
|
GetRepositoryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -511,6 +659,14 @@ export var PutRegistryPolicyResponse;
|
|
|
511
659
|
(function (PutRegistryPolicyResponse) {
|
|
512
660
|
PutRegistryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
513
661
|
})(PutRegistryPolicyResponse || (PutRegistryPolicyResponse = {}));
|
|
662
|
+
export var PutRegistryScanningConfigurationRequest;
|
|
663
|
+
(function (PutRegistryScanningConfigurationRequest) {
|
|
664
|
+
PutRegistryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
665
|
+
})(PutRegistryScanningConfigurationRequest || (PutRegistryScanningConfigurationRequest = {}));
|
|
666
|
+
export var PutRegistryScanningConfigurationResponse;
|
|
667
|
+
(function (PutRegistryScanningConfigurationResponse) {
|
|
668
|
+
PutRegistryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
669
|
+
})(PutRegistryScanningConfigurationResponse || (PutRegistryScanningConfigurationResponse = {}));
|
|
514
670
|
export var PutReplicationConfigurationRequest;
|
|
515
671
|
(function (PutReplicationConfigurationRequest) {
|
|
516
672
|
PutReplicationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { DescribePullThroughCacheRulesCommand, } from "../commands/DescribePullThroughCacheRulesCommand";
|
|
3
|
+
import { ECR } from "../ECR";
|
|
4
|
+
import { ECRClient } from "../ECRClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribePullThroughCacheRulesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.describePullThroughCacheRules.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateDescribePullThroughCacheRules(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateDescribePullThroughCacheRules_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof ECR)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ECRClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected ECR | ECRClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DescribeImageScanFindingsPaginator";
|
|
2
2
|
export * from "./DescribeImagesPaginator";
|
|
3
|
+
export * from "./DescribePullThroughCacheRulesPaginator";
|
|
3
4
|
export * from "./DescribeRepositoriesPaginator";
|
|
4
5
|
export * from "./GetLifecyclePolicyPreviewPaginator";
|
|
5
6
|
export * from "./Interfaces";
|