Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Apr 5, 2023
1 parent e2147ef commit 9bf0d5b
Show file tree
Hide file tree
Showing 8 changed files with 809 additions and 471 deletions.
158 changes: 104 additions & 54 deletions codegen/sdk-codegen/aws-models/apprunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@
},
"params": {
"Region": "ap-northeast-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -556,8 +556,8 @@
},
"params": {
"Region": "eu-west-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -569,8 +569,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -582,8 +582,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
Expand All @@ -595,8 +595,8 @@
},
"params": {
"Region": "us-east-2",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -608,8 +608,8 @@
},
"params": {
"Region": "us-east-2",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
Expand All @@ -621,8 +621,8 @@
},
"params": {
"Region": "us-west-2",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -634,8 +634,8 @@
},
"params": {
"Region": "us-west-2",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
Expand All @@ -647,8 +647,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": true
}
},
{
Expand All @@ -660,8 +660,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": true
}
},
{
Expand All @@ -673,8 +673,8 @@
},
"params": {
"Region": "cn-north-1",
"UseDualStack": true,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": true
}
},
{
Expand All @@ -686,8 +686,8 @@
},
"params": {
"Region": "cn-north-1",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
Expand All @@ -699,8 +699,8 @@
},
"params": {
"Region": "cn-north-1",
"UseDualStack": true,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": true
}
},
{
Expand All @@ -712,8 +712,8 @@
},
"params": {
"Region": "cn-north-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -725,8 +725,8 @@
},
"params": {
"Region": "us-gov-east-1",
"UseDualStack": true,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": true
}
},
{
Expand All @@ -738,8 +738,8 @@
},
"params": {
"Region": "us-gov-east-1",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
Expand All @@ -751,8 +751,8 @@
},
"params": {
"Region": "us-gov-east-1",
"UseDualStack": true,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": true
}
},
{
Expand All @@ -764,8 +764,19 @@
},
"params": {
"Region": "us-gov-east-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
Expand All @@ -777,8 +788,19 @@
},
"params": {
"Region": "us-iso-east-1",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
Expand All @@ -790,8 +812,19 @@
},
"params": {
"Region": "us-iso-east-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
Expand All @@ -803,8 +836,19 @@
},
"params": {
"Region": "us-isob-east-1",
"UseDualStack": false,
"UseFIPS": true
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
Expand All @@ -816,8 +860,8 @@
},
"params": {
"Region": "us-isob-east-1",
"UseDualStack": false,
"UseFIPS": false
"UseFIPS": false,
"UseDualStack": false
}
},
{
Expand All @@ -829,8 +873,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
Expand All @@ -842,8 +886,8 @@
}
},
"params": {
"UseDualStack": false,
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
Expand All @@ -854,8 +898,8 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
Expand All @@ -866,10 +910,16 @@
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
Expand Down Expand Up @@ -1436,10 +1486,10 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 4,
"max": 6
"min": 3,
"max": 9
},
"smithy.api#pattern": "^1024|2048|(1|2) vCPU$"
"smithy.api#pattern": "^256|512|1024|2048|4096|(0.25|0.5|1|2|4) vCPU$"
}
},
"com.amazonaws.apprunner#CreateAutoScalingConfiguration": {
Expand Down Expand Up @@ -3787,10 +3837,10 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 4,
"max": 4
"min": 3,
"max": 6
},
"smithy.api#pattern": "^2048|3072|4096|(2|3|4) GB$"
"smithy.api#pattern": "^512|1024|2048|3072|4096|6144|8192|10240|12288|(0.5|1|2|3|4|6|8|10|12) GB$"
}
},
"com.amazonaws.apprunner#NetworkConfiguration": {
Expand Down
Loading

0 comments on commit 9bf0d5b

Please sign in to comment.