Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.DirectConnect.ConfirmConnection
Description
Confirm the creation of a hosted connection on an interconnect.
Upon creation, the hosted connection is initially in the Ordering
state, and will remain in this state until the owner calls ConfirmConnection to confirm creation of the hosted connection.
- confirmConnection :: Text -> ConfirmConnection
- data ConfirmConnection
- ccConnectionId :: Lens' ConfirmConnection Text
- confirmConnectionResponse :: Int -> ConfirmConnectionResponse
- data ConfirmConnectionResponse
- ccrsConnectionState :: Lens' ConfirmConnectionResponse (Maybe ConnectionState)
- ccrsResponseStatus :: Lens' ConfirmConnectionResponse Int
Creating a Request
Arguments
:: Text | |
-> ConfirmConnection |
Creates a value of ConfirmConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccConnectionId
- Undocumented member.
data ConfirmConnection #
Container for the parameters to the ConfirmConnection operation.
See: confirmConnection
smart constructor.
Instances
Request Lenses
ccConnectionId :: Lens' ConfirmConnection Text #
Undocumented member.
Destructuring the Response
Arguments
:: Int | |
-> ConfirmConnectionResponse |
Creates a value of ConfirmConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccrsConnectionState
- Undocumented member.ccrsResponseStatus
- -- | The response status code.
data ConfirmConnectionResponse #
The response received when ConfirmConnection is called.
See: confirmConnectionResponse
smart constructor.
Response Lenses
ccrsConnectionState :: Lens' ConfirmConnectionResponse (Maybe ConnectionState) #
Undocumented member.
ccrsResponseStatus :: Lens' ConfirmConnectionResponse Int #
- - | The response status code.