aws-sdk-ecr 1.113.0 → 1.115.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.
@@ -292,6 +292,20 @@ module Aws::ECR
292
292
  include Aws::Structure
293
293
  end
294
294
 
295
+ # The operation did not succeed because the account is managed by a
296
+ # organization policy.
297
+ #
298
+ # @!attribute [rw] message
299
+ # @return [String]
300
+ #
301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BlockedByOrganizationPolicyException AWS API Documentation
302
+ #
303
+ class BlockedByOrganizationPolicyException < Struct.new(
304
+ :message)
305
+ SENSITIVE = []
306
+ include Aws::Structure
307
+ end
308
+
295
309
  # @!attribute [rw] registry_id
296
310
  # The Amazon Web Services account ID associated with the registry to
297
311
  # which to upload layers. If you do not specify a registry, the
@@ -523,9 +537,9 @@ module Aws::ECR
523
537
  # @return [String]
524
538
  #
525
539
  # @!attribute [rw] image_tag_mutability_exclusion_filters
526
- # Creates a repository creation template with a list of filters that
527
- # define which image tags can override the default image tag
528
- # mutability setting.
540
+ # A list of filters that specify which image tags should be excluded
541
+ # from the repository creation template's image tag mutability
542
+ # setting.
529
543
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
530
544
  #
531
545
  # @!attribute [rw] repository_policy
@@ -622,11 +636,15 @@ module Aws::ECR
622
636
  # @return [String]
623
637
  #
624
638
  # @!attribute [rw] image_tag_mutability_exclusion_filters
625
- # Creates a repository with a list of filters that define which image
626
- # tags can override the default image tag mutability setting.
639
+ # A list of filters that specify which image tags should be excluded
640
+ # from the repository's image tag mutability setting.
627
641
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
628
642
  #
629
643
  # @!attribute [rw] image_scanning_configuration
644
+ # The `imageScanningConfiguration` parameter is being deprecated, in
645
+ # favor of specifying the image scanning configuration at the registry
646
+ # level. For more information, see `PutRegistryScanningConfiguration`.
647
+ #
630
648
  # The image scanning configuration for the repository. This determines
631
649
  # whether images are scanned for known vulnerabilities after being
632
650
  # pushed to the repository.
@@ -991,6 +1009,55 @@ module Aws::ECR
991
1009
  include Aws::Structure
992
1010
  end
993
1011
 
1012
+ # @api private
1013
+ #
1014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteSigningConfigurationRequest AWS API Documentation
1015
+ #
1016
+ class DeleteSigningConfigurationRequest < Aws::EmptyStructure; end
1017
+
1018
+ # @!attribute [rw] registry_id
1019
+ # The Amazon Web Services account ID associated with the registry.
1020
+ # @return [String]
1021
+ #
1022
+ # @!attribute [rw] signing_configuration
1023
+ # The registry's deleted signing configuration.
1024
+ # @return [Types::SigningConfiguration]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteSigningConfigurationResponse AWS API Documentation
1027
+ #
1028
+ class DeleteSigningConfigurationResponse < Struct.new(
1029
+ :registry_id,
1030
+ :signing_configuration)
1031
+ SENSITIVE = []
1032
+ include Aws::Structure
1033
+ end
1034
+
1035
+ # @!attribute [rw] principal_arn
1036
+ # The ARN of the IAM principal to remove from the pull time update
1037
+ # exclusion list.
1038
+ # @return [String]
1039
+ #
1040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeregisterPullTimeUpdateExclusionRequest AWS API Documentation
1041
+ #
1042
+ class DeregisterPullTimeUpdateExclusionRequest < Struct.new(
1043
+ :principal_arn)
1044
+ SENSITIVE = []
1045
+ include Aws::Structure
1046
+ end
1047
+
1048
+ # @!attribute [rw] principal_arn
1049
+ # The ARN of the IAM principal that was removed from the pull time
1050
+ # update exclusion list.
1051
+ # @return [String]
1052
+ #
1053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeregisterPullTimeUpdateExclusionResponse AWS API Documentation
1054
+ #
1055
+ class DeregisterPullTimeUpdateExclusionResponse < Struct.new(
1056
+ :principal_arn)
1057
+ SENSITIVE = []
1058
+ include Aws::Structure
1059
+ end
1060
+
994
1061
  # @!attribute [rw] repository_name
995
1062
  # The name of the repository that the image is in.
996
1063
  # @return [String]
@@ -1131,6 +1198,58 @@ module Aws::ECR
1131
1198
  include Aws::Structure
1132
1199
  end
1133
1200
 
1201
+ # @!attribute [rw] repository_name
1202
+ # The name of the repository that contains the image.
1203
+ # @return [String]
1204
+ #
1205
+ # @!attribute [rw] image_id
1206
+ # An object containing identifying information for an image.
1207
+ # @return [Types::ImageIdentifier]
1208
+ #
1209
+ # @!attribute [rw] registry_id
1210
+ # The Amazon Web Services account ID associated with the registry that
1211
+ # contains the repository. If you do not specify a registry, the
1212
+ # default registry is assumed.
1213
+ # @return [String]
1214
+ #
1215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageSigningStatusRequest AWS API Documentation
1216
+ #
1217
+ class DescribeImageSigningStatusRequest < Struct.new(
1218
+ :repository_name,
1219
+ :image_id,
1220
+ :registry_id)
1221
+ SENSITIVE = []
1222
+ include Aws::Structure
1223
+ end
1224
+
1225
+ # @!attribute [rw] repository_name
1226
+ # The name of the repository.
1227
+ # @return [String]
1228
+ #
1229
+ # @!attribute [rw] image_id
1230
+ # An object with identifying information for the image.
1231
+ # @return [Types::ImageIdentifier]
1232
+ #
1233
+ # @!attribute [rw] registry_id
1234
+ # The Amazon Web Services account ID associated with the registry.
1235
+ # @return [String]
1236
+ #
1237
+ # @!attribute [rw] signing_statuses
1238
+ # A list of signing statuses for the specified image. Each status
1239
+ # corresponds to a signing profile.
1240
+ # @return [Array<Types::ImageSigningStatus>]
1241
+ #
1242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageSigningStatusResponse AWS API Documentation
1243
+ #
1244
+ class DescribeImageSigningStatusResponse < Struct.new(
1245
+ :repository_name,
1246
+ :image_id,
1247
+ :registry_id,
1248
+ :signing_statuses)
1249
+ SENSITIVE = []
1250
+ include Aws::Structure
1251
+ end
1252
+
1134
1253
  # An object representing a filter on a DescribeImages operation.
1135
1254
  #
1136
1255
  # @!attribute [rw] tag_status
@@ -1138,10 +1257,16 @@ module Aws::ECR
1138
1257
  # can filter results based on whether they are `TAGGED` or `UNTAGGED`.
1139
1258
  # @return [String]
1140
1259
  #
1260
+ # @!attribute [rw] image_status
1261
+ # The image status with which to filter your DescribeImages results.
1262
+ # Valid values are `ACTIVE`, `ARCHIVED`, and `ACTIVATING`.
1263
+ # @return [String]
1264
+ #
1141
1265
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter AWS API Documentation
1142
1266
  #
1143
1267
  class DescribeImagesFilter < Struct.new(
1144
- :tag_status)
1268
+ :tag_status,
1269
+ :image_status)
1145
1270
  SENSITIVE = []
1146
1271
  include Aws::Structure
1147
1272
  end
@@ -1681,6 +1806,33 @@ module Aws::ECR
1681
1806
  include Aws::Structure
1682
1807
  end
1683
1808
 
1809
+ # The specified pull time update exclusion already exists for the
1810
+ # registry.
1811
+ #
1812
+ # @!attribute [rw] message
1813
+ # @return [String]
1814
+ #
1815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ExclusionAlreadyExistsException AWS API Documentation
1816
+ #
1817
+ class ExclusionAlreadyExistsException < Struct.new(
1818
+ :message)
1819
+ SENSITIVE = []
1820
+ include Aws::Structure
1821
+ end
1822
+
1823
+ # The specified pull time update exclusion was not found.
1824
+ #
1825
+ # @!attribute [rw] message
1826
+ # @return [String]
1827
+ #
1828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ExclusionNotFoundException AWS API Documentation
1829
+ #
1830
+ class ExclusionNotFoundException < Struct.new(
1831
+ :message)
1832
+ SENSITIVE = []
1833
+ include Aws::Structure
1834
+ end
1835
+
1684
1836
  # @!attribute [rw] name
1685
1837
  # The name of the account setting, such as `BASIC_SCAN_TYPE_VERSION`
1686
1838
  # or `REGISTRY_POLICY_SCOPE`.
@@ -2024,6 +2176,29 @@ module Aws::ECR
2024
2176
  include Aws::Structure
2025
2177
  end
2026
2178
 
2179
+ # @api private
2180
+ #
2181
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetSigningConfigurationRequest AWS API Documentation
2182
+ #
2183
+ class GetSigningConfigurationRequest < Aws::EmptyStructure; end
2184
+
2185
+ # @!attribute [rw] registry_id
2186
+ # The Amazon Web Services account ID associated with the registry.
2187
+ # @return [String]
2188
+ #
2189
+ # @!attribute [rw] signing_configuration
2190
+ # The registry's signing configuration.
2191
+ # @return [Types::SigningConfiguration]
2192
+ #
2193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetSigningConfigurationResponse AWS API Documentation
2194
+ #
2195
+ class GetSigningConfigurationResponse < Struct.new(
2196
+ :registry_id,
2197
+ :signing_configuration)
2198
+ SENSITIVE = []
2199
+ include Aws::Structure
2200
+ end
2201
+
2027
2202
  # An object representing an Amazon ECR image.
2028
2203
  #
2029
2204
  # @!attribute [rw] registry_id
@@ -2075,6 +2250,19 @@ module Aws::ECR
2075
2250
  include Aws::Structure
2076
2251
  end
2077
2252
 
2253
+ # The specified image is archived and cannot be scanned.
2254
+ #
2255
+ # @!attribute [rw] message
2256
+ # @return [String]
2257
+ #
2258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageArchivedException AWS API Documentation
2259
+ #
2260
+ class ImageArchivedException < Struct.new(
2261
+ :message)
2262
+ SENSITIVE = []
2263
+ include Aws::Structure
2264
+ end
2265
+
2078
2266
  # An object that describes an image returned by a DescribeImages
2079
2267
  # operation.
2080
2268
  #
@@ -2146,6 +2334,25 @@ module Aws::ECR
2146
2334
  # </note>
2147
2335
  # @return [Time]
2148
2336
  #
2337
+ # @!attribute [rw] subject_manifest_digest
2338
+ # The digest of the subject manifest for images that are referrers.
2339
+ # @return [String]
2340
+ #
2341
+ # @!attribute [rw] image_status
2342
+ # The current status of the image.
2343
+ # @return [String]
2344
+ #
2345
+ # @!attribute [rw] last_archived_at
2346
+ # The date and time, expressed in standard JavaScript date format,
2347
+ # when the image was last transitioned to Amazon ECR archive.
2348
+ # @return [Time]
2349
+ #
2350
+ # @!attribute [rw] last_activated_at
2351
+ # The date and time, expressed in standard JavaScript date format,
2352
+ # when the image was last restored from Amazon ECR archive to Amazon
2353
+ # ECR standard.
2354
+ # @return [Time]
2355
+ #
2149
2356
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail AWS API Documentation
2150
2357
  #
2151
2358
  class ImageDetail < Struct.new(
@@ -2159,7 +2366,11 @@ module Aws::ECR
2159
2366
  :image_scan_findings_summary,
2160
2367
  :image_manifest_media_type,
2161
2368
  :artifact_media_type,
2162
- :last_recorded_pull_time)
2369
+ :last_recorded_pull_time,
2370
+ :subject_manifest_digest,
2371
+ :image_status,
2372
+ :last_archived_at,
2373
+ :last_activated_at)
2163
2374
  SENSITIVE = []
2164
2375
  include Aws::Structure
2165
2376
  end
@@ -2235,6 +2446,46 @@ module Aws::ECR
2235
2446
  include Aws::Structure
2236
2447
  end
2237
2448
 
2449
+ # An object representing an artifact associated with a subject image.
2450
+ #
2451
+ # @!attribute [rw] digest
2452
+ # The digest of the artifact manifest.
2453
+ # @return [String]
2454
+ #
2455
+ # @!attribute [rw] media_type
2456
+ # The media type of the artifact manifest.
2457
+ # @return [String]
2458
+ #
2459
+ # @!attribute [rw] artifact_type
2460
+ # A string identifying the type of artifact.
2461
+ # @return [String]
2462
+ #
2463
+ # @!attribute [rw] size
2464
+ # The size, in bytes, of the artifact.
2465
+ # @return [Integer]
2466
+ #
2467
+ # @!attribute [rw] annotations
2468
+ # A map of annotations associated with the artifact.
2469
+ # @return [Hash<String,String>]
2470
+ #
2471
+ # @!attribute [rw] artifact_status
2472
+ # The status of the artifact. Valid values are `ACTIVE`, `ARCHIVED`,
2473
+ # or `ACTIVATING`.
2474
+ # @return [String]
2475
+ #
2476
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageReferrer AWS API Documentation
2477
+ #
2478
+ class ImageReferrer < Struct.new(
2479
+ :digest,
2480
+ :media_type,
2481
+ :artifact_type,
2482
+ :size,
2483
+ :annotations,
2484
+ :artifact_status)
2485
+ SENSITIVE = []
2486
+ include Aws::Structure
2487
+ end
2488
+
2238
2489
  # The status of the replication process for an image.
2239
2490
  #
2240
2491
  # @!attribute [rw] region
@@ -2400,6 +2651,58 @@ module Aws::ECR
2400
2651
  include Aws::Structure
2401
2652
  end
2402
2653
 
2654
+ # The signing status for an image. Each status corresponds to a signing
2655
+ # profile.
2656
+ #
2657
+ # @!attribute [rw] signing_profile_arn
2658
+ # The ARN of the Amazon Web Services Signer signing profile used to
2659
+ # sign the image.
2660
+ # @return [String]
2661
+ #
2662
+ # @!attribute [rw] failure_code
2663
+ # The failure code, which is only present if `status` is `FAILED`.
2664
+ # @return [String]
2665
+ #
2666
+ # @!attribute [rw] failure_reason
2667
+ # A description of why signing the image failed. This field is only
2668
+ # present if `status` is `FAILED`.
2669
+ # @return [String]
2670
+ #
2671
+ # @!attribute [rw] status
2672
+ # The image's signing status. Possible values are:
2673
+ #
2674
+ # * `IN_PROGRESS` - Signing is currently in progress.
2675
+ #
2676
+ # * `COMPLETE` - The signature was successfully generated.
2677
+ #
2678
+ # * `FAILED` - Signing failed. See `failureCode` and `failureReason`
2679
+ # for details.
2680
+ # @return [String]
2681
+ #
2682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageSigningStatus AWS API Documentation
2683
+ #
2684
+ class ImageSigningStatus < Struct.new(
2685
+ :signing_profile_arn,
2686
+ :failure_code,
2687
+ :failure_reason,
2688
+ :status)
2689
+ SENSITIVE = []
2690
+ include Aws::Structure
2691
+ end
2692
+
2693
+ # The requested image storage class update is not supported.
2694
+ #
2695
+ # @!attribute [rw] message
2696
+ # @return [String]
2697
+ #
2698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageStorageClassUpdateNotSupportedException AWS API Documentation
2699
+ #
2700
+ class ImageStorageClassUpdateNotSupportedException < Struct.new(
2701
+ :message)
2702
+ SENSITIVE = []
2703
+ include Aws::Structure
2704
+ end
2705
+
2403
2706
  # The specified image is tagged with a tag that already exists. The
2404
2707
  # repository is configured for tag immutability.
2405
2708
  #
@@ -2414,18 +2717,17 @@ module Aws::ECR
2414
2717
  include Aws::Structure
2415
2718
  end
2416
2719
 
2417
- # Overrides the default image tag mutability setting of the repository
2418
- # for image tags that match the specified filters.
2720
+ # A filter that specifies which image tags should be excluded from the
2721
+ # repository's image tag mutability setting.
2419
2722
  #
2420
2723
  # @!attribute [rw] filter_type
2421
- # Specifies the type of filter to use for excluding image tags from
2422
- # the repository's mutability setting.
2724
+ # The type of filter to apply for excluding image tags from mutability
2725
+ # settings.
2423
2726
  # @return [String]
2424
2727
  #
2425
2728
  # @!attribute [rw] filter
2426
- # The value to use when filtering image tags. Must be either a regular
2427
- # expression pattern or a tag prefix value based on the specified
2428
- # filter type.
2729
+ # The filter value used to match image tags for exclusion from
2730
+ # mutability settings.
2429
2731
  # @return [String]
2430
2732
  #
2431
2733
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageTagMutabilityExclusionFilter AWS API Documentation
@@ -2765,6 +3067,10 @@ module Aws::ECR
2765
3067
  # The priority of the applied rule.
2766
3068
  # @return [Integer]
2767
3069
  #
3070
+ # @!attribute [rw] storage_class
3071
+ # The storage class of the image.
3072
+ # @return [String]
3073
+ #
2768
3074
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult AWS API Documentation
2769
3075
  #
2770
3076
  class LifecyclePolicyPreviewResult < Struct.new(
@@ -2772,7 +3078,8 @@ module Aws::ECR
2772
3078
  :image_digest,
2773
3079
  :image_pushed_at,
2774
3080
  :action,
2775
- :applied_rule_priority)
3081
+ :applied_rule_priority,
3082
+ :storage_class)
2776
3083
  SENSITIVE = []
2777
3084
  include Aws::Structure
2778
3085
  end
@@ -2783,10 +3090,17 @@ module Aws::ECR
2783
3090
  # The number of expiring images.
2784
3091
  # @return [Integer]
2785
3092
  #
3093
+ # @!attribute [rw] transitioning_image_total_counts
3094
+ # The total count of images that will be transitioned to each storage
3095
+ # class. This field is only present if at least one image will be
3096
+ # transitoned in the summary.
3097
+ # @return [Array<Types::TransitioningImageTotalCount>]
3098
+ #
2786
3099
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary AWS API Documentation
2787
3100
  #
2788
3101
  class LifecyclePolicyPreviewSummary < Struct.new(
2789
- :expiring_image_total_count)
3102
+ :expiring_image_total_count,
3103
+ :transitioning_image_total_counts)
2790
3104
  SENSITIVE = []
2791
3105
  include Aws::Structure
2792
3106
  end
@@ -2797,10 +3111,16 @@ module Aws::ECR
2797
3111
  # The type of action to be taken.
2798
3112
  # @return [String]
2799
3113
  #
3114
+ # @!attribute [rw] target_storage_class
3115
+ # The target storage class for the action. This is only present when
3116
+ # the `type` is `TRANSITION.`
3117
+ # @return [String]
3118
+ #
2800
3119
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction AWS API Documentation
2801
3120
  #
2802
3121
  class LifecyclePolicyRuleAction < Struct.new(
2803
- :type)
3122
+ :type,
3123
+ :target_storage_class)
2804
3124
  SENSITIVE = []
2805
3125
  include Aws::Structure
2806
3126
  end
@@ -2825,17 +3145,127 @@ module Aws::ECR
2825
3145
  include Aws::Structure
2826
3146
  end
2827
3147
 
3148
+ # An object representing a filter on a ListImageReferrers operation.
3149
+ #
3150
+ # @!attribute [rw] artifact_types
3151
+ # The artifact types with which to filter your ListImageReferrers
3152
+ # results.
3153
+ # @return [Array<String>]
3154
+ #
3155
+ # @!attribute [rw] artifact_status
3156
+ # The artifact status with which to filter your ListImageReferrers
3157
+ # results. Valid values are `ACTIVE`, `ARCHIVED`, `ACTIVATING`, or
3158
+ # `ANY`. If not specified, only artifacts with `ACTIVE` status are
3159
+ # returned.
3160
+ # @return [String]
3161
+ #
3162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersFilter AWS API Documentation
3163
+ #
3164
+ class ListImageReferrersFilter < Struct.new(
3165
+ :artifact_types,
3166
+ :artifact_status)
3167
+ SENSITIVE = []
3168
+ include Aws::Structure
3169
+ end
3170
+
3171
+ # @!attribute [rw] registry_id
3172
+ # The Amazon Web Services account ID associated with the registry that
3173
+ # contains the repository in which to list image referrers. If you do
3174
+ # not specify a registry, the default registry is assumed.
3175
+ # @return [String]
3176
+ #
3177
+ # @!attribute [rw] repository_name
3178
+ # The name of the repository that contains the subject image.
3179
+ # @return [String]
3180
+ #
3181
+ # @!attribute [rw] subject_id
3182
+ # An object containing the image digest of the subject image for which
3183
+ # to retrieve associated artifacts.
3184
+ # @return [Types::SubjectIdentifier]
3185
+ #
3186
+ # @!attribute [rw] filter
3187
+ # The filter key and value with which to filter your
3188
+ # `ListImageReferrers` results. If no filter is specified, only
3189
+ # artifacts with `ACTIVE` status are returned.
3190
+ # @return [Types::ListImageReferrersFilter]
3191
+ #
3192
+ # @!attribute [rw] next_token
3193
+ # The `nextToken` value returned from a previous paginated
3194
+ # `ListImageReferrers` request where `maxResults` was used and the
3195
+ # results exceeded the value of that parameter. Pagination continues
3196
+ # from the end of the previous results that returned the `nextToken`
3197
+ # value. This value is `null` when there are no more results to
3198
+ # return.
3199
+ #
3200
+ # <note markdown="1"> This token should be treated as an opaque identifier that is only
3201
+ # used to retrieve the next items in a list and not for other
3202
+ # programmatic purposes.
3203
+ #
3204
+ # </note>
3205
+ # @return [String]
3206
+ #
3207
+ # @!attribute [rw] max_results
3208
+ # The maximum number of image referrer results returned by
3209
+ # `ListImageReferrers` in paginated output. When this parameter is
3210
+ # used, `ListImageReferrers` only returns `maxResults` results in a
3211
+ # single page along with a `nextToken` response element. The remaining
3212
+ # results of the initial request can be seen by sending another
3213
+ # `ListImageReferrers` request with the returned `nextToken` value.
3214
+ # This value can be between 1 and 50. If this parameter is not used,
3215
+ # then `ListImageReferrers` returns up to 50 results and a `nextToken`
3216
+ # value, if applicable.
3217
+ # @return [Integer]
3218
+ #
3219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersRequest AWS API Documentation
3220
+ #
3221
+ class ListImageReferrersRequest < Struct.new(
3222
+ :registry_id,
3223
+ :repository_name,
3224
+ :subject_id,
3225
+ :filter,
3226
+ :next_token,
3227
+ :max_results)
3228
+ SENSITIVE = []
3229
+ include Aws::Structure
3230
+ end
3231
+
3232
+ # @!attribute [rw] referrers
3233
+ # The list of artifacts associated with the subject image.
3234
+ # @return [Array<Types::ImageReferrer>]
3235
+ #
3236
+ # @!attribute [rw] next_token
3237
+ # The `nextToken` value to include in a future `ListImageReferrers`
3238
+ # request. When the results of a `ListImageReferrers` request exceed
3239
+ # `maxResults`, this value can be used to retrieve the next page of
3240
+ # results. This value is `null` when there are no more results to
3241
+ # return.
3242
+ # @return [String]
3243
+ #
3244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersResponse AWS API Documentation
3245
+ #
3246
+ class ListImageReferrersResponse < Struct.new(
3247
+ :referrers,
3248
+ :next_token)
3249
+ SENSITIVE = []
3250
+ include Aws::Structure
3251
+ end
3252
+
2828
3253
  # An object representing a filter on a ListImages operation.
2829
3254
  #
2830
3255
  # @!attribute [rw] tag_status
2831
- # The tag status with which to filter your ListImages results. You can
2832
- # filter results based on whether they are `TAGGED` or `UNTAGGED`.
3256
+ # The tag status with which to filter your ListImages results.
3257
+ # @return [String]
3258
+ #
3259
+ # @!attribute [rw] image_status
3260
+ # The image status with which to filter your ListImages results. Valid
3261
+ # values are `ACTIVE`, `ARCHIVED`, and `ACTIVATING`.
2833
3262
  # @return [String]
2834
3263
  #
2835
3264
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter AWS API Documentation
2836
3265
  #
2837
3266
  class ListImagesFilter < Struct.new(
2838
- :tag_status)
3267
+ :tag_status,
3268
+ :image_status)
2839
3269
  SENSITIVE = []
2840
3270
  include Aws::Structure
2841
3271
  end
@@ -2912,6 +3342,65 @@ module Aws::ECR
2912
3342
  include Aws::Structure
2913
3343
  end
2914
3344
 
3345
+ # @!attribute [rw] max_results
3346
+ # The maximum number of pull time update exclusion results returned by
3347
+ # `ListPullTimeUpdateExclusions` in paginated output. When this
3348
+ # parameter is used, `ListPullTimeUpdateExclusions` only returns
3349
+ # `maxResults` results in a single page along with a `nextToken`
3350
+ # response element. The remaining results of the initial request can
3351
+ # be seen by sending another `ListPullTimeUpdateExclusions` request
3352
+ # with the returned `nextToken` value. This value can be between 1 and
3353
+ # 1000. If this parameter is not used, then
3354
+ # `ListPullTimeUpdateExclusions` returns up to 100 results and a
3355
+ # `nextToken` value, if applicable.
3356
+ # @return [Integer]
3357
+ #
3358
+ # @!attribute [rw] next_token
3359
+ # The `nextToken` value returned from a previous paginated
3360
+ # `ListPullTimeUpdateExclusions` request where `maxResults` was used
3361
+ # and the results exceeded the value of that parameter. Pagination
3362
+ # continues from the end of the previous results that returned the
3363
+ # `nextToken` value. This value is `null` when there are no more
3364
+ # results to return.
3365
+ #
3366
+ # <note markdown="1"> This token should be treated as an opaque identifier that is only
3367
+ # used to retrieve the next items in a list and not for other
3368
+ # programmatic purposes.
3369
+ #
3370
+ # </note>
3371
+ # @return [String]
3372
+ #
3373
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListPullTimeUpdateExclusionsRequest AWS API Documentation
3374
+ #
3375
+ class ListPullTimeUpdateExclusionsRequest < Struct.new(
3376
+ :max_results,
3377
+ :next_token)
3378
+ SENSITIVE = []
3379
+ include Aws::Structure
3380
+ end
3381
+
3382
+ # @!attribute [rw] pull_time_update_exclusions
3383
+ # The list of IAM principal ARNs that are excluded from having their
3384
+ # image pull times recorded.
3385
+ # @return [Array<String>]
3386
+ #
3387
+ # @!attribute [rw] next_token
3388
+ # The `nextToken` value to include in a future
3389
+ # `ListPullTimeUpdateExclusions` request. When the results of a
3390
+ # `ListPullTimeUpdateExclusions` request exceed `maxResults`, this
3391
+ # value can be used to retrieve the next page of results. This value
3392
+ # is `null` when there are no more results to return.
3393
+ # @return [String]
3394
+ #
3395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListPullTimeUpdateExclusionsResponse AWS API Documentation
3396
+ #
3397
+ class ListPullTimeUpdateExclusionsResponse < Struct.new(
3398
+ :pull_time_update_exclusions,
3399
+ :next_token)
3400
+ SENSITIVE = []
3401
+ include Aws::Structure
3402
+ end
3403
+
2915
3404
  # @!attribute [rw] resource_arn
2916
3405
  # The Amazon Resource Name (ARN) that identifies the resource for
2917
3406
  # which to list the tags. Currently, the only supported resource is an
@@ -3148,9 +3637,7 @@ module Aws::ECR
3148
3637
  # @return [String]
3149
3638
  #
3150
3639
  # @!attribute [rw] image_tag
3151
- # The tag to associate with the image. This parameter is required for
3152
- # images that use the Docker Image Manifest V2 Schema 2 or Open
3153
- # Container Initiative (OCI) formats.
3640
+ # The tag to associate with the image. This parameter is optional.
3154
3641
  # @return [String]
3155
3642
  #
3156
3643
  # @!attribute [rw] image_digest
@@ -3252,8 +3739,8 @@ module Aws::ECR
3252
3739
  # @return [String]
3253
3740
  #
3254
3741
  # @!attribute [rw] image_tag_mutability_exclusion_filters
3255
- # Creates or updates a repository with filters that define which image
3256
- # tags can override the default image tag mutability setting.
3742
+ # A list of filters that specify which image tags should be excluded
3743
+ # from the image tag mutability setting being applied.
3257
3744
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
3258
3745
  #
3259
3746
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityRequest AWS API Documentation
@@ -3280,9 +3767,8 @@ module Aws::ECR
3280
3767
  # @return [String]
3281
3768
  #
3282
3769
  # @!attribute [rw] image_tag_mutability_exclusion_filters
3283
- # Returns a list of filters that were defined for a repository. These
3284
- # filters determine which image tags can override the default image
3285
- # tag mutability setting of the repository.
3770
+ # The list of filters that specify which image tags are excluded from
3771
+ # the repository's image tag mutability setting.
3286
3772
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
3287
3773
  #
3288
3774
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityResponse AWS API Documentation
@@ -3445,6 +3931,30 @@ module Aws::ECR
3445
3931
  include Aws::Structure
3446
3932
  end
3447
3933
 
3934
+ # @!attribute [rw] signing_configuration
3935
+ # The signing configuration to assign to the registry.
3936
+ # @return [Types::SigningConfiguration]
3937
+ #
3938
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutSigningConfigurationRequest AWS API Documentation
3939
+ #
3940
+ class PutSigningConfigurationRequest < Struct.new(
3941
+ :signing_configuration)
3942
+ SENSITIVE = []
3943
+ include Aws::Structure
3944
+ end
3945
+
3946
+ # @!attribute [rw] signing_configuration
3947
+ # The registry's updated signing configuration.
3948
+ # @return [Types::SigningConfiguration]
3949
+ #
3950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutSigningConfigurationResponse AWS API Documentation
3951
+ #
3952
+ class PutSigningConfigurationResponse < Struct.new(
3953
+ :signing_configuration)
3954
+ SENSITIVE = []
3955
+ include Aws::Structure
3956
+ end
3957
+
3448
3958
  # Details about the recommended course of action to remediate the
3449
3959
  # finding.
3450
3960
  #
@@ -3478,6 +3988,38 @@ module Aws::ECR
3478
3988
  include Aws::Structure
3479
3989
  end
3480
3990
 
3991
+ # @!attribute [rw] principal_arn
3992
+ # The ARN of the IAM principal to exclude from having image pull times
3993
+ # recorded.
3994
+ # @return [String]
3995
+ #
3996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegisterPullTimeUpdateExclusionRequest AWS API Documentation
3997
+ #
3998
+ class RegisterPullTimeUpdateExclusionRequest < Struct.new(
3999
+ :principal_arn)
4000
+ SENSITIVE = []
4001
+ include Aws::Structure
4002
+ end
4003
+
4004
+ # @!attribute [rw] principal_arn
4005
+ # The ARN of the IAM principal that was added to the pull time update
4006
+ # exclusion list.
4007
+ # @return [String]
4008
+ #
4009
+ # @!attribute [rw] created_at
4010
+ # The date and time, expressed in standard JavaScript date format,
4011
+ # when the exclusion was created.
4012
+ # @return [Time]
4013
+ #
4014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegisterPullTimeUpdateExclusionResponse AWS API Documentation
4015
+ #
4016
+ class RegisterPullTimeUpdateExclusionResponse < Struct.new(
4017
+ :principal_arn,
4018
+ :created_at)
4019
+ SENSITIVE = []
4020
+ include Aws::Structure
4021
+ end
4022
+
3481
4023
  # The registry doesn't have an associated registry policy.
3482
4024
  #
3483
4025
  # @!attribute [rw] message
@@ -3645,9 +4187,8 @@ module Aws::ECR
3645
4187
  # @return [String]
3646
4188
  #
3647
4189
  # @!attribute [rw] image_tag_mutability_exclusion_filters
3648
- # The image tag mutability exclusion filters associated with the
3649
- # repository. These filters specify which image tags can override the
3650
- # repository's default image tag mutability setting.
4190
+ # A list of filters that specify which image tags are excluded from
4191
+ # the repository's image tag mutability setting.
3651
4192
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
3652
4193
  #
3653
4194
  # @!attribute [rw] image_scanning_configuration
@@ -3723,10 +4264,8 @@ module Aws::ECR
3723
4264
  # @return [String]
3724
4265
  #
3725
4266
  # @!attribute [rw] image_tag_mutability_exclusion_filters
3726
- # Defines the image tag mutability exclusion filters to apply when
3727
- # creating repositories from this template. These filters specify
3728
- # which image tags can override the repository's default image tag
3729
- # mutability setting.
4267
+ # A list of filters that specify which image tags are excluded from
4268
+ # the repository creation template's image tag mutability setting.
3730
4269
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
3731
4270
  #
3732
4271
  # @!attribute [rw] repository_policy
@@ -4103,6 +4642,103 @@ module Aws::ECR
4103
4642
  include Aws::Structure
4104
4643
  end
4105
4644
 
4645
+ # The signing configuration for a registry, which specifies rules for
4646
+ # automatically signing images when pushed.
4647
+ #
4648
+ # @!attribute [rw] rules
4649
+ # A list of signing rules. Each rule defines a signing profile and
4650
+ # optional repository filters that determine which images are
4651
+ # automatically signed. Maximum of 10 rules.
4652
+ # @return [Array<Types::SigningRule>]
4653
+ #
4654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningConfiguration AWS API Documentation
4655
+ #
4656
+ class SigningConfiguration < Struct.new(
4657
+ :rules)
4658
+ SENSITIVE = []
4659
+ include Aws::Structure
4660
+ end
4661
+
4662
+ # The specified signing configuration was not found. This occurs when
4663
+ # attempting to retrieve or delete a signing configuration that does not
4664
+ # exist.
4665
+ #
4666
+ # @!attribute [rw] message
4667
+ # The error message associated with the exception.
4668
+ # @return [String]
4669
+ #
4670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningConfigurationNotFoundException AWS API Documentation
4671
+ #
4672
+ class SigningConfigurationNotFoundException < Struct.new(
4673
+ :message)
4674
+ SENSITIVE = []
4675
+ include Aws::Structure
4676
+ end
4677
+
4678
+ # A repository filter used to determine which repositories have their
4679
+ # images automatically signed on push. Each filter consists of a filter
4680
+ # type and filter value.
4681
+ #
4682
+ # @!attribute [rw] filter
4683
+ # The filter value used to match repository names. When using
4684
+ # `WILDCARD_MATCH`, the `*` character matches any sequence of
4685
+ # characters.
4686
+ #
4687
+ # Examples:
4688
+ #
4689
+ # * `myapp/*` - Matches all repositories starting with `myapp/`
4690
+ #
4691
+ # * `*/production` - Matches all repositories ending with
4692
+ # `/production`
4693
+ #
4694
+ # * `*prod*` - Matches all repositories containing `prod`
4695
+ # @return [String]
4696
+ #
4697
+ # @!attribute [rw] filter_type
4698
+ # The type of filter to apply. Currently, only `WILDCARD_MATCH` is
4699
+ # supported, which uses wildcard patterns to match repository names.
4700
+ # @return [String]
4701
+ #
4702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningRepositoryFilter AWS API Documentation
4703
+ #
4704
+ class SigningRepositoryFilter < Struct.new(
4705
+ :filter,
4706
+ :filter_type)
4707
+ SENSITIVE = []
4708
+ include Aws::Structure
4709
+ end
4710
+
4711
+ # A signing rule that specifies a signing profile and optional
4712
+ # repository filters. When an image is pushed to a matching repository,
4713
+ # a signing job is created using the specified profile.
4714
+ #
4715
+ # @!attribute [rw] signing_profile_arn
4716
+ # The ARN of the Amazon Web Services Signer signing profile to use for
4717
+ # signing images that match this rule. For more information about
4718
+ # signing profiles, see [Signing profiles][1] in the *Amazon Web
4719
+ # Services Signer Developer Guide*.
4720
+ #
4721
+ #
4722
+ #
4723
+ # [1]: https://docs.aws.amazon.com/signer/latest/developerguide/signing-profiles.html
4724
+ # @return [String]
4725
+ #
4726
+ # @!attribute [rw] repository_filters
4727
+ # A list of repository filters that determine which repositories have
4728
+ # their images signed on push. If no filters are specified, all images
4729
+ # pushed to the registry are signed using the rule's signing profile.
4730
+ # Maximum of 100 filters per rule.
4731
+ # @return [Array<Types::SigningRepositoryFilter>]
4732
+ #
4733
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SigningRule AWS API Documentation
4734
+ #
4735
+ class SigningRule < Struct.new(
4736
+ :signing_profile_arn,
4737
+ :repository_filters)
4738
+ SENSITIVE = []
4739
+ include Aws::Structure
4740
+ end
4741
+
4106
4742
  # @!attribute [rw] registry_id
4107
4743
  # The Amazon Web Services account ID associated with the registry that
4108
4744
  # contains the repository in which to start an image scan request. If
@@ -4208,6 +4844,20 @@ module Aws::ECR
4208
4844
  include Aws::Structure
4209
4845
  end
4210
4846
 
4847
+ # An object that identifies an image subject.
4848
+ #
4849
+ # @!attribute [rw] image_digest
4850
+ # The digest of the image.
4851
+ # @return [String]
4852
+ #
4853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SubjectIdentifier AWS API Documentation
4854
+ #
4855
+ class SubjectIdentifier < Struct.new(
4856
+ :image_digest)
4857
+ SENSITIVE = []
4858
+ include Aws::Structure
4859
+ end
4860
+
4211
4861
  # The metadata to apply to a resource to help you categorize and
4212
4862
  # organize them. Each tag consists of a key and a value, both of which
4213
4863
  # you define. Tag keys can have a maximum character length of 128
@@ -4301,6 +4951,25 @@ module Aws::ECR
4301
4951
  include Aws::Structure
4302
4952
  end
4303
4953
 
4954
+ # The total count of images transitioning to a storage class.
4955
+ #
4956
+ # @!attribute [rw] target_storage_class
4957
+ # The target storage class.
4958
+ # @return [String]
4959
+ #
4960
+ # @!attribute [rw] image_total_count
4961
+ # The total number of images transitioning to the storage class.
4962
+ # @return [Integer]
4963
+ #
4964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TransitioningImageTotalCount AWS API Documentation
4965
+ #
4966
+ class TransitioningImageTotalCount < Struct.new(
4967
+ :target_storage_class,
4968
+ :image_total_count)
4969
+ SENSITIVE = []
4970
+ include Aws::Structure
4971
+ end
4972
+
4304
4973
  # The secret is unable to be accessed. Verify the resource permissions
4305
4974
  # for the secret and try again.
4306
4975
  #
@@ -4408,6 +5077,66 @@ module Aws::ECR
4408
5077
  #
4409
5078
  class UntagResourceResponse < Aws::EmptyStructure; end
4410
5079
 
5080
+ # @!attribute [rw] registry_id
5081
+ # The Amazon Web Services account ID associated with the registry that
5082
+ # contains the image to transition. If you do not specify a registry,
5083
+ # the default registry is assumed.
5084
+ # @return [String]
5085
+ #
5086
+ # @!attribute [rw] repository_name
5087
+ # The name of the repository that contains the image to transition.
5088
+ # @return [String]
5089
+ #
5090
+ # @!attribute [rw] image_id
5091
+ # An object with identifying information for an image in an Amazon ECR
5092
+ # repository.
5093
+ # @return [Types::ImageIdentifier]
5094
+ #
5095
+ # @!attribute [rw] target_storage_class
5096
+ # The target storage class for the image.
5097
+ # @return [String]
5098
+ #
5099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateImageStorageClassRequest AWS API Documentation
5100
+ #
5101
+ class UpdateImageStorageClassRequest < Struct.new(
5102
+ :registry_id,
5103
+ :repository_name,
5104
+ :image_id,
5105
+ :target_storage_class)
5106
+ SENSITIVE = []
5107
+ include Aws::Structure
5108
+ end
5109
+
5110
+ # @!attribute [rw] registry_id
5111
+ # The registry ID associated with the request.
5112
+ # @return [String]
5113
+ #
5114
+ # @!attribute [rw] repository_name
5115
+ # The repository name associated with the request.
5116
+ # @return [String]
5117
+ #
5118
+ # @!attribute [rw] image_id
5119
+ # An object with identifying information for an image in an Amazon ECR
5120
+ # repository.
5121
+ # @return [Types::ImageIdentifier]
5122
+ #
5123
+ # @!attribute [rw] image_status
5124
+ # The current status of the image after the call to
5125
+ # UpdateImageStorageClass is complete. Valid values are `ACTIVE`,
5126
+ # `ARCHIVED`, and `ACTIVATING`.
5127
+ # @return [String]
5128
+ #
5129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateImageStorageClassResponse AWS API Documentation
5130
+ #
5131
+ class UpdateImageStorageClassResponse < Struct.new(
5132
+ :registry_id,
5133
+ :repository_name,
5134
+ :image_id,
5135
+ :image_status)
5136
+ SENSITIVE = []
5137
+ include Aws::Structure
5138
+ end
5139
+
4411
5140
  # @!attribute [rw] registry_id
4412
5141
  # The Amazon Web Services account ID associated with the registry
4413
5142
  # associated with the pull through cache rule. If you do not specify a
@@ -4522,8 +5251,9 @@ module Aws::ECR
4522
5251
  # @return [String]
4523
5252
  #
4524
5253
  # @!attribute [rw] image_tag_mutability_exclusion_filters
4525
- # Updates a repository with filters that define which image tags can
4526
- # override the default image tag mutability setting.
5254
+ # A list of filters that specify which image tags should be excluded
5255
+ # from the repository creation template's image tag mutability
5256
+ # setting.
4527
5257
  # @return [Array<Types::ImageTagMutabilityExclusionFilter>]
4528
5258
  #
4529
5259
  # @!attribute [rw] repository_policy