aws-sdk-ecr 1.28.0 → 1.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d20cb101824e55ad28c0603549cd6a74072945669d002063e18a19189f6aca41
4
- data.tar.gz: 3578fe5f869c7bb07f7f7c26b0f7254cb4e73a97e05fc730301138062a46f865
3
+ metadata.gz: 260de6413c3aaf3742a94d7f4382438cdb0275cc633731e7494cae415e5704a9
4
+ data.tar.gz: 2cc8fc9f1abf6a32f47dce51fd437079d1939b0e25f54fed1b8c50eaa100461f
5
5
  SHA512:
6
- metadata.gz: 3420a22dbd4a940b2e7be8e2eee451df2725b90a5dcd327f0b450a01042e15dce55e22a9e00e2fc4a5f940b7f38e65fa05a9686459acfa201145602771a7f40e
7
- data.tar.gz: 633afeacb41d5c290a40411f27bc34b8b01494b08d29eb38eb6b4812e49092943b9a0b08cad2702b000b324a87fd32893ca355d701a06d4e1f51b67562b2c241
6
+ metadata.gz: d5a6fb49410356b8338cdcf60b1e486159fca68bc3f1309dfdbdd0f87590d6fad0cfc8480010b6cbc1627d462e2f6b374d52bd09949476d39452704e1e09dcde
7
+ data.tar.gz: 888b07eb4120ded756727ff2ea5117207f14fd3f89c321bb8cba6ca7c999df97fa60c256138520bbf1b2663eef507b81c5343fe837fc4623a4c351f9145ee1ad
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-ecr/customizations'
46
46
  # @service
47
47
  module Aws::ECR
48
48
 
49
- GEM_VERSION = '1.28.0'
49
+ GEM_VERSION = '1.29.0'
50
50
 
51
51
  end
@@ -549,6 +549,7 @@ module Aws::ECR
549
549
  # resp.images[0].image_id.image_digest #=> String
550
550
  # resp.images[0].image_id.image_tag #=> String
551
551
  # resp.images[0].image_manifest #=> String
552
+ # resp.images[0].image_manifest_media_type #=> String
552
553
  # resp.failures #=> Array
553
554
  # resp.failures[0].image_id.image_digest #=> String
554
555
  # resp.failures[0].image_id.image_tag #=> String
@@ -1678,6 +1679,11 @@ module Aws::ECR
1678
1679
  # @option params [required, String] :image_manifest
1679
1680
  # The image manifest corresponding to the image to be uploaded.
1680
1681
  #
1682
+ # @option params [String] :image_manifest_media_type
1683
+ # The media type of the image manifest. If you push an image manifest
1684
+ # that does not contain the `mediaType` field, you must specify the
1685
+ # `imageManifestMediaType` in the request.
1686
+ #
1681
1687
  # @option params [String] :image_tag
1682
1688
  # The tag to associate with the image. This parameter is required for
1683
1689
  # images that use the Docker Image Manifest V2 Schema 2 or OCI formats.
@@ -1692,6 +1698,7 @@ module Aws::ECR
1692
1698
  # registry_id: "RegistryId",
1693
1699
  # repository_name: "RepositoryName", # required
1694
1700
  # image_manifest: "ImageManifest", # required
1701
+ # image_manifest_media_type: "MediaType",
1695
1702
  # image_tag: "ImageTag",
1696
1703
  # })
1697
1704
  #
@@ -1702,6 +1709,7 @@ module Aws::ECR
1702
1709
  # resp.image.image_id.image_digest #=> String
1703
1710
  # resp.image.image_id.image_tag #=> String
1704
1711
  # resp.image.image_manifest #=> String
1712
+ # resp.image.image_manifest_media_type #=> String
1705
1713
  #
1706
1714
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage AWS API Documentation
1707
1715
  #
@@ -1865,7 +1873,7 @@ module Aws::ECR
1865
1873
  #
1866
1874
  #
1867
1875
  #
1868
- # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicies.html
1876
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html
1869
1877
  #
1870
1878
  # @option params [String] :registry_id
1871
1879
  # The AWS account ID associated with the registry that contains the
@@ -1877,12 +1885,12 @@ module Aws::ECR
1877
1885
  #
1878
1886
  # @option params [required, String] :policy_text
1879
1887
  # The JSON repository policy text to apply to the repository. For more
1880
- # information, see [Amazon ECR Repository Policy Examples][1] in the
1881
- # *Amazon Elastic Container Registry User Guide*.
1888
+ # information, see [Amazon ECR Repository Policies][1] in the *Amazon
1889
+ # Elastic Container Registry User Guide*.
1882
1890
  #
1883
1891
  #
1884
1892
  #
1885
- # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
1893
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html
1886
1894
  #
1887
1895
  # @option params [Boolean] :force
1888
1896
  # If the policy you are attempting to set on a repository policy would
@@ -2114,10 +2122,12 @@ module Aws::ECR
2114
2122
  # associate with the layer part upload.
2115
2123
  #
2116
2124
  # @option params [required, Integer] :part_first_byte
2117
- # The integer value of the first byte of the layer part.
2125
+ # The position of the first byte of the layer part witin the overall
2126
+ # image layer.
2118
2127
  #
2119
2128
  # @option params [required, Integer] :part_last_byte
2120
- # The integer value of the last byte of the layer part.
2129
+ # The position of the last byte of the layer part within the overall
2130
+ # image layer.
2121
2131
  #
2122
2132
  # @option params [required, String, IO] :layer_part_blob
2123
2133
  # The base64-encoded layer part payload.
@@ -2169,7 +2179,7 @@ module Aws::ECR
2169
2179
  params: params,
2170
2180
  config: config)
2171
2181
  context[:gem_name] = 'aws-sdk-ecr'
2172
- context[:gem_version] = '1.28.0'
2182
+ context[:gem_version] = '1.29.0'
2173
2183
  Seahorse::Client::Request.new(handlers, context)
2174
2184
  end
2175
2185
 
@@ -383,6 +383,7 @@ module Aws::ECR
383
383
  Image.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
384
384
  Image.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
385
385
  Image.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, location_name: "imageManifest"))
386
+ Image.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
386
387
  Image.struct_class = Types::Image
387
388
 
388
389
  ImageAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
@@ -558,6 +559,7 @@ module Aws::ECR
558
559
  PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
559
560
  PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
560
561
  PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
562
+ PutImageRequest.add_member(:image_manifest_media_type, Shapes::ShapeRef.new(shape: MediaType, location_name: "imageManifestMediaType"))
561
563
  PutImageRequest.add_member(:image_tag, Shapes::ShapeRef.new(shape: ImageTag, location_name: "imageTag"))
562
564
  PutImageRequest.struct_class = Types::PutImageRequest
563
565
 
@@ -1131,13 +1131,18 @@ module Aws::ECR
1131
1131
  # The image manifest associated with the image.
1132
1132
  # @return [String]
1133
1133
  #
1134
+ # @!attribute [rw] image_manifest_media_type
1135
+ # The media type associated with the image manifest.
1136
+ # @return [String]
1137
+ #
1134
1138
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image AWS API Documentation
1135
1139
  #
1136
1140
  class Image < Struct.new(
1137
1141
  :registry_id,
1138
1142
  :repository_name,
1139
1143
  :image_id,
1140
- :image_manifest)
1144
+ :image_manifest,
1145
+ :image_manifest_media_type)
1141
1146
  include Aws::Structure
1142
1147
  end
1143
1148
 
@@ -1766,13 +1771,12 @@ module Aws::ECR
1766
1771
  end
1767
1772
 
1768
1773
  # The operation did not succeed because it would have exceeded a service
1769
- # limit for your account. For more information, see [Amazon ECR Default
1770
- # Service Limits][1] in the Amazon Elastic Container Registry User
1771
- # Guide.
1774
+ # limit for your account. For more information, see [Amazon ECR Service
1775
+ # Quotas][1] in the Amazon Elastic Container Registry User Guide.
1772
1776
  #
1773
1777
  #
1774
1778
  #
1775
- # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html
1779
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html
1776
1780
  #
1777
1781
  # @!attribute [rw] message
1778
1782
  # The error message associated with the exception.
@@ -1927,6 +1931,7 @@ module Aws::ECR
1927
1931
  # registry_id: "RegistryId",
1928
1932
  # repository_name: "RepositoryName", # required
1929
1933
  # image_manifest: "ImageManifest", # required
1934
+ # image_manifest_media_type: "MediaType",
1930
1935
  # image_tag: "ImageTag",
1931
1936
  # }
1932
1937
  #
@@ -1944,6 +1949,12 @@ module Aws::ECR
1944
1949
  # The image manifest corresponding to the image to be uploaded.
1945
1950
  # @return [String]
1946
1951
  #
1952
+ # @!attribute [rw] image_manifest_media_type
1953
+ # The media type of the image manifest. If you push an image manifest
1954
+ # that does not contain the `mediaType` field, you must specify the
1955
+ # `imageManifestMediaType` in the request.
1956
+ # @return [String]
1957
+ #
1947
1958
  # @!attribute [rw] image_tag
1948
1959
  # The tag to associate with the image. This parameter is required for
1949
1960
  # images that use the Docker Image Manifest V2 Schema 2 or OCI
@@ -1956,6 +1967,7 @@ module Aws::ECR
1956
1967
  :registry_id,
1957
1968
  :repository_name,
1958
1969
  :image_manifest,
1970
+ :image_manifest_media_type,
1959
1971
  :image_tag)
1960
1972
  include Aws::Structure
1961
1973
  end
@@ -2307,12 +2319,12 @@ module Aws::ECR
2307
2319
  #
2308
2320
  # @!attribute [rw] policy_text
2309
2321
  # The JSON repository policy text to apply to the repository. For more
2310
- # information, see [Amazon ECR Repository Policy Examples][1] in the
2311
- # *Amazon Elastic Container Registry User Guide*.
2322
+ # information, see [Amazon ECR Repository Policies][1] in the *Amazon
2323
+ # Elastic Container Registry User Guide*.
2312
2324
  #
2313
2325
  #
2314
2326
  #
2315
- # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html
2327
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html
2316
2328
  # @return [String]
2317
2329
  #
2318
2330
  # @!attribute [rw] force
@@ -2627,11 +2639,13 @@ module Aws::ECR
2627
2639
  # @return [String]
2628
2640
  #
2629
2641
  # @!attribute [rw] part_first_byte
2630
- # The integer value of the first byte of the layer part.
2642
+ # The position of the first byte of the layer part witin the overall
2643
+ # image layer.
2631
2644
  # @return [Integer]
2632
2645
  #
2633
2646
  # @!attribute [rw] part_last_byte
2634
- # The integer value of the last byte of the layer part.
2647
+ # The position of the last byte of the layer part within the overall
2648
+ # image layer.
2635
2649
  # @return [Integer]
2636
2650
  #
2637
2651
  # @!attribute [rw] layer_part_blob
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.28.0
4
+ version: 1.29.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-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core