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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +512 -20
- data/lib/aws-sdk-ecr/client_api.rb +202 -0
- data/lib/aws-sdk-ecr/errors.rb +80 -0
- data/lib/aws-sdk-ecr/types.rb +509 -37
- data/lib/aws-sdk-ecr.rb +1 -1
- data/sig/client.rbs +77 -2
- data/sig/errors.rbs +15 -0
- data/sig/types.rbs +130 -4
- metadata +1 -1
data/lib/aws-sdk-ecr/types.rb
CHANGED
|
@@ -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
|
-
#
|
|
527
|
-
#
|
|
528
|
-
#
|
|
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
|
-
#
|
|
626
|
-
#
|
|
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,32 @@ module Aws::ECR
|
|
|
991
1009
|
include Aws::Structure
|
|
992
1010
|
end
|
|
993
1011
|
|
|
1012
|
+
# @!attribute [rw] principal_arn
|
|
1013
|
+
# The ARN of the IAM principal to remove from the pull time update
|
|
1014
|
+
# exclusion list.
|
|
1015
|
+
# @return [String]
|
|
1016
|
+
#
|
|
1017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeregisterPullTimeUpdateExclusionRequest AWS API Documentation
|
|
1018
|
+
#
|
|
1019
|
+
class DeregisterPullTimeUpdateExclusionRequest < Struct.new(
|
|
1020
|
+
:principal_arn)
|
|
1021
|
+
SENSITIVE = []
|
|
1022
|
+
include Aws::Structure
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
# @!attribute [rw] principal_arn
|
|
1026
|
+
# The ARN of the IAM principal that was removed from the pull time
|
|
1027
|
+
# update exclusion list.
|
|
1028
|
+
# @return [String]
|
|
1029
|
+
#
|
|
1030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeregisterPullTimeUpdateExclusionResponse AWS API Documentation
|
|
1031
|
+
#
|
|
1032
|
+
class DeregisterPullTimeUpdateExclusionResponse < Struct.new(
|
|
1033
|
+
:principal_arn)
|
|
1034
|
+
SENSITIVE = []
|
|
1035
|
+
include Aws::Structure
|
|
1036
|
+
end
|
|
1037
|
+
|
|
994
1038
|
# @!attribute [rw] repository_name
|
|
995
1039
|
# The name of the repository that the image is in.
|
|
996
1040
|
# @return [String]
|
|
@@ -1138,10 +1182,16 @@ module Aws::ECR
|
|
|
1138
1182
|
# can filter results based on whether they are `TAGGED` or `UNTAGGED`.
|
|
1139
1183
|
# @return [String]
|
|
1140
1184
|
#
|
|
1185
|
+
# @!attribute [rw] image_status
|
|
1186
|
+
# The image status with which to filter your DescribeImages results.
|
|
1187
|
+
# Valid values are `ACTIVE`, `ARCHIVED`, and `ACTIVATING`.
|
|
1188
|
+
# @return [String]
|
|
1189
|
+
#
|
|
1141
1190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter AWS API Documentation
|
|
1142
1191
|
#
|
|
1143
1192
|
class DescribeImagesFilter < Struct.new(
|
|
1144
|
-
:tag_status
|
|
1193
|
+
:tag_status,
|
|
1194
|
+
:image_status)
|
|
1145
1195
|
SENSITIVE = []
|
|
1146
1196
|
include Aws::Structure
|
|
1147
1197
|
end
|
|
@@ -1681,6 +1731,33 @@ module Aws::ECR
|
|
|
1681
1731
|
include Aws::Structure
|
|
1682
1732
|
end
|
|
1683
1733
|
|
|
1734
|
+
# The specified pull time update exclusion already exists for the
|
|
1735
|
+
# registry.
|
|
1736
|
+
#
|
|
1737
|
+
# @!attribute [rw] message
|
|
1738
|
+
# @return [String]
|
|
1739
|
+
#
|
|
1740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ExclusionAlreadyExistsException AWS API Documentation
|
|
1741
|
+
#
|
|
1742
|
+
class ExclusionAlreadyExistsException < Struct.new(
|
|
1743
|
+
:message)
|
|
1744
|
+
SENSITIVE = []
|
|
1745
|
+
include Aws::Structure
|
|
1746
|
+
end
|
|
1747
|
+
|
|
1748
|
+
# The specified pull time update exclusion was not found.
|
|
1749
|
+
#
|
|
1750
|
+
# @!attribute [rw] message
|
|
1751
|
+
# @return [String]
|
|
1752
|
+
#
|
|
1753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ExclusionNotFoundException AWS API Documentation
|
|
1754
|
+
#
|
|
1755
|
+
class ExclusionNotFoundException < Struct.new(
|
|
1756
|
+
:message)
|
|
1757
|
+
SENSITIVE = []
|
|
1758
|
+
include Aws::Structure
|
|
1759
|
+
end
|
|
1760
|
+
|
|
1684
1761
|
# @!attribute [rw] name
|
|
1685
1762
|
# The name of the account setting, such as `BASIC_SCAN_TYPE_VERSION`
|
|
1686
1763
|
# or `REGISTRY_POLICY_SCOPE`.
|
|
@@ -2075,6 +2152,19 @@ module Aws::ECR
|
|
|
2075
2152
|
include Aws::Structure
|
|
2076
2153
|
end
|
|
2077
2154
|
|
|
2155
|
+
# The specified image is archived and cannot be scanned.
|
|
2156
|
+
#
|
|
2157
|
+
# @!attribute [rw] message
|
|
2158
|
+
# @return [String]
|
|
2159
|
+
#
|
|
2160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageArchivedException AWS API Documentation
|
|
2161
|
+
#
|
|
2162
|
+
class ImageArchivedException < Struct.new(
|
|
2163
|
+
:message)
|
|
2164
|
+
SENSITIVE = []
|
|
2165
|
+
include Aws::Structure
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2078
2168
|
# An object that describes an image returned by a DescribeImages
|
|
2079
2169
|
# operation.
|
|
2080
2170
|
#
|
|
@@ -2146,6 +2236,25 @@ module Aws::ECR
|
|
|
2146
2236
|
# </note>
|
|
2147
2237
|
# @return [Time]
|
|
2148
2238
|
#
|
|
2239
|
+
# @!attribute [rw] subject_manifest_digest
|
|
2240
|
+
# The digest of the subject manifest for images that are referrers.
|
|
2241
|
+
# @return [String]
|
|
2242
|
+
#
|
|
2243
|
+
# @!attribute [rw] image_status
|
|
2244
|
+
# The current status of the image.
|
|
2245
|
+
# @return [String]
|
|
2246
|
+
#
|
|
2247
|
+
# @!attribute [rw] last_archived_at
|
|
2248
|
+
# The date and time, expressed in standard JavaScript date format,
|
|
2249
|
+
# when the image was last transitioned to Amazon ECR archive.
|
|
2250
|
+
# @return [Time]
|
|
2251
|
+
#
|
|
2252
|
+
# @!attribute [rw] last_activated_at
|
|
2253
|
+
# The date and time, expressed in standard JavaScript date format,
|
|
2254
|
+
# when the image was last restored from Amazon ECR archive to Amazon
|
|
2255
|
+
# ECR standard.
|
|
2256
|
+
# @return [Time]
|
|
2257
|
+
#
|
|
2149
2258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail AWS API Documentation
|
|
2150
2259
|
#
|
|
2151
2260
|
class ImageDetail < Struct.new(
|
|
@@ -2159,7 +2268,11 @@ module Aws::ECR
|
|
|
2159
2268
|
:image_scan_findings_summary,
|
|
2160
2269
|
:image_manifest_media_type,
|
|
2161
2270
|
:artifact_media_type,
|
|
2162
|
-
:last_recorded_pull_time
|
|
2271
|
+
:last_recorded_pull_time,
|
|
2272
|
+
:subject_manifest_digest,
|
|
2273
|
+
:image_status,
|
|
2274
|
+
:last_archived_at,
|
|
2275
|
+
:last_activated_at)
|
|
2163
2276
|
SENSITIVE = []
|
|
2164
2277
|
include Aws::Structure
|
|
2165
2278
|
end
|
|
@@ -2235,6 +2348,46 @@ module Aws::ECR
|
|
|
2235
2348
|
include Aws::Structure
|
|
2236
2349
|
end
|
|
2237
2350
|
|
|
2351
|
+
# An object representing an artifact associated with a subject image.
|
|
2352
|
+
#
|
|
2353
|
+
# @!attribute [rw] digest
|
|
2354
|
+
# The digest of the artifact manifest.
|
|
2355
|
+
# @return [String]
|
|
2356
|
+
#
|
|
2357
|
+
# @!attribute [rw] media_type
|
|
2358
|
+
# The media type of the artifact manifest.
|
|
2359
|
+
# @return [String]
|
|
2360
|
+
#
|
|
2361
|
+
# @!attribute [rw] artifact_type
|
|
2362
|
+
# A string identifying the type of artifact.
|
|
2363
|
+
# @return [String]
|
|
2364
|
+
#
|
|
2365
|
+
# @!attribute [rw] size
|
|
2366
|
+
# The size, in bytes, of the artifact.
|
|
2367
|
+
# @return [Integer]
|
|
2368
|
+
#
|
|
2369
|
+
# @!attribute [rw] annotations
|
|
2370
|
+
# A map of annotations associated with the artifact.
|
|
2371
|
+
# @return [Hash<String,String>]
|
|
2372
|
+
#
|
|
2373
|
+
# @!attribute [rw] artifact_status
|
|
2374
|
+
# The status of the artifact. Valid values are `ACTIVE`, `ARCHIVED`,
|
|
2375
|
+
# or `ACTIVATING`.
|
|
2376
|
+
# @return [String]
|
|
2377
|
+
#
|
|
2378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageReferrer AWS API Documentation
|
|
2379
|
+
#
|
|
2380
|
+
class ImageReferrer < Struct.new(
|
|
2381
|
+
:digest,
|
|
2382
|
+
:media_type,
|
|
2383
|
+
:artifact_type,
|
|
2384
|
+
:size,
|
|
2385
|
+
:annotations,
|
|
2386
|
+
:artifact_status)
|
|
2387
|
+
SENSITIVE = []
|
|
2388
|
+
include Aws::Structure
|
|
2389
|
+
end
|
|
2390
|
+
|
|
2238
2391
|
# The status of the replication process for an image.
|
|
2239
2392
|
#
|
|
2240
2393
|
# @!attribute [rw] region
|
|
@@ -2400,6 +2553,19 @@ module Aws::ECR
|
|
|
2400
2553
|
include Aws::Structure
|
|
2401
2554
|
end
|
|
2402
2555
|
|
|
2556
|
+
# The requested image storage class update is not supported.
|
|
2557
|
+
#
|
|
2558
|
+
# @!attribute [rw] message
|
|
2559
|
+
# @return [String]
|
|
2560
|
+
#
|
|
2561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageStorageClassUpdateNotSupportedException AWS API Documentation
|
|
2562
|
+
#
|
|
2563
|
+
class ImageStorageClassUpdateNotSupportedException < Struct.new(
|
|
2564
|
+
:message)
|
|
2565
|
+
SENSITIVE = []
|
|
2566
|
+
include Aws::Structure
|
|
2567
|
+
end
|
|
2568
|
+
|
|
2403
2569
|
# The specified image is tagged with a tag that already exists. The
|
|
2404
2570
|
# repository is configured for tag immutability.
|
|
2405
2571
|
#
|
|
@@ -2414,18 +2580,17 @@ module Aws::ECR
|
|
|
2414
2580
|
include Aws::Structure
|
|
2415
2581
|
end
|
|
2416
2582
|
|
|
2417
|
-
#
|
|
2418
|
-
#
|
|
2583
|
+
# A filter that specifies which image tags should be excluded from the
|
|
2584
|
+
# repository's image tag mutability setting.
|
|
2419
2585
|
#
|
|
2420
2586
|
# @!attribute [rw] filter_type
|
|
2421
|
-
#
|
|
2422
|
-
#
|
|
2587
|
+
# The type of filter to apply for excluding image tags from mutability
|
|
2588
|
+
# settings.
|
|
2423
2589
|
# @return [String]
|
|
2424
2590
|
#
|
|
2425
2591
|
# @!attribute [rw] filter
|
|
2426
|
-
# The value to
|
|
2427
|
-
#
|
|
2428
|
-
# filter type.
|
|
2592
|
+
# The filter value used to match image tags for exclusion from
|
|
2593
|
+
# mutability settings.
|
|
2429
2594
|
# @return [String]
|
|
2430
2595
|
#
|
|
2431
2596
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageTagMutabilityExclusionFilter AWS API Documentation
|
|
@@ -2765,6 +2930,10 @@ module Aws::ECR
|
|
|
2765
2930
|
# The priority of the applied rule.
|
|
2766
2931
|
# @return [Integer]
|
|
2767
2932
|
#
|
|
2933
|
+
# @!attribute [rw] storage_class
|
|
2934
|
+
# The storage class of the image.
|
|
2935
|
+
# @return [String]
|
|
2936
|
+
#
|
|
2768
2937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult AWS API Documentation
|
|
2769
2938
|
#
|
|
2770
2939
|
class LifecyclePolicyPreviewResult < Struct.new(
|
|
@@ -2772,7 +2941,8 @@ module Aws::ECR
|
|
|
2772
2941
|
:image_digest,
|
|
2773
2942
|
:image_pushed_at,
|
|
2774
2943
|
:action,
|
|
2775
|
-
:applied_rule_priority
|
|
2944
|
+
:applied_rule_priority,
|
|
2945
|
+
:storage_class)
|
|
2776
2946
|
SENSITIVE = []
|
|
2777
2947
|
include Aws::Structure
|
|
2778
2948
|
end
|
|
@@ -2783,10 +2953,17 @@ module Aws::ECR
|
|
|
2783
2953
|
# The number of expiring images.
|
|
2784
2954
|
# @return [Integer]
|
|
2785
2955
|
#
|
|
2956
|
+
# @!attribute [rw] transitioning_image_total_counts
|
|
2957
|
+
# The total count of images that will be transitioned to each storage
|
|
2958
|
+
# class. This field is only present if at least one image will be
|
|
2959
|
+
# transitoned in the summary.
|
|
2960
|
+
# @return [Array<Types::TransitioningImageTotalCount>]
|
|
2961
|
+
#
|
|
2786
2962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary AWS API Documentation
|
|
2787
2963
|
#
|
|
2788
2964
|
class LifecyclePolicyPreviewSummary < Struct.new(
|
|
2789
|
-
:expiring_image_total_count
|
|
2965
|
+
:expiring_image_total_count,
|
|
2966
|
+
:transitioning_image_total_counts)
|
|
2790
2967
|
SENSITIVE = []
|
|
2791
2968
|
include Aws::Structure
|
|
2792
2969
|
end
|
|
@@ -2797,10 +2974,16 @@ module Aws::ECR
|
|
|
2797
2974
|
# The type of action to be taken.
|
|
2798
2975
|
# @return [String]
|
|
2799
2976
|
#
|
|
2977
|
+
# @!attribute [rw] target_storage_class
|
|
2978
|
+
# The target storage class for the action. This is only present when
|
|
2979
|
+
# the `type` is `TRANSITION.`
|
|
2980
|
+
# @return [String]
|
|
2981
|
+
#
|
|
2800
2982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction AWS API Documentation
|
|
2801
2983
|
#
|
|
2802
2984
|
class LifecyclePolicyRuleAction < Struct.new(
|
|
2803
|
-
:type
|
|
2985
|
+
:type,
|
|
2986
|
+
:target_storage_class)
|
|
2804
2987
|
SENSITIVE = []
|
|
2805
2988
|
include Aws::Structure
|
|
2806
2989
|
end
|
|
@@ -2825,17 +3008,127 @@ module Aws::ECR
|
|
|
2825
3008
|
include Aws::Structure
|
|
2826
3009
|
end
|
|
2827
3010
|
|
|
3011
|
+
# An object representing a filter on a ListImageReferrers operation.
|
|
3012
|
+
#
|
|
3013
|
+
# @!attribute [rw] artifact_types
|
|
3014
|
+
# The artifact types with which to filter your ListImageReferrers
|
|
3015
|
+
# results.
|
|
3016
|
+
# @return [Array<String>]
|
|
3017
|
+
#
|
|
3018
|
+
# @!attribute [rw] artifact_status
|
|
3019
|
+
# The artifact status with which to filter your ListImageReferrers
|
|
3020
|
+
# results. Valid values are `ACTIVE`, `ARCHIVED`, `ACTIVATING`, or
|
|
3021
|
+
# `ANY`. If not specified, only artifacts with `ACTIVE` status are
|
|
3022
|
+
# returned.
|
|
3023
|
+
# @return [String]
|
|
3024
|
+
#
|
|
3025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersFilter AWS API Documentation
|
|
3026
|
+
#
|
|
3027
|
+
class ListImageReferrersFilter < Struct.new(
|
|
3028
|
+
:artifact_types,
|
|
3029
|
+
:artifact_status)
|
|
3030
|
+
SENSITIVE = []
|
|
3031
|
+
include Aws::Structure
|
|
3032
|
+
end
|
|
3033
|
+
|
|
3034
|
+
# @!attribute [rw] registry_id
|
|
3035
|
+
# The Amazon Web Services account ID associated with the registry that
|
|
3036
|
+
# contains the repository in which to list image referrers. If you do
|
|
3037
|
+
# not specify a registry, the default registry is assumed.
|
|
3038
|
+
# @return [String]
|
|
3039
|
+
#
|
|
3040
|
+
# @!attribute [rw] repository_name
|
|
3041
|
+
# The name of the repository that contains the subject image.
|
|
3042
|
+
# @return [String]
|
|
3043
|
+
#
|
|
3044
|
+
# @!attribute [rw] subject_id
|
|
3045
|
+
# An object containing the image digest of the subject image for which
|
|
3046
|
+
# to retrieve associated artifacts.
|
|
3047
|
+
# @return [Types::SubjectIdentifier]
|
|
3048
|
+
#
|
|
3049
|
+
# @!attribute [rw] filter
|
|
3050
|
+
# The filter key and value with which to filter your
|
|
3051
|
+
# `ListImageReferrers` results. If no filter is specified, only
|
|
3052
|
+
# artifacts with `ACTIVE` status are returned.
|
|
3053
|
+
# @return [Types::ListImageReferrersFilter]
|
|
3054
|
+
#
|
|
3055
|
+
# @!attribute [rw] next_token
|
|
3056
|
+
# The `nextToken` value returned from a previous paginated
|
|
3057
|
+
# `ListImageReferrers` request where `maxResults` was used and the
|
|
3058
|
+
# results exceeded the value of that parameter. Pagination continues
|
|
3059
|
+
# from the end of the previous results that returned the `nextToken`
|
|
3060
|
+
# value. This value is `null` when there are no more results to
|
|
3061
|
+
# return.
|
|
3062
|
+
#
|
|
3063
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
|
3064
|
+
# used to retrieve the next items in a list and not for other
|
|
3065
|
+
# programmatic purposes.
|
|
3066
|
+
#
|
|
3067
|
+
# </note>
|
|
3068
|
+
# @return [String]
|
|
3069
|
+
#
|
|
3070
|
+
# @!attribute [rw] max_results
|
|
3071
|
+
# The maximum number of image referrer results returned by
|
|
3072
|
+
# `ListImageReferrers` in paginated output. When this parameter is
|
|
3073
|
+
# used, `ListImageReferrers` only returns `maxResults` results in a
|
|
3074
|
+
# single page along with a `nextToken` response element. The remaining
|
|
3075
|
+
# results of the initial request can be seen by sending another
|
|
3076
|
+
# `ListImageReferrers` request with the returned `nextToken` value.
|
|
3077
|
+
# This value can be between 1 and 50. If this parameter is not used,
|
|
3078
|
+
# then `ListImageReferrers` returns up to 50 results and a `nextToken`
|
|
3079
|
+
# value, if applicable.
|
|
3080
|
+
# @return [Integer]
|
|
3081
|
+
#
|
|
3082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersRequest AWS API Documentation
|
|
3083
|
+
#
|
|
3084
|
+
class ListImageReferrersRequest < Struct.new(
|
|
3085
|
+
:registry_id,
|
|
3086
|
+
:repository_name,
|
|
3087
|
+
:subject_id,
|
|
3088
|
+
:filter,
|
|
3089
|
+
:next_token,
|
|
3090
|
+
:max_results)
|
|
3091
|
+
SENSITIVE = []
|
|
3092
|
+
include Aws::Structure
|
|
3093
|
+
end
|
|
3094
|
+
|
|
3095
|
+
# @!attribute [rw] referrers
|
|
3096
|
+
# The list of artifacts associated with the subject image.
|
|
3097
|
+
# @return [Array<Types::ImageReferrer>]
|
|
3098
|
+
#
|
|
3099
|
+
# @!attribute [rw] next_token
|
|
3100
|
+
# The `nextToken` value to include in a future `ListImageReferrers`
|
|
3101
|
+
# request. When the results of a `ListImageReferrers` request exceed
|
|
3102
|
+
# `maxResults`, this value can be used to retrieve the next page of
|
|
3103
|
+
# results. This value is `null` when there are no more results to
|
|
3104
|
+
# return.
|
|
3105
|
+
# @return [String]
|
|
3106
|
+
#
|
|
3107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImageReferrersResponse AWS API Documentation
|
|
3108
|
+
#
|
|
3109
|
+
class ListImageReferrersResponse < Struct.new(
|
|
3110
|
+
:referrers,
|
|
3111
|
+
:next_token)
|
|
3112
|
+
SENSITIVE = []
|
|
3113
|
+
include Aws::Structure
|
|
3114
|
+
end
|
|
3115
|
+
|
|
2828
3116
|
# An object representing a filter on a ListImages operation.
|
|
2829
3117
|
#
|
|
2830
3118
|
# @!attribute [rw] tag_status
|
|
2831
|
-
# The tag status with which to filter your ListImages results.
|
|
2832
|
-
#
|
|
3119
|
+
# The tag status with which to filter your ListImages results.
|
|
3120
|
+
# @return [String]
|
|
3121
|
+
#
|
|
3122
|
+
# @!attribute [rw] image_status
|
|
3123
|
+
# The image status with which to filter your ListImages results. Valid
|
|
3124
|
+
# values are `ACTIVE`, `ARCHIVED`, and `ACTIVATING`.
|
|
2833
3125
|
# @return [String]
|
|
2834
3126
|
#
|
|
2835
3127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter AWS API Documentation
|
|
2836
3128
|
#
|
|
2837
3129
|
class ListImagesFilter < Struct.new(
|
|
2838
|
-
:tag_status
|
|
3130
|
+
:tag_status,
|
|
3131
|
+
:image_status)
|
|
2839
3132
|
SENSITIVE = []
|
|
2840
3133
|
include Aws::Structure
|
|
2841
3134
|
end
|
|
@@ -2912,6 +3205,65 @@ module Aws::ECR
|
|
|
2912
3205
|
include Aws::Structure
|
|
2913
3206
|
end
|
|
2914
3207
|
|
|
3208
|
+
# @!attribute [rw] max_results
|
|
3209
|
+
# The maximum number of pull time update exclusion results returned by
|
|
3210
|
+
# `ListPullTimeUpdateExclusions` in paginated output. When this
|
|
3211
|
+
# parameter is used, `ListPullTimeUpdateExclusions` only returns
|
|
3212
|
+
# `maxResults` results in a single page along with a `nextToken`
|
|
3213
|
+
# response element. The remaining results of the initial request can
|
|
3214
|
+
# be seen by sending another `ListPullTimeUpdateExclusions` request
|
|
3215
|
+
# with the returned `nextToken` value. This value can be between 1 and
|
|
3216
|
+
# 1000. If this parameter is not used, then
|
|
3217
|
+
# `ListPullTimeUpdateExclusions` returns up to 100 results and a
|
|
3218
|
+
# `nextToken` value, if applicable.
|
|
3219
|
+
# @return [Integer]
|
|
3220
|
+
#
|
|
3221
|
+
# @!attribute [rw] next_token
|
|
3222
|
+
# The `nextToken` value returned from a previous paginated
|
|
3223
|
+
# `ListPullTimeUpdateExclusions` request where `maxResults` was used
|
|
3224
|
+
# and the results exceeded the value of that parameter. Pagination
|
|
3225
|
+
# continues from the end of the previous results that returned the
|
|
3226
|
+
# `nextToken` value. This value is `null` when there are no more
|
|
3227
|
+
# results to return.
|
|
3228
|
+
#
|
|
3229
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is only
|
|
3230
|
+
# used to retrieve the next items in a list and not for other
|
|
3231
|
+
# programmatic purposes.
|
|
3232
|
+
#
|
|
3233
|
+
# </note>
|
|
3234
|
+
# @return [String]
|
|
3235
|
+
#
|
|
3236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListPullTimeUpdateExclusionsRequest AWS API Documentation
|
|
3237
|
+
#
|
|
3238
|
+
class ListPullTimeUpdateExclusionsRequest < Struct.new(
|
|
3239
|
+
:max_results,
|
|
3240
|
+
:next_token)
|
|
3241
|
+
SENSITIVE = []
|
|
3242
|
+
include Aws::Structure
|
|
3243
|
+
end
|
|
3244
|
+
|
|
3245
|
+
# @!attribute [rw] pull_time_update_exclusions
|
|
3246
|
+
# The list of IAM principal ARNs that are excluded from having their
|
|
3247
|
+
# image pull times recorded.
|
|
3248
|
+
# @return [Array<String>]
|
|
3249
|
+
#
|
|
3250
|
+
# @!attribute [rw] next_token
|
|
3251
|
+
# The `nextToken` value to include in a future
|
|
3252
|
+
# `ListPullTimeUpdateExclusions` request. When the results of a
|
|
3253
|
+
# `ListPullTimeUpdateExclusions` request exceed `maxResults`, this
|
|
3254
|
+
# value can be used to retrieve the next page of results. This value
|
|
3255
|
+
# is `null` when there are no more results to return.
|
|
3256
|
+
# @return [String]
|
|
3257
|
+
#
|
|
3258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListPullTimeUpdateExclusionsResponse AWS API Documentation
|
|
3259
|
+
#
|
|
3260
|
+
class ListPullTimeUpdateExclusionsResponse < Struct.new(
|
|
3261
|
+
:pull_time_update_exclusions,
|
|
3262
|
+
:next_token)
|
|
3263
|
+
SENSITIVE = []
|
|
3264
|
+
include Aws::Structure
|
|
3265
|
+
end
|
|
3266
|
+
|
|
2915
3267
|
# @!attribute [rw] resource_arn
|
|
2916
3268
|
# The Amazon Resource Name (ARN) that identifies the resource for
|
|
2917
3269
|
# which to list the tags. Currently, the only supported resource is an
|
|
@@ -3148,9 +3500,7 @@ module Aws::ECR
|
|
|
3148
3500
|
# @return [String]
|
|
3149
3501
|
#
|
|
3150
3502
|
# @!attribute [rw] image_tag
|
|
3151
|
-
# The tag to associate with the image. This parameter is
|
|
3152
|
-
# images that use the Docker Image Manifest V2 Schema 2 or Open
|
|
3153
|
-
# Container Initiative (OCI) formats.
|
|
3503
|
+
# The tag to associate with the image. This parameter is optional.
|
|
3154
3504
|
# @return [String]
|
|
3155
3505
|
#
|
|
3156
3506
|
# @!attribute [rw] image_digest
|
|
@@ -3252,8 +3602,8 @@ module Aws::ECR
|
|
|
3252
3602
|
# @return [String]
|
|
3253
3603
|
#
|
|
3254
3604
|
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
|
3255
|
-
#
|
|
3256
|
-
#
|
|
3605
|
+
# A list of filters that specify which image tags should be excluded
|
|
3606
|
+
# from the image tag mutability setting being applied.
|
|
3257
3607
|
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
|
3258
3608
|
#
|
|
3259
3609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityRequest AWS API Documentation
|
|
@@ -3280,9 +3630,8 @@ module Aws::ECR
|
|
|
3280
3630
|
# @return [String]
|
|
3281
3631
|
#
|
|
3282
3632
|
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
|
3283
|
-
#
|
|
3284
|
-
#
|
|
3285
|
-
# tag mutability setting of the repository.
|
|
3633
|
+
# The list of filters that specify which image tags are excluded from
|
|
3634
|
+
# the repository's image tag mutability setting.
|
|
3286
3635
|
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
|
3287
3636
|
#
|
|
3288
3637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutabilityResponse AWS API Documentation
|
|
@@ -3478,6 +3827,38 @@ module Aws::ECR
|
|
|
3478
3827
|
include Aws::Structure
|
|
3479
3828
|
end
|
|
3480
3829
|
|
|
3830
|
+
# @!attribute [rw] principal_arn
|
|
3831
|
+
# The ARN of the IAM principal to exclude from having image pull times
|
|
3832
|
+
# recorded.
|
|
3833
|
+
# @return [String]
|
|
3834
|
+
#
|
|
3835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegisterPullTimeUpdateExclusionRequest AWS API Documentation
|
|
3836
|
+
#
|
|
3837
|
+
class RegisterPullTimeUpdateExclusionRequest < Struct.new(
|
|
3838
|
+
:principal_arn)
|
|
3839
|
+
SENSITIVE = []
|
|
3840
|
+
include Aws::Structure
|
|
3841
|
+
end
|
|
3842
|
+
|
|
3843
|
+
# @!attribute [rw] principal_arn
|
|
3844
|
+
# The ARN of the IAM principal that was added to the pull time update
|
|
3845
|
+
# exclusion list.
|
|
3846
|
+
# @return [String]
|
|
3847
|
+
#
|
|
3848
|
+
# @!attribute [rw] created_at
|
|
3849
|
+
# The date and time, expressed in standard JavaScript date format,
|
|
3850
|
+
# when the exclusion was created.
|
|
3851
|
+
# @return [Time]
|
|
3852
|
+
#
|
|
3853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/RegisterPullTimeUpdateExclusionResponse AWS API Documentation
|
|
3854
|
+
#
|
|
3855
|
+
class RegisterPullTimeUpdateExclusionResponse < Struct.new(
|
|
3856
|
+
:principal_arn,
|
|
3857
|
+
:created_at)
|
|
3858
|
+
SENSITIVE = []
|
|
3859
|
+
include Aws::Structure
|
|
3860
|
+
end
|
|
3861
|
+
|
|
3481
3862
|
# The registry doesn't have an associated registry policy.
|
|
3482
3863
|
#
|
|
3483
3864
|
# @!attribute [rw] message
|
|
@@ -3645,9 +4026,8 @@ module Aws::ECR
|
|
|
3645
4026
|
# @return [String]
|
|
3646
4027
|
#
|
|
3647
4028
|
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
|
3648
|
-
#
|
|
3649
|
-
# repository
|
|
3650
|
-
# repository's default image tag mutability setting.
|
|
4029
|
+
# A list of filters that specify which image tags are excluded from
|
|
4030
|
+
# the repository's image tag mutability setting.
|
|
3651
4031
|
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
|
3652
4032
|
#
|
|
3653
4033
|
# @!attribute [rw] image_scanning_configuration
|
|
@@ -3723,10 +4103,8 @@ module Aws::ECR
|
|
|
3723
4103
|
# @return [String]
|
|
3724
4104
|
#
|
|
3725
4105
|
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
|
3726
|
-
#
|
|
3727
|
-
#
|
|
3728
|
-
# which image tags can override the repository's default image tag
|
|
3729
|
-
# mutability setting.
|
|
4106
|
+
# A list of filters that specify which image tags are excluded from
|
|
4107
|
+
# the repository creation template's image tag mutability setting.
|
|
3730
4108
|
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
|
3731
4109
|
#
|
|
3732
4110
|
# @!attribute [rw] repository_policy
|
|
@@ -4208,6 +4586,20 @@ module Aws::ECR
|
|
|
4208
4586
|
include Aws::Structure
|
|
4209
4587
|
end
|
|
4210
4588
|
|
|
4589
|
+
# An object that identifies an image subject.
|
|
4590
|
+
#
|
|
4591
|
+
# @!attribute [rw] image_digest
|
|
4592
|
+
# The digest of the image.
|
|
4593
|
+
# @return [String]
|
|
4594
|
+
#
|
|
4595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SubjectIdentifier AWS API Documentation
|
|
4596
|
+
#
|
|
4597
|
+
class SubjectIdentifier < Struct.new(
|
|
4598
|
+
:image_digest)
|
|
4599
|
+
SENSITIVE = []
|
|
4600
|
+
include Aws::Structure
|
|
4601
|
+
end
|
|
4602
|
+
|
|
4211
4603
|
# The metadata to apply to a resource to help you categorize and
|
|
4212
4604
|
# organize them. Each tag consists of a key and a value, both of which
|
|
4213
4605
|
# you define. Tag keys can have a maximum character length of 128
|
|
@@ -4301,6 +4693,25 @@ module Aws::ECR
|
|
|
4301
4693
|
include Aws::Structure
|
|
4302
4694
|
end
|
|
4303
4695
|
|
|
4696
|
+
# The total count of images transitioning to a storage class.
|
|
4697
|
+
#
|
|
4698
|
+
# @!attribute [rw] target_storage_class
|
|
4699
|
+
# The target storage class.
|
|
4700
|
+
# @return [String]
|
|
4701
|
+
#
|
|
4702
|
+
# @!attribute [rw] image_total_count
|
|
4703
|
+
# The total number of images transitioning to the storage class.
|
|
4704
|
+
# @return [Integer]
|
|
4705
|
+
#
|
|
4706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TransitioningImageTotalCount AWS API Documentation
|
|
4707
|
+
#
|
|
4708
|
+
class TransitioningImageTotalCount < Struct.new(
|
|
4709
|
+
:target_storage_class,
|
|
4710
|
+
:image_total_count)
|
|
4711
|
+
SENSITIVE = []
|
|
4712
|
+
include Aws::Structure
|
|
4713
|
+
end
|
|
4714
|
+
|
|
4304
4715
|
# The secret is unable to be accessed. Verify the resource permissions
|
|
4305
4716
|
# for the secret and try again.
|
|
4306
4717
|
#
|
|
@@ -4408,6 +4819,66 @@ module Aws::ECR
|
|
|
4408
4819
|
#
|
|
4409
4820
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
4410
4821
|
|
|
4822
|
+
# @!attribute [rw] registry_id
|
|
4823
|
+
# The Amazon Web Services account ID associated with the registry that
|
|
4824
|
+
# contains the image to transition. If you do not specify a registry,
|
|
4825
|
+
# the default registry is assumed.
|
|
4826
|
+
# @return [String]
|
|
4827
|
+
#
|
|
4828
|
+
# @!attribute [rw] repository_name
|
|
4829
|
+
# The name of the repository that contains the image to transition.
|
|
4830
|
+
# @return [String]
|
|
4831
|
+
#
|
|
4832
|
+
# @!attribute [rw] image_id
|
|
4833
|
+
# An object with identifying information for an image in an Amazon ECR
|
|
4834
|
+
# repository.
|
|
4835
|
+
# @return [Types::ImageIdentifier]
|
|
4836
|
+
#
|
|
4837
|
+
# @!attribute [rw] target_storage_class
|
|
4838
|
+
# The target storage class for the image.
|
|
4839
|
+
# @return [String]
|
|
4840
|
+
#
|
|
4841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateImageStorageClassRequest AWS API Documentation
|
|
4842
|
+
#
|
|
4843
|
+
class UpdateImageStorageClassRequest < Struct.new(
|
|
4844
|
+
:registry_id,
|
|
4845
|
+
:repository_name,
|
|
4846
|
+
:image_id,
|
|
4847
|
+
:target_storage_class)
|
|
4848
|
+
SENSITIVE = []
|
|
4849
|
+
include Aws::Structure
|
|
4850
|
+
end
|
|
4851
|
+
|
|
4852
|
+
# @!attribute [rw] registry_id
|
|
4853
|
+
# The registry ID associated with the request.
|
|
4854
|
+
# @return [String]
|
|
4855
|
+
#
|
|
4856
|
+
# @!attribute [rw] repository_name
|
|
4857
|
+
# The repository name associated with the request.
|
|
4858
|
+
# @return [String]
|
|
4859
|
+
#
|
|
4860
|
+
# @!attribute [rw] image_id
|
|
4861
|
+
# An object with identifying information for an image in an Amazon ECR
|
|
4862
|
+
# repository.
|
|
4863
|
+
# @return [Types::ImageIdentifier]
|
|
4864
|
+
#
|
|
4865
|
+
# @!attribute [rw] image_status
|
|
4866
|
+
# The current status of the image after the call to
|
|
4867
|
+
# UpdateImageStorageClass is complete. Valid values are `ACTIVE`,
|
|
4868
|
+
# `ARCHIVED`, and `ACTIVATING`.
|
|
4869
|
+
# @return [String]
|
|
4870
|
+
#
|
|
4871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UpdateImageStorageClassResponse AWS API Documentation
|
|
4872
|
+
#
|
|
4873
|
+
class UpdateImageStorageClassResponse < Struct.new(
|
|
4874
|
+
:registry_id,
|
|
4875
|
+
:repository_name,
|
|
4876
|
+
:image_id,
|
|
4877
|
+
:image_status)
|
|
4878
|
+
SENSITIVE = []
|
|
4879
|
+
include Aws::Structure
|
|
4880
|
+
end
|
|
4881
|
+
|
|
4411
4882
|
# @!attribute [rw] registry_id
|
|
4412
4883
|
# The Amazon Web Services account ID associated with the registry
|
|
4413
4884
|
# associated with the pull through cache rule. If you do not specify a
|
|
@@ -4522,8 +4993,9 @@ module Aws::ECR
|
|
|
4522
4993
|
# @return [String]
|
|
4523
4994
|
#
|
|
4524
4995
|
# @!attribute [rw] image_tag_mutability_exclusion_filters
|
|
4525
|
-
#
|
|
4526
|
-
#
|
|
4996
|
+
# A list of filters that specify which image tags should be excluded
|
|
4997
|
+
# from the repository creation template's image tag mutability
|
|
4998
|
+
# setting.
|
|
4527
4999
|
# @return [Array<Types::ImageTagMutabilityExclusionFilter>]
|
|
4528
5000
|
#
|
|
4529
5001
|
# @!attribute [rw] repository_policy
|