lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.28.0 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.29.0

- old
+ new

@@ -547,10 +547,11 @@ # resp.images[0].registry_id #=> String # resp.images[0].repository_name #=> String # resp.images[0].image_id.image_digest #=> String # resp.images[0].image_id.image_tag #=> String # resp.images[0].image_manifest #=> String + # resp.images[0].image_manifest_media_type #=> String # resp.failures #=> Array # resp.failures[0].image_id.image_digest #=> String # resp.failures[0].image_id.image_tag #=> String # resp.failures[0].failure_code #=> String, one of "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag", "ImageReferencedByManifestList" # resp.failures[0].failure_reason #=> String @@ -1676,10 +1677,15 @@ # The name of the repository in which to put the image. # # @option params [required, String] :image_manifest # The image manifest corresponding to the image to be uploaded. # + # @option params [String] :image_manifest_media_type + # The media type of the image manifest. If you push an image manifest + # that does not contain the `mediaType` field, you must specify the + # `imageManifestMediaType` in the request. + # # @option params [String] :image_tag # The tag to associate with the image. This parameter is required for # images that use the Docker Image Manifest V2 Schema 2 or OCI formats. # # @return [Types::PutImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: @@ -1690,20 +1696,22 @@ # # resp = client.put_image({ # registry_id: "RegistryId", # repository_name: "RepositoryName", # required # image_manifest: "ImageManifest", # required + # image_manifest_media_type: "MediaType", # image_tag: "ImageTag", # }) # # @example Response structure # # resp.image.registry_id #=> String # resp.image.repository_name #=> String # resp.image.image_id.image_digest #=> String # resp.image.image_id.image_tag #=> String # resp.image.image_manifest #=> String + # resp.image.image_manifest_media_type #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage AWS API Documentation # # @overload put_image(params = {}) # @param [Hash] params ({}) @@ -1863,11 +1871,11 @@ # access permissions. For more information, see [Amazon ECR Repository # Policies][1] in the *Amazon Elastic Container Registry User Guide*. # # # - # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicies.html + # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html # # @option params [String] :registry_id # The AWS account ID associated with the registry that contains the # repository. If you do not specify a registry, the default registry is # assumed. @@ -1875,16 +1883,16 @@ # @option params [required, String] :repository_name # The name of the repository to receive the policy. # # @option params [required, String] :policy_text # The JSON repository policy text to apply to the repository. For more - # information, see [Amazon ECR Repository Policy Examples][1] in the - # *Amazon Elastic Container Registry User Guide*. + # information, see [Amazon ECR Repository Policies][1] in the *Amazon + # Elastic Container Registry User Guide*. # # # - # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/RepositoryPolicyExamples.html + # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html # # @option params [Boolean] :force # If the policy you are attempting to set on a repository policy would # prevent you from setting another policy in the future, you must force # the SetRepositoryPolicy operation. This is intended to prevent @@ -2112,14 +2120,16 @@ # @option params [required, String] :upload_id # The upload ID from a previous InitiateLayerUpload operation to # associate with the layer part upload. # # @option params [required, Integer] :part_first_byte - # The integer value of the first byte of the layer part. + # The position of the first byte of the layer part witin the overall + # image layer. # # @option params [required, Integer] :part_last_byte - # The integer value of the last byte of the layer part. + # The position of the last byte of the layer part within the overall + # image layer. # # @option params [required, String, IO] :layer_part_blob # The base64-encoded layer part payload. # # @return [Types::UploadLayerPartResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: @@ -2167,10 +2177,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecr' - context[:gem_version] = '1.28.0' + context[:gem_version] = '1.29.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #