I am very good at API consuming task and I have also done aws API consuming task.
And Aws documentation is very good. As per as your requirement. I need to implement this script in PHP:
$result = $client->allocateConnectionOnInterconnect([
'bandwidth' => '<string>', // REQUIRED
'connectionName' => '<string>', // REQUIRED
'interconnectId' => '<string>', // REQUIRED
'ownerAccount' => '<string>', // REQUIRED
'vlan' => <integer>, // REQUIRED
]);
And after getting the response and i need to show it in the place where you want to display result.
like awsDevice, vlan, connectionStatus, location, region and more..