describeConnectionsOnInterconnect method
- @Deprecated('Deprecated')
- required String interconnectId,
Deprecated. Use DescribeHostedConnections instead.
Lists the connections that have been provisioned on the specified interconnect.
May throw DirectConnectServerException. May throw DirectConnectClientException.
Parameter interconnectId
:
The ID of the interconnect.
Implementation
@Deprecated('Deprecated')
Future<Connections> describeConnectionsOnInterconnect({
required String interconnectId,
}) async {
ArgumentError.checkNotNull(interconnectId, 'interconnectId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'OvertureService.DescribeConnectionsOnInterconnect'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'interconnectId': interconnectId,
},
);
return Connections.fromJson(jsonResponse.body);
}