diff --git a/.changes/next-release/feature-AWSOutposts-72db06d.json b/.changes/next-release/feature-AWSOutposts-72db06d.json new file mode 100644 index 000000000000..cc9054bf5e58 --- /dev/null +++ b/.changes/next-release/feature-AWSOutposts-72db06d.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "AWS Outposts", + "contributor": "", + "description": "This release adds API operations AWS uses to install Outpost servers." +} diff --git a/services/outposts/src/main/resources/codegen-resources/service-2.json b/services/outposts/src/main/resources/codegen-resources/service-2.json index 5598000e4828..e691b60b89af 100644 --- a/services/outposts/src/main/resources/codegen-resources/service-2.json +++ b/services/outposts/src/main/resources/codegen-resources/service-2.json @@ -132,6 +132,22 @@ ], "documentation":"

Gets information about a catalog item.

" }, + "GetConnection":{ + "name":"GetConnection", + "http":{ + "method":"GET", + "requestUri":"/connections/{ConnectionId}" + }, + "input":{"shape":"GetConnectionRequest"}, + "output":{"shape":"GetConnectionResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Amazon Web Services uses this action to install Outpost servers.

Gets information about a specified connection.

Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.

" + }, "GetOrder":{ "name":"GetOrder", "http":{ @@ -303,6 +319,22 @@ ], "documentation":"

Lists the tags for the specified resource.

" }, + "StartConnection":{ + "name":"StartConnection", + "http":{ + "method":"POST", + "requestUri":"/connections" + }, + "input":{"shape":"StartConnectionRequest"}, + "output":{"shape":"StartConnectionResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"NotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Amazon Web Services uses this action to install Outpost servers.

Starts the connection required for Outpost server installation.

Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.

" + }, "TagResource":{ "name":"TagResource", "http":{ @@ -568,6 +600,16 @@ "max":5, "min":1 }, + "CIDR":{ + "type":"string", + "max":18, + "min":9, + "pattern":"^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$" + }, + "CIDRList":{ + "type":"list", + "member":{"shape":"CIDR"} + }, "CancelOrderInput":{ "type":"structure", "required":["OrderId"], @@ -686,6 +728,42 @@ "error":{"httpStatusCode":409}, "exception":true }, + "ConnectionDetails":{ + "type":"structure", + "members":{ + "ClientPublicKey":{ + "shape":"WireGuardPublicKey", + "documentation":"

The public key of the client.

" + }, + "ServerPublicKey":{ + "shape":"WireGuardPublicKey", + "documentation":"

The public key of the server.

" + }, + "ServerEndpoint":{ + "shape":"ServerEndpoint", + "documentation":"

The endpoint for the server.

" + }, + "ClientTunnelAddress":{ + "shape":"CIDR", + "documentation":"

The client tunnel address.

" + }, + "ServerTunnelAddress":{ + "shape":"CIDR", + "documentation":"

The server tunnel address.

" + }, + "AllowedIps":{ + "shape":"CIDRList", + "documentation":"

The allowed IP addresses.

" + } + }, + "documentation":"

Information about a connection.

" + }, + "ConnectionId":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^([\\w-]+)$" + }, "ContactName":{ "type":"string", "max":255, @@ -842,6 +920,12 @@ "members":{ } }, + "DeviceSerialNumber":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^(\\w+)$" + }, "DistrictOrCounty":{ "type":"string", "max":60, @@ -914,6 +998,31 @@ } } }, + "GetConnectionRequest":{ + "type":"structure", + "required":["ConnectionId"], + "members":{ + "ConnectionId":{ + "shape":"ConnectionId", + "documentation":"

The ID of the connection you request.

", + "location":"uri", + "locationName":"ConnectionId" + } + } + }, + "GetConnectionResponse":{ + "type":"structure", + "members":{ + "ConnectionId":{ + "shape":"ConnectionId", + "documentation":"

The ID of the connection you receive.

" + }, + "ConnectionDetails":{ + "shape":"ConnectionDetails", + "documentation":"

Information about a connection.

" + } + } + }, "GetOrderInput":{ "type":"structure", "required":["OrderId"], @@ -1396,6 +1505,11 @@ "min":0, "pattern":"^\\S[\\S ]*$" }, + "NetworkInterfaceDeviceIndex":{ + "type":"integer", + "max":1, + "min":0 + }, "NotFoundException":{ "type":"structure", "members":{ @@ -1701,6 +1815,12 @@ "ORDER" ] }, + "ServerEndpoint":{ + "type":"string", + "max":21, + "min":9, + "pattern":"^([0-9]{1,3}\\.){3}[0-9]{1,3}:[0-9]{1,5}$" + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -1785,6 +1905,46 @@ "min":1, "pattern":"OR-[A-Z0-9]{7}" }, + "StartConnectionRequest":{ + "type":"structure", + "required":[ + "DeviceSerialNumber", + "AssetId", + "ClientPublicKey", + "NetworkInterfaceDeviceIndex" + ], + "members":{ + "DeviceSerialNumber":{ + "shape":"DeviceSerialNumber", + "documentation":"

The serial number of the dongle.

" + }, + "AssetId":{ + "shape":"AssetId", + "documentation":"

The ID of the Outpost server.

" + }, + "ClientPublicKey":{ + "shape":"WireGuardPublicKey", + "documentation":"

The public key of the client.

" + }, + "NetworkInterfaceDeviceIndex":{ + "shape":"NetworkInterfaceDeviceIndex", + "documentation":"

The device index of the network interface on the Outpost server.

" + } + } + }, + "StartConnectionResponse":{ + "type":"structure", + "members":{ + "ConnectionId":{ + "shape":"ConnectionId", + "documentation":"

The ID of the connection.

" + }, + "UnderlayIpAddress":{ + "shape":"UnderlayIpAddress", + "documentation":"

The underlay IP address.

" + } + } + }, "StateOrRegion":{ "type":"string", "max":50, @@ -1879,6 +2039,12 @@ "min":1, "pattern":"^(\\d+)##(\\S+)$" }, + "UnderlayIpAddress":{ + "type":"string", + "max":15, + "min":7, + "pattern":"^([0-9]{1,3}\\.){3}[0-9]{1,3}$" + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -2077,6 +2243,12 @@ "error":{"httpStatusCode":400}, "exception":true }, + "WireGuardPublicKey":{ + "type":"string", + "max":44, + "min":44, + "pattern":"^[a-zA-Z0-9/+]{43}=$" + }, "outpostListDefinition":{ "type":"list", "member":{"shape":"Outpost"},