v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Creates an OpenSearch Serverless-managed interface VPC endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-vpc.html">Access Amazon OpenSearch Serverless using an interface endpoint</a>.

post/#X-Amz-Target=OpenSearchServerless.CreateVpcEndpoint

Headers

X-Amz-Target'OpenSearchServerless.CreateVpcEndpoint' required

Request body

namestring required

The name of the interface endpoint.

vpcIdstring required

The ID of the VPC from which you'll access OpenSearch Serverless.

subnetIdsSubnetId[] required

The ID of one or more subnets from which you'll access OpenSearch Serverless.

securityGroupIdsSecurityGroupId[]

The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

clientTokenstring

Unique, case-sensitive identifier to ensure idempotency of the request.

Response

Success