aws-sdk-ecr 1.3.0 → 1.69.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.
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
@@ -11,38 +13,80 @@ module Aws::ECR
11
13
 
12
14
  include Seahorse::Model
13
15
 
16
+ Arch = Shapes::StringShape.new(name: 'Arch')
14
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
19
+ AttributeKey = Shapes::StringShape.new(name: 'AttributeKey')
20
+ AttributeList = Shapes::ListShape.new(name: 'AttributeList')
21
+ AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
22
+ Author = Shapes::StringShape.new(name: 'Author')
15
23
  AuthorizationData = Shapes::StructureShape.new(name: 'AuthorizationData')
16
24
  AuthorizationDataList = Shapes::ListShape.new(name: 'AuthorizationDataList')
25
+ AwsEcrContainerImageDetails = Shapes::StructureShape.new(name: 'AwsEcrContainerImageDetails')
17
26
  Base64 = Shapes::StringShape.new(name: 'Base64')
27
+ BaseScore = Shapes::FloatShape.new(name: 'BaseScore')
18
28
  BatchCheckLayerAvailabilityRequest = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityRequest')
19
29
  BatchCheckLayerAvailabilityResponse = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityResponse')
20
30
  BatchDeleteImageRequest = Shapes::StructureShape.new(name: 'BatchDeleteImageRequest')
21
31
  BatchDeleteImageResponse = Shapes::StructureShape.new(name: 'BatchDeleteImageResponse')
22
32
  BatchGetImageRequest = Shapes::StructureShape.new(name: 'BatchGetImageRequest')
23
33
  BatchGetImageResponse = Shapes::StructureShape.new(name: 'BatchGetImageResponse')
34
+ BatchGetRepositoryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'BatchGetRepositoryScanningConfigurationRequest')
35
+ BatchGetRepositoryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'BatchGetRepositoryScanningConfigurationResponse')
24
36
  BatchedOperationLayerDigest = Shapes::StringShape.new(name: 'BatchedOperationLayerDigest')
25
37
  BatchedOperationLayerDigestList = Shapes::ListShape.new(name: 'BatchedOperationLayerDigestList')
26
38
  CompleteLayerUploadRequest = Shapes::StructureShape.new(name: 'CompleteLayerUploadRequest')
27
39
  CompleteLayerUploadResponse = Shapes::StructureShape.new(name: 'CompleteLayerUploadResponse')
40
+ CreatePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'CreatePullThroughCacheRuleRequest')
41
+ CreatePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'CreatePullThroughCacheRuleResponse')
28
42
  CreateRepositoryRequest = Shapes::StructureShape.new(name: 'CreateRepositoryRequest')
29
43
  CreateRepositoryResponse = Shapes::StructureShape.new(name: 'CreateRepositoryResponse')
30
44
  CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
45
+ CredentialArn = Shapes::StringShape.new(name: 'CredentialArn')
46
+ CvssScore = Shapes::StructureShape.new(name: 'CvssScore')
47
+ CvssScoreAdjustment = Shapes::StructureShape.new(name: 'CvssScoreAdjustment')
48
+ CvssScoreAdjustmentList = Shapes::ListShape.new(name: 'CvssScoreAdjustmentList')
49
+ CvssScoreDetails = Shapes::StructureShape.new(name: 'CvssScoreDetails')
50
+ CvssScoreList = Shapes::ListShape.new(name: 'CvssScoreList')
51
+ Date = Shapes::TimestampShape.new(name: 'Date')
31
52
  DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest')
32
53
  DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse')
54
+ DeletePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'DeletePullThroughCacheRuleRequest')
55
+ DeletePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'DeletePullThroughCacheRuleResponse')
56
+ DeleteRegistryPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRegistryPolicyRequest')
57
+ DeleteRegistryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRegistryPolicyResponse')
33
58
  DeleteRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyRequest')
34
59
  DeleteRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyResponse')
35
60
  DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
36
61
  DeleteRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryResponse')
62
+ DescribeImageReplicationStatusRequest = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusRequest')
63
+ DescribeImageReplicationStatusResponse = Shapes::StructureShape.new(name: 'DescribeImageReplicationStatusResponse')
64
+ DescribeImageScanFindingsRequest = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsRequest')
65
+ DescribeImageScanFindingsResponse = Shapes::StructureShape.new(name: 'DescribeImageScanFindingsResponse')
37
66
  DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
38
67
  DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
39
68
  DescribeImagesResponse = Shapes::StructureShape.new(name: 'DescribeImagesResponse')
69
+ DescribePullThroughCacheRulesRequest = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesRequest')
70
+ DescribePullThroughCacheRulesResponse = Shapes::StructureShape.new(name: 'DescribePullThroughCacheRulesResponse')
71
+ DescribeRegistryRequest = Shapes::StructureShape.new(name: 'DescribeRegistryRequest')
72
+ DescribeRegistryResponse = Shapes::StructureShape.new(name: 'DescribeRegistryResponse')
40
73
  DescribeRepositoriesRequest = Shapes::StructureShape.new(name: 'DescribeRepositoriesRequest')
41
74
  DescribeRepositoriesResponse = Shapes::StructureShape.new(name: 'DescribeRepositoriesResponse')
42
75
  EmptyUploadException = Shapes::StructureShape.new(name: 'EmptyUploadException')
76
+ EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
77
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
78
+ EnhancedImageScanFinding = Shapes::StructureShape.new(name: 'EnhancedImageScanFinding')
79
+ EnhancedImageScanFindingList = Shapes::ListShape.new(name: 'EnhancedImageScanFindingList')
80
+ Epoch = Shapes::IntegerShape.new(name: 'Epoch')
43
81
  EvaluationTimestamp = Shapes::TimestampShape.new(name: 'EvaluationTimestamp')
44
82
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
45
83
  ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
84
+ FilePath = Shapes::StringShape.new(name: 'FilePath')
85
+ FindingArn = Shapes::StringShape.new(name: 'FindingArn')
86
+ FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
87
+ FindingName = Shapes::StringShape.new(name: 'FindingName')
88
+ FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
89
+ FindingSeverityCounts = Shapes::MapShape.new(name: 'FindingSeverityCounts')
46
90
  ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
47
91
  GetAuthorizationTokenRegistryIdList = Shapes::ListShape.new(name: 'GetAuthorizationTokenRegistryIdList')
48
92
  GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest')
@@ -53,6 +97,10 @@ module Aws::ECR
53
97
  GetLifecyclePolicyPreviewResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyPreviewResponse')
54
98
  GetLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'GetLifecyclePolicyRequest')
55
99
  GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse')
100
+ GetRegistryPolicyRequest = Shapes::StructureShape.new(name: 'GetRegistryPolicyRequest')
101
+ GetRegistryPolicyResponse = Shapes::StructureShape.new(name: 'GetRegistryPolicyResponse')
102
+ GetRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationRequest')
103
+ GetRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'GetRegistryScanningConfigurationResponse')
56
104
  GetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPolicyRequest')
57
105
  GetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'GetRepositoryPolicyResponse')
58
106
  Image = Shapes::StructureShape.new(name: 'Image')
@@ -62,6 +110,7 @@ module Aws::ECR
62
110
  ImageDetail = Shapes::StructureShape.new(name: 'ImageDetail')
63
111
  ImageDetailList = Shapes::ListShape.new(name: 'ImageDetailList')
64
112
  ImageDigest = Shapes::StringShape.new(name: 'ImageDigest')
113
+ ImageDigestDoesNotMatchException = Shapes::StructureShape.new(name: 'ImageDigestDoesNotMatchException')
65
114
  ImageFailure = Shapes::StructureShape.new(name: 'ImageFailure')
66
115
  ImageFailureCode = Shapes::StringShape.new(name: 'ImageFailureCode')
67
116
  ImageFailureList = Shapes::ListShape.new(name: 'ImageFailureList')
@@ -71,14 +120,30 @@ module Aws::ECR
71
120
  ImageList = Shapes::ListShape.new(name: 'ImageList')
72
121
  ImageManifest = Shapes::StringShape.new(name: 'ImageManifest')
73
122
  ImageNotFoundException = Shapes::StructureShape.new(name: 'ImageNotFoundException')
123
+ ImageReplicationStatus = Shapes::StructureShape.new(name: 'ImageReplicationStatus')
124
+ ImageReplicationStatusList = Shapes::ListShape.new(name: 'ImageReplicationStatusList')
125
+ ImageScanFinding = Shapes::StructureShape.new(name: 'ImageScanFinding')
126
+ ImageScanFindingList = Shapes::ListShape.new(name: 'ImageScanFindingList')
127
+ ImageScanFindings = Shapes::StructureShape.new(name: 'ImageScanFindings')
128
+ ImageScanFindingsSummary = Shapes::StructureShape.new(name: 'ImageScanFindingsSummary')
129
+ ImageScanStatus = Shapes::StructureShape.new(name: 'ImageScanStatus')
130
+ ImageScanningConfiguration = Shapes::StructureShape.new(name: 'ImageScanningConfiguration')
74
131
  ImageSizeInBytes = Shapes::IntegerShape.new(name: 'ImageSizeInBytes')
75
132
  ImageTag = Shapes::StringShape.new(name: 'ImageTag')
133
+ ImageTagAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageTagAlreadyExistsException')
76
134
  ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
135
+ ImageTagMutability = Shapes::StringShape.new(name: 'ImageTagMutability')
136
+ ImageTagsList = Shapes::ListShape.new(name: 'ImageTagsList')
77
137
  InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
78
138
  InitiateLayerUploadResponse = Shapes::StructureShape.new(name: 'InitiateLayerUploadResponse')
79
139
  InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
80
140
  InvalidLayerPartException = Shapes::StructureShape.new(name: 'InvalidLayerPartException')
81
141
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
142
+ InvalidTagParameterException = Shapes::StructureShape.new(name: 'InvalidTagParameterException')
143
+ IsPTCRuleValid = Shapes::BooleanShape.new(name: 'IsPTCRuleValid')
144
+ KmsError = Shapes::StringShape.new(name: 'KmsError')
145
+ KmsException = Shapes::StructureShape.new(name: 'KmsException')
146
+ KmsKey = Shapes::StringShape.new(name: 'KmsKey')
82
147
  Layer = Shapes::StructureShape.new(name: 'Layer')
83
148
  LayerAlreadyExistsException = Shapes::StructureShape.new(name: 'LayerAlreadyExistsException')
84
149
  LayerAvailability = Shapes::StringShape.new(name: 'LayerAvailability')
@@ -105,24 +170,75 @@ module Aws::ECR
105
170
  LifecyclePolicyRuleAction = Shapes::StructureShape.new(name: 'LifecyclePolicyRuleAction')
106
171
  LifecyclePolicyRulePriority = Shapes::IntegerShape.new(name: 'LifecyclePolicyRulePriority')
107
172
  LifecyclePolicyText = Shapes::StringShape.new(name: 'LifecyclePolicyText')
173
+ LifecyclePreviewMaxResults = Shapes::IntegerShape.new(name: 'LifecyclePreviewMaxResults')
108
174
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
109
175
  ListImagesFilter = Shapes::StructureShape.new(name: 'ListImagesFilter')
110
176
  ListImagesRequest = Shapes::StructureShape.new(name: 'ListImagesRequest')
111
177
  ListImagesResponse = Shapes::StructureShape.new(name: 'ListImagesResponse')
178
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
179
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
112
180
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
113
181
  MediaType = Shapes::StringShape.new(name: 'MediaType')
114
182
  MediaTypeList = Shapes::ListShape.new(name: 'MediaTypeList')
183
+ Metric = Shapes::StringShape.new(name: 'Metric')
115
184
  NextToken = Shapes::StringShape.new(name: 'NextToken')
185
+ PTCValidateFailure = Shapes::StringShape.new(name: 'PTCValidateFailure')
186
+ PackageManager = Shapes::StringShape.new(name: 'PackageManager')
187
+ PackageVulnerabilityDetails = Shapes::StructureShape.new(name: 'PackageVulnerabilityDetails')
116
188
  PartSize = Shapes::IntegerShape.new(name: 'PartSize')
189
+ Platform = Shapes::StringShape.new(name: 'Platform')
117
190
  ProxyEndpoint = Shapes::StringShape.new(name: 'ProxyEndpoint')
191
+ PullThroughCacheRule = Shapes::StructureShape.new(name: 'PullThroughCacheRule')
192
+ PullThroughCacheRuleAlreadyExistsException = Shapes::StructureShape.new(name: 'PullThroughCacheRuleAlreadyExistsException')
193
+ PullThroughCacheRuleList = Shapes::ListShape.new(name: 'PullThroughCacheRuleList')
194
+ PullThroughCacheRuleNotFoundException = Shapes::StructureShape.new(name: 'PullThroughCacheRuleNotFoundException')
195
+ PullThroughCacheRuleRepositoryPrefix = Shapes::StringShape.new(name: 'PullThroughCacheRuleRepositoryPrefix')
196
+ PullThroughCacheRuleRepositoryPrefixList = Shapes::ListShape.new(name: 'PullThroughCacheRuleRepositoryPrefixList')
118
197
  PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp')
119
198
  PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest')
120
199
  PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse')
200
+ PutImageScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutImageScanningConfigurationRequest')
201
+ PutImageScanningConfigurationResponse = Shapes::StructureShape.new(name: 'PutImageScanningConfigurationResponse')
202
+ PutImageTagMutabilityRequest = Shapes::StructureShape.new(name: 'PutImageTagMutabilityRequest')
203
+ PutImageTagMutabilityResponse = Shapes::StructureShape.new(name: 'PutImageTagMutabilityResponse')
121
204
  PutLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'PutLifecyclePolicyRequest')
122
205
  PutLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'PutLifecyclePolicyResponse')
206
+ PutRegistryPolicyRequest = Shapes::StructureShape.new(name: 'PutRegistryPolicyRequest')
207
+ PutRegistryPolicyResponse = Shapes::StructureShape.new(name: 'PutRegistryPolicyResponse')
208
+ PutRegistryScanningConfigurationRequest = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationRequest')
209
+ PutRegistryScanningConfigurationResponse = Shapes::StructureShape.new(name: 'PutRegistryScanningConfigurationResponse')
210
+ PutReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'PutReplicationConfigurationRequest')
211
+ PutReplicationConfigurationResponse = Shapes::StructureShape.new(name: 'PutReplicationConfigurationResponse')
212
+ Reason = Shapes::StringShape.new(name: 'Reason')
213
+ Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
214
+ RecommendationText = Shapes::StringShape.new(name: 'RecommendationText')
215
+ RecordedPullTimestamp = Shapes::TimestampShape.new(name: 'RecordedPullTimestamp')
216
+ ReferenceUrlsList = Shapes::ListShape.new(name: 'ReferenceUrlsList')
217
+ ReferencedImagesNotFoundException = Shapes::StructureShape.new(name: 'ReferencedImagesNotFoundException')
218
+ Region = Shapes::StringShape.new(name: 'Region')
123
219
  RegistryId = Shapes::StringShape.new(name: 'RegistryId')
220
+ RegistryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RegistryPolicyNotFoundException')
221
+ RegistryPolicyText = Shapes::StringShape.new(name: 'RegistryPolicyText')
222
+ RegistryScanningConfiguration = Shapes::StructureShape.new(name: 'RegistryScanningConfiguration')
223
+ RegistryScanningRule = Shapes::StructureShape.new(name: 'RegistryScanningRule')
224
+ RegistryScanningRuleList = Shapes::ListShape.new(name: 'RegistryScanningRuleList')
225
+ RelatedVulnerabilitiesList = Shapes::ListShape.new(name: 'RelatedVulnerabilitiesList')
226
+ RelatedVulnerability = Shapes::StringShape.new(name: 'RelatedVulnerability')
227
+ Release = Shapes::StringShape.new(name: 'Release')
228
+ Remediation = Shapes::StructureShape.new(name: 'Remediation')
229
+ ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
230
+ ReplicationDestination = Shapes::StructureShape.new(name: 'ReplicationDestination')
231
+ ReplicationDestinationList = Shapes::ListShape.new(name: 'ReplicationDestinationList')
232
+ ReplicationError = Shapes::StringShape.new(name: 'ReplicationError')
233
+ ReplicationRule = Shapes::StructureShape.new(name: 'ReplicationRule')
234
+ ReplicationRuleList = Shapes::ListShape.new(name: 'ReplicationRuleList')
235
+ ReplicationStatus = Shapes::StringShape.new(name: 'ReplicationStatus')
124
236
  Repository = Shapes::StructureShape.new(name: 'Repository')
125
237
  RepositoryAlreadyExistsException = Shapes::StructureShape.new(name: 'RepositoryAlreadyExistsException')
238
+ RepositoryFilter = Shapes::StructureShape.new(name: 'RepositoryFilter')
239
+ RepositoryFilterList = Shapes::ListShape.new(name: 'RepositoryFilterList')
240
+ RepositoryFilterType = Shapes::StringShape.new(name: 'RepositoryFilterType')
241
+ RepositoryFilterValue = Shapes::StringShape.new(name: 'RepositoryFilterValue')
126
242
  RepositoryList = Shapes::ListShape.new(name: 'RepositoryList')
127
243
  RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
128
244
  RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
@@ -130,17 +246,88 @@ module Aws::ECR
130
246
  RepositoryNotFoundException = Shapes::StructureShape.new(name: 'RepositoryNotFoundException')
131
247
  RepositoryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RepositoryPolicyNotFoundException')
132
248
  RepositoryPolicyText = Shapes::StringShape.new(name: 'RepositoryPolicyText')
249
+ RepositoryScanningConfiguration = Shapes::StructureShape.new(name: 'RepositoryScanningConfiguration')
250
+ RepositoryScanningConfigurationFailure = Shapes::StructureShape.new(name: 'RepositoryScanningConfigurationFailure')
251
+ RepositoryScanningConfigurationFailureList = Shapes::ListShape.new(name: 'RepositoryScanningConfigurationFailureList')
252
+ RepositoryScanningConfigurationList = Shapes::ListShape.new(name: 'RepositoryScanningConfigurationList')
253
+ Resource = Shapes::StructureShape.new(name: 'Resource')
254
+ ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
255
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
256
+ ResourceList = Shapes::ListShape.new(name: 'ResourceList')
257
+ ScanFrequency = Shapes::StringShape.new(name: 'ScanFrequency')
258
+ ScanNotFoundException = Shapes::StructureShape.new(name: 'ScanNotFoundException')
259
+ ScanOnPushFlag = Shapes::BooleanShape.new(name: 'ScanOnPushFlag')
260
+ ScanStatus = Shapes::StringShape.new(name: 'ScanStatus')
261
+ ScanStatusDescription = Shapes::StringShape.new(name: 'ScanStatusDescription')
262
+ ScanTimestamp = Shapes::TimestampShape.new(name: 'ScanTimestamp')
263
+ ScanType = Shapes::StringShape.new(name: 'ScanType')
264
+ ScanningConfigurationFailureCode = Shapes::StringShape.new(name: 'ScanningConfigurationFailureCode')
265
+ ScanningConfigurationFailureReason = Shapes::StringShape.new(name: 'ScanningConfigurationFailureReason')
266
+ ScanningConfigurationRepositoryNameList = Shapes::ListShape.new(name: 'ScanningConfigurationRepositoryNameList')
267
+ ScanningRepositoryFilter = Shapes::StructureShape.new(name: 'ScanningRepositoryFilter')
268
+ ScanningRepositoryFilterList = Shapes::ListShape.new(name: 'ScanningRepositoryFilterList')
269
+ ScanningRepositoryFilterType = Shapes::StringShape.new(name: 'ScanningRepositoryFilterType')
270
+ ScanningRepositoryFilterValue = Shapes::StringShape.new(name: 'ScanningRepositoryFilterValue')
271
+ Score = Shapes::FloatShape.new(name: 'Score')
272
+ ScoreDetails = Shapes::StructureShape.new(name: 'ScoreDetails')
273
+ ScoringVector = Shapes::StringShape.new(name: 'ScoringVector')
274
+ SecretNotFoundException = Shapes::StructureShape.new(name: 'SecretNotFoundException')
133
275
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
134
276
  SetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'SetRepositoryPolicyRequest')
135
277
  SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
278
+ Severity = Shapes::StringShape.new(name: 'Severity')
279
+ SeverityCount = Shapes::IntegerShape.new(name: 'SeverityCount')
280
+ Source = Shapes::StringShape.new(name: 'Source')
281
+ SourceLayerHash = Shapes::StringShape.new(name: 'SourceLayerHash')
282
+ StartImageScanRequest = Shapes::StructureShape.new(name: 'StartImageScanRequest')
283
+ StartImageScanResponse = Shapes::StructureShape.new(name: 'StartImageScanResponse')
136
284
  StartLifecyclePolicyPreviewRequest = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewRequest')
137
285
  StartLifecyclePolicyPreviewResponse = Shapes::StructureShape.new(name: 'StartLifecyclePolicyPreviewResponse')
286
+ Status = Shapes::StringShape.new(name: 'Status')
287
+ Tag = Shapes::StructureShape.new(name: 'Tag')
288
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
289
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
290
+ TagList = Shapes::ListShape.new(name: 'TagList')
291
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
292
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
138
293
  TagStatus = Shapes::StringShape.new(name: 'TagStatus')
294
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
295
+ Tags = Shapes::MapShape.new(name: 'Tags')
296
+ Title = Shapes::StringShape.new(name: 'Title')
297
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
298
+ Type = Shapes::StringShape.new(name: 'Type')
299
+ UnableToAccessSecretException = Shapes::StructureShape.new(name: 'UnableToAccessSecretException')
300
+ UnableToDecryptSecretValueException = Shapes::StructureShape.new(name: 'UnableToDecryptSecretValueException')
301
+ UnableToGetUpstreamImageException = Shapes::StructureShape.new(name: 'UnableToGetUpstreamImageException')
302
+ UnableToGetUpstreamLayerException = Shapes::StructureShape.new(name: 'UnableToGetUpstreamLayerException')
303
+ UnsupportedImageTypeException = Shapes::StructureShape.new(name: 'UnsupportedImageTypeException')
304
+ UnsupportedUpstreamRegistryException = Shapes::StructureShape.new(name: 'UnsupportedUpstreamRegistryException')
305
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
306
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
307
+ UpdatePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'UpdatePullThroughCacheRuleRequest')
308
+ UpdatePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'UpdatePullThroughCacheRuleResponse')
309
+ UpdatedTimestamp = Shapes::TimestampShape.new(name: 'UpdatedTimestamp')
139
310
  UploadId = Shapes::StringShape.new(name: 'UploadId')
140
311
  UploadLayerPartRequest = Shapes::StructureShape.new(name: 'UploadLayerPartRequest')
141
312
  UploadLayerPartResponse = Shapes::StructureShape.new(name: 'UploadLayerPartResponse')
142
313
  UploadNotFoundException = Shapes::StructureShape.new(name: 'UploadNotFoundException')
314
+ UpstreamRegistry = Shapes::StringShape.new(name: 'UpstreamRegistry')
143
315
  Url = Shapes::StringShape.new(name: 'Url')
316
+ ValidatePullThroughCacheRuleRequest = Shapes::StructureShape.new(name: 'ValidatePullThroughCacheRuleRequest')
317
+ ValidatePullThroughCacheRuleResponse = Shapes::StructureShape.new(name: 'ValidatePullThroughCacheRuleResponse')
318
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
319
+ Version = Shapes::StringShape.new(name: 'Version')
320
+ VulnerabilityId = Shapes::StringShape.new(name: 'VulnerabilityId')
321
+ VulnerabilitySourceUpdateTimestamp = Shapes::TimestampShape.new(name: 'VulnerabilitySourceUpdateTimestamp')
322
+ VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
323
+ VulnerablePackageName = Shapes::StringShape.new(name: 'VulnerablePackageName')
324
+ VulnerablePackagesList = Shapes::ListShape.new(name: 'VulnerablePackagesList')
325
+
326
+ Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
327
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "value"))
328
+ Attribute.struct_class = Types::Attribute
329
+
330
+ AttributeList.member = Shapes::ShapeRef.new(shape: Attribute)
144
331
 
145
332
  AuthorizationData.add_member(:authorization_token, Shapes::ShapeRef.new(shape: Base64, location_name: "authorizationToken"))
146
333
  AuthorizationData.add_member(:expires_at, Shapes::ShapeRef.new(shape: ExpirationTimestamp, location_name: "expiresAt"))
@@ -149,6 +336,16 @@ module Aws::ECR
149
336
 
150
337
  AuthorizationDataList.member = Shapes::ShapeRef.new(shape: AuthorizationData)
151
338
 
339
+ AwsEcrContainerImageDetails.add_member(:architecture, Shapes::ShapeRef.new(shape: Arch, location_name: "architecture"))
340
+ AwsEcrContainerImageDetails.add_member(:author, Shapes::ShapeRef.new(shape: Author, location_name: "author"))
341
+ AwsEcrContainerImageDetails.add_member(:image_hash, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageHash"))
342
+ AwsEcrContainerImageDetails.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagsList, location_name: "imageTags"))
343
+ AwsEcrContainerImageDetails.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
344
+ AwsEcrContainerImageDetails.add_member(:pushed_at, Shapes::ShapeRef.new(shape: Date, location_name: "pushedAt"))
345
+ AwsEcrContainerImageDetails.add_member(:registry, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registry"))
346
+ AwsEcrContainerImageDetails.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
347
+ AwsEcrContainerImageDetails.struct_class = Types::AwsEcrContainerImageDetails
348
+
152
349
  BatchCheckLayerAvailabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
153
350
  BatchCheckLayerAvailabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
154
351
  BatchCheckLayerAvailabilityRequest.add_member(:layer_digests, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigestList, required: true, location_name: "layerDigests"))
@@ -177,6 +374,13 @@ module Aws::ECR
177
374
  BatchGetImageResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImageFailureList, location_name: "failures"))
178
375
  BatchGetImageResponse.struct_class = Types::BatchGetImageResponse
179
376
 
377
+ BatchGetRepositoryScanningConfigurationRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: ScanningConfigurationRepositoryNameList, required: true, location_name: "repositoryNames"))
378
+ BatchGetRepositoryScanningConfigurationRequest.struct_class = Types::BatchGetRepositoryScanningConfigurationRequest
379
+
380
+ BatchGetRepositoryScanningConfigurationResponse.add_member(:scanning_configurations, Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationList, location_name: "scanningConfigurations"))
381
+ BatchGetRepositoryScanningConfigurationResponse.add_member(:failures, Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationFailureList, location_name: "failures"))
382
+ BatchGetRepositoryScanningConfigurationResponse.struct_class = Types::BatchGetRepositoryScanningConfigurationResponse
383
+
180
384
  BatchedOperationLayerDigestList.member = Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest)
181
385
 
182
386
  CompleteLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
@@ -191,12 +395,53 @@ module Aws::ECR
191
395
  CompleteLayerUploadResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
192
396
  CompleteLayerUploadResponse.struct_class = Types::CompleteLayerUploadResponse
193
397
 
398
+ CreatePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
399
+ CreatePullThroughCacheRuleRequest.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, required: true, location_name: "upstreamRegistryUrl"))
400
+ CreatePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
401
+ CreatePullThroughCacheRuleRequest.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
402
+ CreatePullThroughCacheRuleRequest.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
403
+ CreatePullThroughCacheRuleRequest.struct_class = Types::CreatePullThroughCacheRuleRequest
404
+
405
+ CreatePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
406
+ CreatePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
407
+ CreatePullThroughCacheRuleResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
408
+ CreatePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
409
+ CreatePullThroughCacheRuleResponse.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
410
+ CreatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
411
+ CreatePullThroughCacheRuleResponse.struct_class = Types::CreatePullThroughCacheRuleResponse
412
+
413
+ CreateRepositoryRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
194
414
  CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
415
+ CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
416
+ CreateRepositoryRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
417
+ CreateRepositoryRequest.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, location_name: "imageScanningConfiguration"))
418
+ CreateRepositoryRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
195
419
  CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
196
420
 
197
421
  CreateRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
198
422
  CreateRepositoryResponse.struct_class = Types::CreateRepositoryResponse
199
423
 
424
+ CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: BaseScore, location_name: "baseScore"))
425
+ CvssScore.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: ScoringVector, location_name: "scoringVector"))
426
+ CvssScore.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
427
+ CvssScore.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
428
+ CvssScore.struct_class = Types::CvssScore
429
+
430
+ CvssScoreAdjustment.add_member(:metric, Shapes::ShapeRef.new(shape: Metric, location_name: "metric"))
431
+ CvssScoreAdjustment.add_member(:reason, Shapes::ShapeRef.new(shape: Reason, location_name: "reason"))
432
+ CvssScoreAdjustment.struct_class = Types::CvssScoreAdjustment
433
+
434
+ CvssScoreAdjustmentList.member = Shapes::ShapeRef.new(shape: CvssScoreAdjustment)
435
+
436
+ CvssScoreDetails.add_member(:adjustments, Shapes::ShapeRef.new(shape: CvssScoreAdjustmentList, location_name: "adjustments"))
437
+ CvssScoreDetails.add_member(:score, Shapes::ShapeRef.new(shape: Score, location_name: "score"))
438
+ CvssScoreDetails.add_member(:score_source, Shapes::ShapeRef.new(shape: Source, location_name: "scoreSource"))
439
+ CvssScoreDetails.add_member(:scoring_vector, Shapes::ShapeRef.new(shape: ScoringVector, location_name: "scoringVector"))
440
+ CvssScoreDetails.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
441
+ CvssScoreDetails.struct_class = Types::CvssScoreDetails
442
+
443
+ CvssScoreList.member = Shapes::ShapeRef.new(shape: CvssScore)
444
+
200
445
  DeleteLifecyclePolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
201
446
  DeleteLifecyclePolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
202
447
  DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest
@@ -207,6 +452,23 @@ module Aws::ECR
207
452
  DeleteLifecyclePolicyResponse.add_member(:last_evaluated_at, Shapes::ShapeRef.new(shape: EvaluationTimestamp, location_name: "lastEvaluatedAt"))
208
453
  DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse
209
454
 
455
+ DeletePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
456
+ DeletePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
457
+ DeletePullThroughCacheRuleRequest.struct_class = Types::DeletePullThroughCacheRuleRequest
458
+
459
+ DeletePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
460
+ DeletePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
461
+ DeletePullThroughCacheRuleResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
462
+ DeletePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
463
+ DeletePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
464
+ DeletePullThroughCacheRuleResponse.struct_class = Types::DeletePullThroughCacheRuleResponse
465
+
466
+ DeleteRegistryPolicyRequest.struct_class = Types::DeleteRegistryPolicyRequest
467
+
468
+ DeleteRegistryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
469
+ DeleteRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
470
+ DeleteRegistryPolicyResponse.struct_class = Types::DeleteRegistryPolicyResponse
471
+
210
472
  DeleteRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
211
473
  DeleteRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
212
474
  DeleteRepositoryPolicyRequest.struct_class = Types::DeleteRepositoryPolicyRequest
@@ -224,6 +486,31 @@ module Aws::ECR
224
486
  DeleteRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
225
487
  DeleteRepositoryResponse.struct_class = Types::DeleteRepositoryResponse
226
488
 
489
+ DescribeImageReplicationStatusRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
490
+ DescribeImageReplicationStatusRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
491
+ DescribeImageReplicationStatusRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
492
+ DescribeImageReplicationStatusRequest.struct_class = Types::DescribeImageReplicationStatusRequest
493
+
494
+ DescribeImageReplicationStatusResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
495
+ DescribeImageReplicationStatusResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
496
+ DescribeImageReplicationStatusResponse.add_member(:replication_statuses, Shapes::ShapeRef.new(shape: ImageReplicationStatusList, location_name: "replicationStatuses"))
497
+ DescribeImageReplicationStatusResponse.struct_class = Types::DescribeImageReplicationStatusResponse
498
+
499
+ DescribeImageScanFindingsRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
500
+ DescribeImageScanFindingsRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
501
+ DescribeImageScanFindingsRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
502
+ DescribeImageScanFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
503
+ DescribeImageScanFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
504
+ DescribeImageScanFindingsRequest.struct_class = Types::DescribeImageScanFindingsRequest
505
+
506
+ DescribeImageScanFindingsResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
507
+ DescribeImageScanFindingsResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
508
+ DescribeImageScanFindingsResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
509
+ DescribeImageScanFindingsResponse.add_member(:image_scan_status, Shapes::ShapeRef.new(shape: ImageScanStatus, location_name: "imageScanStatus"))
510
+ DescribeImageScanFindingsResponse.add_member(:image_scan_findings, Shapes::ShapeRef.new(shape: ImageScanFindings, location_name: "imageScanFindings"))
511
+ DescribeImageScanFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
512
+ DescribeImageScanFindingsResponse.struct_class = Types::DescribeImageScanFindingsResponse
513
+
227
514
  DescribeImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
228
515
  DescribeImagesFilter.struct_class = Types::DescribeImagesFilter
229
516
 
@@ -239,6 +526,22 @@ module Aws::ECR
239
526
  DescribeImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
240
527
  DescribeImagesResponse.struct_class = Types::DescribeImagesResponse
241
528
 
529
+ DescribePullThroughCacheRulesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
530
+ DescribePullThroughCacheRulesRequest.add_member(:ecr_repository_prefixes, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefixList, location_name: "ecrRepositoryPrefixes"))
531
+ DescribePullThroughCacheRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
532
+ DescribePullThroughCacheRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
533
+ DescribePullThroughCacheRulesRequest.struct_class = Types::DescribePullThroughCacheRulesRequest
534
+
535
+ DescribePullThroughCacheRulesResponse.add_member(:pull_through_cache_rules, Shapes::ShapeRef.new(shape: PullThroughCacheRuleList, location_name: "pullThroughCacheRules"))
536
+ DescribePullThroughCacheRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
537
+ DescribePullThroughCacheRulesResponse.struct_class = Types::DescribePullThroughCacheRulesResponse
538
+
539
+ DescribeRegistryRequest.struct_class = Types::DescribeRegistryRequest
540
+
541
+ DescribeRegistryResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
542
+ DescribeRegistryResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "replicationConfiguration"))
543
+ DescribeRegistryResponse.struct_class = Types::DescribeRegistryResponse
544
+
242
545
  DescribeRepositoriesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
243
546
  DescribeRepositoriesRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, location_name: "repositoryNames"))
244
547
  DescribeRepositoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -249,9 +552,38 @@ module Aws::ECR
249
552
  DescribeRepositoriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
250
553
  DescribeRepositoriesResponse.struct_class = Types::DescribeRepositoriesResponse
251
554
 
555
+ EmptyUploadException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
556
+ EmptyUploadException.struct_class = Types::EmptyUploadException
557
+
558
+ EncryptionConfiguration.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
559
+ EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKey, location_name: "kmsKey"))
560
+ EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
561
+
562
+ EnhancedImageScanFinding.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "awsAccountId"))
563
+ EnhancedImageScanFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, location_name: "description"))
564
+ EnhancedImageScanFinding.add_member(:finding_arn, Shapes::ShapeRef.new(shape: FindingArn, location_name: "findingArn"))
565
+ EnhancedImageScanFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: Date, location_name: "firstObservedAt"))
566
+ EnhancedImageScanFinding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: Date, location_name: "lastObservedAt"))
567
+ EnhancedImageScanFinding.add_member(:package_vulnerability_details, Shapes::ShapeRef.new(shape: PackageVulnerabilityDetails, location_name: "packageVulnerabilityDetails"))
568
+ EnhancedImageScanFinding.add_member(:remediation, Shapes::ShapeRef.new(shape: Remediation, location_name: "remediation"))
569
+ EnhancedImageScanFinding.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
570
+ EnhancedImageScanFinding.add_member(:score, Shapes::ShapeRef.new(shape: Score, location_name: "score"))
571
+ EnhancedImageScanFinding.add_member(:score_details, Shapes::ShapeRef.new(shape: ScoreDetails, location_name: "scoreDetails"))
572
+ EnhancedImageScanFinding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "severity"))
573
+ EnhancedImageScanFinding.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
574
+ EnhancedImageScanFinding.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
575
+ EnhancedImageScanFinding.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
576
+ EnhancedImageScanFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "updatedAt"))
577
+ EnhancedImageScanFinding.struct_class = Types::EnhancedImageScanFinding
578
+
579
+ EnhancedImageScanFindingList.member = Shapes::ShapeRef.new(shape: EnhancedImageScanFinding)
580
+
581
+ FindingSeverityCounts.key = Shapes::ShapeRef.new(shape: FindingSeverity)
582
+ FindingSeverityCounts.value = Shapes::ShapeRef.new(shape: SeverityCount)
583
+
252
584
  GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId)
253
585
 
254
- GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, location_name: "registryIds"))
586
+ GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, deprecated: true, location_name: "registryIds", metadata: {"deprecatedMessage"=>"This field is deprecated. The returned authorization token can be used to access any Amazon ECR registry that the IAM principal has access to, specifying a registry ID doesn't change the permissions scope of the authorization token."}))
255
587
  GetAuthorizationTokenRequest.struct_class = Types::GetAuthorizationTokenRequest
256
588
 
257
589
  GetAuthorizationTokenResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationDataList, location_name: "authorizationData"))
@@ -270,7 +602,7 @@ module Aws::ECR
270
602
  GetLifecyclePolicyPreviewRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
271
603
  GetLifecyclePolicyPreviewRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, location_name: "imageIds"))
272
604
  GetLifecyclePolicyPreviewRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
273
- GetLifecyclePolicyPreviewRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
605
+ GetLifecyclePolicyPreviewRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LifecyclePreviewMaxResults, location_name: "maxResults"))
274
606
  GetLifecyclePolicyPreviewRequest.add_member(:filter, Shapes::ShapeRef.new(shape: LifecyclePolicyPreviewFilter, location_name: "filter"))
275
607
  GetLifecyclePolicyPreviewRequest.struct_class = Types::GetLifecyclePolicyPreviewRequest
276
608
 
@@ -293,6 +625,18 @@ module Aws::ECR
293
625
  GetLifecyclePolicyResponse.add_member(:last_evaluated_at, Shapes::ShapeRef.new(shape: EvaluationTimestamp, location_name: "lastEvaluatedAt"))
294
626
  GetLifecyclePolicyResponse.struct_class = Types::GetLifecyclePolicyResponse
295
627
 
628
+ GetRegistryPolicyRequest.struct_class = Types::GetRegistryPolicyRequest
629
+
630
+ GetRegistryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
631
+ GetRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
632
+ GetRegistryPolicyResponse.struct_class = Types::GetRegistryPolicyResponse
633
+
634
+ GetRegistryScanningConfigurationRequest.struct_class = Types::GetRegistryScanningConfigurationRequest
635
+
636
+ GetRegistryScanningConfigurationResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
637
+ GetRegistryScanningConfigurationResponse.add_member(:scanning_configuration, Shapes::ShapeRef.new(shape: RegistryScanningConfiguration, location_name: "scanningConfiguration"))
638
+ GetRegistryScanningConfigurationResponse.struct_class = Types::GetRegistryScanningConfigurationResponse
639
+
296
640
  GetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
297
641
  GetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
298
642
  GetRepositoryPolicyRequest.struct_class = Types::GetRepositoryPolicyRequest
@@ -306,18 +650,30 @@ module Aws::ECR
306
650
  Image.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
307
651
  Image.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
308
652
  Image.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, location_name: "imageManifest"))
653
+ Image.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
309
654
  Image.struct_class = Types::Image
310
655
 
656
+ ImageAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
657
+ ImageAlreadyExistsException.struct_class = Types::ImageAlreadyExistsException
658
+
311
659
  ImageDetail.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
312
660
  ImageDetail.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
313
661
  ImageDetail.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
314
662
  ImageDetail.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagList, location_name: "imageTags"))
315
663
  ImageDetail.add_member(:image_size_in_bytes, Shapes::ShapeRef.new(shape: ImageSizeInBytes, location_name: "imageSizeInBytes"))
316
664
  ImageDetail.add_member(:image_pushed_at, Shapes::ShapeRef.new(shape: PushTimestamp, location_name: "imagePushedAt"))
665
+ ImageDetail.add_member(:image_scan_status, Shapes::ShapeRef.new(shape: ImageScanStatus, location_name: "imageScanStatus"))
666
+ ImageDetail.add_member(:image_scan_findings_summary, Shapes::ShapeRef.new(shape: ImageScanFindingsSummary, location_name: "imageScanFindingsSummary"))
667
+ ImageDetail.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
668
+ ImageDetail.add_member(:artifact_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "artifactMediaType"))
669
+ ImageDetail.add_member(:last_recorded_pull_time, Shapes::ShapeRef.new(shape: RecordedPullTimestamp, location_name: "lastRecordedPullTime"))
317
670
  ImageDetail.struct_class = Types::ImageDetail
318
671
 
319
672
  ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
320
673
 
674
+ ImageDigestDoesNotMatchException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
675
+ ImageDigestDoesNotMatchException.struct_class = Types::ImageDigestDoesNotMatchException
676
+
321
677
  ImageFailure.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
322
678
  ImageFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ImageFailureCode, location_name: "failureCode"))
323
679
  ImageFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ImageFailureReason, location_name: "failureReason"))
@@ -333,8 +689,52 @@ module Aws::ECR
333
689
 
334
690
  ImageList.member = Shapes::ShapeRef.new(shape: Image)
335
691
 
692
+ ImageNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
693
+ ImageNotFoundException.struct_class = Types::ImageNotFoundException
694
+
695
+ ImageReplicationStatus.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "region"))
696
+ ImageReplicationStatus.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
697
+ ImageReplicationStatus.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationStatus, location_name: "status"))
698
+ ImageReplicationStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: ReplicationError, location_name: "failureCode"))
699
+ ImageReplicationStatus.struct_class = Types::ImageReplicationStatus
700
+
701
+ ImageReplicationStatusList.member = Shapes::ShapeRef.new(shape: ImageReplicationStatus)
702
+
703
+ ImageScanFinding.add_member(:name, Shapes::ShapeRef.new(shape: FindingName, location_name: "name"))
704
+ ImageScanFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, location_name: "description"))
705
+ ImageScanFinding.add_member(:uri, Shapes::ShapeRef.new(shape: Url, location_name: "uri"))
706
+ ImageScanFinding.add_member(:severity, Shapes::ShapeRef.new(shape: FindingSeverity, location_name: "severity"))
707
+ ImageScanFinding.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, location_name: "attributes"))
708
+ ImageScanFinding.struct_class = Types::ImageScanFinding
709
+
710
+ ImageScanFindingList.member = Shapes::ShapeRef.new(shape: ImageScanFinding)
711
+
712
+ ImageScanFindings.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
713
+ ImageScanFindings.add_member(:vulnerability_source_updated_at, Shapes::ShapeRef.new(shape: VulnerabilitySourceUpdateTimestamp, location_name: "vulnerabilitySourceUpdatedAt"))
714
+ ImageScanFindings.add_member(:finding_severity_counts, Shapes::ShapeRef.new(shape: FindingSeverityCounts, location_name: "findingSeverityCounts"))
715
+ ImageScanFindings.add_member(:findings, Shapes::ShapeRef.new(shape: ImageScanFindingList, location_name: "findings"))
716
+ ImageScanFindings.add_member(:enhanced_findings, Shapes::ShapeRef.new(shape: EnhancedImageScanFindingList, location_name: "enhancedFindings"))
717
+ ImageScanFindings.struct_class = Types::ImageScanFindings
718
+
719
+ ImageScanFindingsSummary.add_member(:image_scan_completed_at, Shapes::ShapeRef.new(shape: ScanTimestamp, location_name: "imageScanCompletedAt"))
720
+ ImageScanFindingsSummary.add_member(:vulnerability_source_updated_at, Shapes::ShapeRef.new(shape: VulnerabilitySourceUpdateTimestamp, location_name: "vulnerabilitySourceUpdatedAt"))
721
+ ImageScanFindingsSummary.add_member(:finding_severity_counts, Shapes::ShapeRef.new(shape: FindingSeverityCounts, location_name: "findingSeverityCounts"))
722
+ ImageScanFindingsSummary.struct_class = Types::ImageScanFindingsSummary
723
+
724
+ ImageScanStatus.add_member(:status, Shapes::ShapeRef.new(shape: ScanStatus, location_name: "status"))
725
+ ImageScanStatus.add_member(:description, Shapes::ShapeRef.new(shape: ScanStatusDescription, location_name: "description"))
726
+ ImageScanStatus.struct_class = Types::ImageScanStatus
727
+
728
+ ImageScanningConfiguration.add_member(:scan_on_push, Shapes::ShapeRef.new(shape: ScanOnPushFlag, location_name: "scanOnPush"))
729
+ ImageScanningConfiguration.struct_class = Types::ImageScanningConfiguration
730
+
731
+ ImageTagAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
732
+ ImageTagAlreadyExistsException.struct_class = Types::ImageTagAlreadyExistsException
733
+
336
734
  ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
337
735
 
736
+ ImageTagsList.member = Shapes::ShapeRef.new(shape: ImageTag)
737
+
338
738
  InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
339
739
  InitiateLayerUploadRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
340
740
  InitiateLayerUploadRequest.struct_class = Types::InitiateLayerUploadRequest
@@ -343,12 +743,35 @@ module Aws::ECR
343
743
  InitiateLayerUploadResponse.add_member(:part_size, Shapes::ShapeRef.new(shape: PartSize, location_name: "partSize"))
344
744
  InitiateLayerUploadResponse.struct_class = Types::InitiateLayerUploadResponse
345
745
 
746
+ InvalidLayerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
747
+ InvalidLayerException.struct_class = Types::InvalidLayerException
748
+
749
+ InvalidLayerPartException.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
750
+ InvalidLayerPartException.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
751
+ InvalidLayerPartException.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
752
+ InvalidLayerPartException.add_member(:last_valid_byte_received, Shapes::ShapeRef.new(shape: PartSize, location_name: "lastValidByteReceived"))
753
+ InvalidLayerPartException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
754
+ InvalidLayerPartException.struct_class = Types::InvalidLayerPartException
755
+
756
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
757
+ InvalidParameterException.struct_class = Types::InvalidParameterException
758
+
759
+ InvalidTagParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
760
+ InvalidTagParameterException.struct_class = Types::InvalidTagParameterException
761
+
762
+ KmsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
763
+ KmsException.add_member(:kms_error, Shapes::ShapeRef.new(shape: KmsError, location_name: "kmsError"))
764
+ KmsException.struct_class = Types::KmsException
765
+
346
766
  Layer.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
347
767
  Layer.add_member(:layer_availability, Shapes::ShapeRef.new(shape: LayerAvailability, location_name: "layerAvailability"))
348
768
  Layer.add_member(:layer_size, Shapes::ShapeRef.new(shape: LayerSizeInBytes, location_name: "layerSize"))
349
769
  Layer.add_member(:media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "mediaType"))
350
770
  Layer.struct_class = Types::Layer
351
771
 
772
+ LayerAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
773
+ LayerAlreadyExistsException.struct_class = Types::LayerAlreadyExistsException
774
+
352
775
  LayerDigestList.member = Shapes::ShapeRef.new(shape: LayerDigest)
353
776
 
354
777
  LayerFailure.add_member(:layer_digest, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest, location_name: "layerDigest"))
@@ -358,11 +781,29 @@ module Aws::ECR
358
781
 
359
782
  LayerFailureList.member = Shapes::ShapeRef.new(shape: LayerFailure)
360
783
 
784
+ LayerInaccessibleException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
785
+ LayerInaccessibleException.struct_class = Types::LayerInaccessibleException
786
+
361
787
  LayerList.member = Shapes::ShapeRef.new(shape: Layer)
362
788
 
789
+ LayerPartTooSmallException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
790
+ LayerPartTooSmallException.struct_class = Types::LayerPartTooSmallException
791
+
792
+ LayersNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
793
+ LayersNotFoundException.struct_class = Types::LayersNotFoundException
794
+
795
+ LifecyclePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
796
+ LifecyclePolicyNotFoundException.struct_class = Types::LifecyclePolicyNotFoundException
797
+
363
798
  LifecyclePolicyPreviewFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
364
799
  LifecyclePolicyPreviewFilter.struct_class = Types::LifecyclePolicyPreviewFilter
365
800
 
801
+ LifecyclePolicyPreviewInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
802
+ LifecyclePolicyPreviewInProgressException.struct_class = Types::LifecyclePolicyPreviewInProgressException
803
+
804
+ LifecyclePolicyPreviewNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
805
+ LifecyclePolicyPreviewNotFoundException.struct_class = Types::LifecyclePolicyPreviewNotFoundException
806
+
366
807
  LifecyclePolicyPreviewResult.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagList, location_name: "imageTags"))
367
808
  LifecyclePolicyPreviewResult.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
368
809
  LifecyclePolicyPreviewResult.add_member(:image_pushed_at, Shapes::ShapeRef.new(shape: PushTimestamp, location_name: "imagePushedAt"))
@@ -378,6 +819,9 @@ module Aws::ECR
378
819
  LifecyclePolicyRuleAction.add_member(:type, Shapes::ShapeRef.new(shape: ImageActionType, location_name: "type"))
379
820
  LifecyclePolicyRuleAction.struct_class = Types::LifecyclePolicyRuleAction
380
821
 
822
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
823
+ LimitExceededException.struct_class = Types::LimitExceededException
824
+
381
825
  ListImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
382
826
  ListImagesFilter.struct_class = Types::ListImagesFilter
383
827
 
@@ -392,17 +836,76 @@ module Aws::ECR
392
836
  ListImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
393
837
  ListImagesResponse.struct_class = Types::ListImagesResponse
394
838
 
839
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
840
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
841
+
842
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
843
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
844
+
395
845
  MediaTypeList.member = Shapes::ShapeRef.new(shape: MediaType)
396
846
 
847
+ PackageVulnerabilityDetails.add_member(:cvss, Shapes::ShapeRef.new(shape: CvssScoreList, location_name: "cvss"))
848
+ PackageVulnerabilityDetails.add_member(:reference_urls, Shapes::ShapeRef.new(shape: ReferenceUrlsList, location_name: "referenceUrls"))
849
+ PackageVulnerabilityDetails.add_member(:related_vulnerabilities, Shapes::ShapeRef.new(shape: RelatedVulnerabilitiesList, location_name: "relatedVulnerabilities"))
850
+ PackageVulnerabilityDetails.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
851
+ PackageVulnerabilityDetails.add_member(:source_url, Shapes::ShapeRef.new(shape: Url, location_name: "sourceUrl"))
852
+ PackageVulnerabilityDetails.add_member(:vendor_created_at, Shapes::ShapeRef.new(shape: Date, location_name: "vendorCreatedAt"))
853
+ PackageVulnerabilityDetails.add_member(:vendor_severity, Shapes::ShapeRef.new(shape: Severity, location_name: "vendorSeverity"))
854
+ PackageVulnerabilityDetails.add_member(:vendor_updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "vendorUpdatedAt"))
855
+ PackageVulnerabilityDetails.add_member(:vulnerability_id, Shapes::ShapeRef.new(shape: VulnerabilityId, location_name: "vulnerabilityId"))
856
+ PackageVulnerabilityDetails.add_member(:vulnerable_packages, Shapes::ShapeRef.new(shape: VulnerablePackagesList, location_name: "vulnerablePackages"))
857
+ PackageVulnerabilityDetails.struct_class = Types::PackageVulnerabilityDetails
858
+
859
+ PullThroughCacheRule.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
860
+ PullThroughCacheRule.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
861
+ PullThroughCacheRule.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
862
+ PullThroughCacheRule.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
863
+ PullThroughCacheRule.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
864
+ PullThroughCacheRule.add_member(:upstream_registry, Shapes::ShapeRef.new(shape: UpstreamRegistry, location_name: "upstreamRegistry"))
865
+ PullThroughCacheRule.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedTimestamp, location_name: "updatedAt"))
866
+ PullThroughCacheRule.struct_class = Types::PullThroughCacheRule
867
+
868
+ PullThroughCacheRuleAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
869
+ PullThroughCacheRuleAlreadyExistsException.struct_class = Types::PullThroughCacheRuleAlreadyExistsException
870
+
871
+ PullThroughCacheRuleList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRule)
872
+
873
+ PullThroughCacheRuleNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
874
+ PullThroughCacheRuleNotFoundException.struct_class = Types::PullThroughCacheRuleNotFoundException
875
+
876
+ PullThroughCacheRuleRepositoryPrefixList.member = Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix)
877
+
397
878
  PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
398
879
  PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
399
880
  PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
881
+ PutImageRequest.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
400
882
  PutImageRequest.add_member(:image_tag, Shapes::ShapeRef.new(shape: ImageTag, location_name: "imageTag"))
883
+ PutImageRequest.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
401
884
  PutImageRequest.struct_class = Types::PutImageRequest
402
885
 
403
886
  PutImageResponse.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
404
887
  PutImageResponse.struct_class = Types::PutImageResponse
405
888
 
889
+ PutImageScanningConfigurationRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
890
+ PutImageScanningConfigurationRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
891
+ PutImageScanningConfigurationRequest.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, required: true, location_name: "imageScanningConfiguration"))
892
+ PutImageScanningConfigurationRequest.struct_class = Types::PutImageScanningConfigurationRequest
893
+
894
+ PutImageScanningConfigurationResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
895
+ PutImageScanningConfigurationResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
896
+ PutImageScanningConfigurationResponse.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, location_name: "imageScanningConfiguration"))
897
+ PutImageScanningConfigurationResponse.struct_class = Types::PutImageScanningConfigurationResponse
898
+
899
+ PutImageTagMutabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
900
+ PutImageTagMutabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
901
+ PutImageTagMutabilityRequest.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, required: true, location_name: "imageTagMutability"))
902
+ PutImageTagMutabilityRequest.struct_class = Types::PutImageTagMutabilityRequest
903
+
904
+ PutImageTagMutabilityResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
905
+ PutImageTagMutabilityResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
906
+ PutImageTagMutabilityResponse.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
907
+ PutImageTagMutabilityResponse.struct_class = Types::PutImageTagMutabilityResponse
908
+
406
909
  PutLifecyclePolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
407
910
  PutLifecyclePolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
408
911
  PutLifecyclePolicyRequest.add_member(:lifecycle_policy_text, Shapes::ShapeRef.new(shape: LifecyclePolicyText, required: true, location_name: "lifecyclePolicyText"))
@@ -413,17 +916,147 @@ module Aws::ECR
413
916
  PutLifecyclePolicyResponse.add_member(:lifecycle_policy_text, Shapes::ShapeRef.new(shape: LifecyclePolicyText, location_name: "lifecyclePolicyText"))
414
917
  PutLifecyclePolicyResponse.struct_class = Types::PutLifecyclePolicyResponse
415
918
 
919
+ PutRegistryPolicyRequest.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, required: true, location_name: "policyText"))
920
+ PutRegistryPolicyRequest.struct_class = Types::PutRegistryPolicyRequest
921
+
922
+ PutRegistryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
923
+ PutRegistryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RegistryPolicyText, location_name: "policyText"))
924
+ PutRegistryPolicyResponse.struct_class = Types::PutRegistryPolicyResponse
925
+
926
+ PutRegistryScanningConfigurationRequest.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
927
+ PutRegistryScanningConfigurationRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RegistryScanningRuleList, location_name: "rules"))
928
+ PutRegistryScanningConfigurationRequest.struct_class = Types::PutRegistryScanningConfigurationRequest
929
+
930
+ PutRegistryScanningConfigurationResponse.add_member(:registry_scanning_configuration, Shapes::ShapeRef.new(shape: RegistryScanningConfiguration, location_name: "registryScanningConfiguration"))
931
+ PutRegistryScanningConfigurationResponse.struct_class = Types::PutRegistryScanningConfigurationResponse
932
+
933
+ PutReplicationConfigurationRequest.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, required: true, location_name: "replicationConfiguration"))
934
+ PutReplicationConfigurationRequest.struct_class = Types::PutReplicationConfigurationRequest
935
+
936
+ PutReplicationConfigurationResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "replicationConfiguration"))
937
+ PutReplicationConfigurationResponse.struct_class = Types::PutReplicationConfigurationResponse
938
+
939
+ Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "url"))
940
+ Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: RecommendationText, location_name: "text"))
941
+ Recommendation.struct_class = Types::Recommendation
942
+
943
+ ReferenceUrlsList.member = Shapes::ShapeRef.new(shape: Url)
944
+
945
+ ReferencedImagesNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
946
+ ReferencedImagesNotFoundException.struct_class = Types::ReferencedImagesNotFoundException
947
+
948
+ RegistryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
949
+ RegistryPolicyNotFoundException.struct_class = Types::RegistryPolicyNotFoundException
950
+
951
+ RegistryScanningConfiguration.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
952
+ RegistryScanningConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: RegistryScanningRuleList, location_name: "rules"))
953
+ RegistryScanningConfiguration.struct_class = Types::RegistryScanningConfiguration
954
+
955
+ RegistryScanningRule.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: ScanFrequency, required: true, location_name: "scanFrequency"))
956
+ RegistryScanningRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterList, required: true, location_name: "repositoryFilters"))
957
+ RegistryScanningRule.struct_class = Types::RegistryScanningRule
958
+
959
+ RegistryScanningRuleList.member = Shapes::ShapeRef.new(shape: RegistryScanningRule)
960
+
961
+ RelatedVulnerabilitiesList.member = Shapes::ShapeRef.new(shape: RelatedVulnerability)
962
+
963
+ Remediation.add_member(:recommendation, Shapes::ShapeRef.new(shape: Recommendation, location_name: "recommendation"))
964
+ Remediation.struct_class = Types::Remediation
965
+
966
+ ReplicationConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: ReplicationRuleList, required: true, location_name: "rules"))
967
+ ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
968
+
969
+ ReplicationDestination.add_member(:region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "region"))
970
+ ReplicationDestination.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, required: true, location_name: "registryId"))
971
+ ReplicationDestination.struct_class = Types::ReplicationDestination
972
+
973
+ ReplicationDestinationList.member = Shapes::ShapeRef.new(shape: ReplicationDestination)
974
+
975
+ ReplicationRule.add_member(:destinations, Shapes::ShapeRef.new(shape: ReplicationDestinationList, required: true, location_name: "destinations"))
976
+ ReplicationRule.add_member(:repository_filters, Shapes::ShapeRef.new(shape: RepositoryFilterList, location_name: "repositoryFilters"))
977
+ ReplicationRule.struct_class = Types::ReplicationRule
978
+
979
+ ReplicationRuleList.member = Shapes::ShapeRef.new(shape: ReplicationRule)
980
+
416
981
  Repository.add_member(:repository_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "repositoryArn"))
417
982
  Repository.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
418
983
  Repository.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
419
984
  Repository.add_member(:repository_uri, Shapes::ShapeRef.new(shape: Url, location_name: "repositoryUri"))
420
985
  Repository.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
986
+ Repository.add_member(:image_tag_mutability, Shapes::ShapeRef.new(shape: ImageTagMutability, location_name: "imageTagMutability"))
987
+ Repository.add_member(:image_scanning_configuration, Shapes::ShapeRef.new(shape: ImageScanningConfiguration, location_name: "imageScanningConfiguration"))
988
+ Repository.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
421
989
  Repository.struct_class = Types::Repository
422
990
 
991
+ RepositoryAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
992
+ RepositoryAlreadyExistsException.struct_class = Types::RepositoryAlreadyExistsException
993
+
994
+ RepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: RepositoryFilterValue, required: true, location_name: "filter"))
995
+ RepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: RepositoryFilterType, required: true, location_name: "filterType"))
996
+ RepositoryFilter.struct_class = Types::RepositoryFilter
997
+
998
+ RepositoryFilterList.member = Shapes::ShapeRef.new(shape: RepositoryFilter)
999
+
423
1000
  RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
424
1001
 
425
1002
  RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
426
1003
 
1004
+ RepositoryNotEmptyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1005
+ RepositoryNotEmptyException.struct_class = Types::RepositoryNotEmptyException
1006
+
1007
+ RepositoryNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1008
+ RepositoryNotFoundException.struct_class = Types::RepositoryNotFoundException
1009
+
1010
+ RepositoryPolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1011
+ RepositoryPolicyNotFoundException.struct_class = Types::RepositoryPolicyNotFoundException
1012
+
1013
+ RepositoryScanningConfiguration.add_member(:repository_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "repositoryArn"))
1014
+ RepositoryScanningConfiguration.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1015
+ RepositoryScanningConfiguration.add_member(:scan_on_push, Shapes::ShapeRef.new(shape: ScanOnPushFlag, location_name: "scanOnPush"))
1016
+ RepositoryScanningConfiguration.add_member(:scan_frequency, Shapes::ShapeRef.new(shape: ScanFrequency, location_name: "scanFrequency"))
1017
+ RepositoryScanningConfiguration.add_member(:applied_scan_filters, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterList, location_name: "appliedScanFilters"))
1018
+ RepositoryScanningConfiguration.struct_class = Types::RepositoryScanningConfiguration
1019
+
1020
+ RepositoryScanningConfigurationFailure.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1021
+ RepositoryScanningConfigurationFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ScanningConfigurationFailureCode, location_name: "failureCode"))
1022
+ RepositoryScanningConfigurationFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ScanningConfigurationFailureReason, location_name: "failureReason"))
1023
+ RepositoryScanningConfigurationFailure.struct_class = Types::RepositoryScanningConfigurationFailure
1024
+
1025
+ RepositoryScanningConfigurationFailureList.member = Shapes::ShapeRef.new(shape: RepositoryScanningConfigurationFailure)
1026
+
1027
+ RepositoryScanningConfigurationList.member = Shapes::ShapeRef.new(shape: RepositoryScanningConfiguration)
1028
+
1029
+ Resource.add_member(:details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "details"))
1030
+ Resource.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "id"))
1031
+ Resource.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1032
+ Resource.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
1033
+ Resource.struct_class = Types::Resource
1034
+
1035
+ ResourceDetails.add_member(:aws_ecr_container_image, Shapes::ShapeRef.new(shape: AwsEcrContainerImageDetails, location_name: "awsEcrContainerImage"))
1036
+ ResourceDetails.struct_class = Types::ResourceDetails
1037
+
1038
+ ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
1039
+
1040
+ ScanNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1041
+ ScanNotFoundException.struct_class = Types::ScanNotFoundException
1042
+
1043
+ ScanningConfigurationRepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
1044
+
1045
+ ScanningRepositoryFilter.add_member(:filter, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterValue, required: true, location_name: "filter"))
1046
+ ScanningRepositoryFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: ScanningRepositoryFilterType, required: true, location_name: "filterType"))
1047
+ ScanningRepositoryFilter.struct_class = Types::ScanningRepositoryFilter
1048
+
1049
+ ScanningRepositoryFilterList.member = Shapes::ShapeRef.new(shape: ScanningRepositoryFilter)
1050
+
1051
+ ScoreDetails.add_member(:cvss, Shapes::ShapeRef.new(shape: CvssScoreDetails, location_name: "cvss"))
1052
+ ScoreDetails.struct_class = Types::ScoreDetails
1053
+
1054
+ SecretNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1055
+ SecretNotFoundException.struct_class = Types::SecretNotFoundException
1056
+
1057
+ ServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1058
+ ServerException.struct_class = Types::ServerException
1059
+
427
1060
  SetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
428
1061
  SetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
429
1062
  SetRepositoryPolicyRequest.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, required: true, location_name: "policyText"))
@@ -435,6 +1068,17 @@ module Aws::ECR
435
1068
  SetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
436
1069
  SetRepositoryPolicyResponse.struct_class = Types::SetRepositoryPolicyResponse
437
1070
 
1071
+ StartImageScanRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1072
+ StartImageScanRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
1073
+ StartImageScanRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, required: true, location_name: "imageId"))
1074
+ StartImageScanRequest.struct_class = Types::StartImageScanRequest
1075
+
1076
+ StartImageScanResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1077
+ StartImageScanResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
1078
+ StartImageScanResponse.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
1079
+ StartImageScanResponse.add_member(:image_scan_status, Shapes::ShapeRef.new(shape: ImageScanStatus, location_name: "imageScanStatus"))
1080
+ StartImageScanResponse.struct_class = Types::StartImageScanResponse
1081
+
438
1082
  StartLifecyclePolicyPreviewRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
439
1083
  StartLifecyclePolicyPreviewRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
440
1084
  StartLifecyclePolicyPreviewRequest.add_member(:lifecycle_policy_text, Shapes::ShapeRef.new(shape: LifecyclePolicyText, location_name: "lifecyclePolicyText"))
@@ -446,6 +1090,61 @@ module Aws::ECR
446
1090
  StartLifecyclePolicyPreviewResponse.add_member(:status, Shapes::ShapeRef.new(shape: LifecyclePolicyPreviewStatus, location_name: "status"))
447
1091
  StartLifecyclePolicyPreviewResponse.struct_class = Types::StartLifecyclePolicyPreviewResponse
448
1092
 
1093
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1094
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
1095
+ Tag.struct_class = Types::Tag
1096
+
1097
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1098
+
1099
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
1100
+
1101
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1102
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
1103
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1104
+
1105
+ TagResourceResponse.struct_class = Types::TagResourceResponse
1106
+
1107
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
1108
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
1109
+
1110
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1111
+ TooManyTagsException.struct_class = Types::TooManyTagsException
1112
+
1113
+ UnableToAccessSecretException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1114
+ UnableToAccessSecretException.struct_class = Types::UnableToAccessSecretException
1115
+
1116
+ UnableToDecryptSecretValueException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1117
+ UnableToDecryptSecretValueException.struct_class = Types::UnableToDecryptSecretValueException
1118
+
1119
+ UnableToGetUpstreamImageException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1120
+ UnableToGetUpstreamImageException.struct_class = Types::UnableToGetUpstreamImageException
1121
+
1122
+ UnableToGetUpstreamLayerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1123
+ UnableToGetUpstreamLayerException.struct_class = Types::UnableToGetUpstreamLayerException
1124
+
1125
+ UnsupportedImageTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1126
+ UnsupportedImageTypeException.struct_class = Types::UnsupportedImageTypeException
1127
+
1128
+ UnsupportedUpstreamRegistryException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1129
+ UnsupportedUpstreamRegistryException.struct_class = Types::UnsupportedUpstreamRegistryException
1130
+
1131
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1132
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
1133
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1134
+
1135
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1136
+
1137
+ UpdatePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1138
+ UpdatePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
1139
+ UpdatePullThroughCacheRuleRequest.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, required: true, location_name: "credentialArn"))
1140
+ UpdatePullThroughCacheRuleRequest.struct_class = Types::UpdatePullThroughCacheRuleRequest
1141
+
1142
+ UpdatePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
1143
+ UpdatePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1144
+ UpdatePullThroughCacheRuleResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedTimestamp, location_name: "updatedAt"))
1145
+ UpdatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
1146
+ UpdatePullThroughCacheRuleResponse.struct_class = Types::UpdatePullThroughCacheRuleResponse
1147
+
449
1148
  UploadLayerPartRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
450
1149
  UploadLayerPartRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
451
1150
  UploadLayerPartRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
@@ -460,6 +1159,36 @@ module Aws::ECR
460
1159
  UploadLayerPartResponse.add_member(:last_byte_received, Shapes::ShapeRef.new(shape: PartSize, location_name: "lastByteReceived"))
461
1160
  UploadLayerPartResponse.struct_class = Types::UploadLayerPartResponse
462
1161
 
1162
+ UploadNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1163
+ UploadNotFoundException.struct_class = Types::UploadNotFoundException
1164
+
1165
+ ValidatePullThroughCacheRuleRequest.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, required: true, location_name: "ecrRepositoryPrefix"))
1166
+ ValidatePullThroughCacheRuleRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1167
+ ValidatePullThroughCacheRuleRequest.struct_class = Types::ValidatePullThroughCacheRuleRequest
1168
+
1169
+ ValidatePullThroughCacheRuleResponse.add_member(:ecr_repository_prefix, Shapes::ShapeRef.new(shape: PullThroughCacheRuleRepositoryPrefix, location_name: "ecrRepositoryPrefix"))
1170
+ ValidatePullThroughCacheRuleResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
1171
+ ValidatePullThroughCacheRuleResponse.add_member(:upstream_registry_url, Shapes::ShapeRef.new(shape: Url, location_name: "upstreamRegistryUrl"))
1172
+ ValidatePullThroughCacheRuleResponse.add_member(:credential_arn, Shapes::ShapeRef.new(shape: CredentialArn, location_name: "credentialArn"))
1173
+ ValidatePullThroughCacheRuleResponse.add_member(:is_valid, Shapes::ShapeRef.new(shape: IsPTCRuleValid, location_name: "isValid"))
1174
+ ValidatePullThroughCacheRuleResponse.add_member(:failure, Shapes::ShapeRef.new(shape: PTCValidateFailure, location_name: "failure"))
1175
+ ValidatePullThroughCacheRuleResponse.struct_class = Types::ValidatePullThroughCacheRuleResponse
1176
+
1177
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1178
+ ValidationException.struct_class = Types::ValidationException
1179
+
1180
+ VulnerablePackage.add_member(:arch, Shapes::ShapeRef.new(shape: Arch, location_name: "arch"))
1181
+ VulnerablePackage.add_member(:epoch, Shapes::ShapeRef.new(shape: Epoch, location_name: "epoch"))
1182
+ VulnerablePackage.add_member(:file_path, Shapes::ShapeRef.new(shape: FilePath, location_name: "filePath"))
1183
+ VulnerablePackage.add_member(:name, Shapes::ShapeRef.new(shape: VulnerablePackageName, location_name: "name"))
1184
+ VulnerablePackage.add_member(:package_manager, Shapes::ShapeRef.new(shape: PackageManager, location_name: "packageManager"))
1185
+ VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: Release, location_name: "release"))
1186
+ VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
1187
+ VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
1188
+ VulnerablePackage.struct_class = Types::VulnerablePackage
1189
+
1190
+ VulnerablePackagesList.member = Shapes::ShapeRef.new(shape: VulnerablePackage)
1191
+
463
1192
 
464
1193
  # @api private
465
1194
  API = Seahorse::Model::Api.new.tap do |api|
@@ -467,12 +1196,17 @@ module Aws::ECR
467
1196
  api.version = "2015-09-21"
468
1197
 
469
1198
  api.metadata = {
470
- "endpointPrefix" => "ecr",
1199
+ "apiVersion" => "2015-09-21",
1200
+ "endpointPrefix" => "api.ecr",
471
1201
  "jsonVersion" => "1.1",
472
1202
  "protocol" => "json",
1203
+ "serviceAbbreviation" => "Amazon ECR",
473
1204
  "serviceFullName" => "Amazon EC2 Container Registry",
1205
+ "serviceId" => "ECR",
474
1206
  "signatureVersion" => "v4",
1207
+ "signingName" => "ecr",
475
1208
  "targetPrefix" => "AmazonEC2ContainerRegistry_V20150921",
1209
+ "uid" => "ecr-2015-09-21",
476
1210
  }
477
1211
 
478
1212
  api.add_operation(:batch_check_layer_availability, Seahorse::Model::Operation.new.tap do |o|
@@ -506,6 +1240,20 @@ module Aws::ECR
506
1240
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
507
1241
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
508
1242
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1243
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1244
+ o.errors << Shapes::ShapeRef.new(shape: UnableToGetUpstreamImageException)
1245
+ end)
1246
+
1247
+ api.add_operation(:batch_get_repository_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
1248
+ o.name = "BatchGetRepositoryScanningConfiguration"
1249
+ o.http_method = "POST"
1250
+ o.http_request_uri = "/"
1251
+ o.input = Shapes::ShapeRef.new(shape: BatchGetRepositoryScanningConfigurationRequest)
1252
+ o.output = Shapes::ShapeRef.new(shape: BatchGetRepositoryScanningConfigurationResponse)
1253
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1255
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1256
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
509
1257
  end)
510
1258
 
511
1259
  api.add_operation(:complete_layer_upload, Seahorse::Model::Operation.new.tap do |o|
@@ -522,6 +1270,24 @@ module Aws::ECR
522
1270
  o.errors << Shapes::ShapeRef.new(shape: LayerPartTooSmallException)
523
1271
  o.errors << Shapes::ShapeRef.new(shape: LayerAlreadyExistsException)
524
1272
  o.errors << Shapes::ShapeRef.new(shape: EmptyUploadException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
1274
+ end)
1275
+
1276
+ api.add_operation(:create_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
1277
+ o.name = "CreatePullThroughCacheRule"
1278
+ o.http_method = "POST"
1279
+ o.http_request_uri = "/"
1280
+ o.input = Shapes::ShapeRef.new(shape: CreatePullThroughCacheRuleRequest)
1281
+ o.output = Shapes::ShapeRef.new(shape: CreatePullThroughCacheRuleResponse)
1282
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1285
+ o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleAlreadyExistsException)
1286
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedUpstreamRegistryException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: UnableToAccessSecretException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: SecretNotFoundException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: UnableToDecryptSecretValueException)
525
1291
  end)
526
1292
 
527
1293
  api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
@@ -532,8 +1298,11 @@ module Aws::ECR
532
1298
  o.output = Shapes::ShapeRef.new(shape: CreateRepositoryResponse)
533
1299
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
534
1300
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1302
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
535
1303
  o.errors << Shapes::ShapeRef.new(shape: RepositoryAlreadyExistsException)
536
1304
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
537
1306
  end)
538
1307
 
539
1308
  api.add_operation(:delete_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -546,6 +1315,31 @@ module Aws::ECR
546
1315
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
547
1316
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
548
1317
  o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyNotFoundException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1319
+ end)
1320
+
1321
+ api.add_operation(:delete_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
1322
+ o.name = "DeletePullThroughCacheRule"
1323
+ o.http_method = "POST"
1324
+ o.http_request_uri = "/"
1325
+ o.input = Shapes::ShapeRef.new(shape: DeletePullThroughCacheRuleRequest)
1326
+ o.output = Shapes::ShapeRef.new(shape: DeletePullThroughCacheRuleResponse)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
1331
+ end)
1332
+
1333
+ api.add_operation(:delete_registry_policy, Seahorse::Model::Operation.new.tap do |o|
1334
+ o.name = "DeleteRegistryPolicy"
1335
+ o.http_method = "POST"
1336
+ o.http_request_uri = "/"
1337
+ o.input = Shapes::ShapeRef.new(shape: DeleteRegistryPolicyRequest)
1338
+ o.output = Shapes::ShapeRef.new(shape: DeleteRegistryPolicyResponse)
1339
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1340
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1341
+ o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
549
1343
  end)
550
1344
 
551
1345
  api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
@@ -558,6 +1352,7 @@ module Aws::ECR
558
1352
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
559
1353
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
560
1354
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotEmptyException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
561
1356
  end)
562
1357
 
563
1358
  api.add_operation(:delete_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -572,6 +1367,39 @@ module Aws::ECR
572
1367
  o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
573
1368
  end)
574
1369
 
1370
+ api.add_operation(:describe_image_replication_status, Seahorse::Model::Operation.new.tap do |o|
1371
+ o.name = "DescribeImageReplicationStatus"
1372
+ o.http_method = "POST"
1373
+ o.http_request_uri = "/"
1374
+ o.input = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusRequest)
1375
+ o.output = Shapes::ShapeRef.new(shape: DescribeImageReplicationStatusResponse)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1378
+ o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
1379
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1380
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1381
+ end)
1382
+
1383
+ api.add_operation(:describe_image_scan_findings, Seahorse::Model::Operation.new.tap do |o|
1384
+ o.name = "DescribeImageScanFindings"
1385
+ o.http_method = "POST"
1386
+ o.http_request_uri = "/"
1387
+ o.input = Shapes::ShapeRef.new(shape: DescribeImageScanFindingsRequest)
1388
+ o.output = Shapes::ShapeRef.new(shape: DescribeImageScanFindingsResponse)
1389
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1390
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1391
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1392
+ o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
1393
+ o.errors << Shapes::ShapeRef.new(shape: ScanNotFoundException)
1394
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1395
+ o[:pager] = Aws::Pager.new(
1396
+ limit_key: "max_results",
1397
+ tokens: {
1398
+ "next_token" => "next_token"
1399
+ }
1400
+ )
1401
+ end)
1402
+
575
1403
  api.add_operation(:describe_images, Seahorse::Model::Operation.new.tap do |o|
576
1404
  o.name = "DescribeImages"
577
1405
  o.http_method = "POST"
@@ -590,6 +1418,35 @@ module Aws::ECR
590
1418
  )
591
1419
  end)
592
1420
 
1421
+ api.add_operation(:describe_pull_through_cache_rules, Seahorse::Model::Operation.new.tap do |o|
1422
+ o.name = "DescribePullThroughCacheRules"
1423
+ o.http_method = "POST"
1424
+ o.http_request_uri = "/"
1425
+ o.input = Shapes::ShapeRef.new(shape: DescribePullThroughCacheRulesRequest)
1426
+ o.output = Shapes::ShapeRef.new(shape: DescribePullThroughCacheRulesResponse)
1427
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
1431
+ o[:pager] = Aws::Pager.new(
1432
+ limit_key: "max_results",
1433
+ tokens: {
1434
+ "next_token" => "next_token"
1435
+ }
1436
+ )
1437
+ end)
1438
+
1439
+ api.add_operation(:describe_registry, Seahorse::Model::Operation.new.tap do |o|
1440
+ o.name = "DescribeRegistry"
1441
+ o.http_method = "POST"
1442
+ o.http_request_uri = "/"
1443
+ o.input = Shapes::ShapeRef.new(shape: DescribeRegistryRequest)
1444
+ o.output = Shapes::ShapeRef.new(shape: DescribeRegistryResponse)
1445
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1447
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1448
+ end)
1449
+
593
1450
  api.add_operation(:describe_repositories, Seahorse::Model::Operation.new.tap do |o|
594
1451
  o.name = "DescribeRepositories"
595
1452
  o.http_method = "POST"
@@ -628,6 +1485,7 @@ module Aws::ECR
628
1485
  o.errors << Shapes::ShapeRef.new(shape: LayersNotFoundException)
629
1486
  o.errors << Shapes::ShapeRef.new(shape: LayerInaccessibleException)
630
1487
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: UnableToGetUpstreamLayerException)
631
1489
  end)
632
1490
 
633
1491
  api.add_operation(:get_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -640,6 +1498,7 @@ module Aws::ECR
640
1498
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
641
1499
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
642
1500
  o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyNotFoundException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
643
1502
  end)
644
1503
 
645
1504
  api.add_operation(:get_lifecycle_policy_preview, Seahorse::Model::Operation.new.tap do |o|
@@ -652,6 +1511,36 @@ module Aws::ECR
652
1511
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
653
1512
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
654
1513
  o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyPreviewNotFoundException)
1514
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1515
+ o[:pager] = Aws::Pager.new(
1516
+ limit_key: "max_results",
1517
+ tokens: {
1518
+ "next_token" => "next_token"
1519
+ }
1520
+ )
1521
+ end)
1522
+
1523
+ api.add_operation(:get_registry_policy, Seahorse::Model::Operation.new.tap do |o|
1524
+ o.name = "GetRegistryPolicy"
1525
+ o.http_method = "POST"
1526
+ o.http_request_uri = "/"
1527
+ o.input = Shapes::ShapeRef.new(shape: GetRegistryPolicyRequest)
1528
+ o.output = Shapes::ShapeRef.new(shape: GetRegistryPolicyResponse)
1529
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: RegistryPolicyNotFoundException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1533
+ end)
1534
+
1535
+ api.add_operation(:get_registry_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
1536
+ o.name = "GetRegistryScanningConfiguration"
1537
+ o.http_method = "POST"
1538
+ o.http_request_uri = "/"
1539
+ o.input = Shapes::ShapeRef.new(shape: GetRegistryScanningConfigurationRequest)
1540
+ o.output = Shapes::ShapeRef.new(shape: GetRegistryScanningConfigurationResponse)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
655
1544
  end)
656
1545
 
657
1546
  api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -675,6 +1564,7 @@ module Aws::ECR
675
1564
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
676
1565
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
677
1566
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
678
1568
  end)
679
1569
 
680
1570
  api.add_operation(:list_images, Seahorse::Model::Operation.new.tap do |o|
@@ -694,6 +1584,17 @@ module Aws::ECR
694
1584
  )
695
1585
  end)
696
1586
 
1587
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1588
+ o.name = "ListTagsForResource"
1589
+ o.http_method = "POST"
1590
+ o.http_request_uri = "/"
1591
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1592
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1593
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1595
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1596
+ end)
1597
+
697
1598
  api.add_operation(:put_image, Seahorse::Model::Operation.new.tap do |o|
698
1599
  o.name = "PutImage"
699
1600
  o.http_method = "POST"
@@ -705,7 +1606,34 @@ module Aws::ECR
705
1606
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
706
1607
  o.errors << Shapes::ShapeRef.new(shape: ImageAlreadyExistsException)
707
1608
  o.errors << Shapes::ShapeRef.new(shape: LayersNotFoundException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: ReferencedImagesNotFoundException)
708
1610
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: ImageTagAlreadyExistsException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: ImageDigestDoesNotMatchException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
1614
+ end)
1615
+
1616
+ api.add_operation(:put_image_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
1617
+ o.name = "PutImageScanningConfiguration"
1618
+ o.http_method = "POST"
1619
+ o.http_request_uri = "/"
1620
+ o.input = Shapes::ShapeRef.new(shape: PutImageScanningConfigurationRequest)
1621
+ o.output = Shapes::ShapeRef.new(shape: PutImageScanningConfigurationResponse)
1622
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1624
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1625
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1626
+ end)
1627
+
1628
+ api.add_operation(:put_image_tag_mutability, Seahorse::Model::Operation.new.tap do |o|
1629
+ o.name = "PutImageTagMutability"
1630
+ o.http_method = "POST"
1631
+ o.http_request_uri = "/"
1632
+ o.input = Shapes::ShapeRef.new(shape: PutImageTagMutabilityRequest)
1633
+ o.output = Shapes::ShapeRef.new(shape: PutImageTagMutabilityResponse)
1634
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1635
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1636
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
709
1637
  end)
710
1638
 
711
1639
  api.add_operation(:put_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -717,6 +1645,40 @@ module Aws::ECR
717
1645
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
718
1646
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
719
1647
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1649
+ end)
1650
+
1651
+ api.add_operation(:put_registry_policy, Seahorse::Model::Operation.new.tap do |o|
1652
+ o.name = "PutRegistryPolicy"
1653
+ o.http_method = "POST"
1654
+ o.http_request_uri = "/"
1655
+ o.input = Shapes::ShapeRef.new(shape: PutRegistryPolicyRequest)
1656
+ o.output = Shapes::ShapeRef.new(shape: PutRegistryPolicyResponse)
1657
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1660
+ end)
1661
+
1662
+ api.add_operation(:put_registry_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
1663
+ o.name = "PutRegistryScanningConfiguration"
1664
+ o.http_method = "POST"
1665
+ o.http_request_uri = "/"
1666
+ o.input = Shapes::ShapeRef.new(shape: PutRegistryScanningConfigurationRequest)
1667
+ o.output = Shapes::ShapeRef.new(shape: PutRegistryScanningConfigurationResponse)
1668
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1670
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1671
+ end)
1672
+
1673
+ api.add_operation(:put_replication_configuration, Seahorse::Model::Operation.new.tap do |o|
1674
+ o.name = "PutReplicationConfiguration"
1675
+ o.http_method = "POST"
1676
+ o.http_request_uri = "/"
1677
+ o.input = Shapes::ShapeRef.new(shape: PutReplicationConfigurationRequest)
1678
+ o.output = Shapes::ShapeRef.new(shape: PutReplicationConfigurationResponse)
1679
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
720
1682
  end)
721
1683
 
722
1684
  api.add_operation(:set_repository_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -730,6 +1692,21 @@ module Aws::ECR
730
1692
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
731
1693
  end)
732
1694
 
1695
+ api.add_operation(:start_image_scan, Seahorse::Model::Operation.new.tap do |o|
1696
+ o.name = "StartImageScan"
1697
+ o.http_method = "POST"
1698
+ o.http_request_uri = "/"
1699
+ o.input = Shapes::ShapeRef.new(shape: StartImageScanRequest)
1700
+ o.output = Shapes::ShapeRef.new(shape: StartImageScanResponse)
1701
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1702
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedImageTypeException)
1704
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
1707
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1708
+ end)
1709
+
733
1710
  api.add_operation(:start_lifecycle_policy_preview, Seahorse::Model::Operation.new.tap do |o|
734
1711
  o.name = "StartLifecyclePolicyPreview"
735
1712
  o.http_method = "POST"
@@ -741,6 +1718,48 @@ module Aws::ECR
741
1718
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
742
1719
  o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyNotFoundException)
743
1720
  o.errors << Shapes::ShapeRef.new(shape: LifecyclePolicyPreviewInProgressException)
1721
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1722
+ end)
1723
+
1724
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1725
+ o.name = "TagResource"
1726
+ o.http_method = "POST"
1727
+ o.http_request_uri = "/"
1728
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1729
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1734
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1735
+ end)
1736
+
1737
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1738
+ o.name = "UntagResource"
1739
+ o.http_method = "POST"
1740
+ o.http_request_uri = "/"
1741
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1742
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1743
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTagParameterException)
1745
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1746
+ o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
1747
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1748
+ end)
1749
+
1750
+ api.add_operation(:update_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
1751
+ o.name = "UpdatePullThroughCacheRule"
1752
+ o.http_method = "POST"
1753
+ o.http_request_uri = "/"
1754
+ o.input = Shapes::ShapeRef.new(shape: UpdatePullThroughCacheRuleRequest)
1755
+ o.output = Shapes::ShapeRef.new(shape: UpdatePullThroughCacheRuleResponse)
1756
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: UnableToAccessSecretException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
1761
+ o.errors << Shapes::ShapeRef.new(shape: SecretNotFoundException)
1762
+ o.errors << Shapes::ShapeRef.new(shape: UnableToDecryptSecretValueException)
744
1763
  end)
745
1764
 
746
1765
  api.add_operation(:upload_layer_part, Seahorse::Model::Operation.new.tap do |o|
@@ -755,6 +1774,19 @@ module Aws::ECR
755
1774
  o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
756
1775
  o.errors << Shapes::ShapeRef.new(shape: UploadNotFoundException)
757
1776
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1777
+ o.errors << Shapes::ShapeRef.new(shape: KmsException)
1778
+ end)
1779
+
1780
+ api.add_operation(:validate_pull_through_cache_rule, Seahorse::Model::Operation.new.tap do |o|
1781
+ o.name = "ValidatePullThroughCacheRule"
1782
+ o.http_method = "POST"
1783
+ o.http_request_uri = "/"
1784
+ o.input = Shapes::ShapeRef.new(shape: ValidatePullThroughCacheRuleRequest)
1785
+ o.output = Shapes::ShapeRef.new(shape: ValidatePullThroughCacheRuleResponse)
1786
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1788
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1789
+ o.errors << Shapes::ShapeRef.new(shape: PullThroughCacheRuleNotFoundException)
758
1790
  end)
759
1791
  end
760
1792