list_vpc_endpoints
¶
list_vpc_endpoints(
*,
config_overrides: Optional[OpenSearchServerlessClientConfig] = None,
vpc_endpoint_filters: Optional[VpcEndpointFilters] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListVpcEndpointsResponse
Returns the OpenSearch Serverless-managed interface VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Parameters:
-
vpc_endpoint_filters(Optional[VpcEndpointFilters], default:None) –Filter the results according to the current status of the VPC endpoint. Possible statuses are
CREATING,DELETING,UPDATING,ACTIVE, andFAILED. -
next_token(Optional[str], default:None) –If your initial
ListVpcEndpointsoperation returns anextToken, you can include the returnednextTokenin subsequentListVpcEndpointsoperations, which returns results in the next page. -
max_results(Optional[int], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 20.
Raises:
-
InternalServerException–Thrown when an error internal to the service occurs while processing a request.
-
ValidationException–Thrown when the HTTP request contains invalid input or is missing required input.
-
UnknownServiceError–The service returned an error code this client does not model.