Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data StartConnection = StartConnection' {}
- newStartConnection :: Text -> Text -> Text -> Natural -> StartConnection
- startConnection_deviceSerialNumber :: Lens' StartConnection Text
- startConnection_assetId :: Lens' StartConnection Text
- startConnection_clientPublicKey :: Lens' StartConnection Text
- startConnection_networkInterfaceDeviceIndex :: Lens' StartConnection Natural
- data StartConnectionResponse = StartConnectionResponse' {}
- newStartConnectionResponse :: Int -> StartConnectionResponse
- startConnectionResponse_connectionId :: Lens' StartConnectionResponse (Maybe Text)
- startConnectionResponse_underlayIpAddress :: Lens' StartConnectionResponse (Maybe Text)
- startConnectionResponse_httpStatus :: Lens' StartConnectionResponse Int
Creating a Request
data StartConnection Source #
See: newStartConnection
smart constructor.
StartConnection' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Natural | |
-> StartConnection |
Create a value of StartConnection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deviceSerialNumber:StartConnection'
, startConnection_deviceSerialNumber
- The serial number of the dongle.
StartConnection
, startConnection_assetId
- The ID of the Outpost server.
StartConnection
, startConnection_clientPublicKey
- The public key of the client.
$sel:networkInterfaceDeviceIndex:StartConnection'
, startConnection_networkInterfaceDeviceIndex
- The device index of the network interface on the Outpost server.
Request Lenses
startConnection_deviceSerialNumber :: Lens' StartConnection Text Source #
The serial number of the dongle.
startConnection_assetId :: Lens' StartConnection Text Source #
The ID of the Outpost server.
startConnection_clientPublicKey :: Lens' StartConnection Text Source #
The public key of the client.
startConnection_networkInterfaceDeviceIndex :: Lens' StartConnection Natural Source #
The device index of the network interface on the Outpost server.
Destructuring the Response
data StartConnectionResponse Source #
See: newStartConnectionResponse
smart constructor.
StartConnectionResponse' | |
|
Instances
newStartConnectionResponse Source #
Create a value of StartConnectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connectionId:StartConnectionResponse'
, startConnectionResponse_connectionId
- The ID of the connection.
$sel:underlayIpAddress:StartConnectionResponse'
, startConnectionResponse_underlayIpAddress
- The underlay IP address.
$sel:httpStatus:StartConnectionResponse'
, startConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
startConnectionResponse_connectionId :: Lens' StartConnectionResponse (Maybe Text) Source #
The ID of the connection.
startConnectionResponse_underlayIpAddress :: Lens' StartConnectionResponse (Maybe Text) Source #
The underlay IP address.
startConnectionResponse_httpStatus :: Lens' StartConnectionResponse Int Source #
The response's http status code.