Skip to content

Commit bb0d403

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 7229e9c commit bb0d403

File tree

7 files changed

+3044
-48
lines changed

7 files changed

+3044
-48
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@
20822082
}
20832083
],
20842084
"traits": {
2085-
"smithy.api#documentation": "<p>Creates a new backend environment for an Amplify app. </p>",
2085+
"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>",
20862086
"smithy.api#http": {
20872087
"method": "POST",
20882088
"uri": "/apps/{appId}/backendenvironments",
@@ -2787,7 +2787,7 @@
27872787
}
27882788
],
27892789
"traits": {
2790-
"smithy.api#documentation": "<p>Deletes a backend environment for an Amplify app. </p>",
2790+
"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>",
27912791
"smithy.api#http": {
27922792
"method": "DELETE",
27932793
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
@@ -3719,7 +3719,7 @@
37193719
}
37203720
],
37213721
"traits": {
3722-
"smithy.api#documentation": "<p>Returns a backend environment for an Amplify app. </p>",
3722+
"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>",
37233723
"smithy.api#http": {
37243724
"method": "GET",
37253725
"uri": "/apps/{appId}/backendenvironments/{environmentName}",
@@ -4497,7 +4497,7 @@
44974497
}
44984498
],
44994499
"traits": {
4500-
"smithy.api#documentation": "<p>Lists the backend environments for an Amplify app. </p>",
4500+
"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>",
45014501
"smithy.api#http": {
45024502
"method": "GET",
45034503
"uri": "/apps/{appId}/backendenvironments",

codegen/sdk-codegen/aws-models/ec2-instance-connect.json

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"name": "ec2-instance-connect"
5353
},
5454
"aws.protocols#awsJson1_1": {},
55-
"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>",
55+
"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>",
5656
"smithy.api#title": "AWS EC2 Instance Connect",
5757
"smithy.rules#endpointRuleSet": {
5858
"version": "1.0",
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -139,7 +138,8 @@
139138
},
140139
"type": "endpoint"
141140
}
142-
]
141+
],
142+
"type": "tree"
143143
},
144144
{
145145
"conditions": [
@@ -152,7 +152,6 @@
152152
]
153153
}
154154
],
155-
"type": "tree",
156155
"rules": [
157156
{
158157
"conditions": [
@@ -166,7 +165,6 @@
166165
"assign": "PartitionResult"
167166
}
168167
],
169-
"type": "tree",
170168
"rules": [
171169
{
172170
"conditions": [
@@ -189,7 +187,6 @@
189187
]
190188
}
191189
],
192-
"type": "tree",
193190
"rules": [
194191
{
195192
"conditions": [
@@ -224,7 +221,6 @@
224221
]
225222
}
226223
],
227-
"type": "tree",
228224
"rules": [
229225
{
230226
"conditions": [],
@@ -235,14 +231,16 @@
235231
},
236232
"type": "endpoint"
237233
}
238-
]
234+
],
235+
"type": "tree"
239236
},
240237
{
241238
"conditions": [],
242239
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
243240
"type": "error"
244241
}
245-
]
242+
],
243+
"type": "tree"
246244
},
247245
{
248246
"conditions": [
@@ -256,14 +254,12 @@
256254
]
257255
}
258256
],
259-
"type": "tree",
260257
"rules": [
261258
{
262259
"conditions": [
263260
{
264261
"fn": "booleanEquals",
265262
"argv": [
266-
true,
267263
{
268264
"fn": "getAttr",
269265
"argv": [
@@ -272,11 +268,11 @@
272268
},
273269
"supportsFIPS"
274270
]
275-
}
271+
},
272+
true
276273
]
277274
}
278275
],
279-
"type": "tree",
280276
"rules": [
281277
{
282278
"conditions": [],
@@ -287,14 +283,16 @@
287283
},
288284
"type": "endpoint"
289285
}
290-
]
286+
],
287+
"type": "tree"
291288
},
292289
{
293290
"conditions": [],
294291
"error": "FIPS is enabled but this partition does not support FIPS",
295292
"type": "error"
296293
}
297-
]
294+
],
295+
"type": "tree"
298296
},
299297
{
300298
"conditions": [
@@ -308,7 +306,6 @@
308306
]
309307
}
310308
],
311-
"type": "tree",
312309
"rules": [
313310
{
314311
"conditions": [
@@ -328,7 +325,6 @@
328325
]
329326
}
330327
],
331-
"type": "tree",
332328
"rules": [
333329
{
334330
"conditions": [],
@@ -339,14 +335,16 @@
339335
},
340336
"type": "endpoint"
341337
}
342-
]
338+
],
339+
"type": "tree"
343340
},
344341
{
345342
"conditions": [],
346343
"error": "DualStack is enabled but this partition does not support DualStack",
347344
"type": "error"
348345
}
349-
]
346+
],
347+
"type": "tree"
350348
},
351349
{
352350
"conditions": [],
@@ -357,9 +355,11 @@
357355
},
358356
"type": "endpoint"
359357
}
360-
]
358+
],
359+
"type": "tree"
361360
}
362-
]
361+
],
362+
"type": "tree"
363363
},
364364
{
365365
"conditions": [],
@@ -796,7 +796,7 @@
796796
"min": 1,
797797
"max": 32
798798
},
799-
"smithy.api#pattern": "^[A-Za-z_][A-Za-z0-9\\@\\._-]{0,30}[A-Za-z0-9\\$_-]?$"
799+
"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\\$_-]?$)$"
800800
}
801801
},
802802
"com.amazonaws.ec2instanceconnect#InvalidArgsException": {
@@ -971,6 +971,9 @@
971971
{
972972
"target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnavailableException"
973973
},
974+
{
975+
"target": "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException"
976+
},
974977
{
975978
"target": "com.amazonaws.ec2instanceconnect#ServiceException"
976979
},
@@ -1083,6 +1086,23 @@
10831086
"smithy.api#httpError": 500
10841087
}
10851088
},
1089+
"com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException": {
1090+
"type": "structure",
1091+
"members": {
1092+
"Message": {
1093+
"target": "com.amazonaws.ec2instanceconnect#String"
1094+
}
1095+
},
1096+
"traits": {
1097+
"aws.protocols#awsQueryError": {
1098+
"code": "SerialConsoleSessionUnsupported",
1099+
"httpResponseCode": 400
1100+
},
1101+
"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>",
1102+
"smithy.api#error": "client",
1103+
"smithy.api#httpError": 400
1104+
}
1105+
},
10861106
"com.amazonaws.ec2instanceconnect#SerialPort": {
10871107
"type": "integer",
10881108
"traits": {

0 commit comments

Comments
 (0)