OpenSearchServiceServerless / Client / list_vpc_endpoints
list_vpc_endpoints¶
- OpenSearchServiceServerless.Client.list_vpc_endpoints(**kwargs)¶
- 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. - See also: AWS API Documentation - Request Syntax- response = client.list_vpc_endpoints( vpcEndpointFilters={ 'status': 'PENDING'|'DELETING'|'ACTIVE'|'FAILED' }, nextToken='string', maxResults=123 ) - Parameters:
- vpcEndpointFilters (dict) – - Filter the results according to the current status of the VPC endpoint. Possible statuses are - CREATING,- DELETING,- UPDATING,- ACTIVE, and- FAILED.- status (string) – - The current status of the endpoint. 
 
- nextToken (string) – If your initial - ListVpcEndpointsoperation returns a- nextToken, you can include the returned- nextTokenin subsequent- ListVpcEndpointsoperations, which returns results in the next page.
- maxResults (integer) – 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.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'vpcEndpointSummaries': [ { 'id': 'string', 'name': 'string', 'status': 'PENDING'|'DELETING'|'ACTIVE'|'FAILED' }, ], 'nextToken': 'string' } - Response Structure- (dict) – - vpcEndpointSummaries (list) – - Details about each VPC endpoint, including the name and current status. - (dict) – - The VPC endpoint object. - id (string) – - The unique identifier of the endpoint. 
- name (string) – - The name of the endpoint. 
- status (string) – - The current status of the endpoint. 
 
 
- nextToken (string) – - When - nextTokenis returned, there are more results available. The value of- nextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
 
 
 - Exceptions