listVpcEndpoints method
Retrieves all Amazon OpenSearch Service-managed VPC endpoints in the current account and Region.
May throw BaseException.
May throw DisabledOperationException.
May throw InternalException.
Parameter nextToken :
Identifier to allow retrieval of paginated results.
Implementation
Future<ListVpcEndpointsResponse> listVpcEndpoints({
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2015-01-01/es/vpcEndpoints',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListVpcEndpointsResponse.fromJson(response);
}