OpenSearchServiceServerless / Client / create_vpc_endpoint
create_vpc_endpoint¶
- OpenSearchServiceServerless.Client.create_vpc_endpoint(**kwargs)¶
- Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint. - See also: AWS API Documentation - Request Syntax- response = client.create_vpc_endpoint( name='string', vpcId='string', subnetIds=[ 'string', ], securityGroupIds=[ 'string', ], clientToken='string' ) - Parameters:
- name (string) – - [REQUIRED] - The name of the interface endpoint. 
- vpcId (string) – - [REQUIRED] - The ID of the VPC from which you’ll access OpenSearch Serverless. 
- subnetIds (list) – - [REQUIRED] - The ID of one or more subnets from which you’ll access OpenSearch Serverless. - (string) – 
 
- securityGroupIds (list) – - The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. - (string) – 
 
- clientToken (string) – - Unique, case-sensitive identifier to ensure idempotency of the request. - This field is autopopulated if not provided. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'createVpcEndpointDetail': { 'id': 'string', 'name': 'string', 'status': 'PENDING'|'DELETING'|'ACTIVE'|'FAILED' } } - Response Structure- (dict) – - createVpcEndpointDetail (dict) – - Details about the created interface VPC endpoint. - id (string) – - The unique identifier of the endpoint. 
- name (string) – - The name of the endpoint. 
- status (string) – - The current status in the endpoint creation process. 
 
 
 
 - Exceptions