aws-sdk-ecr 1.46.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +425 -8
- data/lib/aws-sdk-ecr/client_api.rb +425 -1
- data/lib/aws-sdk-ecr/errors.rb +48 -0
- data/lib/aws-sdk-ecr/types.rb +1169 -49
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +4 -4
@@ -13,40 +13,60 @@ 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')
|
42
58
|
DeleteRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyResponse')
|
43
59
|
DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
|
44
60
|
DeleteRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryResponse')
|
61
|
+
DescribeImageReplicationStatusRequest = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusRequest')
|
62
|
+
DescribeImageReplicationStatusResponse = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusResponse')
|
45
63
|
DescribeImageScanFindingsRequest = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsRequest')
|
46
64
|
DescribeImageScanFindingsResponse = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsResponse')
|
47
65
|
DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
|
48
66
|
DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
|
49
67
|
DescribeImagesResponse = Shapes::StructureShape.new(name: 'DescribeImagesResponse')
|
68
|
+
DescribePullThroughCacheRulesRequest = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesRequest')
|
69
|
+
DescribePullThroughCacheRulesResponse = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesResponse')
|
50
70
|
DescribeRegistryRequest = Shapes::StructureShape.new(name: 'DescribeRegistryRequest')
|
51
71
|
DescribeRegistryResponse = Shapes::StructureShape.new(name: 'DescribeRegistryResponse')
|
52
72
|
DescribeRepositoriesRequest = Shapes::StructureShape.new(name: 'DescribeRepositoriesRequest')
|
@@ -54,9 +74,14 @@ module Aws::ECR
|
|
54
74
|
EmptyUploadException = Shapes::StructureShape.new(name: 'EmptyUploadException')
|
55
75
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
56
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')
|
57
80
|
EvaluationTimestamp = Shapes::TimestampShape.new(name: 'EvaluationTimestamp')
|
58
81
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
59
82
|
ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
|
83
|
+
FilePath = Shapes::StringShape.new(name: 'FilePath')
|
84
|
+
FindingArn = Shapes::StringShape.new(name: 'FindingArn')
|
60
85
|
FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
|
61
86
|
FindingName = Shapes::StringShape.new(name: 'FindingName')
|
62
87
|
FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
|
@@ -73,6 +98,8 @@ module Aws::ECR
|
|
73
98
|
GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse')
|
74
99
|
GetRegistryPolicyRequest = Shapes::StructureShape.new(name: 'GetRegistryPolicyRequest')
|
75
100
|
GetRegistryPolicyResponse = Shapes::StructureShape.new(name: 'GetRegistryPolicyResponse')
|
101
|
+
GetRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationRequest')
|
102
|
+
GetRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationResponse')
|
76
103
|
GetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPolicyRequest')
|
77
104
|
GetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'GetRepositoryPolicyResponse')
|
78
105
|
Image = Shapes::StructureShape.new(name: 'Image')
|
@@ -92,6 +119,8 @@ module Aws::ECR
|
|
92
119
|
ImageList = Shapes::ListShape.new(name: 'ImageList')
|
93
120
|
ImageManifest = Shapes::StringShape.new(name: 'ImageManifest')
|
94
121
|
ImageNotFoundException = Shapes::StructureShape.new(name: 'ImageNotFoundException')
|
122
|
+
ImageReplicationStatus = Shapes::StructureShape.new(name: 'ImageReplicationStatus')
|
123
|
+
ImageReplicationStatusList = Shapes::ListShape.new(name: 'ImageReplicationStatusList')
|
95
124
|
ImageScanFinding = Shapes::StructureShape.new(name: 'ImageScanFinding')
|
96
125
|
ImageScanFindingList = Shapes::ListShape.new(name: 'ImageScanFindingList')
|
97
126
|
ImageScanFindings = Shapes::StructureShape.new(name: 'ImageScanFindings')
|
@@ -103,6 +132,7 @@ module Aws::ECR
|
|
103
132
|
ImageTagAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageTagAlreadyExistsException')
|
104
133
|
ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
|
105
134
|
ImageTagMutability = Shapes::StringShape.new(name: 'ImageTagMutability')
|
135
|
+
ImageTagsList = Shapes::ListShape.new(name: 'ImageTagsList')
|
106
136
|
InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
|
107
137
|
InitiateLayerUploadResponse = Shapes::StructureShape.new(name: 'InitiateLayerUploadResponse')
|
108
138
|
InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
|
@@ -148,9 +178,19 @@ module Aws::ECR
|
|
148
178
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
149
179
|
MediaType = Shapes::StringShape.new(name: 'MediaType')
|
150
180
|
MediaTypeList = Shapes::ListShape.new(name: 'MediaTypeList')
|
181
|
+
Metric = Shapes::StringShape.new(name: 'Metric')
|
151
182
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
183
|
+
PackageManager = Shapes::StringShape.new(name: 'PackageManager')
|
184
|
+
PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
|
152
185
|
PartSize = Shapes::IntegerShape.new(name: 'PartSize')
|
186
|
+
Platform = Shapes::StringShape.new(name: 'Platform')
|
153
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')
|
154
194
|
PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp')
|
155
195
|
PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest')
|
156
196
|
PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse')
|
@@ -162,20 +202,39 @@ module Aws::ECR
|
|
162
202
|
PutLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'PutLifecyclePolicyResponse')
|
163
203
|
PutRegistryPolicyRequest = Shapes::StructureShape.new(name: 'PutRegistryPolicyRequest')
|
164
204
|
PutRegistryPolicyResponse = Shapes::StructureShape.new(name: 'PutRegistryPolicyResponse')
|
205
|
+
PutRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationRequest')
|
206
|
+
PutRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationResponse')
|
165
207
|
PutReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'PutReplicationConfigurationRequest')
|
166
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')
|
167
213
|
ReferencedImagesNotFoundException = Shapes::StructureShape.new(name: 'ReferencedImagesNotFoundException')
|
168
214
|
Region = Shapes::StringShape.new(name: 'Region')
|
169
215
|
RegistryId = Shapes::StringShape.new(name: 'RegistryId')
|
170
216
|
RegistryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RegistryPolicyNotFoundException')
|
171
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')
|
172
225
|
ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
|
173
226
|
ReplicationDestination = Shapes::StructureShape.new(name: 'ReplicationDestination')
|
174
227
|
ReplicationDestinationList = Shapes::ListShape.new(name: 'ReplicationDestinationList')
|
228
|
+
ReplicationError = Shapes::StringShape.new(name: 'ReplicationError')
|
175
229
|
ReplicationRule = Shapes::StructureShape.new(name: 'ReplicationRule')
|
176
230
|
ReplicationRuleList = Shapes::ListShape.new(name: 'ReplicationRuleList')
|
231
|
+
ReplicationStatus = Shapes::StringShape.new(name: 'ReplicationStatus')
|
177
232
|
Repository = Shapes::StructureShape.new(name: 'Repository')
|
178
233
|
RepositoryAlreadyExistsException = Shapes::StructureShape.new(name: 'RepositoryAlreadyExistsException')
|
234
|
+
RepositoryFilter = Shapes::StructureShape.new(name: 'RepositoryFilter')
|
235
|
+
RepositoryFilterList = Shapes::ListShape.new(name: 'RepositoryFilterList')
|
236
|
+
RepositoryFilterType = Shapes::StringShape.new(name: 'RepositoryFilterType')
|
237
|
+
RepositoryFilterValue = Shapes::StringShape.new(name: 'RepositoryFilterValue')
|
179
238
|
RepositoryList = Shapes::ListShape.new(name: 'RepositoryList')
|
180
239
|
RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
|
181
240
|
RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
|
@@ -183,19 +242,43 @@ module Aws::ECR
|
|
183
242
|
RepositoryNotFoundException = Shapes::StructureShape.new(name: 'RepositoryNotFoundException')
|
184
243
|
RepositoryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RepositoryPolicyNotFoundException')
|
185
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')
|
186
254
|
ScanNotFoundException = Shapes::StructureShape.new(name: 'ScanNotFoundException')
|
187
255
|
ScanOnPushFlag = Shapes::BooleanShape.new(name: 'ScanOnPushFlag')
|
188
256
|
ScanStatus = Shapes::StringShape.new(name: 'ScanStatus')
|
189
257
|
ScanStatusDescription = Shapes::StringShape.new(name: 'ScanStatusDescription')
|
190
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')
|
191
270
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
192
271
|
SetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'SetRepositoryPolicyRequest')
|
193
272
|
SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
|
273
|
+
Severity = Shapes::StringShape.new(name: 'Severity')
|
194
274
|
SeverityCount = Shapes::IntegerShape.new(name: 'SeverityCount')
|
275
|
+
Source = Shapes::StringShape.new(name: 'Source')
|
276
|
+
SourceLayerHash = Shapes::StringShape.new(name: 'SourceLayerHash')
|
195
277
|
StartImageScanRequest = Shapes::StructureShape.new(name: 'StartImageScanRequest')
|
196
278
|
StartImageScanResponse = Shapes::StructureShape.new(name: 'StartImageScanResponse')
|
197
279
|
StartLifecyclePolicyPreviewRequest = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewRequest')
|
198
280
|
StartLifecyclePolicyPreviewResponse = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewResponse')
|
281
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
199
282
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
200
283
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
201
284
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -204,8 +287,12 @@ module Aws::ECR
|
|
204
287
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
205
288
|
TagStatus = Shapes::StringShape.new(name: 'TagStatus')
|
206
289
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
290
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
291
|
+
Title = Shapes::StringShape.new(name: 'Title')
|
207
292
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
293
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
208
294
|
UnsupportedImageTypeException = Shapes::StructureShape.new(name: 'UnsupportedImageTypeException')
|
295
|
+
UnsupportedUpstreamRegistryException = Shapes::StructureShape.new(name: 'UnsupportedUpstreamRegistryException')
|
209
296
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
210
297
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
211
298
|
UploadId = Shapes::StringShape.new(name: 'UploadId')
|
@@ -214,7 +301,12 @@ module Aws::ECR
|
|
214
301
|
UploadNotFoundException = Shapes::StructureShape.new(name: 'UploadNotFoundException')
|
215
302
|
Url = Shapes::StringShape.new(name: 'Url')
|
216
303
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
304
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
305
|
+
VulnerabilityId = Shapes::StringShape.new(name: 'VulnerabilityId')
|
217
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')
|
218
310
|
|
219
311
|
Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
|
220
312
|
Attribute.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "value"))
|
@@ -229,6 +321,16 @@ module Aws::ECR
|
|
229
321
|
|
230
322
|
AuthorizationDataList.member = Shapes::ShapeRef.new(shape: AuthorizationData)
|
231
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
|
+
|
232
334
|
BatchCheckLayerAvailabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
233
335
|
BatchCheckLayerAvailabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
234
336
|
BatchCheckLayerAvailabilityRequest.add_member(:layer_digests, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigestList, required: true, location_name: "layerDigests"))
|
@@ -257,6 +359,13 @@ module Aws::ECR
|
|
257
359
|
BatchGetImageResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImageFailureList, location_name: "failures"))
|
258
360
|
BatchGetImageResponse.struct_class = Types::BatchGetImageResponse
|
259
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
|
+
|
260
369
|
BatchedOperationLayerDigestList.member = Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest)
|
261
370
|
|
262
371
|
CompleteLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -271,6 +380,18 @@ module Aws::ECR
|
|
271
380
|
CompleteLayerUploadResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
272
381
|
CompleteLayerUploadResponse.struct_class = Types::CompleteLayerUploadResponse
|
273
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
|
+
|
394
|
+
CreateRepositoryRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
274
395
|
CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
275
396
|
CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
276
397
|
CreateRepositoryRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
|
@@ -281,6 +402,27 @@ module Aws::ECR
|
|
281
402
|
CreateRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
282
403
|
CreateRepositoryResponse.struct_class = Types::CreateRepositoryResponse
|
283
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
|
+
|
284
426
|
DeleteLifecyclePolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
285
427
|
DeleteLifecyclePolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
286
428
|
DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest
|
@@ -291,6 +433,16 @@ module Aws::ECR
|
|
291
433
|
DeleteLifecyclePolicyResponse.add_member(:last_evaluated_at, Shapes::ShapeRef.new(shape: EvaluationTimestamp, location_name: "lastEvaluatedAt"))
|
292
434
|
DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse
|
293
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
|
+
|
294
446
|
DeleteRegistryPolicyRequest.struct_class = Types::DeleteRegistryPolicyRequest
|
295
447
|
|
296
448
|
DeleteRegistryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -314,6 +466,16 @@ module Aws::ECR
|
|
314
466
|
DeleteRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
315
467
|
DeleteRepositoryResponse.struct_class = Types::DeleteRepositoryResponse
|
316
468
|
|
469
|
+
DescribeImageReplicationStatusRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
470
|
+
DescribeImageReplicationStatusRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
|
471
|
+
DescribeImageReplicationStatusRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
472
|
+
DescribeImageReplicationStatusRequest.struct_class = Types::DescribeImageReplicationStatusRequest
|
473
|
+
|
474
|
+
DescribeImageReplicationStatusResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
475
|
+
DescribeImageReplicationStatusResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
|
476
|
+
DescribeImageReplicationStatusResponse.add_member(:replication_statuses, Shapes::ShapeRef.new(shape: ImageReplicationStatusList, location_name: "replicationStatuses"))
|
477
|
+
DescribeImageReplicationStatusResponse.struct_class = Types::DescribeImageReplicationStatusResponse
|
478
|
+
|
317
479
|
DescribeImageScanFindingsRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
318
480
|
DescribeImageScanFindingsRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
319
481
|
DescribeImageScanFindingsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
|
@@ -344,6 +506,16 @@ module Aws::ECR
|
|
344
506
|
DescribeImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
345
507
|
DescribeImagesResponse.struct_class = Types::DescribeImagesResponse
|
346
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
|
+
|
347
519
|
DescribeRegistryRequest.struct_class = Types::DescribeRegistryRequest
|
348
520
|
|
349
521
|
DescribeRegistryResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
@@ -367,6 +539,25 @@ module Aws::ECR
|
|
367
539
|
EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "kmsKey"))
|
368
540
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
369
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
|
+
|
370
561
|
FindingSeverityCounts.key = Shapes::ShapeRef.new(shape: FindingSeverity)
|
371
562
|
FindingSeverityCounts.value = Shapes::ShapeRef.new(shape: SeverityCount)
|
372
563
|
|
@@ -420,6 +611,12 @@ module Aws::ECR
|
|
420
611
|
GetRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
|
421
612
|
GetRegistryPolicyResponse.struct_class = Types::GetRegistryPolicyResponse
|
422
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
|
+
|
423
620
|
GetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
424
621
|
GetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
425
622
|
GetRepositoryPolicyRequest.struct_class = Types::GetRepositoryPolicyRequest
|
@@ -474,6 +671,14 @@ module Aws::ECR
|
|
474
671
|
ImageNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
475
672
|
ImageNotFoundException.struct_class = Types::ImageNotFoundException
|
476
673
|
|
674
|
+
ImageReplicationStatus.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "region"))
|
675
|
+
ImageReplicationStatus.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
676
|
+
ImageReplicationStatus.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "status"))
|
677
|
+
ImageReplicationStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: ReplicationError, location_name: "failureCode"))
|
678
|
+
ImageReplicationStatus.struct_class = Types::ImageReplicationStatus
|
679
|
+
|
680
|
+
ImageReplicationStatusList.member = Shapes::ShapeRef.new(shape: ImageReplicationStatus)
|
681
|
+
|
477
682
|
ImageScanFinding.add_member(:name, Shapes::ShapeRef.new(shape: FindingName, location_name: "name"))
|
478
683
|
ImageScanFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, location_name: "description"))
|
479
684
|
ImageScanFinding.add_member(:uri, Shapes::ShapeRef.new(shape: Url, location_name: "uri"))
|
@@ -485,8 +690,9 @@ module Aws::ECR
|
|
485
690
|
|
486
691
|
ImageScanFindings.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
|
487
692
|
ImageScanFindings.add_member(:vulnerability_source_updated_at, Shapes::ShapeRef.new(shape: VulnerabilitySourceUpdateTimestamp, location_name: "vulnerabilitySourceUpdatedAt"))
|
488
|
-
ImageScanFindings.add_member(:findings, Shapes::ShapeRef.new(shape: ImageScanFindingList, location_name: "findings"))
|
489
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"))
|
490
696
|
ImageScanFindings.struct_class = Types::ImageScanFindings
|
491
697
|
|
492
698
|
ImageScanFindingsSummary.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
|
@@ -506,6 +712,8 @@ module Aws::ECR
|
|
506
712
|
|
507
713
|
ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
508
714
|
|
715
|
+
ImageTagsList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
716
|
+
|
509
717
|
InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
510
718
|
InitiateLayerUploadRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
511
719
|
InitiateLayerUploadRequest.struct_class = Types::InitiateLayerUploadRequest
|
@@ -615,6 +823,34 @@ module Aws::ECR
|
|
615
823
|
|
616
824
|
MediaTypeList.member = Shapes::ShapeRef.new(shape: MediaType)
|
617
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
|
+
|
618
854
|
PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
619
855
|
PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
620
856
|
PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
|
@@ -663,18 +899,46 @@ module Aws::ECR
|
|
663
899
|
PutRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
|
664
900
|
PutRegistryPolicyResponse.struct_class = Types::PutRegistryPolicyResponse
|
665
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
|
+
|
666
909
|
PutReplicationConfigurationRequest.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, required: true, location_name: "replicationConfiguration"))
|
667
910
|
PutReplicationConfigurationRequest.struct_class = Types::PutReplicationConfigurationRequest
|
668
911
|
|
669
912
|
PutReplicationConfigurationResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "replicationConfiguration"))
|
670
913
|
PutReplicationConfigurationResponse.struct_class = Types::PutReplicationConfigurationResponse
|
671
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
|
+
|
672
921
|
ReferencedImagesNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
673
922
|
ReferencedImagesNotFoundException.struct_class = Types::ReferencedImagesNotFoundException
|
674
923
|
|
675
924
|
RegistryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
676
925
|
RegistryPolicyNotFoundException.struct_class = Types::RegistryPolicyNotFoundException
|
677
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
|
+
|
678
942
|
ReplicationConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: ReplicationRuleList, required: true, location_name: "rules"))
|
679
943
|
ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
|
680
944
|
|
@@ -685,6 +949,7 @@ module Aws::ECR
|
|
685
949
|
ReplicationDestinationList.member = Shapes::ShapeRef.new(shape: ReplicationDestination)
|
686
950
|
|
687
951
|
ReplicationRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ReplicationDestinationList, required: true, location_name: "destinations"))
|
952
|
+
ReplicationRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: RepositoryFilterList, location_name: "repositoryFilters"))
|
688
953
|
ReplicationRule.struct_class = Types::ReplicationRule
|
689
954
|
|
690
955
|
ReplicationRuleList.member = Shapes::ShapeRef.new(shape: ReplicationRule)
|
@@ -702,6 +967,12 @@ module Aws::ECR
|
|
702
967
|
RepositoryAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
703
968
|
RepositoryAlreadyExistsException.struct_class = Types::RepositoryAlreadyExistsException
|
704
969
|
|
970
|
+
RepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: RepositoryFilterValue, required: true, location_name: "filter"))
|
971
|
+
RepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: RepositoryFilterType, required: true, location_name: "filterType"))
|
972
|
+
RepositoryFilter.struct_class = Types::RepositoryFilter
|
973
|
+
|
974
|
+
RepositoryFilterList.member = Shapes::ShapeRef.new(shape: RepositoryFilter)
|
975
|
+
|
705
976
|
RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
|
706
977
|
|
707
978
|
RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
|
@@ -715,9 +986,47 @@ module Aws::ECR
|
|
715
986
|
RepositoryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
716
987
|
RepositoryPolicyNotFoundException.struct_class = Types::RepositoryPolicyNotFoundException
|
717
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
|
+
|
718
1016
|
ScanNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
719
1017
|
ScanNotFoundException.struct_class = Types::ScanNotFoundException
|
720
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
|
+
|
721
1030
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
722
1031
|
ServerException.struct_class = Types::ServerException
|
723
1032
|
|
@@ -768,12 +1077,18 @@ module Aws::ECR
|
|
768
1077
|
|
769
1078
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
770
1079
|
|
1080
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
1081
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
1082
|
+
|
771
1083
|
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
772
1084
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
773
1085
|
|
774
1086
|
UnsupportedImageTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
775
1087
|
UnsupportedImageTypeException.struct_class = Types::UnsupportedImageTypeException
|
776
1088
|
|
1089
|
+
UnsupportedUpstreamRegistryException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1090
|
+
UnsupportedUpstreamRegistryException.struct_class = Types::UnsupportedUpstreamRegistryException
|
1091
|
+
|
777
1092
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
|
778
1093
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
779
1094
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -800,6 +1115,18 @@ module Aws::ECR
|
|
800
1115
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
801
1116
|
ValidationException.struct_class = Types::ValidationException
|
802
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
|
+
|
803
1130
|
|
804
1131
|
# @api private
|
805
1132
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -853,6 +1180,18 @@ module Aws::ECR
|
|
853
1180
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
854
1181
|
end)
|
855
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
|
+
|
856
1195
|
api.add_operation(:complete_layer_upload, Seahorse::Model::Operation.new.tap do |o|
|
857
1196
|
o.name = "CompleteLayerUpload"
|
858
1197
|
o.http_method = "POST"
|
@@ -870,6 +1209,20 @@ module Aws::ECR
|
|
870
1209
|
o.errors << Shapes::ShapeRef.new(shape: KmsException)
|
871
1210
|
end)
|
872
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
|
+
|
873
1226
|
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
874
1227
|
o.name = "CreateRepository"
|
875
1228
|
o.http_method = "POST"
|
@@ -897,6 +1250,18 @@ module Aws::ECR
|
|
897
1250
|
o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyNotFoundException)
|
898
1251
|
end)
|
899
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
|
+
|
900
1265
|
api.add_operation(:delete_registry_policy, Seahorse::Model::Operation.new.tap do |o|
|
901
1266
|
o.name = "DeleteRegistryPolicy"
|
902
1267
|
o.http_method = "POST"
|
@@ -906,6 +1271,7 @@ module Aws::ECR
|
|
906
1271
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
907
1272
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
908
1273
|
o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
909
1275
|
end)
|
910
1276
|
|
911
1277
|
api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
|
@@ -933,6 +1299,19 @@ module Aws::ECR
|
|
933
1299
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
|
934
1300
|
end)
|
935
1301
|
|
1302
|
+
api.add_operation(:describe_image_replication_status, Seahorse::Model::Operation.new.tap do |o|
|
1303
|
+
o.name = "DescribeImageReplicationStatus"
|
1304
|
+
o.http_method = "POST"
|
1305
|
+
o.http_request_uri = "/"
|
1306
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusRequest)
|
1307
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusResponse)
|
1308
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1310
|
+
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
1311
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1312
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1313
|
+
end)
|
1314
|
+
|
936
1315
|
api.add_operation(:describe_image_scan_findings, Seahorse::Model::Operation.new.tap do |o|
|
937
1316
|
o.name = "DescribeImageScanFindings"
|
938
1317
|
o.http_method = "POST"
|
@@ -944,6 +1323,7 @@ module Aws::ECR
|
|
944
1323
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
945
1324
|
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
946
1325
|
o.errors << Shapes::ShapeRef.new(shape: ScanNotFoundException)
|
1326
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
947
1327
|
o[:pager] = Aws::Pager.new(
|
948
1328
|
limit_key: "max_results",
|
949
1329
|
tokens: {
|
@@ -970,6 +1350,24 @@ module Aws::ECR
|
|
970
1350
|
)
|
971
1351
|
end)
|
972
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
|
+
|
973
1371
|
api.add_operation(:describe_registry, Seahorse::Model::Operation.new.tap do |o|
|
974
1372
|
o.name = "DescribeRegistry"
|
975
1373
|
o.http_method = "POST"
|
@@ -1060,6 +1458,18 @@ module Aws::ECR
|
|
1060
1458
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1061
1459
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1062
1460
|
o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
|
1461
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1462
|
+
end)
|
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)
|
1063
1473
|
end)
|
1064
1474
|
|
1065
1475
|
api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1141,6 +1551,7 @@ module Aws::ECR
|
|
1141
1551
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1142
1552
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1143
1553
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1554
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1144
1555
|
end)
|
1145
1556
|
|
1146
1557
|
api.add_operation(:put_image_tag_mutability, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1173,6 +1584,18 @@ module Aws::ECR
|
|
1173
1584
|
o.output = Shapes::ShapeRef.new(shape: PutRegistryPolicyResponse)
|
1174
1585
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1175
1586
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1588
|
+
end)
|
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)
|
1176
1599
|
end)
|
1177
1600
|
|
1178
1601
|
api.add_operation(:put_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1209,6 +1632,7 @@ module Aws::ECR
|
|
1209
1632
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1210
1633
|
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
1211
1634
|
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1212
1636
|
end)
|
1213
1637
|
|
1214
1638
|
api.add_operation(:start_lifecycle_policy_preview, Seahorse::Model::Operation.new.tap do |o|
|