listPrivateConnections method
Lists the private connections in your account.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter maxResults :
The maximum number of private connections to return in a single response.
Parameter nextToken :
The token for the next page of results.
Implementation
Future<ListPrivateConnectionsOutput> listPrivateConnections({
int? maxResults,
String? nextToken,
}) async {
final $payload = <String, dynamic>{
if (maxResults != null) 'maxResults': maxResults,
if (nextToken != null) 'nextToken': nextToken,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/ListPrivateConnections',
exceptionFnMap: _exceptionFns,
);
return ListPrivateConnectionsOutput.fromJson(response);
}