acceptConnectionProposal
inline suspend fun InterconnectClient.acceptConnectionProposal(crossinline block: AcceptConnectionProposalRequest.Builder.() -> Unit): AcceptConnectionProposalResponse
Accepts a connection proposal which was generated at a supported partner's portal.
The proposal contains the Environment and bandwidth that were chosen on the partner's portal and cannot be modified.
Upon accepting the proposal a connection will be made between the AWS network as accessed via the selected Attach Point and the network previously selected network on the partner's portal.
Samples
import aws.sdk.kotlin.services.interconnect.model.AttachPoint
fun main() {
//sampleStart
// Accept Connection Proposal
val resp = interconnectClient.acceptConnectionProposal {
activationKey = "<Activation Key Data>"
attachPoint = AttachPoint.DirectConnectGateway("90392BE3-219C-47FD-BBA5-03DF76D2542A")
}
//sampleEnd
}