@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.
- package/CHANGELOG.md +50 -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 +199 -175
- 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.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 +144 -120
- 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.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ECR.d.ts +43 -0
- package/dist-types/ECRClient.d.ts +13 -3
- 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 +912 -283
- 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/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ECR.d.ts +30 -0
- package/dist-types/ts3.4/ECRClient.d.ts +11 -3
- 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 +462 -130
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -25,18 +25,6 @@ export var BatchCheckLayerAvailabilityResponse;
|
|
|
25
25
|
(function (BatchCheckLayerAvailabilityResponse) {
|
|
26
26
|
BatchCheckLayerAvailabilityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
27
|
})(BatchCheckLayerAvailabilityResponse || (BatchCheckLayerAvailabilityResponse = {}));
|
|
28
|
-
export var InvalidParameterException;
|
|
29
|
-
(function (InvalidParameterException) {
|
|
30
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
32
|
-
export var RepositoryNotFoundException;
|
|
33
|
-
(function (RepositoryNotFoundException) {
|
|
34
|
-
RepositoryNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(RepositoryNotFoundException || (RepositoryNotFoundException = {}));
|
|
36
|
-
export var ServerException;
|
|
37
|
-
(function (ServerException) {
|
|
38
|
-
ServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(ServerException || (ServerException = {}));
|
|
40
28
|
export var ImageIdentifier;
|
|
41
29
|
(function (ImageIdentifier) {
|
|
42
30
|
ImageIdentifier.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -75,6 +63,40 @@ export var BatchGetImageResponse;
|
|
|
75
63
|
(function (BatchGetImageResponse) {
|
|
76
64
|
BatchGetImageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
65
|
})(BatchGetImageResponse || (BatchGetImageResponse = {}));
|
|
66
|
+
export var BatchGetRepositoryScanningConfigurationRequest;
|
|
67
|
+
(function (BatchGetRepositoryScanningConfigurationRequest) {
|
|
68
|
+
BatchGetRepositoryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
})(BatchGetRepositoryScanningConfigurationRequest || (BatchGetRepositoryScanningConfigurationRequest = {}));
|
|
70
|
+
export var ScanningConfigurationFailureCode;
|
|
71
|
+
(function (ScanningConfigurationFailureCode) {
|
|
72
|
+
ScanningConfigurationFailureCode["REPOSITORY_NOT_FOUND"] = "REPOSITORY_NOT_FOUND";
|
|
73
|
+
})(ScanningConfigurationFailureCode || (ScanningConfigurationFailureCode = {}));
|
|
74
|
+
export var RepositoryScanningConfigurationFailure;
|
|
75
|
+
(function (RepositoryScanningConfigurationFailure) {
|
|
76
|
+
RepositoryScanningConfigurationFailure.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
+
})(RepositoryScanningConfigurationFailure || (RepositoryScanningConfigurationFailure = {}));
|
|
78
|
+
export var ScanningRepositoryFilterType;
|
|
79
|
+
(function (ScanningRepositoryFilterType) {
|
|
80
|
+
ScanningRepositoryFilterType["WILDCARD"] = "WILDCARD";
|
|
81
|
+
})(ScanningRepositoryFilterType || (ScanningRepositoryFilterType = {}));
|
|
82
|
+
export var ScanningRepositoryFilter;
|
|
83
|
+
(function (ScanningRepositoryFilter) {
|
|
84
|
+
ScanningRepositoryFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
})(ScanningRepositoryFilter || (ScanningRepositoryFilter = {}));
|
|
86
|
+
export var ScanFrequency;
|
|
87
|
+
(function (ScanFrequency) {
|
|
88
|
+
ScanFrequency["CONTINUOUS_SCAN"] = "CONTINUOUS_SCAN";
|
|
89
|
+
ScanFrequency["MANUAL"] = "MANUAL";
|
|
90
|
+
ScanFrequency["SCAN_ON_PUSH"] = "SCAN_ON_PUSH";
|
|
91
|
+
})(ScanFrequency || (ScanFrequency = {}));
|
|
92
|
+
export var RepositoryScanningConfiguration;
|
|
93
|
+
(function (RepositoryScanningConfiguration) {
|
|
94
|
+
RepositoryScanningConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
+
})(RepositoryScanningConfiguration || (RepositoryScanningConfiguration = {}));
|
|
96
|
+
export var BatchGetRepositoryScanningConfigurationResponse;
|
|
97
|
+
(function (BatchGetRepositoryScanningConfigurationResponse) {
|
|
98
|
+
BatchGetRepositoryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
+
})(BatchGetRepositoryScanningConfigurationResponse || (BatchGetRepositoryScanningConfigurationResponse = {}));
|
|
78
100
|
export var CompleteLayerUploadRequest;
|
|
79
101
|
(function (CompleteLayerUploadRequest) {
|
|
80
102
|
CompleteLayerUploadRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -83,30 +105,14 @@ export var CompleteLayerUploadResponse;
|
|
|
83
105
|
(function (CompleteLayerUploadResponse) {
|
|
84
106
|
CompleteLayerUploadResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
107
|
})(CompleteLayerUploadResponse || (CompleteLayerUploadResponse = {}));
|
|
86
|
-
export var
|
|
87
|
-
(function (
|
|
88
|
-
|
|
89
|
-
})(
|
|
90
|
-
export var
|
|
91
|
-
(function (
|
|
92
|
-
|
|
93
|
-
})(
|
|
94
|
-
export var KmsException;
|
|
95
|
-
(function (KmsException) {
|
|
96
|
-
KmsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(KmsException || (KmsException = {}));
|
|
98
|
-
export var LayerAlreadyExistsException;
|
|
99
|
-
(function (LayerAlreadyExistsException) {
|
|
100
|
-
LayerAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
-
})(LayerAlreadyExistsException || (LayerAlreadyExistsException = {}));
|
|
102
|
-
export var LayerPartTooSmallException;
|
|
103
|
-
(function (LayerPartTooSmallException) {
|
|
104
|
-
LayerPartTooSmallException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
-
})(LayerPartTooSmallException || (LayerPartTooSmallException = {}));
|
|
106
|
-
export var UploadNotFoundException;
|
|
107
|
-
(function (UploadNotFoundException) {
|
|
108
|
-
UploadNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
-
})(UploadNotFoundException || (UploadNotFoundException = {}));
|
|
108
|
+
export var CreatePullThroughCacheRuleRequest;
|
|
109
|
+
(function (CreatePullThroughCacheRuleRequest) {
|
|
110
|
+
CreatePullThroughCacheRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
+
})(CreatePullThroughCacheRuleRequest || (CreatePullThroughCacheRuleRequest = {}));
|
|
112
|
+
export var CreatePullThroughCacheRuleResponse;
|
|
113
|
+
(function (CreatePullThroughCacheRuleResponse) {
|
|
114
|
+
CreatePullThroughCacheRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
})(CreatePullThroughCacheRuleResponse || (CreatePullThroughCacheRuleResponse = {}));
|
|
110
116
|
export var EncryptionType;
|
|
111
117
|
(function (EncryptionType) {
|
|
112
118
|
EncryptionType["AES256"] = "AES256";
|
|
@@ -141,22 +147,6 @@ export var CreateRepositoryResponse;
|
|
|
141
147
|
(function (CreateRepositoryResponse) {
|
|
142
148
|
CreateRepositoryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
149
|
})(CreateRepositoryResponse || (CreateRepositoryResponse = {}));
|
|
144
|
-
export var InvalidTagParameterException;
|
|
145
|
-
(function (InvalidTagParameterException) {
|
|
146
|
-
InvalidTagParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
-
})(InvalidTagParameterException || (InvalidTagParameterException = {}));
|
|
148
|
-
export var LimitExceededException;
|
|
149
|
-
(function (LimitExceededException) {
|
|
150
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
152
|
-
export var RepositoryAlreadyExistsException;
|
|
153
|
-
(function (RepositoryAlreadyExistsException) {
|
|
154
|
-
RepositoryAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
-
})(RepositoryAlreadyExistsException || (RepositoryAlreadyExistsException = {}));
|
|
156
|
-
export var TooManyTagsException;
|
|
157
|
-
(function (TooManyTagsException) {
|
|
158
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
160
150
|
export var DeleteLifecyclePolicyRequest;
|
|
161
151
|
(function (DeleteLifecyclePolicyRequest) {
|
|
162
152
|
DeleteLifecyclePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -165,10 +155,14 @@ export var DeleteLifecyclePolicyResponse;
|
|
|
165
155
|
(function (DeleteLifecyclePolicyResponse) {
|
|
166
156
|
DeleteLifecyclePolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
157
|
})(DeleteLifecyclePolicyResponse || (DeleteLifecyclePolicyResponse = {}));
|
|
168
|
-
export var
|
|
169
|
-
(function (
|
|
170
|
-
|
|
171
|
-
})(
|
|
158
|
+
export var DeletePullThroughCacheRuleRequest;
|
|
159
|
+
(function (DeletePullThroughCacheRuleRequest) {
|
|
160
|
+
DeletePullThroughCacheRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
})(DeletePullThroughCacheRuleRequest || (DeletePullThroughCacheRuleRequest = {}));
|
|
162
|
+
export var DeletePullThroughCacheRuleResponse;
|
|
163
|
+
(function (DeletePullThroughCacheRuleResponse) {
|
|
164
|
+
DeletePullThroughCacheRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
})(DeletePullThroughCacheRuleResponse || (DeletePullThroughCacheRuleResponse = {}));
|
|
172
166
|
export var DeleteRegistryPolicyRequest;
|
|
173
167
|
(function (DeleteRegistryPolicyRequest) {
|
|
174
168
|
DeleteRegistryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -177,14 +171,6 @@ export var DeleteRegistryPolicyResponse;
|
|
|
177
171
|
(function (DeleteRegistryPolicyResponse) {
|
|
178
172
|
DeleteRegistryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
173
|
})(DeleteRegistryPolicyResponse || (DeleteRegistryPolicyResponse = {}));
|
|
180
|
-
export var RegistryPolicyNotFoundException;
|
|
181
|
-
(function (RegistryPolicyNotFoundException) {
|
|
182
|
-
RegistryPolicyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
-
})(RegistryPolicyNotFoundException || (RegistryPolicyNotFoundException = {}));
|
|
184
|
-
export var ValidationException;
|
|
185
|
-
(function (ValidationException) {
|
|
186
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
-
})(ValidationException || (ValidationException = {}));
|
|
188
174
|
export var DeleteRepositoryRequest;
|
|
189
175
|
(function (DeleteRepositoryRequest) {
|
|
190
176
|
DeleteRepositoryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -193,10 +179,6 @@ export var DeleteRepositoryResponse;
|
|
|
193
179
|
(function (DeleteRepositoryResponse) {
|
|
194
180
|
DeleteRepositoryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
181
|
})(DeleteRepositoryResponse || (DeleteRepositoryResponse = {}));
|
|
196
|
-
export var RepositoryNotEmptyException;
|
|
197
|
-
(function (RepositoryNotEmptyException) {
|
|
198
|
-
RepositoryNotEmptyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
-
})(RepositoryNotEmptyException || (RepositoryNotEmptyException = {}));
|
|
200
182
|
export var DeleteRepositoryPolicyRequest;
|
|
201
183
|
(function (DeleteRepositoryPolicyRequest) {
|
|
202
184
|
DeleteRepositoryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -205,10 +187,6 @@ export var DeleteRepositoryPolicyResponse;
|
|
|
205
187
|
(function (DeleteRepositoryPolicyResponse) {
|
|
206
188
|
DeleteRepositoryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
207
189
|
})(DeleteRepositoryPolicyResponse || (DeleteRepositoryPolicyResponse = {}));
|
|
208
|
-
export var RepositoryPolicyNotFoundException;
|
|
209
|
-
(function (RepositoryPolicyNotFoundException) {
|
|
210
|
-
RepositoryPolicyNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
211
|
-
})(RepositoryPolicyNotFoundException || (RepositoryPolicyNotFoundException = {}));
|
|
212
190
|
export var DescribeImageReplicationStatusRequest;
|
|
213
191
|
(function (DescribeImageReplicationStatusRequest) {
|
|
214
192
|
DescribeImageReplicationStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -227,10 +205,6 @@ export var DescribeImageReplicationStatusResponse;
|
|
|
227
205
|
(function (DescribeImageReplicationStatusResponse) {
|
|
228
206
|
DescribeImageReplicationStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
207
|
})(DescribeImageReplicationStatusResponse || (DescribeImageReplicationStatusResponse = {}));
|
|
230
|
-
export var ImageNotFoundException;
|
|
231
|
-
(function (ImageNotFoundException) {
|
|
232
|
-
ImageNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
-
})(ImageNotFoundException || (ImageNotFoundException = {}));
|
|
234
208
|
export var TagStatus;
|
|
235
209
|
(function (TagStatus) {
|
|
236
210
|
TagStatus["ANY"] = "ANY";
|
|
@@ -260,9 +234,14 @@ export var ImageScanFindingsSummary;
|
|
|
260
234
|
})(ImageScanFindingsSummary || (ImageScanFindingsSummary = {}));
|
|
261
235
|
export var ScanStatus;
|
|
262
236
|
(function (ScanStatus) {
|
|
237
|
+
ScanStatus["ACTIVE"] = "ACTIVE";
|
|
263
238
|
ScanStatus["COMPLETE"] = "COMPLETE";
|
|
264
239
|
ScanStatus["FAILED"] = "FAILED";
|
|
240
|
+
ScanStatus["FINDINGS_UNAVAILABLE"] = "FINDINGS_UNAVAILABLE";
|
|
265
241
|
ScanStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
242
|
+
ScanStatus["PENDING"] = "PENDING";
|
|
243
|
+
ScanStatus["SCAN_ELIGIBILITY_EXPIRED"] = "SCAN_ELIGIBILITY_EXPIRED";
|
|
244
|
+
ScanStatus["UNSUPPORTED_IMAGE"] = "UNSUPPORTED_IMAGE";
|
|
266
245
|
})(ScanStatus || (ScanStatus = {}));
|
|
267
246
|
export var ImageScanStatus;
|
|
268
247
|
(function (ImageScanStatus) {
|
|
@@ -280,6 +259,54 @@ export var DescribeImageScanFindingsRequest;
|
|
|
280
259
|
(function (DescribeImageScanFindingsRequest) {
|
|
281
260
|
DescribeImageScanFindingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
261
|
})(DescribeImageScanFindingsRequest || (DescribeImageScanFindingsRequest = {}));
|
|
262
|
+
export var CvssScore;
|
|
263
|
+
(function (CvssScore) {
|
|
264
|
+
CvssScore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
})(CvssScore || (CvssScore = {}));
|
|
266
|
+
export var VulnerablePackage;
|
|
267
|
+
(function (VulnerablePackage) {
|
|
268
|
+
VulnerablePackage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
})(VulnerablePackage || (VulnerablePackage = {}));
|
|
270
|
+
export var PackageVulnerabilityDetails;
|
|
271
|
+
(function (PackageVulnerabilityDetails) {
|
|
272
|
+
PackageVulnerabilityDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
})(PackageVulnerabilityDetails || (PackageVulnerabilityDetails = {}));
|
|
274
|
+
export var Recommendation;
|
|
275
|
+
(function (Recommendation) {
|
|
276
|
+
Recommendation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
+
})(Recommendation || (Recommendation = {}));
|
|
278
|
+
export var Remediation;
|
|
279
|
+
(function (Remediation) {
|
|
280
|
+
Remediation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
281
|
+
})(Remediation || (Remediation = {}));
|
|
282
|
+
export var AwsEcrContainerImageDetails;
|
|
283
|
+
(function (AwsEcrContainerImageDetails) {
|
|
284
|
+
AwsEcrContainerImageDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
})(AwsEcrContainerImageDetails || (AwsEcrContainerImageDetails = {}));
|
|
286
|
+
export var ResourceDetails;
|
|
287
|
+
(function (ResourceDetails) {
|
|
288
|
+
ResourceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
})(ResourceDetails || (ResourceDetails = {}));
|
|
290
|
+
export var Resource;
|
|
291
|
+
(function (Resource) {
|
|
292
|
+
Resource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
})(Resource || (Resource = {}));
|
|
294
|
+
export var CvssScoreAdjustment;
|
|
295
|
+
(function (CvssScoreAdjustment) {
|
|
296
|
+
CvssScoreAdjustment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(CvssScoreAdjustment || (CvssScoreAdjustment = {}));
|
|
298
|
+
export var CvssScoreDetails;
|
|
299
|
+
(function (CvssScoreDetails) {
|
|
300
|
+
CvssScoreDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(CvssScoreDetails || (CvssScoreDetails = {}));
|
|
302
|
+
export var ScoreDetails;
|
|
303
|
+
(function (ScoreDetails) {
|
|
304
|
+
ScoreDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
})(ScoreDetails || (ScoreDetails = {}));
|
|
306
|
+
export var EnhancedImageScanFinding;
|
|
307
|
+
(function (EnhancedImageScanFinding) {
|
|
308
|
+
EnhancedImageScanFinding.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
|
+
})(EnhancedImageScanFinding || (EnhancedImageScanFinding = {}));
|
|
283
310
|
export var Attribute;
|
|
284
311
|
(function (Attribute) {
|
|
285
312
|
Attribute.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -296,10 +323,18 @@ export var DescribeImageScanFindingsResponse;
|
|
|
296
323
|
(function (DescribeImageScanFindingsResponse) {
|
|
297
324
|
DescribeImageScanFindingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
298
325
|
})(DescribeImageScanFindingsResponse || (DescribeImageScanFindingsResponse = {}));
|
|
299
|
-
export var
|
|
300
|
-
(function (
|
|
301
|
-
|
|
302
|
-
})(
|
|
326
|
+
export var DescribePullThroughCacheRulesRequest;
|
|
327
|
+
(function (DescribePullThroughCacheRulesRequest) {
|
|
328
|
+
DescribePullThroughCacheRulesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
329
|
+
})(DescribePullThroughCacheRulesRequest || (DescribePullThroughCacheRulesRequest = {}));
|
|
330
|
+
export var PullThroughCacheRule;
|
|
331
|
+
(function (PullThroughCacheRule) {
|
|
332
|
+
PullThroughCacheRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
333
|
+
})(PullThroughCacheRule || (PullThroughCacheRule = {}));
|
|
334
|
+
export var DescribePullThroughCacheRulesResponse;
|
|
335
|
+
(function (DescribePullThroughCacheRulesResponse) {
|
|
336
|
+
DescribePullThroughCacheRulesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
337
|
+
})(DescribePullThroughCacheRulesResponse || (DescribePullThroughCacheRulesResponse = {}));
|
|
303
338
|
export var DescribeRegistryRequest;
|
|
304
339
|
(function (DescribeRegistryRequest) {
|
|
305
340
|
DescribeRegistryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -356,14 +391,6 @@ export var GetDownloadUrlForLayerResponse;
|
|
|
356
391
|
(function (GetDownloadUrlForLayerResponse) {
|
|
357
392
|
GetDownloadUrlForLayerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
358
393
|
})(GetDownloadUrlForLayerResponse || (GetDownloadUrlForLayerResponse = {}));
|
|
359
|
-
export var LayerInaccessibleException;
|
|
360
|
-
(function (LayerInaccessibleException) {
|
|
361
|
-
LayerInaccessibleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
362
|
-
})(LayerInaccessibleException || (LayerInaccessibleException = {}));
|
|
363
|
-
export var LayersNotFoundException;
|
|
364
|
-
(function (LayersNotFoundException) {
|
|
365
|
-
LayersNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
366
|
-
})(LayersNotFoundException || (LayersNotFoundException = {}));
|
|
367
394
|
export var GetLifecyclePolicyRequest;
|
|
368
395
|
(function (GetLifecyclePolicyRequest) {
|
|
369
396
|
GetLifecyclePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -407,10 +434,6 @@ export var GetLifecyclePolicyPreviewResponse;
|
|
|
407
434
|
(function (GetLifecyclePolicyPreviewResponse) {
|
|
408
435
|
GetLifecyclePolicyPreviewResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
409
436
|
})(GetLifecyclePolicyPreviewResponse || (GetLifecyclePolicyPreviewResponse = {}));
|
|
410
|
-
export var LifecyclePolicyPreviewNotFoundException;
|
|
411
|
-
(function (LifecyclePolicyPreviewNotFoundException) {
|
|
412
|
-
LifecyclePolicyPreviewNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
413
|
-
})(LifecyclePolicyPreviewNotFoundException || (LifecyclePolicyPreviewNotFoundException = {}));
|
|
414
437
|
export var GetRegistryPolicyRequest;
|
|
415
438
|
(function (GetRegistryPolicyRequest) {
|
|
416
439
|
GetRegistryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -419,6 +442,27 @@ export var GetRegistryPolicyResponse;
|
|
|
419
442
|
(function (GetRegistryPolicyResponse) {
|
|
420
443
|
GetRegistryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
421
444
|
})(GetRegistryPolicyResponse || (GetRegistryPolicyResponse = {}));
|
|
445
|
+
export var GetRegistryScanningConfigurationRequest;
|
|
446
|
+
(function (GetRegistryScanningConfigurationRequest) {
|
|
447
|
+
GetRegistryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
448
|
+
})(GetRegistryScanningConfigurationRequest || (GetRegistryScanningConfigurationRequest = {}));
|
|
449
|
+
export var RegistryScanningRule;
|
|
450
|
+
(function (RegistryScanningRule) {
|
|
451
|
+
RegistryScanningRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
452
|
+
})(RegistryScanningRule || (RegistryScanningRule = {}));
|
|
453
|
+
export var ScanType;
|
|
454
|
+
(function (ScanType) {
|
|
455
|
+
ScanType["BASIC"] = "BASIC";
|
|
456
|
+
ScanType["ENHANCED"] = "ENHANCED";
|
|
457
|
+
})(ScanType || (ScanType = {}));
|
|
458
|
+
export var RegistryScanningConfiguration;
|
|
459
|
+
(function (RegistryScanningConfiguration) {
|
|
460
|
+
RegistryScanningConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
+
})(RegistryScanningConfiguration || (RegistryScanningConfiguration = {}));
|
|
462
|
+
export var GetRegistryScanningConfigurationResponse;
|
|
463
|
+
(function (GetRegistryScanningConfigurationResponse) {
|
|
464
|
+
GetRegistryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
+
})(GetRegistryScanningConfigurationResponse || (GetRegistryScanningConfigurationResponse = {}));
|
|
422
466
|
export var GetRepositoryPolicyRequest;
|
|
423
467
|
(function (GetRepositoryPolicyRequest) {
|
|
424
468
|
GetRepositoryPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -455,18 +499,6 @@ export var ListTagsForResourceResponse;
|
|
|
455
499
|
(function (ListTagsForResourceResponse) {
|
|
456
500
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
501
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
458
|
-
export var ImageAlreadyExistsException;
|
|
459
|
-
(function (ImageAlreadyExistsException) {
|
|
460
|
-
ImageAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
-
})(ImageAlreadyExistsException || (ImageAlreadyExistsException = {}));
|
|
462
|
-
export var ImageDigestDoesNotMatchException;
|
|
463
|
-
(function (ImageDigestDoesNotMatchException) {
|
|
464
|
-
ImageDigestDoesNotMatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
-
})(ImageDigestDoesNotMatchException || (ImageDigestDoesNotMatchException = {}));
|
|
466
|
-
export var ImageTagAlreadyExistsException;
|
|
467
|
-
(function (ImageTagAlreadyExistsException) {
|
|
468
|
-
ImageTagAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
469
|
-
})(ImageTagAlreadyExistsException || (ImageTagAlreadyExistsException = {}));
|
|
470
502
|
export var PutImageRequest;
|
|
471
503
|
(function (PutImageRequest) {
|
|
472
504
|
PutImageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -475,10 +507,6 @@ export var PutImageResponse;
|
|
|
475
507
|
(function (PutImageResponse) {
|
|
476
508
|
PutImageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
509
|
})(PutImageResponse || (PutImageResponse = {}));
|
|
478
|
-
export var ReferencedImagesNotFoundException;
|
|
479
|
-
(function (ReferencedImagesNotFoundException) {
|
|
480
|
-
ReferencedImagesNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
481
|
-
})(ReferencedImagesNotFoundException || (ReferencedImagesNotFoundException = {}));
|
|
482
510
|
export var PutImageScanningConfigurationRequest;
|
|
483
511
|
(function (PutImageScanningConfigurationRequest) {
|
|
484
512
|
PutImageScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -511,6 +539,14 @@ export var PutRegistryPolicyResponse;
|
|
|
511
539
|
(function (PutRegistryPolicyResponse) {
|
|
512
540
|
PutRegistryPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
513
541
|
})(PutRegistryPolicyResponse || (PutRegistryPolicyResponse = {}));
|
|
542
|
+
export var PutRegistryScanningConfigurationRequest;
|
|
543
|
+
(function (PutRegistryScanningConfigurationRequest) {
|
|
544
|
+
PutRegistryScanningConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
545
|
+
})(PutRegistryScanningConfigurationRequest || (PutRegistryScanningConfigurationRequest = {}));
|
|
546
|
+
export var PutRegistryScanningConfigurationResponse;
|
|
547
|
+
(function (PutRegistryScanningConfigurationResponse) {
|
|
548
|
+
PutRegistryScanningConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
549
|
+
})(PutRegistryScanningConfigurationResponse || (PutRegistryScanningConfigurationResponse = {}));
|
|
514
550
|
export var PutReplicationConfigurationRequest;
|
|
515
551
|
(function (PutReplicationConfigurationRequest) {
|
|
516
552
|
PutReplicationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -535,14 +571,6 @@ export var StartImageScanResponse;
|
|
|
535
571
|
(function (StartImageScanResponse) {
|
|
536
572
|
StartImageScanResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
537
573
|
})(StartImageScanResponse || (StartImageScanResponse = {}));
|
|
538
|
-
export var UnsupportedImageTypeException;
|
|
539
|
-
(function (UnsupportedImageTypeException) {
|
|
540
|
-
UnsupportedImageTypeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
541
|
-
})(UnsupportedImageTypeException || (UnsupportedImageTypeException = {}));
|
|
542
|
-
export var LifecyclePolicyPreviewInProgressException;
|
|
543
|
-
(function (LifecyclePolicyPreviewInProgressException) {
|
|
544
|
-
LifecyclePolicyPreviewInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
545
|
-
})(LifecyclePolicyPreviewInProgressException || (LifecyclePolicyPreviewInProgressException = {}));
|
|
546
574
|
export var StartLifecyclePolicyPreviewRequest;
|
|
547
575
|
(function (StartLifecyclePolicyPreviewRequest) {
|
|
548
576
|
StartLifecyclePolicyPreviewRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -567,10 +595,6 @@ export var UntagResourceResponse;
|
|
|
567
595
|
(function (UntagResourceResponse) {
|
|
568
596
|
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
569
597
|
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
570
|
-
export var InvalidLayerPartException;
|
|
571
|
-
(function (InvalidLayerPartException) {
|
|
572
|
-
InvalidLayerPartException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
573
|
-
})(InvalidLayerPartException || (InvalidLayerPartException = {}));
|
|
574
598
|
export var UploadLayerPartRequest;
|
|
575
599
|
(function (UploadLayerPartRequest) {
|
|
576
600
|
UploadLayerPartRequest.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";
|