aws-sdk-ecr 1.32.0 → 1.33.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: 20ac92b1cd6d7111a8a09fc5fa7ecad85a024f9a51579f924a66c2fad2c9b4d3
4
- data.tar.gz: c9b0ea66ceb5e23806de2bf0f75e45af1fdeb5c68a1fe6a2eeb801d262c09192
3
+ metadata.gz: 6954dd0033c1368041d7d973927c9233c1f1cddd18bfecbf4e9f534eeb597174
4
+ data.tar.gz: bc27920674c82bdc4d115d663d9f22592a1dafb0083e34e3a8da01a8815f5163
5
5
  SHA512:
6
- metadata.gz: 4f59fad5102a68eb17d28765f897e0b48854a8a5553d1195007b0842975a513d5f19157c793285bfec6a116f278508c5e9a79307efaee003b371e4bc71fbde00
7
- data.tar.gz: b5a8925fffb271d4b9cb44efecc6140e60b48ce26c0b2093fbf28e355104f7e657856a137a95d8cd0035761d8c3098375637d706c5c80c8db2d073d7fd3b7cfe
6
+ metadata.gz: 6ae5317c3ff61f2f9f7810a8dd2544fb8b186f92110f63000d01194d91bbfb5896eb90003b0c654a5f16a5aa306fa7b5c5ad4035b3af824ee9afb7ce1a3b6040
7
+ data.tar.gz: f99f05c5fb4c1c21db52b28ed785f9655ba6363db78bc5d1ed9e36e5fa28de5e201486053e9274423215887038431d27903de79fd4370a2dd9caa7ad5af5ef6b
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ecr/customizations'
48
48
  # @service
49
49
  module Aws::ECR
50
50
 
51
- GEM_VERSION = '1.32.0'
51
+ GEM_VERSION = '1.33.0'
52
52
 
53
53
  end
@@ -1692,6 +1692,9 @@ module Aws::ECR
1692
1692
  # The tag to associate with the image. This parameter is required for
1693
1693
  # images that use the Docker Image Manifest V2 Schema 2 or OCI formats.
1694
1694
  #
1695
+ # @option params [String] :image_digest
1696
+ # The image digest of the image manifest corresponding to the image.
1697
+ #
1695
1698
  # @return [Types::PutImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1696
1699
  #
1697
1700
  # * {Types::PutImageResponse#image #image} => Types::Image
@@ -1704,6 +1707,7 @@ module Aws::ECR
1704
1707
  # image_manifest: "ImageManifest", # required
1705
1708
  # image_manifest_media_type: "MediaType",
1706
1709
  # image_tag: "ImageTag",
1710
+ # image_digest: "ImageDigest",
1707
1711
  # })
1708
1712
  #
1709
1713
  # @example Response structure
@@ -2183,7 +2187,7 @@ module Aws::ECR
2183
2187
  params: params,
2184
2188
  config: config)
2185
2189
  context[:gem_name] = 'aws-sdk-ecr'
2186
- context[:gem_version] = '1.32.0'
2190
+ context[:gem_version] = '1.33.0'
2187
2191
  Seahorse::Client::Request.new(handlers, context)
2188
2192
  end
2189
2193
 
@@ -74,6 +74,7 @@ module Aws::ECR
74
74
  ImageDetail = Shapes::StructureShape.new(name: 'ImageDetail')
75
75
  ImageDetailList = Shapes::ListShape.new(name: 'ImageDetailList')
76
76
  ImageDigest = Shapes::StringShape.new(name: 'ImageDigest')
77
+ ImageDigestDoesNotMatchException = Shapes::StructureShape.new(name: 'ImageDigestDoesNotMatchException')
77
78
  ImageFailure = Shapes::StructureShape.new(name: 'ImageFailure')
78
79
  ImageFailureCode = Shapes::StringShape.new(name: 'ImageFailureCode')
79
80
  ImageFailureList = Shapes::ListShape.new(name: 'ImageFailureList')
@@ -403,6 +404,9 @@ module Aws::ECR
403
404
 
404
405
  ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
405
406
 
407
+ ImageDigestDoesNotMatchException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
408
+ ImageDigestDoesNotMatchException.struct_class = Types::ImageDigestDoesNotMatchException
409
+
406
410
  ImageFailure.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
407
411
  ImageFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ImageFailureCode, location_name: "failureCode"))
408
412
  ImageFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ImageFailureReason, location_name: "failureReason"))
@@ -563,6 +567,7 @@ module Aws::ECR
563
567
  PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
564
568
  PutImageRequest.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
565
569
  PutImageRequest.add_member(:image_tag, Shapes::ShapeRef.new(shape: ImageTag, location_name: "imageTag"))
570
+ PutImageRequest.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
566
571
  PutImageRequest.struct_class = Types::PutImageRequest
567
572
 
568
573
  PutImageResponse.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
@@ -999,6 +1004,7 @@ module Aws::ECR
999
1004
  o.errors << Shapes::ShapeRef.new(shape: ReferencedImagesNotFoundException)
1000
1005
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1001
1006
  o.errors << Shapes::ShapeRef.new(shape: ImageTagAlreadyExistsException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ImageDigestDoesNotMatchException)
1002
1008
  end)
1003
1009
 
1004
1010
  api.add_operation(:put_image_scanning_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -29,6 +29,7 @@ module Aws::ECR
29
29
  # ## Error Classes
30
30
  # * {EmptyUploadException}
31
31
  # * {ImageAlreadyExistsException}
32
+ # * {ImageDigestDoesNotMatchException}
32
33
  # * {ImageNotFoundException}
33
34
  # * {ImageTagAlreadyExistsException}
34
35
  # * {InvalidLayerException}
@@ -90,6 +91,21 @@ module Aws::ECR
90
91
  end
91
92
  end
92
93
 
94
+ class ImageDigestDoesNotMatchException < ServiceError
95
+
96
+ # @param [Seahorse::Client::RequestContext] context
97
+ # @param [String] message
98
+ # @param [Aws::ECR::Types::ImageDigestDoesNotMatchException] data
99
+ def initialize(context, message, data = Aws::EmptyStructure.new)
100
+ super(context, message, data)
101
+ end
102
+
103
+ # @return [String]
104
+ def message
105
+ @message || @data[:message]
106
+ end
107
+ end
108
+
93
109
  class ImageNotFoundException < ServiceError
94
110
 
95
111
  # @param [Seahorse::Client::RequestContext] context
@@ -1263,6 +1263,20 @@ module Aws::ECR
1263
1263
  include Aws::Structure
1264
1264
  end
1265
1265
 
1266
+ # The specified image digest does not match the digest that Amazon ECR
1267
+ # calculated for the image.
1268
+ #
1269
+ # @!attribute [rw] message
1270
+ # @return [String]
1271
+ #
1272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDigestDoesNotMatchException AWS API Documentation
1273
+ #
1274
+ class ImageDigestDoesNotMatchException < Struct.new(
1275
+ :message)
1276
+ SENSITIVE = []
1277
+ include Aws::Structure
1278
+ end
1279
+
1266
1280
  # An object representing an Amazon ECR image failure.
1267
1281
  #
1268
1282
  # @!attribute [rw] image_id
@@ -2008,6 +2022,7 @@ module Aws::ECR
2008
2022
  # image_manifest: "ImageManifest", # required
2009
2023
  # image_manifest_media_type: "MediaType",
2010
2024
  # image_tag: "ImageTag",
2025
+ # image_digest: "ImageDigest",
2011
2026
  # }
2012
2027
  #
2013
2028
  # @!attribute [rw] registry_id
@@ -2036,6 +2051,10 @@ module Aws::ECR
2036
2051
  # formats.
2037
2052
  # @return [String]
2038
2053
  #
2054
+ # @!attribute [rw] image_digest
2055
+ # The image digest of the image manifest corresponding to the image.
2056
+ # @return [String]
2057
+ #
2039
2058
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest AWS API Documentation
2040
2059
  #
2041
2060
  class PutImageRequest < Struct.new(
@@ -2043,7 +2062,8 @@ module Aws::ECR
2043
2062
  :repository_name,
2044
2063
  :image_manifest,
2045
2064
  :image_manifest_media_type,
2046
- :image_tag)
2065
+ :image_tag,
2066
+ :image_digest)
2047
2067
  SENSITIVE = []
2048
2068
  include Aws::Structure
2049
2069
  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.32.0
4
+ version: 1.33.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core