Skip to content

Commit fa176d3

Browse files
author
awstools
committed
feat(client-ecr): Update repository name regex to comply with OCI Distribution Specification
1 parent 68165e5 commit fa176d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codegen/sdk-codegen/aws-models/ecr.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7985,7 +7985,7 @@
79857985
"min": 1,
79867986
"max": 256
79877987
},
7988-
"smithy.api#pattern": "^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$"
7988+
"smithy.api#pattern": "^([a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*(\\/[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*)*\\/?|ROOT)$"
79897989
}
79907990
},
79917991
"com.amazonaws.ecr#PrefixList": {
@@ -8106,7 +8106,7 @@
81068106
"min": 2,
81078107
"max": 30
81088108
},
8109-
"smithy.api#pattern": "^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$"
8109+
"smithy.api#pattern": "^([a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*(\\/[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*)*\\/?|ROOT)$"
81108110
}
81118111
},
81128112
"com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefixList": {
@@ -9372,7 +9372,7 @@
93729372
"min": 2,
93739373
"max": 256
93749374
},
9375-
"smithy.api#pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$"
9375+
"smithy.api#pattern": "^[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*(\\/[a-z0-9]+((\\.|_|__|-+)[a-z0-9]+)*)*$"
93769376
}
93779377
},
93789378
"com.amazonaws.ecr#RepositoryNameList": {

0 commit comments

Comments
 (0)