lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.34.0 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.35.0

- old
+ new

@@ -454,11 +454,11 @@ # resp.image_ids[0].image_digest #=> String # resp.image_ids[0].image_tag #=> 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_code #=> String, one of "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag", "ImageReferencedByManifestList", "KmsError" # resp.failures[0].failure_reason #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage AWS API Documentation # # @overload batch_delete_image(params = {}) @@ -555,11 +555,11 @@ # 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_code #=> String, one of "InvalidImageDigest", "InvalidImageTag", "ImageTagDoesNotMatchDigest", "ImageNotFound", "MissingDigestAndTag", "ImageReferencedByManifestList", "KmsError" # resp.failures[0].failure_reason #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage AWS API Documentation # # @overload batch_get_image(params = {}) @@ -657,14 +657,18 @@ # allow image tags to be overwritten. If `IMMUTABLE` is specified, all # image tags within the repository will be immutable which will prevent # them from being overwritten. # # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration - # The image scanning configuration for the repository. This setting - # determines whether images are scanned for known vulnerabilities after - # being pushed to the repository. + # The image scanning configuration for the repository. This determines + # whether images are scanned for known vulnerabilities after being + # pushed to the repository. # + # @option params [Types::EncryptionConfiguration] :encryption_configuration + # The encryption configuration for the repository. This determines how + # the contents of your repository are encrypted at rest. + # # @return [Types::CreateRepositoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateRepositoryResponse#repository #repository} => Types::Repository # # @@ -698,10 +702,14 @@ # ], # image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE # image_scanning_configuration: { # scan_on_push: false, # }, + # encryption_configuration: { + # encryption_type: "AES256", # required, accepts AES256, KMS + # kms_key: "KmsKey", + # }, # }) # # @example Response structure # # resp.repository.repository_arn #=> String @@ -709,10 +717,12 @@ # resp.repository.repository_name #=> String # resp.repository.repository_uri #=> String # resp.repository.created_at #=> Time # resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE" # resp.repository.image_scanning_configuration.scan_on_push #=> Boolean + # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS" + # resp.repository.encryption_configuration.kms_key #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository AWS API Documentation # # @overload create_repository(params = {}) # @param [Hash] params ({}) @@ -815,10 +825,12 @@ # resp.repository.repository_name #=> String # resp.repository.repository_uri #=> String # resp.repository.created_at #=> Time # resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE" # resp.repository.image_scanning_configuration.scan_on_push #=> Boolean + # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS" + # resp.repository.encryption_configuration.kms_key #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository AWS API Documentation # # @overload delete_repository(params = {}) # @param [Hash] params ({}) @@ -1157,10 +1169,12 @@ # resp.repositories[0].repository_name #=> String # resp.repositories[0].repository_uri #=> String # resp.repositories[0].created_at #=> Time # resp.repositories[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE" # resp.repositories[0].image_scanning_configuration.scan_on_push #=> Boolean + # resp.repositories[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS" + # resp.repositories[0].encryption_configuration.kms_key #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories AWS API Documentation # # @overload describe_repositories(params = {}) @@ -1688,11 +1702,12 @@ # 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. + # images that use the Docker Image Manifest V2 Schema 2 or Open + # Container Initiative (OCI) formats. # # @option params [String] :image_digest # The image digest of the image manifest corresponding to the image. # # @return [Types::PutImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: @@ -2135,11 +2150,11 @@ # # @option params [required, Integer] :part_last_byte # The position of the last byte of the layer part within the overall # image layer. # - # @option params [required, String, IO] :layer_part_blob + # @option params [required, String, StringIO, File] :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: # # * {Types::UploadLayerPartResponse#registry_id #registry_id} => String @@ -2185,10 +2200,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecr' - context[:gem_version] = '1.34.0' + context[:gem_version] = '1.35.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. #