aws-sdk-ecr 1.52.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +19 -6
- data/lib/aws-sdk-ecr/client_api.rb +2 -0
- data/lib/aws-sdk-ecr/types.rb +35 -13
- data/lib/aws-sdk-ecr.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69898be111a558f8a390a9f154d2585f58dbbfdd86dbd97c3ad1c5dfc2030ceb
|
4
|
+
data.tar.gz: a2e92380ad62949cf9b2f3bb5833d56e72714e26d62d4787a74b9ec30f9d11c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8bf1eab7c501b8d85d211354be3c5ac6995a4e6afbfde7a199d9a1f297fa1c1f2d581a5c2b1654ebaa01b02858efd1b1afd474a73627224baea20f50cd647ab
|
7
|
+
data.tar.gz: 390f3fb0ae963cfeee5172369660b903463f152bab2df70b28dc0fe3f2561cffb763e7b34092bf411fca1ccf8c6a9fe95b03d7a27390ad6a789d4b16dbde3439
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
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
|
+
|
9
|
+
1.54.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.53.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.52.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::ECR
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -1375,6 +1379,7 @@ module Aws::ECR
|
|
1375
1379
|
# resp.image_details[0].image_scan_findings_summary.finding_severity_counts["FindingSeverity"] #=> Integer
|
1376
1380
|
# resp.image_details[0].image_manifest_media_type #=> String
|
1377
1381
|
# resp.image_details[0].artifact_media_type #=> String
|
1382
|
+
# resp.image_details[0].last_recorded_pull_time #=> Time
|
1378
1383
|
# resp.next_token #=> String
|
1379
1384
|
#
|
1380
1385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages AWS API Documentation
|
@@ -2189,6 +2194,10 @@ module Aws::ECR
|
|
2189
2194
|
req.send_request(options)
|
2190
2195
|
end
|
2191
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
|
+
#
|
2192
2201
|
# Updates the image scanning configuration for the specified repository.
|
2193
2202
|
#
|
2194
2203
|
# @option params [String] :registry_id
|
@@ -2389,13 +2398,17 @@ module Aws::ECR
|
|
2389
2398
|
# @option params [String] :scan_type
|
2390
2399
|
# The scanning type to set for the registry.
|
2391
2400
|
#
|
2392
|
-
#
|
2393
|
-
#
|
2394
|
-
#
|
2395
|
-
#
|
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.
|
2396
2407
|
#
|
2397
2408
|
# When the `ENHANCED` scan type is set, Amazon Inspector provides
|
2398
|
-
# automated
|
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.
|
2399
2412
|
#
|
2400
2413
|
# @option params [Array<Types::RegistryScanningRule>] :rules
|
2401
2414
|
# The scanning rules to use for the registry. A scanning rule is used to
|
@@ -2822,7 +2835,7 @@ module Aws::ECR
|
|
2822
2835
|
params: params,
|
2823
2836
|
config: config)
|
2824
2837
|
context[:gem_name] = 'aws-sdk-ecr'
|
2825
|
-
context[:gem_version] = '1.
|
2838
|
+
context[:gem_version] = '1.55.0'
|
2826
2839
|
Seahorse::Client::Request.new(handlers, context)
|
2827
2840
|
end
|
2828
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)
|
data/lib/aws-sdk-ecr/types.rb
CHANGED
@@ -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
|
-
#
|
3212
|
-
#
|
3213
|
-
#
|
3214
|
-
#
|
3215
|
-
#
|
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
|
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
|
4042
|
-
# organize them. Each tag consists of a key and
|
4043
|
-
#
|
4044
|
-
#
|
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
|
-
#
|
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
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.
|
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:
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|