lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.63.0 vs lib/aws-sdk-ecr/client.rb in aws-sdk-ecr-1.64.0
- old
+ new
@@ -811,10 +811,13 @@
# The name to use for the repository. The repository name may be
# specified on its own (such as `nginx-web-app`) or it can be prepended
# with a namespace to group the repository into a category (such as
# `project-a/nginx-web-app`).
#
+ # The repository name must start with a letter and can only contain
+ # lowercase letters, numbers, hyphens, underscores, and forward slashes.
+ #
# @option params [Array<Types::Tag>] :tags
# The metadata that you apply to the repository to help you categorize
# and organize them. Each tag consists of a key and an optional value,
# both of which you define. Tag keys can have a maximum character length
# of 128 characters, and tag values can have a maximum length of 256
@@ -864,12 +867,12 @@
# resp = client.create_repository({
# registry_id: "RegistryId",
# repository_name: "RepositoryName", # required
# tags: [
# {
- # key: "TagKey",
- # value: "TagValue",
+ # key: "TagKey", # required
+ # value: "TagValue", # required
# },
# ],
# image_tag_mutability: "MUTABLE", # accepts MUTABLE, IMMUTABLE
# image_scanning_configuration: {
# scan_on_push: false,
@@ -1660,12 +1663,12 @@
#
# resp.to_h outputs the following:
# {
# authorization_data: [
# {
- # authorization_token: "QVdTOkN...",
- # expires_at: Time.parse("1470951892432"),
+ # authorization_token: "QVdTOkNEXAMPLE",
+ # expires_at: Time.parse("2022-05-17T06:56:13.652000+00:00"),
# proxy_endpoint: "https://012345678901.dkr.ecr.us-west-2.amazonaws.com",
# },
# ],
# }
#
@@ -2744,12 +2747,12 @@
#
# resp = client.tag_resource({
# resource_arn: "Arn", # required
# tags: [ # required
# {
- # key: "TagKey",
- # value: "TagValue",
+ # key: "TagKey", # required
+ # value: "TagValue", # required
# },
# ],
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TagResource AWS API Documentation
@@ -2870,10 +2873,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecr'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#