@aws-sdk/client-ecr 3.45.0 → 3.47.2
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 +44 -0
- package/dist-cjs/models/models_0.js +3 -202
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/models/models_0.js +0 -132
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/ECRClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -198
- 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/ECRClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -132
- 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 +40 -47
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ecr
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-ecr
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
44
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
51
|
|
|
8
52
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UploadLayerPartResponse = exports.UploadLayerPartRequest = exports.InvalidLayerPartException = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartLifecyclePolicyPreviewResponse = exports.StartLifecyclePolicyPreviewRequest = exports.LifecyclePolicyPreviewInProgressException = exports.UnsupportedImageTypeException = exports.StartImageScanResponse = exports.StartImageScanRequest = exports.SetRepositoryPolicyResponse = exports.SetRepositoryPolicyRequest = exports.PutReplicationConfigurationResponse = exports.PutReplicationConfigurationRequest = exports.PutRegistryScanningConfigurationResponse = exports.PutRegistryScanningConfigurationRequest = exports.PutRegistryPolicyResponse = exports.PutRegistryPolicyRequest = exports.PutLifecyclePolicyResponse = exports.PutLifecyclePolicyRequest = exports.PutImageTagMutabilityResponse = exports.PutImageTagMutabilityRequest = exports.PutImageScanningConfigurationResponse = void 0;
|
|
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;
|
|
7
6
|
var BatchCheckLayerAvailabilityRequest;
|
|
8
7
|
(function (BatchCheckLayerAvailabilityRequest) {
|
|
9
8
|
BatchCheckLayerAvailabilityRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -38,24 +37,6 @@ var BatchCheckLayerAvailabilityResponse;
|
|
|
38
37
|
...obj,
|
|
39
38
|
});
|
|
40
39
|
})(BatchCheckLayerAvailabilityResponse = exports.BatchCheckLayerAvailabilityResponse || (exports.BatchCheckLayerAvailabilityResponse = {}));
|
|
41
|
-
var InvalidParameterException;
|
|
42
|
-
(function (InvalidParameterException) {
|
|
43
|
-
InvalidParameterException.filterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
});
|
|
46
|
-
})(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
|
|
47
|
-
var RepositoryNotFoundException;
|
|
48
|
-
(function (RepositoryNotFoundException) {
|
|
49
|
-
RepositoryNotFoundException.filterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
})(RepositoryNotFoundException = exports.RepositoryNotFoundException || (exports.RepositoryNotFoundException = {}));
|
|
53
|
-
var ServerException;
|
|
54
|
-
(function (ServerException) {
|
|
55
|
-
ServerException.filterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
})(ServerException = exports.ServerException || (exports.ServerException = {}));
|
|
59
40
|
var ImageIdentifier;
|
|
60
41
|
(function (ImageIdentifier) {
|
|
61
42
|
ImageIdentifier.filterSensitiveLog = (obj) => ({
|
|
@@ -152,12 +133,6 @@ var BatchGetRepositoryScanningConfigurationResponse;
|
|
|
152
133
|
...obj,
|
|
153
134
|
});
|
|
154
135
|
})(BatchGetRepositoryScanningConfigurationResponse = exports.BatchGetRepositoryScanningConfigurationResponse || (exports.BatchGetRepositoryScanningConfigurationResponse = {}));
|
|
155
|
-
var ValidationException;
|
|
156
|
-
(function (ValidationException) {
|
|
157
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
161
136
|
var CompleteLayerUploadRequest;
|
|
162
137
|
(function (CompleteLayerUploadRequest) {
|
|
163
138
|
CompleteLayerUploadRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -170,42 +145,6 @@ var CompleteLayerUploadResponse;
|
|
|
170
145
|
...obj,
|
|
171
146
|
});
|
|
172
147
|
})(CompleteLayerUploadResponse = exports.CompleteLayerUploadResponse || (exports.CompleteLayerUploadResponse = {}));
|
|
173
|
-
var EmptyUploadException;
|
|
174
|
-
(function (EmptyUploadException) {
|
|
175
|
-
EmptyUploadException.filterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
});
|
|
178
|
-
})(EmptyUploadException = exports.EmptyUploadException || (exports.EmptyUploadException = {}));
|
|
179
|
-
var InvalidLayerException;
|
|
180
|
-
(function (InvalidLayerException) {
|
|
181
|
-
InvalidLayerException.filterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
});
|
|
184
|
-
})(InvalidLayerException = exports.InvalidLayerException || (exports.InvalidLayerException = {}));
|
|
185
|
-
var KmsException;
|
|
186
|
-
(function (KmsException) {
|
|
187
|
-
KmsException.filterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
});
|
|
190
|
-
})(KmsException = exports.KmsException || (exports.KmsException = {}));
|
|
191
|
-
var LayerAlreadyExistsException;
|
|
192
|
-
(function (LayerAlreadyExistsException) {
|
|
193
|
-
LayerAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
});
|
|
196
|
-
})(LayerAlreadyExistsException = exports.LayerAlreadyExistsException || (exports.LayerAlreadyExistsException = {}));
|
|
197
|
-
var LayerPartTooSmallException;
|
|
198
|
-
(function (LayerPartTooSmallException) {
|
|
199
|
-
LayerPartTooSmallException.filterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
});
|
|
202
|
-
})(LayerPartTooSmallException = exports.LayerPartTooSmallException || (exports.LayerPartTooSmallException = {}));
|
|
203
|
-
var UploadNotFoundException;
|
|
204
|
-
(function (UploadNotFoundException) {
|
|
205
|
-
UploadNotFoundException.filterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
});
|
|
208
|
-
})(UploadNotFoundException = exports.UploadNotFoundException || (exports.UploadNotFoundException = {}));
|
|
209
148
|
var CreatePullThroughCacheRuleRequest;
|
|
210
149
|
(function (CreatePullThroughCacheRuleRequest) {
|
|
211
150
|
CreatePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -218,24 +157,6 @@ var CreatePullThroughCacheRuleResponse;
|
|
|
218
157
|
...obj,
|
|
219
158
|
});
|
|
220
159
|
})(CreatePullThroughCacheRuleResponse = exports.CreatePullThroughCacheRuleResponse || (exports.CreatePullThroughCacheRuleResponse = {}));
|
|
221
|
-
var LimitExceededException;
|
|
222
|
-
(function (LimitExceededException) {
|
|
223
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
224
|
-
...obj,
|
|
225
|
-
});
|
|
226
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
227
|
-
var PullThroughCacheRuleAlreadyExistsException;
|
|
228
|
-
(function (PullThroughCacheRuleAlreadyExistsException) {
|
|
229
|
-
PullThroughCacheRuleAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
230
|
-
...obj,
|
|
231
|
-
});
|
|
232
|
-
})(PullThroughCacheRuleAlreadyExistsException = exports.PullThroughCacheRuleAlreadyExistsException || (exports.PullThroughCacheRuleAlreadyExistsException = {}));
|
|
233
|
-
var UnsupportedUpstreamRegistryException;
|
|
234
|
-
(function (UnsupportedUpstreamRegistryException) {
|
|
235
|
-
UnsupportedUpstreamRegistryException.filterSensitiveLog = (obj) => ({
|
|
236
|
-
...obj,
|
|
237
|
-
});
|
|
238
|
-
})(UnsupportedUpstreamRegistryException = exports.UnsupportedUpstreamRegistryException || (exports.UnsupportedUpstreamRegistryException = {}));
|
|
239
160
|
var EncryptionType;
|
|
240
161
|
(function (EncryptionType) {
|
|
241
162
|
EncryptionType["AES256"] = "AES256";
|
|
@@ -282,24 +203,6 @@ var CreateRepositoryResponse;
|
|
|
282
203
|
...obj,
|
|
283
204
|
});
|
|
284
205
|
})(CreateRepositoryResponse = exports.CreateRepositoryResponse || (exports.CreateRepositoryResponse = {}));
|
|
285
|
-
var InvalidTagParameterException;
|
|
286
|
-
(function (InvalidTagParameterException) {
|
|
287
|
-
InvalidTagParameterException.filterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
});
|
|
290
|
-
})(InvalidTagParameterException = exports.InvalidTagParameterException || (exports.InvalidTagParameterException = {}));
|
|
291
|
-
var RepositoryAlreadyExistsException;
|
|
292
|
-
(function (RepositoryAlreadyExistsException) {
|
|
293
|
-
RepositoryAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
294
|
-
...obj,
|
|
295
|
-
});
|
|
296
|
-
})(RepositoryAlreadyExistsException = exports.RepositoryAlreadyExistsException || (exports.RepositoryAlreadyExistsException = {}));
|
|
297
|
-
var TooManyTagsException;
|
|
298
|
-
(function (TooManyTagsException) {
|
|
299
|
-
TooManyTagsException.filterSensitiveLog = (obj) => ({
|
|
300
|
-
...obj,
|
|
301
|
-
});
|
|
302
|
-
})(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
|
|
303
206
|
var DeleteLifecyclePolicyRequest;
|
|
304
207
|
(function (DeleteLifecyclePolicyRequest) {
|
|
305
208
|
DeleteLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -312,12 +215,6 @@ var DeleteLifecyclePolicyResponse;
|
|
|
312
215
|
...obj,
|
|
313
216
|
});
|
|
314
217
|
})(DeleteLifecyclePolicyResponse = exports.DeleteLifecyclePolicyResponse || (exports.DeleteLifecyclePolicyResponse = {}));
|
|
315
|
-
var LifecyclePolicyNotFoundException;
|
|
316
|
-
(function (LifecyclePolicyNotFoundException) {
|
|
317
|
-
LifecyclePolicyNotFoundException.filterSensitiveLog = (obj) => ({
|
|
318
|
-
...obj,
|
|
319
|
-
});
|
|
320
|
-
})(LifecyclePolicyNotFoundException = exports.LifecyclePolicyNotFoundException || (exports.LifecyclePolicyNotFoundException = {}));
|
|
321
218
|
var DeletePullThroughCacheRuleRequest;
|
|
322
219
|
(function (DeletePullThroughCacheRuleRequest) {
|
|
323
220
|
DeletePullThroughCacheRuleRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -330,12 +227,6 @@ var DeletePullThroughCacheRuleResponse;
|
|
|
330
227
|
...obj,
|
|
331
228
|
});
|
|
332
229
|
})(DeletePullThroughCacheRuleResponse = exports.DeletePullThroughCacheRuleResponse || (exports.DeletePullThroughCacheRuleResponse = {}));
|
|
333
|
-
var PullThroughCacheRuleNotFoundException;
|
|
334
|
-
(function (PullThroughCacheRuleNotFoundException) {
|
|
335
|
-
PullThroughCacheRuleNotFoundException.filterSensitiveLog = (obj) => ({
|
|
336
|
-
...obj,
|
|
337
|
-
});
|
|
338
|
-
})(PullThroughCacheRuleNotFoundException = exports.PullThroughCacheRuleNotFoundException || (exports.PullThroughCacheRuleNotFoundException = {}));
|
|
339
230
|
var DeleteRegistryPolicyRequest;
|
|
340
231
|
(function (DeleteRegistryPolicyRequest) {
|
|
341
232
|
DeleteRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -348,12 +239,6 @@ var DeleteRegistryPolicyResponse;
|
|
|
348
239
|
...obj,
|
|
349
240
|
});
|
|
350
241
|
})(DeleteRegistryPolicyResponse = exports.DeleteRegistryPolicyResponse || (exports.DeleteRegistryPolicyResponse = {}));
|
|
351
|
-
var RegistryPolicyNotFoundException;
|
|
352
|
-
(function (RegistryPolicyNotFoundException) {
|
|
353
|
-
RegistryPolicyNotFoundException.filterSensitiveLog = (obj) => ({
|
|
354
|
-
...obj,
|
|
355
|
-
});
|
|
356
|
-
})(RegistryPolicyNotFoundException = exports.RegistryPolicyNotFoundException || (exports.RegistryPolicyNotFoundException = {}));
|
|
357
242
|
var DeleteRepositoryRequest;
|
|
358
243
|
(function (DeleteRepositoryRequest) {
|
|
359
244
|
DeleteRepositoryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -366,12 +251,6 @@ var DeleteRepositoryResponse;
|
|
|
366
251
|
...obj,
|
|
367
252
|
});
|
|
368
253
|
})(DeleteRepositoryResponse = exports.DeleteRepositoryResponse || (exports.DeleteRepositoryResponse = {}));
|
|
369
|
-
var RepositoryNotEmptyException;
|
|
370
|
-
(function (RepositoryNotEmptyException) {
|
|
371
|
-
RepositoryNotEmptyException.filterSensitiveLog = (obj) => ({
|
|
372
|
-
...obj,
|
|
373
|
-
});
|
|
374
|
-
})(RepositoryNotEmptyException = exports.RepositoryNotEmptyException || (exports.RepositoryNotEmptyException = {}));
|
|
375
254
|
var DeleteRepositoryPolicyRequest;
|
|
376
255
|
(function (DeleteRepositoryPolicyRequest) {
|
|
377
256
|
DeleteRepositoryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -384,12 +263,6 @@ var DeleteRepositoryPolicyResponse;
|
|
|
384
263
|
...obj,
|
|
385
264
|
});
|
|
386
265
|
})(DeleteRepositoryPolicyResponse = exports.DeleteRepositoryPolicyResponse || (exports.DeleteRepositoryPolicyResponse = {}));
|
|
387
|
-
var RepositoryPolicyNotFoundException;
|
|
388
|
-
(function (RepositoryPolicyNotFoundException) {
|
|
389
|
-
RepositoryPolicyNotFoundException.filterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
});
|
|
392
|
-
})(RepositoryPolicyNotFoundException = exports.RepositoryPolicyNotFoundException || (exports.RepositoryPolicyNotFoundException = {}));
|
|
393
266
|
var DescribeImageReplicationStatusRequest;
|
|
394
267
|
(function (DescribeImageReplicationStatusRequest) {
|
|
395
268
|
DescribeImageReplicationStatusRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -414,12 +287,6 @@ var DescribeImageReplicationStatusResponse;
|
|
|
414
287
|
...obj,
|
|
415
288
|
});
|
|
416
289
|
})(DescribeImageReplicationStatusResponse = exports.DescribeImageReplicationStatusResponse || (exports.DescribeImageReplicationStatusResponse = {}));
|
|
417
|
-
var ImageNotFoundException;
|
|
418
|
-
(function (ImageNotFoundException) {
|
|
419
|
-
ImageNotFoundException.filterSensitiveLog = (obj) => ({
|
|
420
|
-
...obj,
|
|
421
|
-
});
|
|
422
|
-
})(ImageNotFoundException = exports.ImageNotFoundException || (exports.ImageNotFoundException = {}));
|
|
423
290
|
var TagStatus;
|
|
424
291
|
(function (TagStatus) {
|
|
425
292
|
TagStatus["ANY"] = "ANY";
|
|
@@ -584,12 +451,6 @@ var DescribeImageScanFindingsResponse;
|
|
|
584
451
|
...obj,
|
|
585
452
|
});
|
|
586
453
|
})(DescribeImageScanFindingsResponse = exports.DescribeImageScanFindingsResponse || (exports.DescribeImageScanFindingsResponse = {}));
|
|
587
|
-
var ScanNotFoundException;
|
|
588
|
-
(function (ScanNotFoundException) {
|
|
589
|
-
ScanNotFoundException.filterSensitiveLog = (obj) => ({
|
|
590
|
-
...obj,
|
|
591
|
-
});
|
|
592
|
-
})(ScanNotFoundException = exports.ScanNotFoundException || (exports.ScanNotFoundException = {}));
|
|
593
454
|
var DescribePullThroughCacheRulesRequest;
|
|
594
455
|
(function (DescribePullThroughCacheRulesRequest) {
|
|
595
456
|
DescribePullThroughCacheRulesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -690,18 +551,6 @@ var GetDownloadUrlForLayerResponse;
|
|
|
690
551
|
...obj,
|
|
691
552
|
});
|
|
692
553
|
})(GetDownloadUrlForLayerResponse = exports.GetDownloadUrlForLayerResponse || (exports.GetDownloadUrlForLayerResponse = {}));
|
|
693
|
-
var LayerInaccessibleException;
|
|
694
|
-
(function (LayerInaccessibleException) {
|
|
695
|
-
LayerInaccessibleException.filterSensitiveLog = (obj) => ({
|
|
696
|
-
...obj,
|
|
697
|
-
});
|
|
698
|
-
})(LayerInaccessibleException = exports.LayerInaccessibleException || (exports.LayerInaccessibleException = {}));
|
|
699
|
-
var LayersNotFoundException;
|
|
700
|
-
(function (LayersNotFoundException) {
|
|
701
|
-
LayersNotFoundException.filterSensitiveLog = (obj) => ({
|
|
702
|
-
...obj,
|
|
703
|
-
});
|
|
704
|
-
})(LayersNotFoundException = exports.LayersNotFoundException || (exports.LayersNotFoundException = {}));
|
|
705
554
|
var GetLifecyclePolicyRequest;
|
|
706
555
|
(function (GetLifecyclePolicyRequest) {
|
|
707
556
|
GetLifecyclePolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -761,12 +610,6 @@ var GetLifecyclePolicyPreviewResponse;
|
|
|
761
610
|
...obj,
|
|
762
611
|
});
|
|
763
612
|
})(GetLifecyclePolicyPreviewResponse = exports.GetLifecyclePolicyPreviewResponse || (exports.GetLifecyclePolicyPreviewResponse = {}));
|
|
764
|
-
var LifecyclePolicyPreviewNotFoundException;
|
|
765
|
-
(function (LifecyclePolicyPreviewNotFoundException) {
|
|
766
|
-
LifecyclePolicyPreviewNotFoundException.filterSensitiveLog = (obj) => ({
|
|
767
|
-
...obj,
|
|
768
|
-
});
|
|
769
|
-
})(LifecyclePolicyPreviewNotFoundException = exports.LifecyclePolicyPreviewNotFoundException || (exports.LifecyclePolicyPreviewNotFoundException = {}));
|
|
770
613
|
var GetRegistryPolicyRequest;
|
|
771
614
|
(function (GetRegistryPolicyRequest) {
|
|
772
615
|
GetRegistryPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -862,24 +705,6 @@ var ListTagsForResourceResponse;
|
|
|
862
705
|
...obj,
|
|
863
706
|
});
|
|
864
707
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
865
|
-
var ImageAlreadyExistsException;
|
|
866
|
-
(function (ImageAlreadyExistsException) {
|
|
867
|
-
ImageAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
868
|
-
...obj,
|
|
869
|
-
});
|
|
870
|
-
})(ImageAlreadyExistsException = exports.ImageAlreadyExistsException || (exports.ImageAlreadyExistsException = {}));
|
|
871
|
-
var ImageDigestDoesNotMatchException;
|
|
872
|
-
(function (ImageDigestDoesNotMatchException) {
|
|
873
|
-
ImageDigestDoesNotMatchException.filterSensitiveLog = (obj) => ({
|
|
874
|
-
...obj,
|
|
875
|
-
});
|
|
876
|
-
})(ImageDigestDoesNotMatchException = exports.ImageDigestDoesNotMatchException || (exports.ImageDigestDoesNotMatchException = {}));
|
|
877
|
-
var ImageTagAlreadyExistsException;
|
|
878
|
-
(function (ImageTagAlreadyExistsException) {
|
|
879
|
-
ImageTagAlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
880
|
-
...obj,
|
|
881
|
-
});
|
|
882
|
-
})(ImageTagAlreadyExistsException = exports.ImageTagAlreadyExistsException || (exports.ImageTagAlreadyExistsException = {}));
|
|
883
708
|
var PutImageRequest;
|
|
884
709
|
(function (PutImageRequest) {
|
|
885
710
|
PutImageRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -892,12 +717,6 @@ var PutImageResponse;
|
|
|
892
717
|
...obj,
|
|
893
718
|
});
|
|
894
719
|
})(PutImageResponse = exports.PutImageResponse || (exports.PutImageResponse = {}));
|
|
895
|
-
var ReferencedImagesNotFoundException;
|
|
896
|
-
(function (ReferencedImagesNotFoundException) {
|
|
897
|
-
ReferencedImagesNotFoundException.filterSensitiveLog = (obj) => ({
|
|
898
|
-
...obj,
|
|
899
|
-
});
|
|
900
|
-
})(ReferencedImagesNotFoundException = exports.ReferencedImagesNotFoundException || (exports.ReferencedImagesNotFoundException = {}));
|
|
901
720
|
var PutImageScanningConfigurationRequest;
|
|
902
721
|
(function (PutImageScanningConfigurationRequest) {
|
|
903
722
|
PutImageScanningConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -994,18 +813,6 @@ var StartImageScanResponse;
|
|
|
994
813
|
...obj,
|
|
995
814
|
});
|
|
996
815
|
})(StartImageScanResponse = exports.StartImageScanResponse || (exports.StartImageScanResponse = {}));
|
|
997
|
-
var UnsupportedImageTypeException;
|
|
998
|
-
(function (UnsupportedImageTypeException) {
|
|
999
|
-
UnsupportedImageTypeException.filterSensitiveLog = (obj) => ({
|
|
1000
|
-
...obj,
|
|
1001
|
-
});
|
|
1002
|
-
})(UnsupportedImageTypeException = exports.UnsupportedImageTypeException || (exports.UnsupportedImageTypeException = {}));
|
|
1003
|
-
var LifecyclePolicyPreviewInProgressException;
|
|
1004
|
-
(function (LifecyclePolicyPreviewInProgressException) {
|
|
1005
|
-
LifecyclePolicyPreviewInProgressException.filterSensitiveLog = (obj) => ({
|
|
1006
|
-
...obj,
|
|
1007
|
-
});
|
|
1008
|
-
})(LifecyclePolicyPreviewInProgressException = exports.LifecyclePolicyPreviewInProgressException || (exports.LifecyclePolicyPreviewInProgressException = {}));
|
|
1009
816
|
var StartLifecyclePolicyPreviewRequest;
|
|
1010
817
|
(function (StartLifecyclePolicyPreviewRequest) {
|
|
1011
818
|
StartLifecyclePolicyPreviewRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1042,12 +849,6 @@ var UntagResourceResponse;
|
|
|
1042
849
|
...obj,
|
|
1043
850
|
});
|
|
1044
851
|
})(UntagResourceResponse = exports.UntagResourceResponse || (exports.UntagResourceResponse = {}));
|
|
1045
|
-
var InvalidLayerPartException;
|
|
1046
|
-
(function (InvalidLayerPartException) {
|
|
1047
|
-
InvalidLayerPartException.filterSensitiveLog = (obj) => ({
|
|
1048
|
-
...obj,
|
|
1049
|
-
});
|
|
1050
|
-
})(InvalidLayerPartException = exports.InvalidLayerPartException || (exports.InvalidLayerPartException = {}));
|
|
1051
852
|
var UploadLayerPartRequest;
|
|
1052
853
|
(function (UploadLayerPartRequest) {
|
|
1053
854
|
UploadLayerPartRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|