aws es authorize-vpc-endpoint-access
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--accountThe account ID to grant access to.--domain-nameThe name of the OpenSearch Service domain to provide access to.