aws-sdk-ecr 1.49.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +347 -9
- data/lib/aws-sdk-ecr/client_api.rb +373 -1
- data/lib/aws-sdk-ecr/errors.rb +48 -0
- data/lib/aws-sdk-ecr/types.rb +973 -15
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +2 -2
@@ -13,29 +13,45 @@ module Aws::ECR
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
Arch = Shapes::StringShape.new(name: 'Arch')
|
16
17
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
17
18
|
Attribute = Shapes::StructureShape.new(name: 'Attribute')
|
18
19
|
AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
|
19
20
|
AttributeList = Shapes::ListShape.new(name: 'AttributeList')
|
20
21
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
22
|
+
Author = Shapes::StringShape.new(name: 'Author')
|
21
23
|
AuthorizationData = Shapes::StructureShape.new(name: 'AuthorizationData')
|
22
24
|
AuthorizationDataList = Shapes::ListShape.new(name: 'AuthorizationDataList')
|
25
|
+
AwsEcrContainerImageDetails = Shapes::StructureShape.new(name: 'AwsEcrContainerImageDetails')
|
23
26
|
Base64 = Shapes::StringShape.new(name: 'Base64')
|
27
|
+
BaseScore = Shapes::FloatShape.new(name: 'BaseScore')
|
24
28
|
BatchCheckLayerAvailabilityRequest = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityRequest')
|
25
29
|
BatchCheckLayerAvailabilityResponse = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityResponse')
|
26
30
|
BatchDeleteImageRequest = Shapes::StructureShape.new(name: 'BatchDeleteImageRequest')
|
27
31
|
BatchDeleteImageResponse = Shapes::StructureShape.new(name: 'BatchDeleteImageResponse')
|
28
32
|
BatchGetImageRequest = Shapes::StructureShape.new(name: 'BatchGetImageRequest')
|
29
33
|
BatchGetImageResponse = Shapes::StructureShape.new(name: 'BatchGetImageResponse')
|
34
|
+
BatchGetRepositoryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'BatchGetRepositoryScanningConfigurationRequest')
|
35
|
+
BatchGetRepositoryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'BatchGetRepositoryScanningConfigurationResponse')
|
30
36
|
BatchedOperationLayerDigest = Shapes::StringShape.new(name: 'BatchedOperationLayerDigest')
|
31
37
|
BatchedOperationLayerDigestList = Shapes::ListShape.new(name: 'BatchedOperationLayerDigestList')
|
32
38
|
CompleteLayerUploadRequest = Shapes::StructureShape.new(name: 'CompleteLayerUploadRequest')
|
33
39
|
CompleteLayerUploadResponse = Shapes::StructureShape.new(name: 'CompleteLayerUploadResponse')
|
40
|
+
CreatePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'CreatePullThroughCacheRuleRequest')
|
41
|
+
CreatePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'CreatePullThroughCacheRuleResponse')
|
34
42
|
CreateRepositoryRequest = Shapes::StructureShape.new(name: 'CreateRepositoryRequest')
|
35
43
|
CreateRepositoryResponse = Shapes::StructureShape.new(name: 'CreateRepositoryResponse')
|
36
44
|
CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
|
45
|
+
CvssScore = Shapes::StructureShape.new(name: 'CvssScore')
|
46
|
+
CvssScoreAdjustment = Shapes::StructureShape.new(name: 'CvssScoreAdjustment')
|
47
|
+
CvssScoreAdjustmentList = Shapes::ListShape.new(name: 'CvssScoreAdjustmentList')
|
48
|
+
CvssScoreDetails = Shapes::StructureShape.new(name: 'CvssScoreDetails')
|
49
|
+
CvssScoreList = Shapes::ListShape.new(name: 'CvssScoreList')
|
50
|
+
Date = Shapes::TimestampShape.new(name: 'Date')
|
37
51
|
DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest')
|
38
52
|
DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse')
|
53
|
+
DeletePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'DeletePullThroughCacheRuleRequest')
|
54
|
+
DeletePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'DeletePullThroughCacheRuleResponse')
|
39
55
|
DeleteRegistryPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRegistryPolicyRequest')
|
40
56
|
DeleteRegistryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRegistryPolicyResponse')
|
41
57
|
DeleteRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyRequest')
|
@@ -49,6 +65,8 @@ module Aws::ECR
|
|
49
65
|
DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
|
50
66
|
DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
|
51
67
|
DescribeImagesResponse = Shapes::StructureShape.new(name: 'DescribeImagesResponse')
|
68
|
+
DescribePullThroughCacheRulesRequest = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesRequest')
|
69
|
+
DescribePullThroughCacheRulesResponse = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesResponse')
|
52
70
|
DescribeRegistryRequest = Shapes::StructureShape.new(name: 'DescribeRegistryRequest')
|
53
71
|
DescribeRegistryResponse = Shapes::StructureShape.new(name: 'DescribeRegistryResponse')
|
54
72
|
DescribeRepositoriesRequest = Shapes::StructureShape.new(name: 'DescribeRepositoriesRequest')
|
@@ -56,9 +74,14 @@ module Aws::ECR
|
|
56
74
|
EmptyUploadException = Shapes::StructureShape.new(name: 'EmptyUploadException')
|
57
75
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
58
76
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
77
|
+
EnhancedImageScanFinding = Shapes::StructureShape.new(name: 'EnhancedImageScanFinding')
|
78
|
+
EnhancedImageScanFindingList = Shapes::ListShape.new(name: 'EnhancedImageScanFindingList')
|
79
|
+
Epoch = Shapes::IntegerShape.new(name: 'Epoch')
|
59
80
|
EvaluationTimestamp = Shapes::TimestampShape.new(name: 'EvaluationTimestamp')
|
60
81
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
61
82
|
ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
|
83
|
+
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
84
|
+
FindingArn = Shapes::StringShape.new(name: 'FindingArn')
|
62
85
|
FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
|
63
86
|
FindingName = Shapes::StringShape.new(name: 'FindingName')
|
64
87
|
FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
|
@@ -75,6 +98,8 @@ module Aws::ECR
|
|
75
98
|
GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse')
|
76
99
|
GetRegistryPolicyRequest = Shapes::StructureShape.new(name: 'GetRegistryPolicyRequest')
|
77
100
|
GetRegistryPolicyResponse = Shapes::StructureShape.new(name: 'GetRegistryPolicyResponse')
|
101
|
+
GetRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationRequest')
|
102
|
+
GetRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationResponse')
|
78
103
|
GetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPolicyRequest')
|
79
104
|
GetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'GetRepositoryPolicyResponse')
|
80
105
|
Image = Shapes::StructureShape.new(name: 'Image')
|
@@ -107,6 +132,7 @@ module Aws::ECR
|
|
107
132
|
ImageTagAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageTagAlreadyExistsException')
|
108
133
|
ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
|
109
134
|
ImageTagMutability = Shapes::StringShape.new(name: 'ImageTagMutability')
|
135
|
+
ImageTagsList = Shapes::ListShape.new(name: 'ImageTagsList')
|
110
136
|
InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
|
111
137
|
InitiateLayerUploadResponse = Shapes::StructureShape.new(name: 'InitiateLayerUploadResponse')
|
112
138
|
InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
|
@@ -152,9 +178,19 @@ module Aws::ECR
|
|
152
178
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
153
179
|
MediaType = Shapes::StringShape.new(name: 'MediaType')
|
154
180
|
MediaTypeList = Shapes::ListShape.new(name: 'MediaTypeList')
|
181
|
+
Metric = Shapes::StringShape.new(name: 'Metric')
|
155
182
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
183
|
+
PackageManager = Shapes::StringShape.new(name: 'PackageManager')
|
184
|
+
PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
|
156
185
|
PartSize = Shapes::IntegerShape.new(name: 'PartSize')
|
186
|
+
Platform = Shapes::StringShape.new(name: 'Platform')
|
157
187
|
ProxyEndpoint = Shapes::StringShape.new(name: 'ProxyEndpoint')
|
188
|
+
PullThroughCacheRule = Shapes::StructureShape.new(name: 'PullThroughCacheRule')
|
189
|
+
PullThroughCacheRuleAlreadyExistsException = Shapes::StructureShape.new(name: 'PullThroughCacheRuleAlreadyExistsException')
|
190
|
+
PullThroughCacheRuleList = Shapes::ListShape.new(name: 'PullThroughCacheRuleList')
|
191
|
+
PullThroughCacheRuleNotFoundException = Shapes::StructureShape.new(name: 'PullThroughCacheRuleNotFoundException')
|
192
|
+
PullThroughCacheRuleRepositoryPrefix = Shapes::StringShape.new(name: 'PullThroughCacheRuleRepositoryPrefix')
|
193
|
+
PullThroughCacheRuleRepositoryPrefixList = Shapes::ListShape.new(name: 'PullThroughCacheRuleRepositoryPrefixList')
|
158
194
|
PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp')
|
159
195
|
PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest')
|
160
196
|
PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse')
|
@@ -166,13 +202,26 @@ module Aws::ECR
|
|
166
202
|
PutLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'PutLifecyclePolicyResponse')
|
167
203
|
PutRegistryPolicyRequest = Shapes::StructureShape.new(name: 'PutRegistryPolicyRequest')
|
168
204
|
PutRegistryPolicyResponse = Shapes::StructureShape.new(name: 'PutRegistryPolicyResponse')
|
205
|
+
PutRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationRequest')
|
206
|
+
PutRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationResponse')
|
169
207
|
PutReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'PutReplicationConfigurationRequest')
|
170
208
|
PutReplicationConfigurationResponse = Shapes::StructureShape.new(name: 'PutReplicationConfigurationResponse')
|
209
|
+
Reason = Shapes::StringShape.new(name: 'Reason')
|
210
|
+
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
211
|
+
RecommendationText = Shapes::StringShape.new(name: 'RecommendationText')
|
212
|
+
ReferenceUrlsList = Shapes::ListShape.new(name: 'ReferenceUrlsList')
|
171
213
|
ReferencedImagesNotFoundException = Shapes::StructureShape.new(name: 'ReferencedImagesNotFoundException')
|
172
214
|
Region = Shapes::StringShape.new(name: 'Region')
|
173
215
|
RegistryId = Shapes::StringShape.new(name: 'RegistryId')
|
174
216
|
RegistryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RegistryPolicyNotFoundException')
|
175
217
|
RegistryPolicyText = Shapes::StringShape.new(name: 'RegistryPolicyText')
|
218
|
+
RegistryScanningConfiguration = Shapes::StructureShape.new(name: 'RegistryScanningConfiguration')
|
219
|
+
RegistryScanningRule = Shapes::StructureShape.new(name: 'RegistryScanningRule')
|
220
|
+
RegistryScanningRuleList = Shapes::ListShape.new(name: 'RegistryScanningRuleList')
|
221
|
+
RelatedVulnerabilitiesList = Shapes::ListShape.new(name: 'RelatedVulnerabilitiesList')
|
222
|
+
RelatedVulnerability = Shapes::StringShape.new(name: 'RelatedVulnerability')
|
223
|
+
Release = Shapes::StringShape.new(name: 'Release')
|
224
|
+
Remediation = Shapes::StructureShape.new(name: 'Remediation')
|
176
225
|
ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
|
177
226
|
ReplicationDestination = Shapes::StructureShape.new(name: 'ReplicationDestination')
|
178
227
|
ReplicationDestinationList = Shapes::ListShape.new(name: 'ReplicationDestinationList')
|
@@ -193,19 +242,43 @@ module Aws::ECR
|
|
193
242
|
RepositoryNotFoundException = Shapes::StructureShape.new(name: 'RepositoryNotFoundException')
|
194
243
|
RepositoryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RepositoryPolicyNotFoundException')
|
195
244
|
RepositoryPolicyText = Shapes::StringShape.new(name: 'RepositoryPolicyText')
|
245
|
+
RepositoryScanningConfiguration = Shapes::StructureShape.new(name: 'RepositoryScanningConfiguration')
|
246
|
+
RepositoryScanningConfigurationFailure = Shapes::StructureShape.new(name: 'RepositoryScanningConfigurationFailure')
|
247
|
+
RepositoryScanningConfigurationFailureList = Shapes::ListShape.new(name: 'RepositoryScanningConfigurationFailureList')
|
248
|
+
RepositoryScanningConfigurationList = Shapes::ListShape.new(name: 'RepositoryScanningConfigurationList')
|
249
|
+
Resource = Shapes::StructureShape.new(name: 'Resource')
|
250
|
+
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
251
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
252
|
+
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
253
|
+
ScanFrequency = Shapes::StringShape.new(name: 'ScanFrequency')
|
196
254
|
ScanNotFoundException = Shapes::StructureShape.new(name: 'ScanNotFoundException')
|
197
255
|
ScanOnPushFlag = Shapes::BooleanShape.new(name: 'ScanOnPushFlag')
|
198
256
|
ScanStatus = Shapes::StringShape.new(name: 'ScanStatus')
|
199
257
|
ScanStatusDescription = Shapes::StringShape.new(name: 'ScanStatusDescription')
|
200
258
|
ScanTimestamp = Shapes::TimestampShape.new(name: 'ScanTimestamp')
|
259
|
+
ScanType = Shapes::StringShape.new(name: 'ScanType')
|
260
|
+
ScanningConfigurationFailureCode = Shapes::StringShape.new(name: 'ScanningConfigurationFailureCode')
|
261
|
+
ScanningConfigurationFailureReason = Shapes::StringShape.new(name: 'ScanningConfigurationFailureReason')
|
262
|
+
ScanningConfigurationRepositoryNameList = Shapes::ListShape.new(name: 'ScanningConfigurationRepositoryNameList')
|
263
|
+
ScanningRepositoryFilter = Shapes::StructureShape.new(name: 'ScanningRepositoryFilter')
|
264
|
+
ScanningRepositoryFilterList = Shapes::ListShape.new(name: 'ScanningRepositoryFilterList')
|
265
|
+
ScanningRepositoryFilterType = Shapes::StringShape.new(name: 'ScanningRepositoryFilterType')
|
266
|
+
ScanningRepositoryFilterValue = Shapes::StringShape.new(name: 'ScanningRepositoryFilterValue')
|
267
|
+
Score = Shapes::FloatShape.new(name: 'Score')
|
268
|
+
ScoreDetails = Shapes::StructureShape.new(name: 'ScoreDetails')
|
269
|
+
ScoringVector = Shapes::StringShape.new(name: 'ScoringVector')
|
201
270
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
202
271
|
SetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'SetRepositoryPolicyRequest')
|
203
272
|
SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
|
273
|
+
Severity = Shapes::StringShape.new(name: 'Severity')
|
204
274
|
SeverityCount = Shapes::IntegerShape.new(name: 'SeverityCount')
|
275
|
+
Source = Shapes::StringShape.new(name: 'Source')
|
276
|
+
SourceLayerHash = Shapes::StringShape.new(name: 'SourceLayerHash')
|
205
277
|
StartImageScanRequest = Shapes::StructureShape.new(name: 'StartImageScanRequest')
|
206
278
|
StartImageScanResponse = Shapes::StructureShape.new(name: 'StartImageScanResponse')
|
207
279
|
StartLifecyclePolicyPreviewRequest = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewRequest')
|
208
280
|
StartLifecyclePolicyPreviewResponse = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewResponse')
|
281
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
209
282
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
210
283
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
211
284
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -214,8 +287,12 @@ module Aws::ECR
|
|
214
287
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
215
288
|
TagStatus = Shapes::StringShape.new(name: 'TagStatus')
|
216
289
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
290
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
291
|
+
Title = Shapes::StringShape.new(name: 'Title')
|
217
292
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
293
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
218
294
|
UnsupportedImageTypeException = Shapes::StructureShape.new(name: 'UnsupportedImageTypeException')
|
295
|
+
UnsupportedUpstreamRegistryException = Shapes::StructureShape.new(name: 'UnsupportedUpstreamRegistryException')
|
219
296
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
220
297
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
221
298
|
UploadId = Shapes::StringShape.new(name: 'UploadId')
|
@@ -224,7 +301,12 @@ module Aws::ECR
|
|
224
301
|
UploadNotFoundException = Shapes::StructureShape.new(name: 'UploadNotFoundException')
|
225
302
|
Url = Shapes::StringShape.new(name: 'Url')
|
226
303
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
304
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
305
|
+
VulnerabilityId = Shapes::StringShape.new(name: 'VulnerabilityId')
|
227
306
|
VulnerabilitySourceUpdateTimestamp = Shapes::TimestampShape.new(name: 'VulnerabilitySourceUpdateTimestamp')
|
307
|
+
VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
|
308
|
+
VulnerablePackageName = Shapes::StringShape.new(name: 'VulnerablePackageName')
|
309
|
+
VulnerablePackagesList = Shapes::ListShape.new(name: 'VulnerablePackagesList')
|
228
310
|
|
229
311
|
Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
|
230
312
|
Attribute.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "value"))
|
@@ -239,6 +321,16 @@ module Aws::ECR
|
|
239
321
|
|
240
322
|
AuthorizationDataList.member = Shapes::ShapeRef.new(shape: AuthorizationData)
|
241
323
|
|
324
|
+
AwsEcrContainerImageDetails.add_member(:architecture, Shapes::ShapeRef.new(shape: Arch, location_name: "architecture"))
|
325
|
+
AwsEcrContainerImageDetails.add_member(:author, Shapes::ShapeRef.new(shape: Author, location_name: "author"))
|
326
|
+
AwsEcrContainerImageDetails.add_member(:image_hash, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageHash"))
|
327
|
+
AwsEcrContainerImageDetails.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagsList, location_name: "imageTags"))
|
328
|
+
AwsEcrContainerImageDetails.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
329
|
+
AwsEcrContainerImageDetails.add_member(:pushed_at, Shapes::ShapeRef.new(shape: Date, location_name: "pushedAt"))
|
330
|
+
AwsEcrContainerImageDetails.add_member(:registry, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registry"))
|
331
|
+
AwsEcrContainerImageDetails.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
332
|
+
AwsEcrContainerImageDetails.struct_class = Types::AwsEcrContainerImageDetails
|
333
|
+
|
242
334
|
BatchCheckLayerAvailabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
243
335
|
BatchCheckLayerAvailabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
244
336
|
BatchCheckLayerAvailabilityRequest.add_member(:layer_digests, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigestList, required: true, location_name: "layerDigests"))
|
@@ -267,6 +359,13 @@ module Aws::ECR
|
|
267
359
|
BatchGetImageResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImageFailureList, location_name: "failures"))
|
268
360
|
BatchGetImageResponse.struct_class = Types::BatchGetImageResponse
|
269
361
|
|
362
|
+
BatchGetRepositoryScanningConfigurationRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: ScanningConfigurationRepositoryNameList, required: true, location_name: "repositoryNames"))
|
363
|
+
BatchGetRepositoryScanningConfigurationRequest.struct_class = Types::BatchGetRepositoryScanningConfigurationRequest
|
364
|
+
|
365
|
+
BatchGetRepositoryScanningConfigurationResponse.add_member(:scanning_configurations, Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationList, location_name: "scanningConfigurations"))
|
366
|
+
BatchGetRepositoryScanningConfigurationResponse.add_member(:failures, Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationFailureList, location_name: "failures"))
|
367
|
+
BatchGetRepositoryScanningConfigurationResponse.struct_class = Types::BatchGetRepositoryScanningConfigurationResponse
|
368
|
+
|
270
369
|
BatchedOperationLayerDigestList.member = Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest)
|
271
370
|
|
272
371
|
CompleteLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -281,6 +380,17 @@ module Aws::ECR
|
|
281
380
|
CompleteLayerUploadResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
282
381
|
CompleteLayerUploadResponse.struct_class = Types::CompleteLayerUploadResponse
|
283
382
|
|
383
|
+
CreatePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
|
384
|
+
CreatePullThroughCacheRuleRequest.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "upstreamRegistryUrl"))
|
385
|
+
CreatePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
386
|
+
CreatePullThroughCacheRuleRequest.struct_class = Types::CreatePullThroughCacheRuleRequest
|
387
|
+
|
388
|
+
CreatePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
|
389
|
+
CreatePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
|
390
|
+
CreatePullThroughCacheRuleResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
|
391
|
+
CreatePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
392
|
+
CreatePullThroughCacheRuleResponse.struct_class = Types::CreatePullThroughCacheRuleResponse
|
393
|
+
|
284
394
|
CreateRepositoryRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
285
395
|
CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
286
396
|
CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -292,6 +402,27 @@ module Aws::ECR
|
|
292
402
|
CreateRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
293
403
|
CreateRepositoryResponse.struct_class = Types::CreateRepositoryResponse
|
294
404
|
|
405
|
+
CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: BaseScore, location_name: "baseScore"))
|
406
|
+
CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: ScoringVector, location_name: "scoringVector"))
|
407
|
+
CvssScore.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
408
|
+
CvssScore.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
409
|
+
CvssScore.struct_class = Types::CvssScore
|
410
|
+
|
411
|
+
CvssScoreAdjustment.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, location_name: "metric"))
|
412
|
+
CvssScoreAdjustment.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
|
413
|
+
CvssScoreAdjustment.struct_class = Types::CvssScoreAdjustment
|
414
|
+
|
415
|
+
CvssScoreAdjustmentList.member = Shapes::ShapeRef.new(shape: CvssScoreAdjustment)
|
416
|
+
|
417
|
+
CvssScoreDetails.add_member(:adjustments, Shapes::ShapeRef.new(shape: CvssScoreAdjustmentList, location_name: "adjustments"))
|
418
|
+
CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Score, location_name: "score"))
|
419
|
+
CvssScoreDetails.add_member(:score_source, Shapes::ShapeRef.new(shape: Source, location_name: "scoreSource"))
|
420
|
+
CvssScoreDetails.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: ScoringVector, location_name: "scoringVector"))
|
421
|
+
CvssScoreDetails.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
422
|
+
CvssScoreDetails.struct_class = Types::CvssScoreDetails
|
423
|
+
|
424
|
+
CvssScoreList.member = Shapes::ShapeRef.new(shape: CvssScore)
|
425
|
+
|
295
426
|
DeleteLifecyclePolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
296
427
|
DeleteLifecyclePolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
297
428
|
DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest
|
@@ -302,6 +433,16 @@ module Aws::ECR
|
|
302
433
|
DeleteLifecyclePolicyResponse.add_member(:last_evaluated_at, Shapes::ShapeRef.new(shape: EvaluationTimestamp, location_name: "lastEvaluatedAt"))
|
303
434
|
DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse
|
304
435
|
|
436
|
+
DeletePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
|
437
|
+
DeletePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
438
|
+
DeletePullThroughCacheRuleRequest.struct_class = Types::DeletePullThroughCacheRuleRequest
|
439
|
+
|
440
|
+
DeletePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
|
441
|
+
DeletePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
|
442
|
+
DeletePullThroughCacheRuleResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
|
443
|
+
DeletePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
444
|
+
DeletePullThroughCacheRuleResponse.struct_class = Types::DeletePullThroughCacheRuleResponse
|
445
|
+
|
305
446
|
DeleteRegistryPolicyRequest.struct_class = Types::DeleteRegistryPolicyRequest
|
306
447
|
|
307
448
|
DeleteRegistryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -365,6 +506,16 @@ module Aws::ECR
|
|
365
506
|
DescribeImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
366
507
|
DescribeImagesResponse.struct_class = Types::DescribeImagesResponse
|
367
508
|
|
509
|
+
DescribePullThroughCacheRulesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
510
|
+
DescribePullThroughCacheRulesRequest.add_member(:ecr_repository_prefixes, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefixList, location_name: "ecrRepositoryPrefixes"))
|
511
|
+
DescribePullThroughCacheRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
512
|
+
DescribePullThroughCacheRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
513
|
+
DescribePullThroughCacheRulesRequest.struct_class = Types::DescribePullThroughCacheRulesRequest
|
514
|
+
|
515
|
+
DescribePullThroughCacheRulesResponse.add_member(:pull_through_cache_rules, Shapes::ShapeRef.new(shape: PullThroughCacheRuleList, location_name: "pullThroughCacheRules"))
|
516
|
+
DescribePullThroughCacheRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
517
|
+
DescribePullThroughCacheRulesResponse.struct_class = Types::DescribePullThroughCacheRulesResponse
|
518
|
+
|
368
519
|
DescribeRegistryRequest.struct_class = Types::DescribeRegistryRequest
|
369
520
|
|
370
521
|
DescribeRegistryResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -388,6 +539,25 @@ module Aws::ECR
|
|
388
539
|
EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "kmsKey"))
|
389
540
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
390
541
|
|
542
|
+
EnhancedImageScanFinding.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "awsAccountId"))
|
543
|
+
EnhancedImageScanFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, location_name: "description"))
|
544
|
+
EnhancedImageScanFinding.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, location_name: "findingArn"))
|
545
|
+
EnhancedImageScanFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: Date, location_name: "firstObservedAt"))
|
546
|
+
EnhancedImageScanFinding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: Date, location_name: "lastObservedAt"))
|
547
|
+
EnhancedImageScanFinding.add_member(:package_vulnerability_details, Shapes::ShapeRef.new(shape: PackageVulnerabilityDetails, location_name: "packageVulnerabilityDetails"))
|
548
|
+
EnhancedImageScanFinding.add_member(:remediation, Shapes::ShapeRef.new(shape: Remediation, location_name: "remediation"))
|
549
|
+
EnhancedImageScanFinding.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
|
550
|
+
EnhancedImageScanFinding.add_member(:score, Shapes::ShapeRef.new(shape: Score, location_name: "score"))
|
551
|
+
EnhancedImageScanFinding.add_member(:score_details, Shapes::ShapeRef.new(shape: ScoreDetails, location_name: "scoreDetails"))
|
552
|
+
EnhancedImageScanFinding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
|
553
|
+
EnhancedImageScanFinding.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
554
|
+
EnhancedImageScanFinding.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
|
555
|
+
EnhancedImageScanFinding.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
556
|
+
EnhancedImageScanFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "updatedAt"))
|
557
|
+
EnhancedImageScanFinding.struct_class = Types::EnhancedImageScanFinding
|
558
|
+
|
559
|
+
EnhancedImageScanFindingList.member = Shapes::ShapeRef.new(shape: EnhancedImageScanFinding)
|
560
|
+
|
391
561
|
FindingSeverityCounts.key = Shapes::ShapeRef.new(shape: FindingSeverity)
|
392
562
|
FindingSeverityCounts.value = Shapes::ShapeRef.new(shape: SeverityCount)
|
393
563
|
|
@@ -441,6 +611,12 @@ module Aws::ECR
|
|
441
611
|
GetRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
|
442
612
|
GetRegistryPolicyResponse.struct_class = Types::GetRegistryPolicyResponse
|
443
613
|
|
614
|
+
GetRegistryScanningConfigurationRequest.struct_class = Types::GetRegistryScanningConfigurationRequest
|
615
|
+
|
616
|
+
GetRegistryScanningConfigurationResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
617
|
+
GetRegistryScanningConfigurationResponse.add_member(:scanning_configuration, Shapes::ShapeRef.new(shape: RegistryScanningConfiguration, location_name: "scanningConfiguration"))
|
618
|
+
GetRegistryScanningConfigurationResponse.struct_class = Types::GetRegistryScanningConfigurationResponse
|
619
|
+
|
444
620
|
GetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
445
621
|
GetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
446
622
|
GetRepositoryPolicyRequest.struct_class = Types::GetRepositoryPolicyRequest
|
@@ -514,8 +690,9 @@ module Aws::ECR
|
|
514
690
|
|
515
691
|
ImageScanFindings.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
|
516
692
|
ImageScanFindings.add_member(:vulnerability_source_updated_at, Shapes::ShapeRef.new(shape: VulnerabilitySourceUpdateTimestamp, location_name: "vulnerabilitySourceUpdatedAt"))
|
517
|
-
ImageScanFindings.add_member(:findings, Shapes::ShapeRef.new(shape: ImageScanFindingList, location_name: "findings"))
|
518
693
|
ImageScanFindings.add_member(:finding_severity_counts, Shapes::ShapeRef.new(shape: FindingSeverityCounts, location_name: "findingSeverityCounts"))
|
694
|
+
ImageScanFindings.add_member(:findings, Shapes::ShapeRef.new(shape: ImageScanFindingList, location_name: "findings"))
|
695
|
+
ImageScanFindings.add_member(:enhanced_findings, Shapes::ShapeRef.new(shape: EnhancedImageScanFindingList, location_name: "enhancedFindings"))
|
519
696
|
ImageScanFindings.struct_class = Types::ImageScanFindings
|
520
697
|
|
521
698
|
ImageScanFindingsSummary.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
|
@@ -535,6 +712,8 @@ module Aws::ECR
|
|
535
712
|
|
536
713
|
ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
537
714
|
|
715
|
+
ImageTagsList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
716
|
+
|
538
717
|
InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
539
718
|
InitiateLayerUploadRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
540
719
|
InitiateLayerUploadRequest.struct_class = Types::InitiateLayerUploadRequest
|
@@ -644,6 +823,34 @@ module Aws::ECR
|
|
644
823
|
|
645
824
|
MediaTypeList.member = Shapes::ShapeRef.new(shape: MediaType)
|
646
825
|
|
826
|
+
PackageVulnerabilityDetails.add_member(:cvss, Shapes::ShapeRef.new(shape: CvssScoreList, location_name: "cvss"))
|
827
|
+
PackageVulnerabilityDetails.add_member(:reference_urls, Shapes::ShapeRef.new(shape: ReferenceUrlsList, location_name: "referenceUrls"))
|
828
|
+
PackageVulnerabilityDetails.add_member(:related_vulnerabilities, Shapes::ShapeRef.new(shape: RelatedVulnerabilitiesList, location_name: "relatedVulnerabilities"))
|
829
|
+
PackageVulnerabilityDetails.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
|
830
|
+
PackageVulnerabilityDetails.add_member(:source_url, Shapes::ShapeRef.new(shape: Url, location_name: "sourceUrl"))
|
831
|
+
PackageVulnerabilityDetails.add_member(:vendor_created_at, Shapes::ShapeRef.new(shape: Date, location_name: "vendorCreatedAt"))
|
832
|
+
PackageVulnerabilityDetails.add_member(:vendor_severity, Shapes::ShapeRef.new(shape: Severity, location_name: "vendorSeverity"))
|
833
|
+
PackageVulnerabilityDetails.add_member(:vendor_updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "vendorUpdatedAt"))
|
834
|
+
PackageVulnerabilityDetails.add_member(:vulnerability_id, Shapes::ShapeRef.new(shape: VulnerabilityId, location_name: "vulnerabilityId"))
|
835
|
+
PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackagesList, location_name: "vulnerablePackages"))
|
836
|
+
PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
|
837
|
+
|
838
|
+
PullThroughCacheRule.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
|
839
|
+
PullThroughCacheRule.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
|
840
|
+
PullThroughCacheRule.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
|
841
|
+
PullThroughCacheRule.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
842
|
+
PullThroughCacheRule.struct_class = Types::PullThroughCacheRule
|
843
|
+
|
844
|
+
PullThroughCacheRuleAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
845
|
+
PullThroughCacheRuleAlreadyExistsException.struct_class = Types::PullThroughCacheRuleAlreadyExistsException
|
846
|
+
|
847
|
+
PullThroughCacheRuleList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRule)
|
848
|
+
|
849
|
+
PullThroughCacheRuleNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
850
|
+
PullThroughCacheRuleNotFoundException.struct_class = Types::PullThroughCacheRuleNotFoundException
|
851
|
+
|
852
|
+
PullThroughCacheRuleRepositoryPrefixList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix)
|
853
|
+
|
647
854
|
PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
648
855
|
PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
649
856
|
PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
|
@@ -692,18 +899,46 @@ module Aws::ECR
|
|
692
899
|
PutRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
|
693
900
|
PutRegistryPolicyResponse.struct_class = Types::PutRegistryPolicyResponse
|
694
901
|
|
902
|
+
PutRegistryScanningConfigurationRequest.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
|
903
|
+
PutRegistryScanningConfigurationRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RegistryScanningRuleList, location_name: "rules"))
|
904
|
+
PutRegistryScanningConfigurationRequest.struct_class = Types::PutRegistryScanningConfigurationRequest
|
905
|
+
|
906
|
+
PutRegistryScanningConfigurationResponse.add_member(:registry_scanning_configuration, Shapes::ShapeRef.new(shape: RegistryScanningConfiguration, location_name: "registryScanningConfiguration"))
|
907
|
+
PutRegistryScanningConfigurationResponse.struct_class = Types::PutRegistryScanningConfigurationResponse
|
908
|
+
|
695
909
|
PutReplicationConfigurationRequest.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, required: true, location_name: "replicationConfiguration"))
|
696
910
|
PutReplicationConfigurationRequest.struct_class = Types::PutReplicationConfigurationRequest
|
697
911
|
|
698
912
|
PutReplicationConfigurationResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "replicationConfiguration"))
|
699
913
|
PutReplicationConfigurationResponse.struct_class = Types::PutReplicationConfigurationResponse
|
700
914
|
|
915
|
+
Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
|
916
|
+
Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: RecommendationText, location_name: "text"))
|
917
|
+
Recommendation.struct_class = Types::Recommendation
|
918
|
+
|
919
|
+
ReferenceUrlsList.member = Shapes::ShapeRef.new(shape: Url)
|
920
|
+
|
701
921
|
ReferencedImagesNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
702
922
|
ReferencedImagesNotFoundException.struct_class = Types::ReferencedImagesNotFoundException
|
703
923
|
|
704
924
|
RegistryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
705
925
|
RegistryPolicyNotFoundException.struct_class = Types::RegistryPolicyNotFoundException
|
706
926
|
|
927
|
+
RegistryScanningConfiguration.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
|
928
|
+
RegistryScanningConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: RegistryScanningRuleList, location_name: "rules"))
|
929
|
+
RegistryScanningConfiguration.struct_class = Types::RegistryScanningConfiguration
|
930
|
+
|
931
|
+
RegistryScanningRule.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: ScanFrequency, required: true, location_name: "scanFrequency"))
|
932
|
+
RegistryScanningRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterList, required: true, location_name: "repositoryFilters"))
|
933
|
+
RegistryScanningRule.struct_class = Types::RegistryScanningRule
|
934
|
+
|
935
|
+
RegistryScanningRuleList.member = Shapes::ShapeRef.new(shape: RegistryScanningRule)
|
936
|
+
|
937
|
+
RelatedVulnerabilitiesList.member = Shapes::ShapeRef.new(shape: RelatedVulnerability)
|
938
|
+
|
939
|
+
Remediation.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, location_name: "recommendation"))
|
940
|
+
Remediation.struct_class = Types::Remediation
|
941
|
+
|
707
942
|
ReplicationConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: ReplicationRuleList, required: true, location_name: "rules"))
|
708
943
|
ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
|
709
944
|
|
@@ -751,9 +986,47 @@ module Aws::ECR
|
|
751
986
|
RepositoryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
752
987
|
RepositoryPolicyNotFoundException.struct_class = Types::RepositoryPolicyNotFoundException
|
753
988
|
|
989
|
+
RepositoryScanningConfiguration.add_member(:repository_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "repositoryArn"))
|
990
|
+
RepositoryScanningConfiguration.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
991
|
+
RepositoryScanningConfiguration.add_member(:scan_on_push, Shapes::ShapeRef.new(shape: ScanOnPushFlag, location_name: "scanOnPush"))
|
992
|
+
RepositoryScanningConfiguration.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: ScanFrequency, location_name: "scanFrequency"))
|
993
|
+
RepositoryScanningConfiguration.add_member(:applied_scan_filters, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterList, location_name: "appliedScanFilters"))
|
994
|
+
RepositoryScanningConfiguration.struct_class = Types::RepositoryScanningConfiguration
|
995
|
+
|
996
|
+
RepositoryScanningConfigurationFailure.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
997
|
+
RepositoryScanningConfigurationFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ScanningConfigurationFailureCode, location_name: "failureCode"))
|
998
|
+
RepositoryScanningConfigurationFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ScanningConfigurationFailureReason, location_name: "failureReason"))
|
999
|
+
RepositoryScanningConfigurationFailure.struct_class = Types::RepositoryScanningConfigurationFailure
|
1000
|
+
|
1001
|
+
RepositoryScanningConfigurationFailureList.member = Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationFailure)
|
1002
|
+
|
1003
|
+
RepositoryScanningConfigurationList.member = Shapes::ShapeRef.new(shape: RepositoryScanningConfiguration)
|
1004
|
+
|
1005
|
+
Resource.add_member(:details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "details"))
|
1006
|
+
Resource.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "id"))
|
1007
|
+
Resource.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1008
|
+
Resource.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
1009
|
+
Resource.struct_class = Types::Resource
|
1010
|
+
|
1011
|
+
ResourceDetails.add_member(:aws_ecr_container_image, Shapes::ShapeRef.new(shape: AwsEcrContainerImageDetails, location_name: "awsEcrContainerImage"))
|
1012
|
+
ResourceDetails.struct_class = Types::ResourceDetails
|
1013
|
+
|
1014
|
+
ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
|
1015
|
+
|
754
1016
|
ScanNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
755
1017
|
ScanNotFoundException.struct_class = Types::ScanNotFoundException
|
756
1018
|
|
1019
|
+
ScanningConfigurationRepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
|
1020
|
+
|
1021
|
+
ScanningRepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterValue, required: true, location_name: "filter"))
|
1022
|
+
ScanningRepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterType, required: true, location_name: "filterType"))
|
1023
|
+
ScanningRepositoryFilter.struct_class = Types::ScanningRepositoryFilter
|
1024
|
+
|
1025
|
+
ScanningRepositoryFilterList.member = Shapes::ShapeRef.new(shape: ScanningRepositoryFilter)
|
1026
|
+
|
1027
|
+
ScoreDetails.add_member(:cvss, Shapes::ShapeRef.new(shape: CvssScoreDetails, location_name: "cvss"))
|
1028
|
+
ScoreDetails.struct_class = Types::ScoreDetails
|
1029
|
+
|
757
1030
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
758
1031
|
ServerException.struct_class = Types::ServerException
|
759
1032
|
|
@@ -804,12 +1077,18 @@ module Aws::ECR
|
|
804
1077
|
|
805
1078
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
806
1079
|
|
1080
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
1081
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
1082
|
+
|
807
1083
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
808
1084
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
809
1085
|
|
810
1086
|
UnsupportedImageTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
811
1087
|
UnsupportedImageTypeException.struct_class = Types::UnsupportedImageTypeException
|
812
1088
|
|
1089
|
+
UnsupportedUpstreamRegistryException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1090
|
+
UnsupportedUpstreamRegistryException.struct_class = Types::UnsupportedUpstreamRegistryException
|
1091
|
+
|
813
1092
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
814
1093
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
815
1094
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -836,6 +1115,18 @@ module Aws::ECR
|
|
836
1115
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
837
1116
|
ValidationException.struct_class = Types::ValidationException
|
838
1117
|
|
1118
|
+
VulnerablePackage.add_member(:arch, Shapes::ShapeRef.new(shape: Arch, location_name: "arch"))
|
1119
|
+
VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: Epoch, location_name: "epoch"))
|
1120
|
+
VulnerablePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "filePath"))
|
1121
|
+
VulnerablePackage.add_member(:name, Shapes::ShapeRef.new(shape: VulnerablePackageName, location_name: "name"))
|
1122
|
+
VulnerablePackage.add_member(:package_manager, Shapes::ShapeRef.new(shape: PackageManager, location_name: "packageManager"))
|
1123
|
+
VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: Release, location_name: "release"))
|
1124
|
+
VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
|
1125
|
+
VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
1126
|
+
VulnerablePackage.struct_class = Types::VulnerablePackage
|
1127
|
+
|
1128
|
+
VulnerablePackagesList.member = Shapes::ShapeRef.new(shape: VulnerablePackage)
|
1129
|
+
|
839
1130
|
|
840
1131
|
# @api private
|
841
1132
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -889,6 +1180,18 @@ module Aws::ECR
|
|
889
1180
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
890
1181
|
end)
|
891
1182
|
|
1183
|
+
api.add_operation(:batch_get_repository_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1184
|
+
o.name = "BatchGetRepositoryScanningConfiguration"
|
1185
|
+
o.http_method = "POST"
|
1186
|
+
o.http_request_uri = "/"
|
1187
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetRepositoryScanningConfigurationRequest)
|
1188
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetRepositoryScanningConfigurationResponse)
|
1189
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1190
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1192
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1193
|
+
end)
|
1194
|
+
|
892
1195
|
api.add_operation(:complete_layer_upload, Seahorse::Model::Operation.new.tap do |o|
|
893
1196
|
o.name = "CompleteLayerUpload"
|
894
1197
|
o.http_method = "POST"
|
@@ -906,6 +1209,20 @@ module Aws::ECR
|
|
906
1209
|
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
907
1210
|
end)
|
908
1211
|
|
1212
|
+
api.add_operation(:create_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
|
1213
|
+
o.name = "CreatePullThroughCacheRule"
|
1214
|
+
o.http_method = "POST"
|
1215
|
+
o.http_request_uri = "/"
|
1216
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePullThroughCacheRuleRequest)
|
1217
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePullThroughCacheRuleResponse)
|
1218
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleAlreadyExistsException)
|
1222
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedUpstreamRegistryException)
|
1223
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1224
|
+
end)
|
1225
|
+
|
909
1226
|
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
910
1227
|
o.name = "CreateRepository"
|
911
1228
|
o.http_method = "POST"
|
@@ -933,6 +1250,18 @@ module Aws::ECR
|
|
933
1250
|
o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyNotFoundException)
|
934
1251
|
end)
|
935
1252
|
|
1253
|
+
api.add_operation(:delete_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
|
1254
|
+
o.name = "DeletePullThroughCacheRule"
|
1255
|
+
o.http_method = "POST"
|
1256
|
+
o.http_request_uri = "/"
|
1257
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePullThroughCacheRuleRequest)
|
1258
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePullThroughCacheRuleResponse)
|
1259
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1260
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1261
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1262
|
+
o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
|
1263
|
+
end)
|
1264
|
+
|
936
1265
|
api.add_operation(:delete_registry_policy, Seahorse::Model::Operation.new.tap do |o|
|
937
1266
|
o.name = "DeleteRegistryPolicy"
|
938
1267
|
o.http_method = "POST"
|
@@ -994,6 +1323,7 @@ module Aws::ECR
|
|
994
1323
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
995
1324
|
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
996
1325
|
o.errors << Shapes::ShapeRef.new(shape: ScanNotFoundException)
|
1326
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
997
1327
|
o[:pager] = Aws::Pager.new(
|
998
1328
|
limit_key: "max_results",
|
999
1329
|
tokens: {
|
@@ -1020,6 +1350,24 @@ module Aws::ECR
|
|
1020
1350
|
)
|
1021
1351
|
end)
|
1022
1352
|
|
1353
|
+
api.add_operation(:describe_pull_through_cache_rules, Seahorse::Model::Operation.new.tap do |o|
|
1354
|
+
o.name = "DescribePullThroughCacheRules"
|
1355
|
+
o.http_method = "POST"
|
1356
|
+
o.http_request_uri = "/"
|
1357
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePullThroughCacheRulesRequest)
|
1358
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePullThroughCacheRulesResponse)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1362
|
+
o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
|
1363
|
+
o[:pager] = Aws::Pager.new(
|
1364
|
+
limit_key: "max_results",
|
1365
|
+
tokens: {
|
1366
|
+
"next_token" => "next_token"
|
1367
|
+
}
|
1368
|
+
)
|
1369
|
+
end)
|
1370
|
+
|
1023
1371
|
api.add_operation(:describe_registry, Seahorse::Model::Operation.new.tap do |o|
|
1024
1372
|
o.name = "DescribeRegistry"
|
1025
1373
|
o.http_method = "POST"
|
@@ -1113,6 +1461,17 @@ module Aws::ECR
|
|
1113
1461
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1114
1462
|
end)
|
1115
1463
|
|
1464
|
+
api.add_operation(:get_registry_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1465
|
+
o.name = "GetRegistryScanningConfiguration"
|
1466
|
+
o.http_method = "POST"
|
1467
|
+
o.http_request_uri = "/"
|
1468
|
+
o.input = Shapes::ShapeRef.new(shape: GetRegistryScanningConfigurationRequest)
|
1469
|
+
o.output = Shapes::ShapeRef.new(shape: GetRegistryScanningConfigurationResponse)
|
1470
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1471
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1472
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1473
|
+
end)
|
1474
|
+
|
1116
1475
|
api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
|
1117
1476
|
o.name = "GetRepositoryPolicy"
|
1118
1477
|
o.http_method = "POST"
|
@@ -1192,6 +1551,7 @@ module Aws::ECR
|
|
1192
1551
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1193
1552
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1194
1553
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1554
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1195
1555
|
end)
|
1196
1556
|
|
1197
1557
|
api.add_operation(:put_image_tag_mutability, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1227,6 +1587,17 @@ module Aws::ECR
|
|
1227
1587
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1228
1588
|
end)
|
1229
1589
|
|
1590
|
+
api.add_operation(:put_registry_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1591
|
+
o.name = "PutRegistryScanningConfiguration"
|
1592
|
+
o.http_method = "POST"
|
1593
|
+
o.http_request_uri = "/"
|
1594
|
+
o.input = Shapes::ShapeRef.new(shape: PutRegistryScanningConfigurationRequest)
|
1595
|
+
o.output = Shapes::ShapeRef.new(shape: PutRegistryScanningConfigurationResponse)
|
1596
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1597
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1598
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1599
|
+
end)
|
1600
|
+
|
1230
1601
|
api.add_operation(:put_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1231
1602
|
o.name = "PutReplicationConfiguration"
|
1232
1603
|
o.http_method = "POST"
|
@@ -1261,6 +1632,7 @@ module Aws::ECR
|
|
1261
1632
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1262
1633
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1263
1634
|
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1264
1636
|
end)
|
1265
1637
|
|
1266
1638
|
api.add_operation(:start_lifecycle_policy_preview, Seahorse::Model::Operation.new.tap do |o|
|