Skip to content

Commit f4f2605

Browse files
Update SDK models
1 parent 3b61e78 commit f4f2605

File tree

107 files changed

+1337
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1337
-305
lines changed

aws-models/ec2.json

Lines changed: 31 additions & 23 deletions
Large diffs are not rendered by default.

aws-models/ecr.json

Lines changed: 91 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,14 +1928,14 @@
19281928
"ecrRepositoryPrefix": {
19291929
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
19301930
"traits": {
1931-
"smithy.api#documentation": "<p>The repository name prefix to use when caching images from the source registry.</p>",
1931+
"smithy.api#documentation": "<p>The repository name prefix to use when caching images from the source registry.</p>\n <important>\n <p>There is always an assumed <code>/</code> applied to the end of the prefix. If you\n specify <code>ecr-public</code> as the prefix, Amazon ECR treats that as\n <code>ecr-public/</code>.</p>\n </important>",
19321932
"smithy.api#required": {}
19331933
}
19341934
},
19351935
"upstreamRegistryUrl": {
19361936
"target": "com.amazonaws.ecr#Url",
19371937
"traits": {
1938-
"smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) - <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) -\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) - <code>quay.io</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) - <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) -\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) -\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n </ul>",
1938+
"smithy.api#documentation": "<p>The registry URL of the upstream public registry to use as the source for the pull\n through cache rule. The following is the syntax to use for each supported upstream\n registry.</p>\n <ul>\n <li>\n <p>Amazon ECR (<code>ecr</code>) –\n <code>dkr.ecr.<region>.amazonaws.com</code>\n </p>\n </li>\n <li>\n <p>Amazon ECR Public (<code>ecr-public</code>) – <code>public.ecr.aws</code>\n </p>\n </li>\n <li>\n <p>Docker Hub (<code>docker-hub</code>) –\n <code>registry-1.docker.io</code>\n </p>\n </li>\n <li>\n <p>GitHub Container Registry (<code>github-container-registry</code>) –\n <code>ghcr.io</code>\n </p>\n </li>\n <li>\n <p>GitLab Container Registry (<code>gitlab-container-registry</code>) –\n <code>registry.gitlab.com</code>\n </p>\n </li>\n <li>\n <p>Kubernetes (<code>k8s</code>) – <code>registry.k8s.io</code>\n </p>\n </li>\n <li>\n <p>Microsoft Azure Container Registry (<code>azure-container-registry</code>) –\n <code><custom>.azurecr.io</code>\n </p>\n </li>\n <li>\n <p>Quay (<code>quay</code>) – <code>quay.io</code>\n </p>\n </li>\n </ul>",
19391939
"smithy.api#required": {}
19401940
}
19411941
},
@@ -1956,6 +1956,18 @@
19561956
"traits": {
19571957
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>"
19581958
}
1959+
},
1960+
"customRoleArn": {
1961+
"target": "com.amazonaws.ecr#CustomRoleArn",
1962+
"traits": {
1963+
"smithy.api#documentation": "<p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to\n the ECR upstream registry. This role must be in the same account as the registry that\n you are configuring.</p>"
1964+
}
1965+
},
1966+
"upstreamRepositoryPrefix": {
1967+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
1968+
"traits": {
1969+
"smithy.api#documentation": "<p>The repository name prefix of the upstream registry to match with the upstream\n repository name. When this field isn't specified, Amazon ECR will use the\n <code>ROOT</code>.</p>"
1970+
}
19591971
}
19601972
},
19611973
"traits": {
@@ -2000,6 +2012,18 @@
20002012
"traits": {
20012013
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>"
20022014
}
2015+
},
2016+
"customRoleArn": {
2017+
"target": "com.amazonaws.ecr#CustomRoleArn",
2018+
"traits": {
2019+
"smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>"
2020+
}
2021+
},
2022+
"upstreamRepositoryPrefix": {
2023+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
2024+
"traits": {
2025+
"smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>"
2026+
}
20032027
}
20042028
},
20052029
"traits": {
@@ -2519,6 +2543,18 @@
25192543
"traits": {
25202544
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>"
25212545
}
2546+
},
2547+
"customRoleArn": {
2548+
"target": "com.amazonaws.ecr#CustomRoleArn",
2549+
"traits": {
2550+
"smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>"
2551+
}
2552+
},
2553+
"upstreamRepositoryPrefix": {
2554+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
2555+
"traits": {
2556+
"smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>"
2557+
}
25222558
}
25232559
},
25242560
"traits": {
@@ -3814,7 +3850,7 @@
38143850
"value": {
38153851
"target": "com.amazonaws.ecr#AccountSettingName",
38163852
"traits": {
3817-
"smithy.api#documentation": "<p>The setting value for the setting name. The following are valid values for the basic scan\n type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid\n values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>"
3853+
"smithy.api#documentation": "<p>The setting value for the setting name. The following are valid values for the basic\n scan type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are\n valid values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>"
38183854
}
38193855
}
38203856
},
@@ -4497,7 +4533,7 @@
44974533
"imageSizeInBytes": {
44984534
"target": "com.amazonaws.ecr#ImageSizeInBytes",
44994535
"traits": {
4500-
"smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Beginning with Docker version 1.9, the Docker client compresses image layers\n before pushing them to a V2 Docker registry. The output of the <code>docker\n images</code> command shows the uncompressed image size, so it may return a\n larger image size than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>"
4536+
"smithy.api#documentation": "<p>The size, in bytes, of the image in the repository.</p>\n <p>If the image is a manifest list, this will be the max size of all manifests in the\n list.</p>\n <note>\n <p>Starting with Docker version 1.9, the Docker client compresses image layers before\n pushing them to a V2 Docker registry. The output of the <code>docker images</code>\n command shows the uncompressed image size. Therefore, Docker might return a larger\n image than the image sizes returned by <a>DescribeImages</a>.</p>\n </note>"
45014537
}
45024538
},
45034539
"imagePushedAt": {
@@ -5900,6 +5936,18 @@
59005936
"smithy.api#documentation": "<p>The ARN of the Secrets Manager secret associated with the pull through cache rule.</p>"
59015937
}
59025938
},
5939+
"customRoleArn": {
5940+
"target": "com.amazonaws.ecr#CustomRoleArn",
5941+
"traits": {
5942+
"smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>"
5943+
}
5944+
},
5945+
"upstreamRepositoryPrefix": {
5946+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
5947+
"traits": {
5948+
"smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>"
5949+
}
5950+
},
59035951
"upstreamRegistry": {
59045952
"target": "com.amazonaws.ecr#UpstreamRegistry",
59055953
"traits": {
@@ -5954,7 +6002,7 @@
59546002
"min": 2,
59556003
"max": 30
59566004
},
5957-
"smithy.api#pattern": "^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$"
6005+
"smithy.api#pattern": "^((?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*/?|ROOT)$"
59586006
}
59596007
},
59606008
"com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefixList": {
@@ -6947,7 +6995,7 @@
69476995
"repositoryPolicy": {
69486996
"target": "com.amazonaws.ecr#RepositoryPolicyText",
69496997
"traits": {
6950-
"smithy.api#documentation": "<p>he repository policy to apply to repositories created using the template. A repository\n policy is a permissions policy associated with a repository to control access\n permissions. </p>"
6998+
"smithy.api#documentation": "<p>The repository policy to apply to repositories created using the template. A\n repository policy is a permissions policy associated with a repository to control access\n permissions. </p>"
69516999
}
69527000
},
69537001
"lifecyclePolicy": {
@@ -8165,8 +8213,13 @@
81658213
"credentialArn": {
81668214
"target": "com.amazonaws.ecr#CredentialArn",
81678215
"traits": {
8168-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>",
8169-
"smithy.api#required": {}
8216+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate\n to the upstream registry.</p>"
8217+
}
8218+
},
8219+
"customRoleArn": {
8220+
"target": "com.amazonaws.ecr#CustomRoleArn",
8221+
"traits": {
8222+
"smithy.api#documentation": "<p>Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the\n ECR upstream registry. This role must be in the same account as the registry that you\n are configuring.</p>"
81708223
}
81718224
}
81728225
},
@@ -8200,6 +8253,18 @@
82008253
"traits": {
82018254
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>"
82028255
}
8256+
},
8257+
"customRoleArn": {
8258+
"target": "com.amazonaws.ecr#CustomRoleArn",
8259+
"traits": {
8260+
"smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>"
8261+
}
8262+
},
8263+
"upstreamRepositoryPrefix": {
8264+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
8265+
"traits": {
8266+
"smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>"
8267+
}
82038268
}
82048269
},
82058270
"traits": {
@@ -8455,6 +8520,12 @@
84558520
"com.amazonaws.ecr#UpstreamRegistry": {
84568521
"type": "enum",
84578522
"members": {
8523+
"Ecr": {
8524+
"target": "smithy.api#Unit",
8525+
"traits": {
8526+
"smithy.api#enumValue": "ecr"
8527+
}
8528+
},
84588529
"EcrPublic": {
84598530
"target": "smithy.api#Unit",
84608531
"traits": {
@@ -8576,6 +8647,18 @@
85768647
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache\n rule.</p>"
85778648
}
85788649
},
8650+
"customRoleArn": {
8651+
"target": "com.amazonaws.ecr#CustomRoleArn",
8652+
"traits": {
8653+
"smithy.api#documentation": "<p>The ARN of the IAM role associated with the pull through cache rule.</p>"
8654+
}
8655+
},
8656+
"upstreamRepositoryPrefix": {
8657+
"target": "com.amazonaws.ecr#PullThroughCacheRuleRepositoryPrefix",
8658+
"traits": {
8659+
"smithy.api#documentation": "<p>The upstream repository prefix associated with the pull through cache rule.</p>"
8660+
}
8661+
},
85798662
"isValid": {
85808663
"target": "com.amazonaws.ecr#IsPTCRuleValid",
85818664
"traits": {

0 commit comments

Comments
 (0)