describeVpcEndpoints method

Future<DescribeVpcEndpointsResponse> describeVpcEndpoints({
  1. required List<String> vpcEndpointIds,
})

Describes one or more Amazon OpenSearch Service-managed VPC endpoints.

May throw BaseException. May throw DisabledOperationException. May throw InternalException. May throw ValidationException.

Parameter vpcEndpointIds : The unique identifiers of the endpoints to get information about.

Implementation

Future<DescribeVpcEndpointsResponse> describeVpcEndpoints({
  required List<String> vpcEndpointIds,
}) async {
  final $payload = <String, dynamic>{
    'VpcEndpointIds': vpcEndpointIds,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/2021-01-01/opensearch/vpcEndpoints/describe',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeVpcEndpointsResponse.fromJson(response);
}