aws-sdk-ecr 1.113.0 → 1.114.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/lib/aws-sdk-ecr.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECR
55
55
  autoload :EndpointProvider, 'aws-sdk-ecr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecr/endpoints'
57
57
 
58
- GEM_VERSION = '1.113.0'
58
+ GEM_VERSION = '1.114.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -320,6 +320,16 @@ module Aws
320
320
  ) -> _DeleteRepositoryPolicyResponseSuccess
321
321
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryPolicyResponseSuccess
322
322
 
323
+ interface _DeregisterPullTimeUpdateExclusionResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterPullTimeUpdateExclusionResponse]
325
+ def principal_arn: () -> ::String
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#deregister_pull_time_update_exclusion-instance_method
328
+ def deregister_pull_time_update_exclusion: (
329
+ principal_arn: ::String
330
+ ) -> _DeregisterPullTimeUpdateExclusionResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterPullTimeUpdateExclusionResponseSuccess
332
+
323
333
  interface _DescribeImageReplicationStatusResponseSuccess
324
334
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeImageReplicationStatusResponse]
325
335
  def repository_name: () -> ::String
@@ -377,7 +387,8 @@ module Aws
377
387
  ?next_token: ::String,
378
388
  ?max_results: ::Integer,
379
389
  ?filter: {
380
- tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
390
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?,
391
+ image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")?
381
392
  }
382
393
  ) -> _DescribeImagesResponseSuccess
383
394
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeImagesResponseSuccess
@@ -555,6 +566,27 @@ module Aws
555
566
  ) -> _InitiateLayerUploadResponseSuccess
556
567
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateLayerUploadResponseSuccess
557
568
 
569
+ interface _ListImageReferrersResponseSuccess
570
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListImageReferrersResponse]
571
+ def referrers: () -> ::Array[Types::ImageReferrer]
572
+ def next_token: () -> ::String
573
+ end
574
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#list_image_referrers-instance_method
575
+ def list_image_referrers: (
576
+ ?registry_id: ::String,
577
+ repository_name: ::String,
578
+ subject_id: {
579
+ image_digest: ::String
580
+ },
581
+ ?filter: {
582
+ artifact_types: Array[::String]?,
583
+ artifact_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")?
584
+ },
585
+ ?next_token: ::String,
586
+ ?max_results: ::Integer
587
+ ) -> _ListImageReferrersResponseSuccess
588
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImageReferrersResponseSuccess
589
+
558
590
  interface _ListImagesResponseSuccess
559
591
  include ::Seahorse::Client::_ResponseSuccess[Types::ListImagesResponse]
560
592
  def image_ids: () -> ::Array[Types::ImageIdentifier]
@@ -567,11 +599,24 @@ module Aws
567
599
  ?next_token: ::String,
568
600
  ?max_results: ::Integer,
569
601
  ?filter: {
570
- tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?
602
+ tag_status: ("TAGGED" | "UNTAGGED" | "ANY")?,
603
+ image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")?
571
604
  }
572
605
  ) -> _ListImagesResponseSuccess
573
606
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImagesResponseSuccess
574
607
 
608
+ interface _ListPullTimeUpdateExclusionsResponseSuccess
609
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPullTimeUpdateExclusionsResponse]
610
+ def pull_time_update_exclusions: () -> ::Array[::String]
611
+ def next_token: () -> ::String
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#list_pull_time_update_exclusions-instance_method
614
+ def list_pull_time_update_exclusions: (
615
+ ?max_results: ::Integer,
616
+ ?next_token: ::String
617
+ ) -> _ListPullTimeUpdateExclusionsResponseSuccess
618
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPullTimeUpdateExclusionsResponseSuccess
619
+
575
620
  interface _ListTagsForResourceResponseSuccess
576
621
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
577
622
  def tags: () -> ::Array[Types::Tag]
@@ -719,6 +764,17 @@ module Aws
719
764
  ) -> _PutReplicationConfigurationResponseSuccess
720
765
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutReplicationConfigurationResponseSuccess
721
766
 
767
+ interface _RegisterPullTimeUpdateExclusionResponseSuccess
768
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterPullTimeUpdateExclusionResponse]
769
+ def principal_arn: () -> ::String
770
+ def created_at: () -> ::Time
771
+ end
772
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#register_pull_time_update_exclusion-instance_method
773
+ def register_pull_time_update_exclusion: (
774
+ principal_arn: ::String
775
+ ) -> _RegisterPullTimeUpdateExclusionResponseSuccess
776
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterPullTimeUpdateExclusionResponseSuccess
777
+
722
778
  interface _SetRepositoryPolicyResponseSuccess
723
779
  include ::Seahorse::Client::_ResponseSuccess[Types::SetRepositoryPolicyResponse]
724
780
  def registry_id: () -> ::String
@@ -792,6 +848,25 @@ module Aws
792
848
  ) -> _UntagResourceResponseSuccess
793
849
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
794
850
 
851
+ interface _UpdateImageStorageClassResponseSuccess
852
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateImageStorageClassResponse]
853
+ def registry_id: () -> ::String
854
+ def repository_name: () -> ::String
855
+ def image_id: () -> Types::ImageIdentifier
856
+ def image_status: () -> ("ACTIVE" | "ARCHIVED" | "ACTIVATING")
857
+ end
858
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECR/Client.html#update_image_storage_class-instance_method
859
+ def update_image_storage_class: (
860
+ ?registry_id: ::String,
861
+ repository_name: ::String,
862
+ image_id: {
863
+ image_digest: ::String?,
864
+ image_tag: ::String?
865
+ },
866
+ target_storage_class: ("STANDARD" | "ARCHIVE")
867
+ ) -> _UpdateImageStorageClassResponseSuccess
868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateImageStorageClassResponseSuccess
869
+
795
870
  interface _UpdatePullThroughCacheRuleResponseSuccess
796
871
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePullThroughCacheRuleResponse]
797
872
  def ecr_repository_prefix: () -> ::String
data/sig/errors.rbs CHANGED
@@ -11,18 +11,33 @@ module Aws
11
11
  class ServiceError < ::Aws::Errors::ServiceError
12
12
  end
13
13
 
14
+ class BlockedByOrganizationPolicyException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
14
17
  class EmptyUploadException < ::Aws::Errors::ServiceError
15
18
  def message: () -> ::String
16
19
  end
20
+ class ExclusionAlreadyExistsException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ExclusionNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
17
26
  class ImageAlreadyExistsException < ::Aws::Errors::ServiceError
18
27
  def message: () -> ::String
19
28
  end
29
+ class ImageArchivedException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
20
32
  class ImageDigestDoesNotMatchException < ::Aws::Errors::ServiceError
21
33
  def message: () -> ::String
22
34
  end
23
35
  class ImageNotFoundException < ::Aws::Errors::ServiceError
24
36
  def message: () -> ::String
25
37
  end
38
+ class ImageStorageClassUpdateNotSupportedException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
26
41
  class ImageTagAlreadyExistsException < ::Aws::Errors::ServiceError
27
42
  def message: () -> ::String
28
43
  end
data/sig/types.rbs CHANGED
@@ -86,6 +86,11 @@ module Aws::ECR
86
86
  SENSITIVE: []
87
87
  end
88
88
 
89
+ class BlockedByOrganizationPolicyException
90
+ attr_accessor message: ::String
91
+ SENSITIVE: []
92
+ end
93
+
89
94
  class CompleteLayerUploadRequest
90
95
  attr_accessor registry_id: ::String
91
96
  attr_accessor repository_name: ::String
@@ -260,6 +265,16 @@ module Aws::ECR
260
265
  SENSITIVE: []
261
266
  end
262
267
 
268
+ class DeregisterPullTimeUpdateExclusionRequest
269
+ attr_accessor principal_arn: ::String
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class DeregisterPullTimeUpdateExclusionResponse
274
+ attr_accessor principal_arn: ::String
275
+ SENSITIVE: []
276
+ end
277
+
263
278
  class DescribeImageReplicationStatusRequest
264
279
  attr_accessor repository_name: ::String
265
280
  attr_accessor image_id: Types::ImageIdentifier
@@ -295,6 +310,7 @@ module Aws::ECR
295
310
 
296
311
  class DescribeImagesFilter
297
312
  attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
313
+ attr_accessor image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")
298
314
  SENSITIVE: []
299
315
  end
300
316
 
@@ -403,6 +419,16 @@ module Aws::ECR
403
419
  SENSITIVE: []
404
420
  end
405
421
 
422
+ class ExclusionAlreadyExistsException
423
+ attr_accessor message: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ExclusionNotFoundException
428
+ attr_accessor message: ::String
429
+ SENSITIVE: []
430
+ end
431
+
406
432
  class GetAccountSettingRequest
407
433
  attr_accessor name: ::String
408
434
  SENSITIVE: []
@@ -517,6 +543,11 @@ module Aws::ECR
517
543
  SENSITIVE: []
518
544
  end
519
545
 
546
+ class ImageArchivedException
547
+ attr_accessor message: ::String
548
+ SENSITIVE: []
549
+ end
550
+
520
551
  class ImageDetail
521
552
  attr_accessor registry_id: ::String
522
553
  attr_accessor repository_name: ::String
@@ -529,6 +560,10 @@ module Aws::ECR
529
560
  attr_accessor image_manifest_media_type: ::String
530
561
  attr_accessor artifact_media_type: ::String
531
562
  attr_accessor last_recorded_pull_time: ::Time
563
+ attr_accessor subject_manifest_digest: ::String
564
+ attr_accessor image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING")
565
+ attr_accessor last_archived_at: ::Time
566
+ attr_accessor last_activated_at: ::Time
532
567
  SENSITIVE: []
533
568
  end
534
569
 
@@ -539,7 +574,7 @@ module Aws::ECR
539
574
 
540
575
  class ImageFailure
541
576
  attr_accessor image_id: Types::ImageIdentifier
542
- attr_accessor failure_code: ("InvalidImageDigest" | "InvalidImageTag" | "ImageTagDoesNotMatchDigest" | "ImageNotFound" | "MissingDigestAndTag" | "ImageReferencedByManifestList" | "KmsError" | "UpstreamAccessDenied" | "UpstreamTooManyRequests" | "UpstreamUnavailable")
577
+ attr_accessor failure_code: ("InvalidImageDigest" | "InvalidImageTag" | "ImageTagDoesNotMatchDigest" | "ImageNotFound" | "MissingDigestAndTag" | "ImageReferencedByManifestList" | "KmsError" | "UpstreamAccessDenied" | "UpstreamTooManyRequests" | "UpstreamUnavailable" | "ImageInaccessible")
543
578
  attr_accessor failure_reason: ::String
544
579
  SENSITIVE: []
545
580
  end
@@ -555,6 +590,16 @@ module Aws::ECR
555
590
  SENSITIVE: []
556
591
  end
557
592
 
593
+ class ImageReferrer
594
+ attr_accessor digest: ::String
595
+ attr_accessor media_type: ::String
596
+ attr_accessor artifact_type: ::String
597
+ attr_accessor size: ::Integer
598
+ attr_accessor annotations: ::Hash[::String, ::String]
599
+ attr_accessor artifact_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING")
600
+ SENSITIVE: []
601
+ end
602
+
558
603
  class ImageReplicationStatus
559
604
  attr_accessor region: ::String
560
605
  attr_accessor registry_id: ::String
@@ -589,7 +634,7 @@ module Aws::ECR
589
634
  end
590
635
 
591
636
  class ImageScanStatus
592
- attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "FAILED" | "UNSUPPORTED_IMAGE" | "ACTIVE" | "PENDING" | "SCAN_ELIGIBILITY_EXPIRED" | "FINDINGS_UNAVAILABLE" | "LIMIT_EXCEEDED")
637
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETE" | "FAILED" | "UNSUPPORTED_IMAGE" | "ACTIVE" | "PENDING" | "SCAN_ELIGIBILITY_EXPIRED" | "FINDINGS_UNAVAILABLE" | "LIMIT_EXCEEDED" | "IMAGE_ARCHIVED")
593
638
  attr_accessor description: ::String
594
639
  SENSITIVE: []
595
640
  end
@@ -599,6 +644,11 @@ module Aws::ECR
599
644
  SENSITIVE: []
600
645
  end
601
646
 
647
+ class ImageStorageClassUpdateNotSupportedException
648
+ attr_accessor message: ::String
649
+ SENSITIVE: []
650
+ end
651
+
602
652
  class ImageTagAlreadyExistsException
603
653
  attr_accessor message: ::String
604
654
  SENSITIVE: []
@@ -654,7 +704,7 @@ module Aws::ECR
654
704
 
655
705
  class Layer
656
706
  attr_accessor layer_digest: ::String
657
- attr_accessor layer_availability: ("AVAILABLE" | "UNAVAILABLE")
707
+ attr_accessor layer_availability: ("AVAILABLE" | "UNAVAILABLE" | "ARCHIVED")
658
708
  attr_accessor layer_size: ::Integer
659
709
  attr_accessor media_type: ::String
660
710
  SENSITIVE: []
@@ -713,16 +763,19 @@ module Aws::ECR
713
763
  attr_accessor image_pushed_at: ::Time
714
764
  attr_accessor action: Types::LifecyclePolicyRuleAction
715
765
  attr_accessor applied_rule_priority: ::Integer
766
+ attr_accessor storage_class: ("ARCHIVE" | "STANDARD")
716
767
  SENSITIVE: []
717
768
  end
718
769
 
719
770
  class LifecyclePolicyPreviewSummary
720
771
  attr_accessor expiring_image_total_count: ::Integer
772
+ attr_accessor transitioning_image_total_counts: ::Array[Types::TransitioningImageTotalCount]
721
773
  SENSITIVE: []
722
774
  end
723
775
 
724
776
  class LifecyclePolicyRuleAction
725
- attr_accessor type: ("EXPIRE")
777
+ attr_accessor type: ("EXPIRE" | "TRANSITION")
778
+ attr_accessor target_storage_class: ("ARCHIVE")
726
779
  SENSITIVE: []
727
780
  end
728
781
 
@@ -731,8 +784,31 @@ module Aws::ECR
731
784
  SENSITIVE: []
732
785
  end
733
786
 
787
+ class ListImageReferrersFilter
788
+ attr_accessor artifact_types: ::Array[::String]
789
+ attr_accessor artifact_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")
790
+ SENSITIVE: []
791
+ end
792
+
793
+ class ListImageReferrersRequest
794
+ attr_accessor registry_id: ::String
795
+ attr_accessor repository_name: ::String
796
+ attr_accessor subject_id: Types::SubjectIdentifier
797
+ attr_accessor filter: Types::ListImageReferrersFilter
798
+ attr_accessor next_token: ::String
799
+ attr_accessor max_results: ::Integer
800
+ SENSITIVE: []
801
+ end
802
+
803
+ class ListImageReferrersResponse
804
+ attr_accessor referrers: ::Array[Types::ImageReferrer]
805
+ attr_accessor next_token: ::String
806
+ SENSITIVE: []
807
+ end
808
+
734
809
  class ListImagesFilter
735
810
  attr_accessor tag_status: ("TAGGED" | "UNTAGGED" | "ANY")
811
+ attr_accessor image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING" | "ANY")
736
812
  SENSITIVE: []
737
813
  end
738
814
 
@@ -751,6 +827,18 @@ module Aws::ECR
751
827
  SENSITIVE: []
752
828
  end
753
829
 
830
+ class ListPullTimeUpdateExclusionsRequest
831
+ attr_accessor max_results: ::Integer
832
+ attr_accessor next_token: ::String
833
+ SENSITIVE: []
834
+ end
835
+
836
+ class ListPullTimeUpdateExclusionsResponse
837
+ attr_accessor pull_time_update_exclusions: ::Array[::String]
838
+ attr_accessor next_token: ::String
839
+ SENSITIVE: []
840
+ end
841
+
754
842
  class ListTagsForResourceRequest
755
843
  attr_accessor resource_arn: ::String
756
844
  SENSITIVE: []
@@ -912,6 +1000,17 @@ module Aws::ECR
912
1000
  SENSITIVE: []
913
1001
  end
914
1002
 
1003
+ class RegisterPullTimeUpdateExclusionRequest
1004
+ attr_accessor principal_arn: ::String
1005
+ SENSITIVE: []
1006
+ end
1007
+
1008
+ class RegisterPullTimeUpdateExclusionResponse
1009
+ attr_accessor principal_arn: ::String
1010
+ attr_accessor created_at: ::Time
1011
+ SENSITIVE: []
1012
+ end
1013
+
915
1014
  class RegistryPolicyNotFoundException
916
1015
  attr_accessor message: ::String
917
1016
  SENSITIVE: []
@@ -1106,6 +1205,11 @@ module Aws::ECR
1106
1205
  SENSITIVE: []
1107
1206
  end
1108
1207
 
1208
+ class SubjectIdentifier
1209
+ attr_accessor image_digest: ::String
1210
+ SENSITIVE: []
1211
+ end
1212
+
1109
1213
  class Tag
1110
1214
  attr_accessor key: ::String
1111
1215
  attr_accessor value: ::String
@@ -1136,6 +1240,12 @@ module Aws::ECR
1136
1240
  SENSITIVE: []
1137
1241
  end
1138
1242
 
1243
+ class TransitioningImageTotalCount
1244
+ attr_accessor target_storage_class: ("ARCHIVE")
1245
+ attr_accessor image_total_count: ::Integer
1246
+ SENSITIVE: []
1247
+ end
1248
+
1139
1249
  class UnableToAccessSecretException
1140
1250
  attr_accessor message: ::String
1141
1251
  SENSITIVE: []
@@ -1175,6 +1285,22 @@ module Aws::ECR
1175
1285
  class UntagResourceResponse < Aws::EmptyStructure
1176
1286
  end
1177
1287
 
1288
+ class UpdateImageStorageClassRequest
1289
+ attr_accessor registry_id: ::String
1290
+ attr_accessor repository_name: ::String
1291
+ attr_accessor image_id: Types::ImageIdentifier
1292
+ attr_accessor target_storage_class: ("STANDARD" | "ARCHIVE")
1293
+ SENSITIVE: []
1294
+ end
1295
+
1296
+ class UpdateImageStorageClassResponse
1297
+ attr_accessor registry_id: ::String
1298
+ attr_accessor repository_name: ::String
1299
+ attr_accessor image_id: Types::ImageIdentifier
1300
+ attr_accessor image_status: ("ACTIVE" | "ARCHIVED" | "ACTIVATING")
1301
+ SENSITIVE: []
1302
+ end
1303
+
1178
1304
  class UpdatePullThroughCacheRuleRequest
1179
1305
  attr_accessor registry_id: ::String
1180
1306
  attr_accessor ecr_repository_prefix: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.113.0
4
+ version: 1.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services