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 Mar 14, 2024
1 parent 7229e9c commit bb0d403
Show file tree
Hide file tree
Showing 7 changed files with 3,044 additions and 48 deletions.
8 changes: 4 additions & 4 deletions codegen/sdk-codegen/aws-models/amplify.json
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new backend environment for an Amplify app. </p>",
"smithy.api#documentation": "<p>Creates a new backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend is created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/apps/{appId}/backendenvironments",
Expand Down Expand Up @@ -2787,7 +2787,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a backend environment for an Amplify app. </p>",
"smithy.api#documentation": "<p>Deletes a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
Expand Down Expand Up @@ -3719,7 +3719,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a backend environment for an Amplify app. </p>",
"smithy.api#documentation": "<p>Returns a backend environment for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
Expand Down Expand Up @@ -4497,7 +4497,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the backend environments for an Amplify app. </p>",
"smithy.api#documentation": "<p>Lists the backend environments for an Amplify app. </p>\n <p>This API is available only to Amplify Gen 1 applications where the\n backend was created using Amplify Studio or the Amplify\n command line interface (CLI). This API isn’t available to applications created using the\n Amplify Gen 2 public preview. When you deploy an application with\n Amplify Gen 2, you provision the app's backend infrastructure using Typescript\n code.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/apps/{appId}/backendenvironments",
Expand Down
64 changes: 42 additions & 22 deletions codegen/sdk-codegen/aws-models/ec2-instance-connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"name": "ec2-instance-connect"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH\n public keys to EC2, providing users a simple and secure way to connect to their\n instances.</p>",
"smithy.api#documentation": "<p>This is the <i> Amazon EC2 Instance Connect API Reference</i>. It\n provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2\n Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish\n one-time use SSH public keys to EC2, providing users a simple and secure way to connect\n to their instances.</p>\n <p>To view the Amazon EC2 Instance Connect content in the <i> Amazon EC2 User\n Guide</i>, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html\">Connect to\n your Linux instance using EC2 Instance Connect</a>.</p>\n <p>For Amazon EC2 APIs, see the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html\">Amazon EC2 API\n Reference</a>.</p>",
"smithy.api#title": "AWS EC2 Instance Connect",
"smithy.rules#endpointRuleSet": {
"version": "1.0",
Expand Down Expand Up @@ -96,7 +96,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -139,7 +138,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -152,7 +152,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -166,7 +165,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -189,7 +187,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -224,7 +221,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -235,14 +231,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -256,14 +254,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -272,11 +268,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -287,14 +283,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -308,7 +306,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -328,7 +325,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -339,14 +335,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -357,9 +355,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down Expand Up @@ -796,7 +796,7 @@
"min": 1,
"max": 32
},
"smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$"
"smithy.api#pattern": "^(^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$)|(^(?=.{2,32}$)[0-9]{1,32}[A-Za-z\\@\\._-][A-Za-z0-9\\@\\._-]*[A-Za-z0-9\\$_-]?$)$"
}
},
"com.amazonaws.ec2instanceconnect#InvalidArgsException": {
Expand Down Expand Up @@ -971,6 +971,9 @@
{
"target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnavailableException"
},
{
"target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException"
},
{
"target": "com.amazonaws.ec2instanceconnect#ServiceException"
},
Expand Down Expand Up @@ -1083,6 +1086,23 @@
"smithy.api#httpError": 500
}
},
"com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.ec2instanceconnect#String"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "SerialConsoleSessionUnsupported",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>Your instance's BIOS version is unsupported for serial console connection. Reboot your instance to update its BIOS, and then try again to connect.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.ec2instanceconnect#SerialPort": {
"type": "integer",
"traits": {
Expand Down
Loading

0 comments on commit bb0d403

Please sign in to comment.