Skip to content

Commit 3952593

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 10cc7ec commit 3952593

File tree

1 file changed

+267
-0
lines changed

1 file changed

+267
-0
lines changed

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

Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,22 @@
292292
}
293293
}
294294
},
295+
"com.amazonaws.outposts#CIDR": {
296+
"type": "string",
297+
"traits": {
298+
"smithy.api#length": {
299+
"min": 9,
300+
"max": 18
301+
},
302+
"smithy.api#pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$"
303+
}
304+
},
305+
"com.amazonaws.outposts#CIDRList": {
306+
"type": "list",
307+
"member": {
308+
"target": "com.amazonaws.outposts#CIDR"
309+
}
310+
},
295311
"com.amazonaws.outposts#CancelOrder": {
296312
"type": "operation",
297313
"input": {
@@ -502,6 +518,60 @@
502518
"smithy.api#httpError": 409
503519
}
504520
},
521+
"com.amazonaws.outposts#ConnectionDetails": {
522+
"type": "structure",
523+
"members": {
524+
"ClientPublicKey": {
525+
"target": "com.amazonaws.outposts#WireGuardPublicKey",
526+
"traits": {
527+
"smithy.api#documentation": "<p>\n The public key of the client.\n </p>"
528+
}
529+
},
530+
"ServerPublicKey": {
531+
"target": "com.amazonaws.outposts#WireGuardPublicKey",
532+
"traits": {
533+
"smithy.api#documentation": "<p>\n The public key of the server.\n </p>"
534+
}
535+
},
536+
"ServerEndpoint": {
537+
"target": "com.amazonaws.outposts#ServerEndpoint",
538+
"traits": {
539+
"smithy.api#documentation": "<p>\n The endpoint for the server.\n </p>"
540+
}
541+
},
542+
"ClientTunnelAddress": {
543+
"target": "com.amazonaws.outposts#CIDR",
544+
"traits": {
545+
"smithy.api#documentation": "<p>\n The client tunnel address. \n </p>"
546+
}
547+
},
548+
"ServerTunnelAddress": {
549+
"target": "com.amazonaws.outposts#CIDR",
550+
"traits": {
551+
"smithy.api#documentation": "<p>\n The server tunnel address.\n </p>"
552+
}
553+
},
554+
"AllowedIps": {
555+
"target": "com.amazonaws.outposts#CIDRList",
556+
"traits": {
557+
"smithy.api#documentation": "<p>\n The allowed IP addresses.\n </p>"
558+
}
559+
}
560+
},
561+
"traits": {
562+
"smithy.api#documentation": "<p>\n Information about a connection. \n </p>"
563+
}
564+
},
565+
"com.amazonaws.outposts#ConnectionId": {
566+
"type": "string",
567+
"traits": {
568+
"smithy.api#length": {
569+
"min": 1,
570+
"max": 255
571+
},
572+
"smithy.api#pattern": "^([\\w-]+)$"
573+
}
574+
},
505575
"com.amazonaws.outposts#ContactName": {
506576
"type": "string",
507577
"traits": {
@@ -890,6 +960,16 @@
890960
"type": "structure",
891961
"members": {}
892962
},
963+
"com.amazonaws.outposts#DeviceSerialNumber": {
964+
"type": "string",
965+
"traits": {
966+
"smithy.api#length": {
967+
"min": 1,
968+
"max": 100
969+
},
970+
"smithy.api#pattern": "^(\\w+)$"
971+
}
972+
},
893973
"com.amazonaws.outposts#DistrictOrCounty": {
894974
"type": "string",
895975
"traits": {
@@ -1025,6 +1105,67 @@
10251105
}
10261106
}
10271107
},
1108+
"com.amazonaws.outposts#GetConnection": {
1109+
"type": "operation",
1110+
"input": {
1111+
"target": "com.amazonaws.outposts#GetConnectionRequest"
1112+
},
1113+
"output": {
1114+
"target": "com.amazonaws.outposts#GetConnectionResponse"
1115+
},
1116+
"errors": [
1117+
{
1118+
"target": "com.amazonaws.outposts#AccessDeniedException"
1119+
},
1120+
{
1121+
"target": "com.amazonaws.outposts#InternalServerException"
1122+
},
1123+
{
1124+
"target": "com.amazonaws.outposts#NotFoundException"
1125+
},
1126+
{
1127+
"target": "com.amazonaws.outposts#ValidationException"
1128+
}
1129+
],
1130+
"traits": {
1131+
"smithy.api#documentation": "<note>\n <p>\n Amazon Web Services uses this action to install Outpost servers.</p>\n </note>\n <p>\n Gets information about a specified connection.\n </p>\n <p>\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see <a href=\"https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html\">\n Amazon Web Services managed policies for Amazon Web Services Outposts</a> and <a href=\"https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html\">\n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Outposts User Guide</i>.\n </p>",
1132+
"smithy.api#http": {
1133+
"method": "GET",
1134+
"uri": "/connections/{ConnectionId}",
1135+
"code": 200
1136+
}
1137+
}
1138+
},
1139+
"com.amazonaws.outposts#GetConnectionRequest": {
1140+
"type": "structure",
1141+
"members": {
1142+
"ConnectionId": {
1143+
"target": "com.amazonaws.outposts#ConnectionId",
1144+
"traits": {
1145+
"smithy.api#documentation": "<p>\n The ID of the connection you request.\n </p>",
1146+
"smithy.api#httpLabel": {},
1147+
"smithy.api#required": {}
1148+
}
1149+
}
1150+
}
1151+
},
1152+
"com.amazonaws.outposts#GetConnectionResponse": {
1153+
"type": "structure",
1154+
"members": {
1155+
"ConnectionId": {
1156+
"target": "com.amazonaws.outposts#ConnectionId",
1157+
"traits": {
1158+
"smithy.api#documentation": "<p>\n The ID of the connection you receive.\n </p>"
1159+
}
1160+
},
1161+
"ConnectionDetails": {
1162+
"target": "com.amazonaws.outposts#ConnectionDetails",
1163+
"traits": {
1164+
"smithy.api#documentation": "<p>\n Information about a connection.\n </p>"
1165+
}
1166+
}
1167+
}
1168+
},
10281169
"com.amazonaws.outposts#GetOrder": {
10291170
"type": "operation",
10301171
"input": {
@@ -2053,6 +2194,15 @@
20532194
"smithy.api#pattern": "^\\S[\\S ]*$"
20542195
}
20552196
},
2197+
"com.amazonaws.outposts#NetworkInterfaceDeviceIndex": {
2198+
"type": "integer",
2199+
"traits": {
2200+
"smithy.api#range": {
2201+
"min": 0,
2202+
"max": 1
2203+
}
2204+
}
2205+
},
20562206
"com.amazonaws.outposts#NotFoundException": {
20572207
"type": "structure",
20582208
"members": {
@@ -2459,6 +2609,9 @@
24592609
{
24602610
"target": "com.amazonaws.outposts#GetCatalogItem"
24612611
},
2612+
{
2613+
"target": "com.amazonaws.outposts#GetConnection"
2614+
},
24622615
{
24632616
"target": "com.amazonaws.outposts#GetOrder"
24642617
},
@@ -2492,6 +2645,9 @@
24922645
{
24932646
"target": "com.amazonaws.outposts#ListTagsForResource"
24942647
},
2648+
{
2649+
"target": "com.amazonaws.outposts#StartConnection"
2650+
},
24952651
{
24962652
"target": "com.amazonaws.outposts#TagResource"
24972653
},
@@ -2725,6 +2881,16 @@
27252881
]
27262882
}
27272883
},
2884+
"com.amazonaws.outposts#ServerEndpoint": {
2885+
"type": "string",
2886+
"traits": {
2887+
"smithy.api#length": {
2888+
"min": 9,
2889+
"max": 21
2890+
},
2891+
"smithy.api#pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}:[0-9]{1,5}$"
2892+
}
2893+
},
27282894
"com.amazonaws.outposts#ServiceQuotaExceededException": {
27292895
"type": "structure",
27302896
"members": {
@@ -2861,6 +3027,87 @@
28613027
"smithy.api#pattern": "^OR-[A-Z0-9]{7}$"
28623028
}
28633029
},
3030+
"com.amazonaws.outposts#StartConnection": {
3031+
"type": "operation",
3032+
"input": {
3033+
"target": "com.amazonaws.outposts#StartConnectionRequest"
3034+
},
3035+
"output": {
3036+
"target": "com.amazonaws.outposts#StartConnectionResponse"
3037+
},
3038+
"errors": [
3039+
{
3040+
"target": "com.amazonaws.outposts#AccessDeniedException"
3041+
},
3042+
{
3043+
"target": "com.amazonaws.outposts#InternalServerException"
3044+
},
3045+
{
3046+
"target": "com.amazonaws.outposts#NotFoundException"
3047+
},
3048+
{
3049+
"target": "com.amazonaws.outposts#ValidationException"
3050+
}
3051+
],
3052+
"traits": {
3053+
"smithy.api#documentation": "<note>\n <p>\n Amazon Web Services uses this action to install Outpost servers.</p>\n </note>\n <p>\n Starts the connection required for Outpost server installation. \n </p>\n <p>\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see <a href=\"https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html\">\n Amazon Web Services managed policies for Amazon Web Services Outposts</a> and <a href=\"https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html\">\n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Outposts User Guide</i>.\n </p>",
3054+
"smithy.api#http": {
3055+
"method": "POST",
3056+
"uri": "/connections",
3057+
"code": 200
3058+
}
3059+
}
3060+
},
3061+
"com.amazonaws.outposts#StartConnectionRequest": {
3062+
"type": "structure",
3063+
"members": {
3064+
"DeviceSerialNumber": {
3065+
"target": "com.amazonaws.outposts#DeviceSerialNumber",
3066+
"traits": {
3067+
"smithy.api#documentation": "<p>\n The serial number of the dongle. \n </p>",
3068+
"smithy.api#required": {}
3069+
}
3070+
},
3071+
"AssetId": {
3072+
"target": "com.amazonaws.outposts#AssetId",
3073+
"traits": {
3074+
"smithy.api#documentation": "<p> \n The ID of the Outpost server. \n </p>",
3075+
"smithy.api#required": {}
3076+
}
3077+
},
3078+
"ClientPublicKey": {
3079+
"target": "com.amazonaws.outposts#WireGuardPublicKey",
3080+
"traits": {
3081+
"smithy.api#documentation": "<p>\n The public key of the client.\n </p>",
3082+
"smithy.api#required": {}
3083+
}
3084+
},
3085+
"NetworkInterfaceDeviceIndex": {
3086+
"target": "com.amazonaws.outposts#NetworkInterfaceDeviceIndex",
3087+
"traits": {
3088+
"smithy.api#documentation": "<p>\n The device index of the network interface on the Outpost server.\n </p>",
3089+
"smithy.api#required": {}
3090+
}
3091+
}
3092+
}
3093+
},
3094+
"com.amazonaws.outposts#StartConnectionResponse": {
3095+
"type": "structure",
3096+
"members": {
3097+
"ConnectionId": {
3098+
"target": "com.amazonaws.outposts#ConnectionId",
3099+
"traits": {
3100+
"smithy.api#documentation": "<p>\n The ID of the connection.\n </p>"
3101+
}
3102+
},
3103+
"UnderlayIpAddress": {
3104+
"target": "com.amazonaws.outposts#UnderlayIpAddress",
3105+
"traits": {
3106+
"smithy.api#documentation": "<p>\n The underlay IP address. \n </p>"
3107+
}
3108+
}
3109+
}
3110+
},
28643111
"com.amazonaws.outposts#StateOrRegion": {
28653112
"type": "string",
28663113
"traits": {
@@ -3042,6 +3289,16 @@
30423289
"smithy.api#pattern": "^(\\d+)##(\\S+)$"
30433290
}
30443291
},
3292+
"com.amazonaws.outposts#UnderlayIpAddress": {
3293+
"type": "string",
3294+
"traits": {
3295+
"smithy.api#length": {
3296+
"min": 7,
3297+
"max": 15
3298+
},
3299+
"smithy.api#pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}$"
3300+
}
3301+
},
30453302
"com.amazonaws.outposts#UntagResource": {
30463303
"type": "operation",
30473304
"input": {
@@ -3499,6 +3756,16 @@
34993756
"smithy.api#httpError": 400
35003757
}
35013758
},
3759+
"com.amazonaws.outposts#WireGuardPublicKey": {
3760+
"type": "string",
3761+
"traits": {
3762+
"smithy.api#length": {
3763+
"min": 44,
3764+
"max": 44
3765+
},
3766+
"smithy.api#pattern": "^[a-zA-Z0-9/+]{43}=$"
3767+
}
3768+
},
35023769
"com.amazonaws.outposts#outpostListDefinition": {
35033770
"type": "list",
35043771
"member": {

0 commit comments

Comments
 (0)