getVpcLinks method
Gets the VpcLinks collection under the caller's account in a selected region.
May throw BadRequestException. May throw UnauthorizedException. May throw TooManyRequestsException.
Parameter limit
:
The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
Parameter position
:
The current pagination position in the paged result set.
Implementation
Future<VpcLinks> getVpcLinks({
int? limit,
String? position,
}) async {
final $query = <String, List<String>>{
if (limit != null) 'limit': [limit.toString()],
if (position != null) 'position': [position],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/vpclinks',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return VpcLinks.fromJson(response);
}