aws-sdk-ecr 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67802c4b513c1134c610807e0563e24a6cff1c1f13ff8ad7514147b4fd688634
4
- data.tar.gz: cacd6cc7007025945b1f10144c9b94dbda28710bb130b0d5ca4bc1956fda2e8b
3
+ metadata.gz: 69898be111a558f8a390a9f154d2585f58dbbfdd86dbd97c3ad1c5dfc2030ceb
4
+ data.tar.gz: a2e92380ad62949cf9b2f3bb5833d56e72714e26d62d4787a74b9ec30f9d11c9
5
5
  SHA512:
6
- metadata.gz: 9143916f046959d4989481f2b06afcc3f7f35620f6c8025fe98b6a34cfc70f0e067560979af03e458594f8631e113ad39612adf62c73be51d340648ffe9a528d
7
- data.tar.gz: 41e009a164963588e5b7824c9e12ae987e302eb6ce39a2445711f410e347a42b62622b5b5de9480c023a5b18dc7ebd86d9434e3553084d6037e6aebe0dc3c2e0
6
+ metadata.gz: f8bf1eab7c501b8d85d211354be3c5ac6995a4e6afbfde7a199d9a1f297fa1c1f2d581a5c2b1654ebaa01b02858efd1b1afd474a73627224baea20f50cd647ab
7
+ data.tar.gz: 390f3fb0ae963cfeee5172369660b903463f152bab2df70b28dc0fe3f2561cffb763e7b34092bf411fca1ccf8c6a9fe95b03d7a27390ad6a789d4b16dbde3439
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2022-03-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for tracking images lastRecordedPullTime.
8
+
4
9
  1.54.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.55.0
@@ -1379,6 +1379,7 @@ module Aws::ECR
1379
1379
  # resp.image_details[0].image_scan_findings_summary.finding_severity_counts["FindingSeverity"] #=> Integer
1380
1380
  # resp.image_details[0].image_manifest_media_type #=> String
1381
1381
  # resp.image_details[0].artifact_media_type #=> String
1382
+ # resp.image_details[0].last_recorded_pull_time #=> Time
1382
1383
  # resp.next_token #=> String
1383
1384
  #
1384
1385
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages AWS API Documentation
@@ -2193,6 +2194,10 @@ module Aws::ECR
2193
2194
  req.send_request(options)
2194
2195
  end
2195
2196
 
2197
+ # The `PutImageScanningConfiguration` API is being deprecated, in favor
2198
+ # of specifying the image scanning configuration at the registry level.
2199
+ # For more information, see PutRegistryScanningConfiguration.
2200
+ #
2196
2201
  # Updates the image scanning configuration for the specified repository.
2197
2202
  #
2198
2203
  # @option params [String] :registry_id
@@ -2393,13 +2398,17 @@ module Aws::ECR
2393
2398
  # @option params [String] :scan_type
2394
2399
  # The scanning type to set for the registry.
2395
2400
  #
2396
- # By default, the `BASIC` scan type is used. When basic scanning is set,
2397
- # you may specify filters to determine which individual repositories, or
2398
- # all repositories, are scanned when new images are pushed.
2399
- # Alternatively, you can do manual scans of images with basic scanning.
2401
+ # When a registry scanning configuration is not defined, by default the
2402
+ # `BASIC` scan type is used. When basic scanning is used, you may
2403
+ # specify filters to determine which individual repositories, or all
2404
+ # repositories, are scanned when new images are pushed to those
2405
+ # repositories. Alternatively, you can do manual scans of images with
2406
+ # basic scanning.
2400
2407
  #
2401
2408
  # When the `ENHANCED` scan type is set, Amazon Inspector provides
2402
- # automated, continuous scanning of all repositories in your registry.
2409
+ # automated vulnerability scanning. You may choose between continuous
2410
+ # scanning or scan on push and you may specify filters to determine
2411
+ # which individual repositories, or all repositories, are scanned.
2403
2412
  #
2404
2413
  # @option params [Array<Types::RegistryScanningRule>] :rules
2405
2414
  # The scanning rules to use for the registry. A scanning rule is used to
@@ -2826,7 +2835,7 @@ module Aws::ECR
2826
2835
  params: params,
2827
2836
  config: config)
2828
2837
  context[:gem_name] = 'aws-sdk-ecr'
2829
- context[:gem_version] = '1.54.0'
2838
+ context[:gem_version] = '1.55.0'
2830
2839
  Seahorse::Client::Request.new(handlers, context)
2831
2840
  end
2832
2841
 
@@ -209,6 +209,7 @@ module Aws::ECR
209
209
  Reason = Shapes::StringShape.new(name: 'Reason')
210
210
  Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
211
211
  RecommendationText = Shapes::StringShape.new(name: 'RecommendationText')
212
+ RecordedPullTimestamp = Shapes::TimestampShape.new(name: 'RecordedPullTimestamp')
212
213
  ReferenceUrlsList = Shapes::ListShape.new(name: 'ReferenceUrlsList')
213
214
  ReferencedImagesNotFoundException = Shapes::StructureShape.new(name: 'ReferencedImagesNotFoundException')
214
215
  Region = Shapes::StringShape.new(name: 'Region')
@@ -646,6 +647,7 @@ module Aws::ECR
646
647
  ImageDetail.add_member(:image_scan_findings_summary, Shapes::ShapeRef.new(shape: ImageScanFindingsSummary, location_name: "imageScanFindingsSummary"))
647
648
  ImageDetail.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
648
649
  ImageDetail.add_member(:artifact_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "artifactMediaType"))
650
+ ImageDetail.add_member(:last_recorded_pull_time, Shapes::ShapeRef.new(shape: RecordedPullTimestamp, location_name: "lastRecordedPullTime"))
649
651
  ImageDetail.struct_class = Types::ImageDetail
650
652
 
651
653
  ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
@@ -1954,6 +1954,21 @@ module Aws::ECR
1954
1954
  # The artifact media type of the image.
1955
1955
  # @return [String]
1956
1956
  #
1957
+ # @!attribute [rw] last_recorded_pull_time
1958
+ # The date and time, expressed in standard JavaScript date format,
1959
+ # when Amazon ECR recorded the last image pull.
1960
+ #
1961
+ # <note markdown="1"> Amazon ECR refreshes the last image pull timestamp at least once
1962
+ # every 24 hours. For example, if you pull an image once a day then
1963
+ # the `lastRecordedPullTime` timestamp will indicate the exact time
1964
+ # that the image was last pulled. However, if you pull an image once
1965
+ # an hour, because Amazon ECR refreshes the `lastRecordedPullTime`
1966
+ # timestamp at least once every 24 hours, the result may not be the
1967
+ # exact time that the image was last pulled.
1968
+ #
1969
+ # </note>
1970
+ # @return [Time]
1971
+ #
1957
1972
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail AWS API Documentation
1958
1973
  #
1959
1974
  class ImageDetail < Struct.new(
@@ -1966,7 +1981,8 @@ module Aws::ECR
1966
1981
  :image_scan_status,
1967
1982
  :image_scan_findings_summary,
1968
1983
  :image_manifest_media_type,
1969
- :artifact_media_type)
1984
+ :artifact_media_type,
1985
+ :last_recorded_pull_time)
1970
1986
  SENSITIVE = []
1971
1987
  include Aws::Structure
1972
1988
  end
@@ -3208,14 +3224,17 @@ module Aws::ECR
3208
3224
  # @!attribute [rw] scan_type
3209
3225
  # The scanning type to set for the registry.
3210
3226
  #
3211
- # By default, the `BASIC` scan type is used. When basic scanning is
3212
- # set, you may specify filters to determine which individual
3213
- # repositories, or all repositories, are scanned when new images are
3214
- # pushed. Alternatively, you can do manual scans of images with basic
3215
- # scanning.
3227
+ # When a registry scanning configuration is not defined, by default
3228
+ # the `BASIC` scan type is used. When basic scanning is used, you may
3229
+ # specify filters to determine which individual repositories, or all
3230
+ # repositories, are scanned when new images are pushed to those
3231
+ # repositories. Alternatively, you can do manual scans of images with
3232
+ # basic scanning.
3216
3233
  #
3217
3234
  # When the `ENHANCED` scan type is set, Amazon Inspector provides
3218
- # automated, continuous scanning of all repositories in your registry.
3235
+ # automated vulnerability scanning. You may choose between continuous
3236
+ # scanning or scan on push and you may specify filters to determine
3237
+ # which individual repositories, or all repositories, are scanned.
3219
3238
  # @return [String]
3220
3239
  #
3221
3240
  # @!attribute [rw] rules
@@ -3375,6 +3394,10 @@ module Aws::ECR
3375
3394
  #
3376
3395
  # @!attribute [rw] scan_frequency
3377
3396
  # The frequency that scans are performed at for a private registry.
3397
+ # When the `ENHANCED` scan type is specified, the supported scan
3398
+ # frequencies are `CONTINUOUS_SCAN` and `SCAN_ON_PUSH`. When the
3399
+ # `BASIC` scan type is specified, the `SCAN_ON_PUSH` and `MANUAL` scan
3400
+ # frequencies are supported.
3378
3401
  # @return [String]
3379
3402
  #
3380
3403
  # @!attribute [rw] repository_filters
@@ -4038,10 +4061,10 @@ module Aws::ECR
4038
4061
  include Aws::Structure
4039
4062
  end
4040
4063
 
4041
- # The metadata that you apply to a resource to help you categorize and
4042
- # organize them. Each tag consists of a key and an optional value, both
4043
- # of which you define. Tag keys can have a maximum character length of
4044
- # 128 characters, and tag values can have a maximum length of 256
4064
+ # The metadata to apply to a resource to help you categorize and
4065
+ # organize them. Each tag consists of a key and a value, both of which
4066
+ # you define. Tag keys can have a maximum character length of 128
4067
+ # characters, and tag values can have a maximum length of 256
4045
4068
  # characters.
4046
4069
  #
4047
4070
  # @note When making an API call, you may pass Tag
@@ -4059,8 +4082,7 @@ module Aws::ECR
4059
4082
  # @return [String]
4060
4083
  #
4061
4084
  # @!attribute [rw] value
4062
- # The optional part of a key-value pair that make up a tag. A `value`
4063
- # acts as a descriptor within a tag category (key).
4085
+ # A `value` acts as a descriptor within a tag category (key).
4064
4086
  # @return [String]
4065
4087
  #
4066
4088
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Tag AWS API Documentation
data/lib/aws-sdk-ecr.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-ecr/customizations'
49
49
  # @!group service
50
50
  module Aws::ECR
51
51
 
52
- GEM_VERSION = '1.54.0'
52
+ GEM_VERSION = '1.55.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core