lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.22.0 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.23.0
- old
+ new
@@ -1658,12 +1658,20 @@
def put_image_scanning_configuration(params = {}, options = {})
req = build_request(:put_image_scanning_configuration, params)
req.send_request(options)
end
- # Updates the image tag mutability settings for a repository.
+ # Updates the image tag mutability settings for a repository. When a
+ # repository is configured with tag immutability, all image tags within
+ # the repository will be prevented them from being overwritten. For more
+ # information, see [Image Tag Mutability][1] in the *Amazon Elastic
+ # Container Registry User Guide*.
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html
+ #
# @option params [String] :registry_id
# The AWS account ID associated with the registry that contains the
# repository in which to update the image tag mutability settings. If
# you do not specify a registry, the default registry is assumed.
#
@@ -1812,12 +1820,19 @@
def set_repository_policy(params = {}, options = {})
req = build_request(:set_repository_policy, params)
req.send_request(options)
end
- # Starts an image vulnerability scan.
+ # Starts an image vulnerability scan. An image scan can only be started
+ # once per day on an individual image. This limit includes if an image
+ # was scanned on initial push. For more information, see [Image
+ # Scanning][1] in the *Amazon Elastic Container Registry User Guide*.
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
+ #
# @option params [String] :registry_id
# The AWS account ID associated with the registry that contains the
# repository in which to start an image scan request. If you do not
# specify a registry, the default registry is assumed.
#
@@ -2048,10 +2063,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecr'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated