aws ec2 modify-vpc-endpoint-service-permissions
Modifies the permissions for your VPC endpoint service. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--remove-allowed-principals, --add-allowed-principalsThe Amazon Resource Names (ARN) of the principals.--service-idThe ID of the service.