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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1127 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ECR
9
+ module Types
10
+
11
+ class Attribute
12
+ attr_accessor key: ::String
13
+ attr_accessor value: ::String
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AuthorizationData
18
+ attr_accessor authorization_token: ::String
19
+ attr_accessor expires_at: ::Time
20
+ attr_accessor proxy_endpoint: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class AwsEcrContainerImageDetails
25
+ attr_accessor architecture: ::String
26
+ attr_accessor author: ::String
27
+ attr_accessor image_hash: ::String
28
+ attr_accessor image_tags: ::Array[::String]
29
+ attr_accessor platform: ::String
30
+ attr_accessor pushed_at: ::Time
31
+ attr_accessor registry: ::String
32
+ attr_accessor repository_name: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class BatchCheckLayerAvailabilityRequest
37
+ attr_accessor registry_id: ::String
38
+ attr_accessor repository_name: ::String
39
+ attr_accessor layer_digests: ::Array[::String]
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class BatchCheckLayerAvailabilityResponse
44
+ attr_accessor layers: ::Array[Types::Layer]
45
+ attr_accessor failures: ::Array[Types::LayerFailure]
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class BatchDeleteImageRequest
50
+ attr_accessor registry_id: ::String
51
+ attr_accessor repository_name: ::String
52
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class BatchDeleteImageResponse
57
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
58
+ attr_accessor failures: ::Array[Types::ImageFailure]
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class BatchGetImageRequest
63
+ attr_accessor registry_id: ::String
64
+ attr_accessor repository_name: ::String
65
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
66
+ attr_accessor accepted_media_types: ::Array[::String]
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class BatchGetImageResponse
71
+ attr_accessor images: ::Array[Types::Image]
72
+ attr_accessor failures: ::Array[Types::ImageFailure]
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class BatchGetRepositoryScanningConfigurationRequest
77
+ attr_accessor repository_names: ::Array[::String]
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class BatchGetRepositoryScanningConfigurationResponse
82
+ attr_accessor scanning_configurations: ::Array[Types::RepositoryScanningConfiguration]
83
+ attr_accessor failures: ::Array[Types::RepositoryScanningConfigurationFailure]
84
+ SENSITIVE: []
85
+ end
86
+
87
+ class CompleteLayerUploadRequest
88
+ attr_accessor registry_id: ::String
89
+ attr_accessor repository_name: ::String
90
+ attr_accessor upload_id: ::String
91
+ attr_accessor layer_digests: ::Array[::String]
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class CompleteLayerUploadResponse
96
+ attr_accessor registry_id: ::String
97
+ attr_accessor repository_name: ::String
98
+ attr_accessor upload_id: ::String
99
+ attr_accessor layer_digest: ::String
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class CreatePullThroughCacheRuleRequest
104
+ attr_accessor ecr_repository_prefix: ::String
105
+ attr_accessor upstream_registry_url: ::String
106
+ attr_accessor registry_id: ::String
107
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
108
+ attr_accessor credential_arn: ::String
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class CreatePullThroughCacheRuleResponse
113
+ attr_accessor ecr_repository_prefix: ::String
114
+ attr_accessor upstream_registry_url: ::String
115
+ attr_accessor created_at: ::Time
116
+ attr_accessor registry_id: ::String
117
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
118
+ attr_accessor credential_arn: ::String
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class CreateRepositoryRequest
123
+ attr_accessor registry_id: ::String
124
+ attr_accessor repository_name: ::String
125
+ attr_accessor tags: ::Array[Types::Tag]
126
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
127
+ attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
128
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class CreateRepositoryResponse
133
+ attr_accessor repository: Types::Repository
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class CvssScore
138
+ attr_accessor base_score: ::Float
139
+ attr_accessor scoring_vector: ::String
140
+ attr_accessor source: ::String
141
+ attr_accessor version: ::String
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class CvssScoreAdjustment
146
+ attr_accessor metric: ::String
147
+ attr_accessor reason: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CvssScoreDetails
152
+ attr_accessor adjustments: ::Array[Types::CvssScoreAdjustment]
153
+ attr_accessor score: ::Float
154
+ attr_accessor score_source: ::String
155
+ attr_accessor scoring_vector: ::String
156
+ attr_accessor version: ::String
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class DeleteLifecyclePolicyRequest
161
+ attr_accessor registry_id: ::String
162
+ attr_accessor repository_name: ::String
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class DeleteLifecyclePolicyResponse
167
+ attr_accessor registry_id: ::String
168
+ attr_accessor repository_name: ::String
169
+ attr_accessor lifecycle_policy_text: ::String
170
+ attr_accessor last_evaluated_at: ::Time
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class DeletePullThroughCacheRuleRequest
175
+ attr_accessor ecr_repository_prefix: ::String
176
+ attr_accessor registry_id: ::String
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class DeletePullThroughCacheRuleResponse
181
+ attr_accessor ecr_repository_prefix: ::String
182
+ attr_accessor upstream_registry_url: ::String
183
+ attr_accessor created_at: ::Time
184
+ attr_accessor registry_id: ::String
185
+ attr_accessor credential_arn: ::String
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class DeleteRegistryPolicyRequest < Aws::EmptyStructure
190
+ end
191
+
192
+ class DeleteRegistryPolicyResponse
193
+ attr_accessor registry_id: ::String
194
+ attr_accessor policy_text: ::String
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class DeleteRepositoryPolicyRequest
199
+ attr_accessor registry_id: ::String
200
+ attr_accessor repository_name: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class DeleteRepositoryPolicyResponse
205
+ attr_accessor registry_id: ::String
206
+ attr_accessor repository_name: ::String
207
+ attr_accessor policy_text: ::String
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class DeleteRepositoryRequest
212
+ attr_accessor registry_id: ::String
213
+ attr_accessor repository_name: ::String
214
+ attr_accessor force: bool
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class DeleteRepositoryResponse
219
+ attr_accessor repository: Types::Repository
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class DescribeImageReplicationStatusRequest
224
+ attr_accessor repository_name: ::String
225
+ attr_accessor image_id: Types::ImageIdentifier
226
+ attr_accessor registry_id: ::String
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class DescribeImageReplicationStatusResponse
231
+ attr_accessor repository_name: ::String
232
+ attr_accessor image_id: Types::ImageIdentifier
233
+ attr_accessor replication_statuses: ::Array[Types::ImageReplicationStatus]
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class DescribeImageScanFindingsRequest
238
+ attr_accessor registry_id: ::String
239
+ attr_accessor repository_name: ::String
240
+ attr_accessor image_id: Types::ImageIdentifier
241
+ attr_accessor next_token: ::String
242
+ attr_accessor max_results: ::Integer
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class DescribeImageScanFindingsResponse
247
+ attr_accessor registry_id: ::String
248
+ attr_accessor repository_name: ::String
249
+ attr_accessor image_id: Types::ImageIdentifier
250
+ attr_accessor image_scan_status: Types::ImageScanStatus
251
+ attr_accessor image_scan_findings: Types::ImageScanFindings
252
+ attr_accessor next_token: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class DescribeImagesFilter
257
+ attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class DescribeImagesRequest
262
+ attr_accessor registry_id: ::String
263
+ attr_accessor repository_name: ::String
264
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
265
+ attr_accessor next_token: ::String
266
+ attr_accessor max_results: ::Integer
267
+ attr_accessor filter: Types::DescribeImagesFilter
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class DescribeImagesResponse
272
+ attr_accessor image_details: ::Array[Types::ImageDetail]
273
+ attr_accessor next_token: ::String
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class DescribePullThroughCacheRulesRequest
278
+ attr_accessor registry_id: ::String
279
+ attr_accessor ecr_repository_prefixes: ::Array[::String]
280
+ attr_accessor next_token: ::String
281
+ attr_accessor max_results: ::Integer
282
+ SENSITIVE: []
283
+ end
284
+
285
+ class DescribePullThroughCacheRulesResponse
286
+ attr_accessor pull_through_cache_rules: ::Array[Types::PullThroughCacheRule]
287
+ attr_accessor next_token: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class DescribeRegistryRequest < Aws::EmptyStructure
292
+ end
293
+
294
+ class DescribeRegistryResponse
295
+ attr_accessor registry_id: ::String
296
+ attr_accessor replication_configuration: Types::ReplicationConfiguration
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class DescribeRepositoriesRequest
301
+ attr_accessor registry_id: ::String
302
+ attr_accessor repository_names: ::Array[::String]
303
+ attr_accessor next_token: ::String
304
+ attr_accessor max_results: ::Integer
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class DescribeRepositoriesResponse
309
+ attr_accessor repositories: ::Array[Types::Repository]
310
+ attr_accessor next_token: ::String
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class EmptyUploadException
315
+ attr_accessor message: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class EncryptionConfiguration
320
+ attr_accessor encryption_type: ("AES256" | "KMS")
321
+ attr_accessor kms_key: ::String
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class EnhancedImageScanFinding
326
+ attr_accessor aws_account_id: ::String
327
+ attr_accessor description: ::String
328
+ attr_accessor finding_arn: ::String
329
+ attr_accessor first_observed_at: ::Time
330
+ attr_accessor last_observed_at: ::Time
331
+ attr_accessor package_vulnerability_details: Types::PackageVulnerabilityDetails
332
+ attr_accessor remediation: Types::Remediation
333
+ attr_accessor resources: ::Array[Types::Resource]
334
+ attr_accessor score: ::Float
335
+ attr_accessor score_details: Types::ScoreDetails
336
+ attr_accessor severity: ::String
337
+ attr_accessor status: ::String
338
+ attr_accessor title: ::String
339
+ attr_accessor type: ::String
340
+ attr_accessor updated_at: ::Time
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class GetAuthorizationTokenRequest
345
+ attr_accessor registry_ids: ::Array[::String]
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class GetAuthorizationTokenResponse
350
+ attr_accessor authorization_data: ::Array[Types::AuthorizationData]
351
+ SENSITIVE: []
352
+ end
353
+
354
+ class GetDownloadUrlForLayerRequest
355
+ attr_accessor registry_id: ::String
356
+ attr_accessor repository_name: ::String
357
+ attr_accessor layer_digest: ::String
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class GetDownloadUrlForLayerResponse
362
+ attr_accessor download_url: ::String
363
+ attr_accessor layer_digest: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class GetLifecyclePolicyPreviewRequest
368
+ attr_accessor registry_id: ::String
369
+ attr_accessor repository_name: ::String
370
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
371
+ attr_accessor next_token: ::String
372
+ attr_accessor max_results: ::Integer
373
+ attr_accessor filter: Types::LifecyclePolicyPreviewFilter
374
+ SENSITIVE: []
375
+ end
376
+
377
+ class GetLifecyclePolicyPreviewResponse
378
+ attr_accessor registry_id: ::String
379
+ attr_accessor repository_name: ::String
380
+ attr_accessor lifecycle_policy_text: ::String
381
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "EXPIRED" | "FAILED")
382
+ attr_accessor next_token: ::String
383
+ attr_accessor preview_results: ::Array[Types::LifecyclePolicyPreviewResult]
384
+ attr_accessor summary: Types::LifecyclePolicyPreviewSummary
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class GetLifecyclePolicyRequest
389
+ attr_accessor registry_id: ::String
390
+ attr_accessor repository_name: ::String
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class GetLifecyclePolicyResponse
395
+ attr_accessor registry_id: ::String
396
+ attr_accessor repository_name: ::String
397
+ attr_accessor lifecycle_policy_text: ::String
398
+ attr_accessor last_evaluated_at: ::Time
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class GetRegistryPolicyRequest < Aws::EmptyStructure
403
+ end
404
+
405
+ class GetRegistryPolicyResponse
406
+ attr_accessor registry_id: ::String
407
+ attr_accessor policy_text: ::String
408
+ SENSITIVE: []
409
+ end
410
+
411
+ class GetRegistryScanningConfigurationRequest < Aws::EmptyStructure
412
+ end
413
+
414
+ class GetRegistryScanningConfigurationResponse
415
+ attr_accessor registry_id: ::String
416
+ attr_accessor scanning_configuration: Types::RegistryScanningConfiguration
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class GetRepositoryPolicyRequest
421
+ attr_accessor registry_id: ::String
422
+ attr_accessor repository_name: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class GetRepositoryPolicyResponse
427
+ attr_accessor registry_id: ::String
428
+ attr_accessor repository_name: ::String
429
+ attr_accessor policy_text: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class Image
434
+ attr_accessor registry_id: ::String
435
+ attr_accessor repository_name: ::String
436
+ attr_accessor image_id: Types::ImageIdentifier
437
+ attr_accessor image_manifest: ::String
438
+ attr_accessor image_manifest_media_type: ::String
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class ImageAlreadyExistsException
443
+ attr_accessor message: ::String
444
+ SENSITIVE: []
445
+ end
446
+
447
+ class ImageDetail
448
+ attr_accessor registry_id: ::String
449
+ attr_accessor repository_name: ::String
450
+ attr_accessor image_digest: ::String
451
+ attr_accessor image_tags: ::Array[::String]
452
+ attr_accessor image_size_in_bytes: ::Integer
453
+ attr_accessor image_pushed_at: ::Time
454
+ attr_accessor image_scan_status: Types::ImageScanStatus
455
+ attr_accessor image_scan_findings_summary: Types::ImageScanFindingsSummary
456
+ attr_accessor image_manifest_media_type: ::String
457
+ attr_accessor artifact_media_type: ::String
458
+ attr_accessor last_recorded_pull_time: ::Time
459
+ SENSITIVE: []
460
+ end
461
+
462
+ class ImageDigestDoesNotMatchException
463
+ attr_accessor message: ::String
464
+ SENSITIVE: []
465
+ end
466
+
467
+ class ImageFailure
468
+ attr_accessor image_id: Types::ImageIdentifier
469
+ attr_accessor failure_code: ("InvalidImageDigest" | "InvalidImageTag" | "ImageTagDoesNotMatchDigest" | "ImageNotFound" | "MissingDigestAndTag" | "ImageReferencedByManifestList" | "KmsError" | "UpstreamAccessDenied" | "UpstreamTooManyRequests" | "UpstreamUnavailable")
470
+ attr_accessor failure_reason: ::String
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class ImageIdentifier
475
+ attr_accessor image_digest: ::String
476
+ attr_accessor image_tag: ::String
477
+ SENSITIVE: []
478
+ end
479
+
480
+ class ImageNotFoundException
481
+ attr_accessor message: ::String
482
+ SENSITIVE: []
483
+ end
484
+
485
+ class ImageReplicationStatus
486
+ attr_accessor region: ::String
487
+ attr_accessor registry_id: ::String
488
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "FAILED")
489
+ attr_accessor failure_code: ::String
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class ImageScanFinding
494
+ attr_accessor name: ::String
495
+ attr_accessor description: ::String
496
+ attr_accessor uri: ::String
497
+ attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNDEFINED")
498
+ attr_accessor attributes: ::Array[Types::Attribute]
499
+ SENSITIVE: []
500
+ end
501
+
502
+ class ImageScanFindings
503
+ attr_accessor image_scan_completed_at: ::Time
504
+ attr_accessor vulnerability_source_updated_at: ::Time
505
+ attr_accessor finding_severity_counts: ::Hash[("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNDEFINED"), ::Integer]
506
+ attr_accessor findings: ::Array[Types::ImageScanFinding]
507
+ attr_accessor enhanced_findings: ::Array[Types::EnhancedImageScanFinding]
508
+ SENSITIVE: []
509
+ end
510
+
511
+ class ImageScanFindingsSummary
512
+ attr_accessor image_scan_completed_at: ::Time
513
+ attr_accessor vulnerability_source_updated_at: ::Time
514
+ attr_accessor finding_severity_counts: ::Hash[("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNDEFINED"), ::Integer]
515
+ SENSITIVE: []
516
+ end
517
+
518
+ class ImageScanStatus
519
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "FAILED" | "UNSUPPORTED_IMAGE" | "ACTIVE" | "PENDING" | "SCAN_ELIGIBILITY_EXPIRED" | "FINDINGS_UNAVAILABLE")
520
+ attr_accessor description: ::String
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class ImageScanningConfiguration
525
+ attr_accessor scan_on_push: bool
526
+ SENSITIVE: []
527
+ end
528
+
529
+ class ImageTagAlreadyExistsException
530
+ attr_accessor message: ::String
531
+ SENSITIVE: []
532
+ end
533
+
534
+ class InitiateLayerUploadRequest
535
+ attr_accessor registry_id: ::String
536
+ attr_accessor repository_name: ::String
537
+ SENSITIVE: []
538
+ end
539
+
540
+ class InitiateLayerUploadResponse
541
+ attr_accessor upload_id: ::String
542
+ attr_accessor part_size: ::Integer
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class InvalidLayerException
547
+ attr_accessor message: ::String
548
+ SENSITIVE: []
549
+ end
550
+
551
+ class InvalidLayerPartException
552
+ attr_accessor registry_id: ::String
553
+ attr_accessor repository_name: ::String
554
+ attr_accessor upload_id: ::String
555
+ attr_accessor last_valid_byte_received: ::Integer
556
+ attr_accessor message: ::String
557
+ SENSITIVE: []
558
+ end
559
+
560
+ class InvalidParameterException
561
+ attr_accessor message: ::String
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class InvalidTagParameterException
566
+ attr_accessor message: ::String
567
+ SENSITIVE: []
568
+ end
569
+
570
+ class KmsException
571
+ attr_accessor message: ::String
572
+ attr_accessor kms_error: ::String
573
+ SENSITIVE: []
574
+ end
575
+
576
+ class Layer
577
+ attr_accessor layer_digest: ::String
578
+ attr_accessor layer_availability: ("AVAILABLE" | "UNAVAILABLE")
579
+ attr_accessor layer_size: ::Integer
580
+ attr_accessor media_type: ::String
581
+ SENSITIVE: []
582
+ end
583
+
584
+ class LayerAlreadyExistsException
585
+ attr_accessor message: ::String
586
+ SENSITIVE: []
587
+ end
588
+
589
+ class LayerFailure
590
+ attr_accessor layer_digest: ::String
591
+ attr_accessor failure_code: ("InvalidLayerDigest" | "MissingLayerDigest")
592
+ attr_accessor failure_reason: ::String
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class LayerInaccessibleException
597
+ attr_accessor message: ::String
598
+ SENSITIVE: []
599
+ end
600
+
601
+ class LayerPartTooSmallException
602
+ attr_accessor message: ::String
603
+ SENSITIVE: []
604
+ end
605
+
606
+ class LayersNotFoundException
607
+ attr_accessor message: ::String
608
+ SENSITIVE: []
609
+ end
610
+
611
+ class LifecyclePolicyNotFoundException
612
+ attr_accessor message: ::String
613
+ SENSITIVE: []
614
+ end
615
+
616
+ class LifecyclePolicyPreviewFilter
617
+ attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class LifecyclePolicyPreviewInProgressException
622
+ attr_accessor message: ::String
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class LifecyclePolicyPreviewNotFoundException
627
+ attr_accessor message: ::String
628
+ SENSITIVE: []
629
+ end
630
+
631
+ class LifecyclePolicyPreviewResult
632
+ attr_accessor image_tags: ::Array[::String]
633
+ attr_accessor image_digest: ::String
634
+ attr_accessor image_pushed_at: ::Time
635
+ attr_accessor action: Types::LifecyclePolicyRuleAction
636
+ attr_accessor applied_rule_priority: ::Integer
637
+ SENSITIVE: []
638
+ end
639
+
640
+ class LifecyclePolicyPreviewSummary
641
+ attr_accessor expiring_image_total_count: ::Integer
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class LifecyclePolicyRuleAction
646
+ attr_accessor type: ("EXPIRE")
647
+ SENSITIVE: []
648
+ end
649
+
650
+ class LimitExceededException
651
+ attr_accessor message: ::String
652
+ SENSITIVE: []
653
+ end
654
+
655
+ class ListImagesFilter
656
+ attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
657
+ SENSITIVE: []
658
+ end
659
+
660
+ class ListImagesRequest
661
+ attr_accessor registry_id: ::String
662
+ attr_accessor repository_name: ::String
663
+ attr_accessor next_token: ::String
664
+ attr_accessor max_results: ::Integer
665
+ attr_accessor filter: Types::ListImagesFilter
666
+ SENSITIVE: []
667
+ end
668
+
669
+ class ListImagesResponse
670
+ attr_accessor image_ids: ::Array[Types::ImageIdentifier]
671
+ attr_accessor next_token: ::String
672
+ SENSITIVE: []
673
+ end
674
+
675
+ class ListTagsForResourceRequest
676
+ attr_accessor resource_arn: ::String
677
+ SENSITIVE: []
678
+ end
679
+
680
+ class ListTagsForResourceResponse
681
+ attr_accessor tags: ::Array[Types::Tag]
682
+ SENSITIVE: []
683
+ end
684
+
685
+ class PackageVulnerabilityDetails
686
+ attr_accessor cvss: ::Array[Types::CvssScore]
687
+ attr_accessor reference_urls: ::Array[::String]
688
+ attr_accessor related_vulnerabilities: ::Array[::String]
689
+ attr_accessor source: ::String
690
+ attr_accessor source_url: ::String
691
+ attr_accessor vendor_created_at: ::Time
692
+ attr_accessor vendor_severity: ::String
693
+ attr_accessor vendor_updated_at: ::Time
694
+ attr_accessor vulnerability_id: ::String
695
+ attr_accessor vulnerable_packages: ::Array[Types::VulnerablePackage]
696
+ SENSITIVE: []
697
+ end
698
+
699
+ class PullThroughCacheRule
700
+ attr_accessor ecr_repository_prefix: ::String
701
+ attr_accessor upstream_registry_url: ::String
702
+ attr_accessor created_at: ::Time
703
+ attr_accessor registry_id: ::String
704
+ attr_accessor credential_arn: ::String
705
+ attr_accessor upstream_registry: ("ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry")
706
+ attr_accessor updated_at: ::Time
707
+ SENSITIVE: []
708
+ end
709
+
710
+ class PullThroughCacheRuleAlreadyExistsException
711
+ attr_accessor message: ::String
712
+ SENSITIVE: []
713
+ end
714
+
715
+ class PullThroughCacheRuleNotFoundException
716
+ attr_accessor message: ::String
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class PutImageRequest
721
+ attr_accessor registry_id: ::String
722
+ attr_accessor repository_name: ::String
723
+ attr_accessor image_manifest: ::String
724
+ attr_accessor image_manifest_media_type: ::String
725
+ attr_accessor image_tag: ::String
726
+ attr_accessor image_digest: ::String
727
+ SENSITIVE: []
728
+ end
729
+
730
+ class PutImageResponse
731
+ attr_accessor image: Types::Image
732
+ SENSITIVE: []
733
+ end
734
+
735
+ class PutImageScanningConfigurationRequest
736
+ attr_accessor registry_id: ::String
737
+ attr_accessor repository_name: ::String
738
+ attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
739
+ SENSITIVE: []
740
+ end
741
+
742
+ class PutImageScanningConfigurationResponse
743
+ attr_accessor registry_id: ::String
744
+ attr_accessor repository_name: ::String
745
+ attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
746
+ SENSITIVE: []
747
+ end
748
+
749
+ class PutImageTagMutabilityRequest
750
+ attr_accessor registry_id: ::String
751
+ attr_accessor repository_name: ::String
752
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
753
+ SENSITIVE: []
754
+ end
755
+
756
+ class PutImageTagMutabilityResponse
757
+ attr_accessor registry_id: ::String
758
+ attr_accessor repository_name: ::String
759
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
760
+ SENSITIVE: []
761
+ end
762
+
763
+ class PutLifecyclePolicyRequest
764
+ attr_accessor registry_id: ::String
765
+ attr_accessor repository_name: ::String
766
+ attr_accessor lifecycle_policy_text: ::String
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class PutLifecyclePolicyResponse
771
+ attr_accessor registry_id: ::String
772
+ attr_accessor repository_name: ::String
773
+ attr_accessor lifecycle_policy_text: ::String
774
+ SENSITIVE: []
775
+ end
776
+
777
+ class PutRegistryPolicyRequest
778
+ attr_accessor policy_text: ::String
779
+ SENSITIVE: []
780
+ end
781
+
782
+ class PutRegistryPolicyResponse
783
+ attr_accessor registry_id: ::String
784
+ attr_accessor policy_text: ::String
785
+ SENSITIVE: []
786
+ end
787
+
788
+ class PutRegistryScanningConfigurationRequest
789
+ attr_accessor scan_type: ("BASIC" | "ENHANCED")
790
+ attr_accessor rules: ::Array[Types::RegistryScanningRule]
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class PutRegistryScanningConfigurationResponse
795
+ attr_accessor registry_scanning_configuration: Types::RegistryScanningConfiguration
796
+ SENSITIVE: []
797
+ end
798
+
799
+ class PutReplicationConfigurationRequest
800
+ attr_accessor replication_configuration: Types::ReplicationConfiguration
801
+ SENSITIVE: []
802
+ end
803
+
804
+ class PutReplicationConfigurationResponse
805
+ attr_accessor replication_configuration: Types::ReplicationConfiguration
806
+ SENSITIVE: []
807
+ end
808
+
809
+ class Recommendation
810
+ attr_accessor url: ::String
811
+ attr_accessor text: ::String
812
+ SENSITIVE: []
813
+ end
814
+
815
+ class ReferencedImagesNotFoundException
816
+ attr_accessor message: ::String
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class RegistryPolicyNotFoundException
821
+ attr_accessor message: ::String
822
+ SENSITIVE: []
823
+ end
824
+
825
+ class RegistryScanningConfiguration
826
+ attr_accessor scan_type: ("BASIC" | "ENHANCED")
827
+ attr_accessor rules: ::Array[Types::RegistryScanningRule]
828
+ SENSITIVE: []
829
+ end
830
+
831
+ class RegistryScanningRule
832
+ attr_accessor scan_frequency: ("SCAN_ON_PUSH" | "CONTINUOUS_SCAN" | "MANUAL")
833
+ attr_accessor repository_filters: ::Array[Types::ScanningRepositoryFilter]
834
+ SENSITIVE: []
835
+ end
836
+
837
+ class Remediation
838
+ attr_accessor recommendation: Types::Recommendation
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class ReplicationConfiguration
843
+ attr_accessor rules: ::Array[Types::ReplicationRule]
844
+ SENSITIVE: []
845
+ end
846
+
847
+ class ReplicationDestination
848
+ attr_accessor region: ::String
849
+ attr_accessor registry_id: ::String
850
+ SENSITIVE: []
851
+ end
852
+
853
+ class ReplicationRule
854
+ attr_accessor destinations: ::Array[Types::ReplicationDestination]
855
+ attr_accessor repository_filters: ::Array[Types::RepositoryFilter]
856
+ SENSITIVE: []
857
+ end
858
+
859
+ class Repository
860
+ attr_accessor repository_arn: ::String
861
+ attr_accessor registry_id: ::String
862
+ attr_accessor repository_name: ::String
863
+ attr_accessor repository_uri: ::String
864
+ attr_accessor created_at: ::Time
865
+ attr_accessor image_tag_mutability: ("MUTABLE" | "IMMUTABLE")
866
+ attr_accessor image_scanning_configuration: Types::ImageScanningConfiguration
867
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
868
+ SENSITIVE: []
869
+ end
870
+
871
+ class RepositoryAlreadyExistsException
872
+ attr_accessor message: ::String
873
+ SENSITIVE: []
874
+ end
875
+
876
+ class RepositoryFilter
877
+ attr_accessor filter: ::String
878
+ attr_accessor filter_type: ("PREFIX_MATCH")
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class RepositoryNotEmptyException
883
+ attr_accessor message: ::String
884
+ SENSITIVE: []
885
+ end
886
+
887
+ class RepositoryNotFoundException
888
+ attr_accessor message: ::String
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class RepositoryPolicyNotFoundException
893
+ attr_accessor message: ::String
894
+ SENSITIVE: []
895
+ end
896
+
897
+ class RepositoryScanningConfiguration
898
+ attr_accessor repository_arn: ::String
899
+ attr_accessor repository_name: ::String
900
+ attr_accessor scan_on_push: bool
901
+ attr_accessor scan_frequency: ("SCAN_ON_PUSH" | "CONTINUOUS_SCAN" | "MANUAL")
902
+ attr_accessor applied_scan_filters: ::Array[Types::ScanningRepositoryFilter]
903
+ SENSITIVE: []
904
+ end
905
+
906
+ class RepositoryScanningConfigurationFailure
907
+ attr_accessor repository_name: ::String
908
+ attr_accessor failure_code: ("REPOSITORY_NOT_FOUND")
909
+ attr_accessor failure_reason: ::String
910
+ SENSITIVE: []
911
+ end
912
+
913
+ class Resource
914
+ attr_accessor details: Types::ResourceDetails
915
+ attr_accessor id: ::String
916
+ attr_accessor tags: ::Hash[::String, ::String]
917
+ attr_accessor type: ::String
918
+ SENSITIVE: []
919
+ end
920
+
921
+ class ResourceDetails
922
+ attr_accessor aws_ecr_container_image: Types::AwsEcrContainerImageDetails
923
+ SENSITIVE: []
924
+ end
925
+
926
+ class ScanNotFoundException
927
+ attr_accessor message: ::String
928
+ SENSITIVE: []
929
+ end
930
+
931
+ class ScanningRepositoryFilter
932
+ attr_accessor filter: ::String
933
+ attr_accessor filter_type: ("WILDCARD")
934
+ SENSITIVE: []
935
+ end
936
+
937
+ class ScoreDetails
938
+ attr_accessor cvss: Types::CvssScoreDetails
939
+ SENSITIVE: []
940
+ end
941
+
942
+ class SecretNotFoundException
943
+ attr_accessor message: ::String
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class ServerException
948
+ attr_accessor message: ::String
949
+ SENSITIVE: []
950
+ end
951
+
952
+ class SetRepositoryPolicyRequest
953
+ attr_accessor registry_id: ::String
954
+ attr_accessor repository_name: ::String
955
+ attr_accessor policy_text: ::String
956
+ attr_accessor force: bool
957
+ SENSITIVE: []
958
+ end
959
+
960
+ class SetRepositoryPolicyResponse
961
+ attr_accessor registry_id: ::String
962
+ attr_accessor repository_name: ::String
963
+ attr_accessor policy_text: ::String
964
+ SENSITIVE: []
965
+ end
966
+
967
+ class StartImageScanRequest
968
+ attr_accessor registry_id: ::String
969
+ attr_accessor repository_name: ::String
970
+ attr_accessor image_id: Types::ImageIdentifier
971
+ SENSITIVE: []
972
+ end
973
+
974
+ class StartImageScanResponse
975
+ attr_accessor registry_id: ::String
976
+ attr_accessor repository_name: ::String
977
+ attr_accessor image_id: Types::ImageIdentifier
978
+ attr_accessor image_scan_status: Types::ImageScanStatus
979
+ SENSITIVE: []
980
+ end
981
+
982
+ class StartLifecyclePolicyPreviewRequest
983
+ attr_accessor registry_id: ::String
984
+ attr_accessor repository_name: ::String
985
+ attr_accessor lifecycle_policy_text: ::String
986
+ SENSITIVE: []
987
+ end
988
+
989
+ class StartLifecyclePolicyPreviewResponse
990
+ attr_accessor registry_id: ::String
991
+ attr_accessor repository_name: ::String
992
+ attr_accessor lifecycle_policy_text: ::String
993
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "EXPIRED" | "FAILED")
994
+ SENSITIVE: []
995
+ end
996
+
997
+ class Tag
998
+ attr_accessor key: ::String
999
+ attr_accessor value: ::String
1000
+ SENSITIVE: []
1001
+ end
1002
+
1003
+ class TagResourceRequest
1004
+ attr_accessor resource_arn: ::String
1005
+ attr_accessor tags: ::Array[Types::Tag]
1006
+ SENSITIVE: []
1007
+ end
1008
+
1009
+ class TagResourceResponse < Aws::EmptyStructure
1010
+ end
1011
+
1012
+ class TooManyTagsException
1013
+ attr_accessor message: ::String
1014
+ SENSITIVE: []
1015
+ end
1016
+
1017
+ class UnableToAccessSecretException
1018
+ attr_accessor message: ::String
1019
+ SENSITIVE: []
1020
+ end
1021
+
1022
+ class UnableToDecryptSecretValueException
1023
+ attr_accessor message: ::String
1024
+ SENSITIVE: []
1025
+ end
1026
+
1027
+ class UnableToGetUpstreamImageException
1028
+ attr_accessor message: ::String
1029
+ SENSITIVE: []
1030
+ end
1031
+
1032
+ class UnableToGetUpstreamLayerException
1033
+ attr_accessor message: ::String
1034
+ SENSITIVE: []
1035
+ end
1036
+
1037
+ class UnsupportedImageTypeException
1038
+ attr_accessor message: ::String
1039
+ SENSITIVE: []
1040
+ end
1041
+
1042
+ class UnsupportedUpstreamRegistryException
1043
+ attr_accessor message: ::String
1044
+ SENSITIVE: []
1045
+ end
1046
+
1047
+ class UntagResourceRequest
1048
+ attr_accessor resource_arn: ::String
1049
+ attr_accessor tag_keys: ::Array[::String]
1050
+ SENSITIVE: []
1051
+ end
1052
+
1053
+ class UntagResourceResponse < Aws::EmptyStructure
1054
+ end
1055
+
1056
+ class UpdatePullThroughCacheRuleRequest
1057
+ attr_accessor registry_id: ::String
1058
+ attr_accessor ecr_repository_prefix: ::String
1059
+ attr_accessor credential_arn: ::String
1060
+ SENSITIVE: []
1061
+ end
1062
+
1063
+ class UpdatePullThroughCacheRuleResponse
1064
+ attr_accessor ecr_repository_prefix: ::String
1065
+ attr_accessor registry_id: ::String
1066
+ attr_accessor updated_at: ::Time
1067
+ attr_accessor credential_arn: ::String
1068
+ SENSITIVE: []
1069
+ end
1070
+
1071
+ class UploadLayerPartRequest
1072
+ attr_accessor registry_id: ::String
1073
+ attr_accessor repository_name: ::String
1074
+ attr_accessor upload_id: ::String
1075
+ attr_accessor part_first_byte: ::Integer
1076
+ attr_accessor part_last_byte: ::Integer
1077
+ attr_accessor layer_part_blob: ::String
1078
+ SENSITIVE: []
1079
+ end
1080
+
1081
+ class UploadLayerPartResponse
1082
+ attr_accessor registry_id: ::String
1083
+ attr_accessor repository_name: ::String
1084
+ attr_accessor upload_id: ::String
1085
+ attr_accessor last_byte_received: ::Integer
1086
+ SENSITIVE: []
1087
+ end
1088
+
1089
+ class UploadNotFoundException
1090
+ attr_accessor message: ::String
1091
+ SENSITIVE: []
1092
+ end
1093
+
1094
+ class ValidatePullThroughCacheRuleRequest
1095
+ attr_accessor ecr_repository_prefix: ::String
1096
+ attr_accessor registry_id: ::String
1097
+ SENSITIVE: []
1098
+ end
1099
+
1100
+ class ValidatePullThroughCacheRuleResponse
1101
+ attr_accessor ecr_repository_prefix: ::String
1102
+ attr_accessor registry_id: ::String
1103
+ attr_accessor upstream_registry_url: ::String
1104
+ attr_accessor credential_arn: ::String
1105
+ attr_accessor is_valid: bool
1106
+ attr_accessor failure: ::String
1107
+ SENSITIVE: []
1108
+ end
1109
+
1110
+ class ValidationException
1111
+ attr_accessor message: ::String
1112
+ SENSITIVE: []
1113
+ end
1114
+
1115
+ class VulnerablePackage
1116
+ attr_accessor arch: ::String
1117
+ attr_accessor epoch: ::Integer
1118
+ attr_accessor file_path: ::String
1119
+ attr_accessor name: ::String
1120
+ attr_accessor package_manager: ::String
1121
+ attr_accessor release: ::String
1122
+ attr_accessor source_layer_hash: ::String
1123
+ attr_accessor version: ::String
1124
+ SENSITIVE: []
1125
+ end
1126
+ end
1127
+ end