lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.2.0 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.3.0

- old
+ new

@@ -514,12 +514,11 @@ # The AWS account ID associated with the registry that contains the # repository. If you do not specify a registry, the default registry is # assumed. # # @option params [required, String] :repository_name - # The name of the repository that is associated with the repository - # policy to
 delete. + # The name of the repository. # # @return [Types::DeleteLifecyclePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DeleteLifecyclePolicyResponse#registry_id #registry_id} => String # * {Types::DeleteLifecyclePolicyResponse#repository_name #repository_name} => String @@ -693,21 +692,23 @@ # @option params [String] :next_token # The `nextToken` value returned from a previous paginated # `DescribeImages` request where `maxResults` was used and the results # exceeded the value of that parameter. Pagination continues from the # end of the previous results that returned the `nextToken` value. This - # value is `null` when there are no more results to return. + # value is `null` when there are no more results to return. This option + # cannot be used when you specify images with `imageIds`. # # @option params [Integer] :max_results # The maximum number of repository results returned by `DescribeImages` # in paginated output. When this parameter is used, `DescribeImages` # only returns `maxResults` results in a single page along with a # `nextToken` response element. The remaining results of the initial # request can be seen by sending another `DescribeImages` request with # the returned `nextToken` value. This value can be between 1 and 100. # If this parameter is not used, then `DescribeImages` returns up to 100 - # results and a `nextToken` value, if applicable. + # results and a `nextToken` value, if applicable. This option cannot be + # used when you specify images with `imageIds`. # # @option params [Types::DescribeImagesFilter] :filter # The filter key and value with which to filter your `DescribeImages` # results. # @@ -770,10 +771,12 @@ # The `nextToken` value returned from a previous paginated # `DescribeRepositories` request where `maxResults` was used and the # results exceeded the value of that parameter. Pagination continues # from the end of the previous results that returned the `nextToken` # value. This value is `null` when there are no more results to return. + # This option cannot be used when you specify repositories with + # `repositoryNames`. # # <note markdown="1"> This token should be treated as an opaque identifier that is only used # to retrieve the next items in a list and not for other programmatic # purposes. # @@ -786,11 +789,12 @@ # single page along with a `nextToken` response element. The remaining # results of the initial request can be seen by sending another # `DescribeRepositories` request with the returned `nextToken` value. # This value can be between 1 and 100. If this parameter is not used, # then `DescribeRepositories` returns up to 100 results and a - # `nextToken` value, if applicable. + # `nextToken` value, if applicable. This option cannot be used when you + # specify repositories with `repositoryNames`. # # @return [Types::DescribeRepositoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeRepositoriesResponse#repositories #repositories} => Array&lt;Types::Repository&gt; # * {Types::DescribeRepositoriesResponse#next_token #next_token} => String @@ -963,11 +967,11 @@ # The AWS account ID associated with the registry that contains the # repository. If you do not specify a registry, the default registry is # assumed. # # @option params [required, String] :repository_name - # The name of the repository with the policy to retrieve. + # The name of the repository. # # @return [Types::GetLifecyclePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetLifecyclePolicyResponse#registry_id #registry_id} => String # * {Types::GetLifecyclePolicyResponse#repository_name #repository_name} => String @@ -1004,22 +1008,23 @@ # The AWS account ID associated with the registry that contains the # repository. If you do not specify a registry, the default registry is # assumed. # # @option params [required, String] :repository_name - # The name of the repository with the policy to retrieve. + # The name of the repository. # # @option params [Array<Types::ImageIdentifier>] :image_ids # The list of imageIDs to be included. # # @option params [String] :next_token # The `nextToken` value returned from a previous paginated
 # `GetLifecyclePolicyPreviewRequest` request where `maxResults` was used # and the
 results exceeded the value of that parameter. Pagination # continues from the end of the
 previous results that returned the # `nextToken` value. This value is
 `null` when there are no more - # results to return. + # results to return. This option cannot be used when you specify images + # with `imageIds`. # # @option params [Integer] :max_results # The maximum number of repository results returned by # `GetLifecyclePolicyPreviewRequest` in
 paginated output. When this # parameter is used, `GetLifecyclePolicyPreviewRequest` only returns
 @@ -1027,11 +1032,12 @@ # response element. The remaining results of the initial request can be # seen by sending
 another `GetLifecyclePolicyPreviewRequest` request # with the returned `nextToken`
 value. This value can be between 1 and # 100. If this
 parameter is not used, then # `GetLifecyclePolicyPreviewRequest` returns up to
 100 results and a - # `nextToken` value, if
 applicable. + # `nextToken` value, if
 applicable. This option cannot be used when you + # specify images with `imageIds`. # # @option params [Types::LifecyclePolicyPreviewFilter] :filter # An optional parameter that filters results based on image tag status # and all tags, if tagged. # @@ -1332,12 +1338,17 @@ def put_image(params = {}, options = {}) req = build_request(:put_image, params) req.send_request(options) end - # Creates or updates a lifecycle policy. + # Creates or updates a lifecycle policy. For information about lifecycle + # policy syntax, see [Lifecycle Policy Template][1]. # + # + # + # [1]: http://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.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. # @@ -1546,10 +1557,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-ecr' - context[:gem_version] = '1.2.0' + context[:gem_version] = '1.3.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated